Convert miscellaneous function definitions to prototype style.
[glibc.git] / ChangeLog
blobd5ecc5d9c7ccce5b51a71a785a89ea8a2d78a79a
1 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
3         * debug/fortify_fail.c (__fortify_fail): Convert to
4         prototype-style function definition.  Use internal_function.
5         * libio/genops.c (save_for_backup): Convert to prototype-style
6         function definition.
7         * libio/wgenops.c (save_for_wbackup): Likewise.
8         * login/grantpt.c (grantpt): Likewise.
9         * login/ptsname.c (ptsname): Likewise.
10         (__ptsname_r): Likewise.
11         * login/unlockpt.c (unlockpt): Likewise.
12         * mach/msgserver.c (__mach_msg_server): Likewise.
13         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
14         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
15         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
16         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
17         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
18         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
19         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
20         Likewise.
21         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
22         internal_function.
23         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
24         prototype-style function definition.
25         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
26         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
27         (__pthread_create_2_0): Likewise.
28         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
29         * nptl/register-atfork.c (__register_atfork): Likewise.
30         * posix/glob.c (glob): Likewise.
31         * posix/regcomp.c (re_comp): Likewise.
32         * posix/regexec.c (re_exec): Likewise.
33         * stdlib/add_n.c [__STDC__]: Make code unconditional.
34         [!__STDC__]: Remove conditional code.
35         * stdlib/cmp.c [__STDC__]: Make code unconditional.
36         [!__STDC__]: Remove conditional code.
37         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
38         [!__STDC__]: Remove conditional code.
39         * stdlib/divrem.c [__STDC__]: Make code unconditional.
40         [!__STDC__]: Remove conditional code.
41         * stdlib/lshift.c [__STDC__]: Make code unconditional.
42         [!__STDC__]: Remove conditional code.
43         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
44         [!__STDC__]: Remove conditional code.
45         * stdlib/mul.c [__STDC__]: Make code unconditional.
46         [!__STDC__]: Remove conditional code.
47         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
48         [!__STDC__]: Remove conditional code.
49         * stdlib/rshift.c [__STDC__]: Make code unconditional.
50         [!__STDC__]: Remove conditional code.
51         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
52         function definition.
53         (STRTOF): Likewise.
54         * stdlib/strtod_l.c (__STRTOF): Likewise.
55         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
56         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
57         (__strtol_l): Likewise.
58         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
59         [!__STDC__]: Remove conditional code.
60         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
61         definition.
62         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
63         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
64         type.
65         (__strcasecmp): Convert to prototype-style function definition.
66         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
67         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
68         type.
69         (__strncasecmp): Convert to prototype-style function definition.
70         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
71         * sunrpc/xdr.c (xdr_union): Likewise.
72         * sunrpc/xdr_array.c (xdr_array): Likewise.
73         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
74         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
75         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
76         Likewise.
77         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
78         Likewise.
79         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
80         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
81         Likewise.
82         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
83         (LOCALE_PARAM_PROTO): Likewise.
84         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
85         argument type.
86         (ut_argument_spec): Remove macro.
87         (ut_argument_spec_iso): Rename to ut_argument_spec.
88         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
89         prototype-style function definition.
90         (memcpy_uppcase): Likewise.
91         (__strftime_internal): Likewise.
92         (my_strftime): Likewise.
93         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
94         (LOCALE_PARAM_DECL): Likewise.
95         [_LIBC] (LOCALE_PARAM): Include argument type.
96         (__strptime_internal): Convert to prototype-style function
97         definition.
98         (strptime): Likewise.
99         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
100         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
101         type.
102         (__wcscasecmp): Convert to prototype-style function definition.
103         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
104         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
105         type.
106         (__wcsncasecmp): Convert to prototype-style function definition.
108         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
109         function definition.
110         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
111         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
112         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
113         * elf/dl-minimal.c (_itoa): Likewise.
114         * hurd/hurdmalloc.c (malloc): Likewise.
115         (free): Likewise.
116         (realloc): Likewise.
117         * inet/inet6_option.c (inet6_option_space): Likewise.
118         (inet6_option_init): Likewise.
119         (inet6_option_append): Likewise.
120         (inet6_option_alloc): Likewise.
121         (inet6_option_next): Likewise.
122         (inet6_option_find): Likewise.
123         * io/ftw.c (FTW_NAME): Likewise.
124         (NFTW_NAME): Likewise.
125         (NFTW_NEW_NAME): Likewise.
126         (NFTW_OLD_NAME): Likewise.
127         * libio/iofwide.c (_IO_fwide): Likewise.
128         * libio/strops.c (_IO_str_init_static_internal): Likewise.
129         (_IO_str_init_static): Likewise.
130         (_IO_str_init_readonly): Likewise.
131         (_IO_str_overflow): Likewise.
132         (_IO_str_underflow): Likewise.
133         (_IO_str_count): Likewise.
134         (_IO_str_seekoff): Likewise.
135         (_IO_str_pbackfail): Likewise.
136         (_IO_str_finish): Likewise.
137         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
138         (_IO_wstr_overflow): Likewise.
139         (_IO_wstr_underflow): Likewise.
140         (_IO_wstr_count): Likewise.
141         (_IO_wstr_seekoff): Likewise.
142         (_IO_wstr_pbackfail): Likewise.
143         (_IO_wstr_finish): Likewise.
144         * locale/programs/localedef.c (normalize_codeset): Likewise.
145         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
146         (add_locales_to_archive): Likewise.
147         (delete_locales_from_archive): Likewise.
148         * malloc/malloc.c (__libc_mallinfo): Likewise.
149         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
150         * misc/tsearch.c (__tfind): Likewise.
151         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
152         * nptl/pthread_attr_getdetachstate.c
153         (__pthread_attr_getdetachstate): Likewise.
154         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
155         Likewise.
156         * nptl/pthread_attr_getinheritsched.c
157         (__pthread_attr_getinheritsched): Likewise.
158         * nptl/pthread_attr_getschedparam.c
159         (__pthread_attr_getschedparam): Likewise.
160         * nptl/pthread_attr_getschedpolicy.c
161         (__pthread_attr_getschedpolicy): Likewise.
162         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
163         Likewise.
164         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
165         Likewise.
166         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
167         Likewise.
168         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
169         Likewise.
170         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
171         (__pthread_attr_init_2_0): Likewise.
172         * nptl/pthread_attr_setdetachstate.c
173         (__pthread_attr_setdetachstate): Likewise.
174         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
175         Likewise.
176         * nptl/pthread_attr_setinheritsched.c
177         (__pthread_attr_setinheritsched): Likewise.
178         * nptl/pthread_attr_setschedparam.c
179         (__pthread_attr_setschedparam): Likewise.
180         * nptl/pthread_attr_setschedpolicy.c
181         (__pthread_attr_setschedpolicy): Likewise.
182         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
183         Likewise.
184         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
185         Likewise.
186         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
187         Likewise.
188         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
189         Likewise.
190         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
191         Likewise.
192         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
193         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
194         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
195         use internal_function.
196         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
197         prototype-style function definition.
198         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
199         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
200         internal_function.
201         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
202         Convert to prototype-style function definition.
203         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
204         Likewise.
205         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
206         Likewise.
207         (__pthread_mutex_unlock): Likewise.
208         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
209         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
210         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
211         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
212         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
213         * nss/makedb.c (process_input): Likewise.
214         * posix/fnmatch.c (__strchrnul): Likewise.
215         (__wcschrnul): Likewise.
216         (fnmatch): Likewise.
217         * posix/fnmatch_loop.c (FCT): Likewise.
218         * posix/glob.c (globfree): Likewise.
219         (__glob_pattern_type): Likewise.
220         (__glob_pattern_p): Likewise.
221         * posix/regcomp.c (re_compile_pattern): Likewise.
222         (re_set_syntax): Likewise.
223         (re_compile_fastmap): Likewise.
224         (regcomp): Likewise.
225         (regerror): Likewise.
226         (regfree): Likewise.
227         * posix/regexec.c (regexec): Likewise.
228         (re_match): Likewise.
229         (re_search): Likewise.
230         (re_match_2): Likewise.
231         (re_search_2): Likewise.
232         (re_search_stub): Likewise.  Use internal_function
233         (re_copy_regs): Likewise.
234         (re_set_registers): Convert to prototype-style function
235         definition.
236         (prune_impossible_nodes): Likewise.  Use internal_function.
237         * resolv/inet_net_pton.c (inet_net_pton): Convert to
238         prototype-style function definition.
239         (inet_net_pton_ipv4): Likewise.
240         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
241         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
242         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
243         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
244         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
245         Make variadic.
246         * time/strptime_l.c (localtime_r): Convert to prototype-style
247         function definition.
248         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
249         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
250         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
251         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
253         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
254         definition.
255         (_ufc_doit_r): Likewise.
256         * crypt/crypt_util.c (_ufc_copymem): Likewise.
257         (_ufc_output_conversion_r): Likewise.
258         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
259         * inet/rcmd.c (rcmd_af): Likewise.
260         (rcmd): Likewise.
261         (ruserok_af): Likewise.
262         (ruserok): Likewise.
263         (ruserok2_sa): Likewise.
264         (ruserok_sa): Likewise.
265         (iruserok_af): Likewise.
266         (iruserok): Likewise.
267         (__ivaliduser): Likewise.
268         (__validuser2_sa): Likewise.
269         * inet/rexec.c (rexec_af): Likewise.
270         (rexec): Likewise.
271         * inet/ruserpass.c (ruserpass): Likewise.
272         * locale/programs/xmalloc.c (xcalloc): Likewise.
273         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
274         * math/w_drem.c (__drem): Likewise.
275         * math/w_dremf.c (__dremf): Likewise.
276         * math/w_dreml.c (__dreml): Likewise.
277         * misc/daemon.c (daemon): Likewise.
278         * resolv/res_debug.c (p_fqnname): Likewise.
279         * stdlib/div.c (div): Likewise.
280         * string/memcmp.c (memcmp_bytes): Likewise.
281         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
282         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
284         * crypt/cert.c (main): Convert to prototype-style function
285         definition.
286         * io/pipe.c (__pipe): Likewise.
287         * io/pipe2.c (__pipe2): Likewise.
288         * misc/futimesat.c (futimesat): Likewise.
289         * misc/utimes.c (__utimes): Likewise.
290         * posix/execve.c (__execve): Likewise.
291         * posix/execvp.c (execvp): Likewise.
292         * posix/execvpe.c (__execvpe): Likewise.
293         * posix/fexecve.c (fexecve): Likewise.
294         * socket/socketpair.c (socketpair): Likewise.
295         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
296         * stdlib/erand48.c (erand48): Likewise.
297         * stdlib/erand48_r.c (__erand48_r): Likewise.
298         * stdlib/jrand48.c (jrand48): Likewise.
299         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
300         * stdlib/lcong48.c (lcong48): Likewise.
301         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
302         * stdlib/nrand48.c (nrand48): Likewise.
303         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
304         * stdlib/seed48.c (seed48): Likewise.
305         * stdlib/seed48_r.c (__seed48_r): Likewise.
306         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
307         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
308         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
310 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
312         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
313         * configure: Regenerated.
314         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
315         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
316         unconditional.
317         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
318         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
319         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
320         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
321         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
322         unconditional.
323         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
325         * posix/Makefile (CFLAGS-regex.c): Remove variable.
326         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
328         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
329         function definition.
330         * crypt/crypt_util.c (__encrypt_r): Likewise.
331         * libio/genops.c (_IO_no_init): Likewise.
332         * libio/iofopncook.c (_IO_fopencookie): Likewise.
333         (_IO_old_fopencookie): Likewise.
334         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
335         * libio/iogetline.c (_IO_getline): Likewise.
336         (_IO_getline_info): Likewise.
337         * libio/iogetwline.c (_IO_getwline): Likewise.
338         (_IO_getwline_info): Likewise.
339         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
340         * libio/vswprintf.c (_IO_vswprintf): Likewise.
341         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
342         (find_entry): Likewise.
343         (iterate_table): Likewise.
344         (lookup): Likewise.
345         * login/forkpty.c (forkpty): Likewise.
346         * misc/hsearch_r.c (__hsearch_r): Likewise.
347         * misc/select.c (__select): Likewise.
348         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
349         Likewise.
350         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
351         Likewise.
352         * nptl/old_pthread_cond_timedwait.c
353         (__pthread_cond_timedwait_2_0): Likewise.
354         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
355         * nptl/pthread_barrierattr_getpshared.c
356         (pthread_barrierattr_getpshared): Likewise.
357         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
358         Likewise.
359         * nptl/pthread_mutex_setprioceiling.c
360         (pthread_mutex_setprioceiling): Likewise.
361         * nptl/pthread_mutexattr_getprioceiling.c
362         (pthread_mutexattr_getprioceiling): Likewise.
363         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
364         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
365         Likewise.
366         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
367         Likewise.
368         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
369         Likewise.
370         * socket/recvfrom.c (__recvfrom): Likewise.
371         * socket/sendto.c (__sendto): Likewise.
372         * socket/setsockopt.c (__setsockopt): Likewise.
373         * stdio-common/_itoa.c (_itoa): Likewise.
374         * stdio-common/_itowa.c (_itowa): Likewise.
375         * stdio-common/reg-printf.c (__register_printf_specifier):
376         Likewise.
377         (__register_printf_function): Likewise.
378         * stdio-common/tempname.c (__path_search): Likewise.
379         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
380         * stdlib/mul_1.c (mpn_mul_1): Likewise.
381         * stdlib/random_r.c (__initstate_r): Likewise.
382         * stdlib/setenv.c (__add_to_environ): Likewise.
383         * stdlib/submul_1.c (mpn_submul_1): Likewise.
384         * streams/getpmsg.c (getpmsg): Likewise.
385         * streams/putmsg.c (putmsg): Likewise.
386         * streams/putpmsg.c (putpmsg): Likewise.
387         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
388         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
389         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
390         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
391         * sunrpc/pm_getport.c (pmap_getport): Likewise.
392         * sunrpc/svc_udp.c (cache_get): Likewise.
393         * sunrpc/xdr_array.c (xdr_vector): Likewise.
394         * sysdeps/mach/hurd/getcwd.c
395         (__canonicalize_directory_name_internal): Likewise.
396         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
397         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
398         * sysdeps/mach/hurd/select.c (__select): Likewise.
399         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
400         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
401         * sysdeps/sparc/nptl/pthread_barrier_init.c
402         (__pthread_barrier_init): Likewise.
403         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
404         (__pthread_cond_timedwait): Likewise.
405         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
406         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
407         Likewise.
408         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
409         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
410         Likewise.
411         * sysvipc/semtimedop.c (semtimedop): Likewise.
412         * time/setitimer.c (__setitimer): Likewise.
413         * time/strftime_l.c (emacs_strftime): Likewise.
415 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
417         * config.make.in (have-ssp): Delete.
418         (stack-protector): New variable.
419         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
420         cache test for -fstack-protector-strong.  Export stack_protector to
421         the best ssp flag.
422         * configure: Regenerated.
423         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
424         * nscd/Makefile (CFLAGS-nscd): Likewise.
425         * resolv/Makefile (CFLAGS-libresolv): Likewise.
427 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
429         [BZ #19122]
430         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
431         attribute_hidden.
433 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
435         [BZ #18743]
436         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
437         code to...
438         (ELIDE_LOCK): ...here.
439         (__get_new_count): New function with part of the code from
440         __elide_lock that updates the value of adapt_count after a
441         transaction abort.
442         (__elided_trylock): Moved this code to...
443         (ELIDE_TRYLOCK): ...here.
445 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
447         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
448         * configure: Regenerate.
449         * INSTALL: Regenerate.
450         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
451         and tweak grammar.
453 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
455         * login/programs/pt_chown.c: Include signal.h
456         (main): Clear any signal mask from the parent process.
458 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
460         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
461         * configure: Regenerated.
462         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
463         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
464         $(gnu89-inline-CFLAGS).
466         * configure.ac (libc_cv_asm_weak_directive): Remove configure
467         test.
468         (libc_cv_asm_weakext_directive): Likewise.
469         * configure: Regenerated.
470         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
471         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
472         * include/libc-symbols.h
473         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
474         #error.
475         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
476         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
478         * sysdeps/arm/backtrace.c (__backtrace): Convert to
479         prototype-style function definition.
480         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
481         * sysdeps/i386/ffs.c (__ffs): Likewise.
482         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
483         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
484         Likewise.
485         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
486         Likewise.
487         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
488         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
489         Likewise.
490         * sysdeps/m68k/ffs.c (__ffs): Likewise.
491         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
492         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
493         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
494         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
495         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
496         * sysdeps/mach/hurd/access.c (__access): Likewise.
497         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
498         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
499         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
500         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
501         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
502         (cthread_getspecific): Likewise.
503         (cthread_setspecific): Likewise.
504         (__libc_getspecific): Likewise.
505         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
506         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
507         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
508         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
509         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
510         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
511         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
512         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
513         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
514         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
515         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
516         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
517         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
518         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
519         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
520         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
521         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
522         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
523         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
524         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
525         * sysdeps/mach/hurd/link.c (__link): Likewise.
526         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
527         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
528         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
529         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
530         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
531         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
532         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
533         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
534         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
535         * sysdeps/mach/hurd/rename.c (rename): Likewise.
536         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
537         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
538         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
539         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
540         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
541         * sysdeps/mach/hurd/send.c (__send): Likewise.
542         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
543         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
544         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
545         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
546         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
547         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
548         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
549         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
550         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
551         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
552         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
553         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
554         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
555         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
556         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
557         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
558         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
559         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
560         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
561         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
562         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
563         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
564         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
565         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
566         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
567         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
568         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
569         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
570         * sysdeps/posix/alarm.c (alarm): Likewise.
571         * sysdeps/posix/cuserid.c (cuserid): Likewise.
572         * sysdeps/posix/dirfd.c (dirfd): Likewise.
573         * sysdeps/posix/dup.c (__dup): Likewise.
574         * sysdeps/posix/dup2.c (__dup2): Likewise.
575         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
576         (main): Likewise.
577         * sysdeps/posix/flock.c (__flock): Likewise.
578         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
579         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
580         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
581         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
582         * sysdeps/posix/isatty.c (__isatty): Likewise.
583         * sysdeps/posix/killpg.c (killpg): Likewise.
584         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
585         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
586         * sysdeps/posix/raise.c (raise): Likewise.
587         * sysdeps/posix/remove.c (remove): Likewise.
588         * sysdeps/posix/rename.c (rename): Likewise.
589         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
590         * sysdeps/posix/seekdir.c (seekdir): Likewise.
591         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
592         * sysdeps/posix/sigignore.c (sigignore): Likewise.
593         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
594         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
595         * sysdeps/posix/sigset.c (sigset): Likewise.
596         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
597         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
598         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
599         * sysdeps/posix/time.c (time): Likewise.
600         * sysdeps/posix/ttyname.c (getttyname): Likewise.
601         (ttyname): Likewise.
602         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
603         * sysdeps/posix/utime.c (utime): Likewise.
604         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
605         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
606         Likewise.
607         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
608         (pthread_spin_trylock): Likewise.
609         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
610         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
611         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
612         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
613         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
614         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
615         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
616         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
617         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
618         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
619         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
620         * sysdeps/s390/ffs.c (__ffs): Likewise.
621         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
622         Likewise.
623         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
624         Likewise.
625         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
626         Likewise.
627         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
628         (pthread_barrier_destroy): Likewise.
629         * sysdeps/sparc/nptl/pthread_barrier_wait.c
630         (__pthread_barrier_wait): Likewise.
631         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
632         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
633         (__pthread_barrier_wait): Likewise.
634         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
635         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
636         (memcmp_not_common_alignment): Likewise.
637         (MEMCMP): Likewise.
638         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
639         (_wordcopy_fwd_dest_aligned): Likewise.
640         (_wordcopy_bwd_aligned): Likewise.
641         (_wordcopy_bwd_dest_aligned): Likewise.
642         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
643         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
644         * sysdeps/unix/bsd/stty.c (stty): Likewise.
645         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
646         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
647         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
648         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
649         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
650         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
651         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
652         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
653         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
654         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
655         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
656         * sysdeps/unix/stime.c (stime): Likewise.
657         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
658         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
659         Likewise.  Use internal_function.
660         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
661         Convert to prototype-style function definition.
662         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
663         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
664         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
665         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
666         Likewise.  Use internal_function.
667         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
668         prototype-style function definition
669         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
670         Likewise.
671         (__getlogin_r): Likewise.
672         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
673         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
674         (__pthread_cond_broadcast): Likewise.
675         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
676         (__pthread_cond_destroy): Likewise.
677         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
678         (__pthread_cond_init): Likewise.
679         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
680         (__pthread_cond_signal): Likewise.
681         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
682         (__pthread_cond_wait): Likewise.
683         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
684         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
685         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
686         Likewise.
687         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
688         Likewise.
689         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
690         Likewise.
691         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
692         Likewise.
693         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
695         (__ftruncate64): Likewise.
696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
697         (truncate64): Likewise.
698         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
699         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
700         (pthread_getcpuclockid): Likewise.
701         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
702         Likewise.
703         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
704         Likewise.
705         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
706         Likewise.
707         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
708         Likewise.
709         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
710         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
711         (__libc_sigaction): Likewise.
712         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
713         Likewise.
714         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
715         (__sigprocmask): Likewise.
716         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
717         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
718         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
719         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
720         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
721         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
722         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
723         Likewise.
724         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
725         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
726         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
727         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
728         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
729         Likewise.
730         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
731         (__sigprocmask): Likewise.
732         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
733         (cfgetispeed): Likewise.
734         (cfsetospeed): Likewise.
735         (cfsetispeed): Likewise.
736         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
737         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
738         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
739         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
740         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
741         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
742         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
743         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
744         Likewise.
745         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
746         Likewise.
747         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
748         Likewise.
749         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
750         Likewise.
751         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
753 2015-10-17  Florian Weimer  <fweimer@redhat.com>
755         sunrpc: Rewrite with explicit TLS access using __thread.
756         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
757         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
758         directly.
759         (__rpc_thread_variables): Access thread_rpc_vars directly.
760         Eliminate redundant assignment of the tvp variable.
762 2015-10-17  Florian Weimer  <fweimer@redhat.com>
764         malloc: Rewrite with explicit TLS access using __thread.
765         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
766         (tsd_setspecific, tsd_getspecific): Remove.
767         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
768         (tsd_setspecific, tsd_getspecific): Likewise.
769         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
770         (tsd_setspecific, tsd_getspecific): Likewise.
771         * malloc/arena.c (thread_arena): New TLS variable.
772         (arena_key): Remove variable.
773         (arena_get): Use thread_arena.
774         (arena_lookup): Remove macro.
775         (malloc_atfork, free_atfork, ptmalloc_lock_all)
776         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
777         (_int_new_arena, get_free_list, reused_arena)
778         (arena_thread_freeres): Use thread_arena.
779         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
780         tsd_getspecific, tsd_setspecific from safety annotations.
781         (Allocating Cleared Space): Remove arena_lookup from safety
782         annotations.
784 2015-10-17  Florian Weimer  <fweimer@redhat.com>
786         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
787         struct scratch_buffer instead of extend_alloca.
789 2015-10-17  Florian Weimer  <fweimer@redhat.com>
791         * sysdeps/unix/sysv/linux/kernel-features.h
792         (__ASSUME_SOCK_CLOEXEC): Remove.
793         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
794         (__have_paccept): Remove unused macro.
795         * include/unistd.h (__have_sock_cloexec): Remove declaration.
796         * misc/syslog.c (openlog_internal): Remove fallback code for
797         !__ASSUME_SOCK_CLOEXEC.
798         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
799         missing SOCK_CLOEXEC.
800         * nscd/connections.c (have_sock_cloexec): Remove definition.
801         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
802         * nscd/nscd_helper.c (open_socket): Remove fallback code for
803         !__ASSUME_SOCK_CLOEXEC.
804         * resolv/res_send.c (__have_o_nonblock): Remove definition.
805         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
806         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
807         definition.
808         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
809         code for !__ASSUME_SOCK_CLOEXEC.
811 2015-10-17  Florian Weimer  <fweimer@redhat.com>
813         [BZ #18982]
814         * manual/stdio.texi (Variable Arguments Output): Add portability
815         note, explaining that vfprintf clobbers the va_list pointer.
817 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
819         * math/libm-test.inc (fabs_test_data): Add more tests.
820         (fdim_test_data): Likewise.
821         (fma_test_data): Likewise.
822         (fmax_test_data): Likewise.
823         (fmin_test_data): Likewise.
824         (fmod_test_data): Likewise.
826 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
828         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
829         data.
831 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
833         * math/libm-test.inc (ceil_test_data): Add more tests and more
834         expectations for "inexact".
835         (floor_test_data): Add more tests.
836         (round_test_data): Likewise.
837         (trunc_test_data): Likewise.
839         * crypt/cert.c (good_bye): Convert to prototype-style function
840         definition.
841         (get8): Likewise.
842         (put8): Likewise.
843         * crypt/crypt-entry.c (crypt): Likewise.
844         (__fcrypt): Likewise.
845         * crypt/crypt_util.c (_ufc_prbits): Likewise.
846         (_ufc_set_bits): Likewise.
847         (_ufc_clearmem): Likewise.
848         (__init_des_r): Likewise.
849         (shuffle_sb): Likewise.
850         (shuffle_sb): Likewise.
851         (_ufc_setup_salt_r): Likewise.
852         (_ufc_mk_keytab_r): Likewise.
853         (_ufc_dofinalperm_r): Likewise.
854         (encrypt): Likewise.
855         (__setkey_r): Likewise.
856         (setkey): Likewise.
857         * crypt/md5.c (md5_init_ctx): Likewise.
858         (md5_read_ctx): Likewise.
859         (md5_finish_ctx): Likewise.
860         (md5_stream): Likewise.
861         (md5_buffer): Likewise.
862         (md5_process_bytes): Likewise.
863         * crypt/sha256.c (__sha256_init_ctx): Likewise.
864         (__sha256_finish_ctx): Likewise.
865         (__sha256_process_bytes): Likewise.
866         * crypt/sha512.c (__sha512_init_ctx): Likewise.
867         (__sha512_finish_ctx): Likewise.
868         (__sha512_process_bytes): Likewise.
869         * ctype/isctype.c (__isctype): Likewise.
870         * debug/backtrace.c (__backtrace): Likewise.
871         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
872         * debug/fgets_chk.c (__fgets_chk): Likewise.
873         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
874         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
875         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
876         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
877         * debug/memset_chk.c (__memset_chk): Likewise.
878         * debug/strcat_chk.c (__strcat_chk): Likewise.
879         * debug/strncat_chk.c (__strncat_chk): Likewise.
880         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
881         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
882         * dirent/dirfd.c (dirfd): Likewise.
883         * dirent/getdents.c (__getdirentries): Likewise.
884         * dirent/getdents64.c (getdirentries64): Likewise.
885         * dirent/rewinddir.c (__rewinddir): Likewise.
886         * dirent/seekdir.c (seekdir): Likewise.
887         * dirent/telldir.c (telldir): Likewise.
888         * elf/sln.c (makesymlinks): Likewise.
889         (makesymlink): Likewise.
890         * gmon/gmon.c (__moncontrol): Likewise.
891         (__monstartup): Likewise.
892         (write_hist): Likewise.
893         (write_call_graph): Likewise.
894         (write_bb_counts): Likewise.
895         * grp/setgroups.c (setgroups): Likewise.
896         * inet/inet_lnaof.c (inet_lnaof): Likewise.
897         * inet/inet_net.c (inet_network): Likewise.
898         * inet/inet_netof.c (inet_netof): Likewise.
899         * inet/rcmd.c (rresvport_af): Likewise.
900         (rresvport): Likewise.
901         * io/access.c (__access): Likewise.
902         * io/chdir.c (__chdir): Likewise.
903         * io/chmod.c (__chmod): Likewise.
904         * io/chown.c (__chown): Likewise.
905         * io/close.c (__close): Likewise.
906         * io/creat.c (creat): Likewise.
907         * io/creat64.c (creat64): Likewise.
908         * io/dup.c (__dup): Likewise.
909         * io/dup2.c (__dup2): Likewise.
910         * io/dup3.c (__dup3): Likewise.
911         * io/euidaccess.c (__euidaccess): Likewise.
912         * io/faccessat.c (faccessat): Likewise.
913         * io/fchmod.c (__fchmod): Likewise.
914         * io/fchmodat.c (fchmodat): Likewise.
915         * io/fchown.c (__fchown): Likewise.
916         * io/fchownat.c (fchownat): Likewise.
917         * io/fcntl.c (__fcntl): Likewise.
918         * io/flock.c (__flock): Likewise.
919         * io/fts.c (fts_load): Likewise.
920         (fts_close): Likewise.
921         (fts_read): Likewise.
922         (fts_set): Likewise.
923         (fts_children): Likewise.
924         (fts_build): Likewise.
925         (fts_stat): Likewise.
926         (fts_sort): Likewise.
927         (fts_alloc): Likewise.
928         (fts_lfree): Likewise.
929         (fts_palloc): Likewise.
930         (fts_padjust): Likewise.
931         (fts_maxarglen): Likewise.
932         (fts_safe_changedir): Likewise.
933         * io/getwd.c (getwd): Likewise.
934         * io/isatty.c (__isatty): Likewise.
935         * io/lchown.c (__lchown): Likewise.
936         * io/link.c (__link): Likewise.
937         * io/linkat.c (linkat): Likewise.
938         * io/lseek.c (__libc_lseek): Likewise.
939         * io/mkdir.c (__mkdir): Likewise.
940         * io/mkdirat.c (mkdirat): Likewise.
941         * io/mkfifo.c (mkfifo): Likewise.
942         * io/mkfifoat.c (mkfifoat): Likewise.
943         * io/open.c (__libc_open): Likewise.
944         * io/open64.c (__libc_open64): Likewise.
945         * io/readlink.c (__readlink): Likewise.
946         * io/readlinkat.c (readlinkat): Likewise.
947         * io/rmdir.c (__rmdir): Likewise.
948         * io/symlink.c (__symlink): Likewise.
949         * io/symlinkat.c (symlinkat): Likewise.
950         * io/ttyname.c (ttyname): Likewise.
951         * io/ttyname_r.c (__ttyname_r): Likewise.
952         * io/umask.c (__umask): Likewise.
953         * io/unlink.c (__unlink): Likewise.
954         * io/unlinkat.c (unlinkat): Likewise.
955         * io/utime.c (utime): Likewise.
956         * libio/clearerr.c (clearerr): Likewise.
957         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
958         * libio/feof.c (_IO_feof): Likewise.
959         * libio/feof_u.c (feof_unlocked): Likewise.
960         * libio/ferror.c (_IO_ferror): Likewise.
961         * libio/ferror_u.c (ferror_unlocked): Likewise.
962         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
963         * libio/fileno.c (__fileno): Likewise.
964         * libio/fputc.c (fputc): Likewise.
965         * libio/fputc_u.c (fputc_unlocked): Likewise.
966         * libio/fputwc.c (fputwc): Likewise.
967         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
968         * libio/freopen.c (freopen): Likewise.
969         * libio/freopen64.c (freopen64): Likewise.
970         * libio/fseek.c (fseek): Likewise.
971         * libio/fseeko.c (fseeko): Likewise.
972         * libio/fseeko64.c (fseeko64): Likewise.
973         * libio/ftello.c (__ftello): Likewise.
974         * libio/ftello64.c (ftello64): Likewise.
975         * libio/fwide.c (fwide): Likewise.
976         * libio/genops.c (_IO_un_link): Likewise.
977         (_IO_link_in): Likewise.
978         (_IO_least_marker): Likewise.
979         (_IO_switch_to_main_get_area): Likewise.
980         (_IO_switch_to_backup_area): Likewise.
981         (_IO_switch_to_get_mode): Likewise.
982         (_IO_free_backup_area): Likewise.
983         (_IO_switch_to_put_mode): Likewise.
984         (__overflow): Likewise.
985         (__underflow): Likewise.
986         (__uflow): Likewise.
987         (_IO_setb): Likewise.
988         (_IO_doallocbuf): Likewise.
989         (_IO_default_underflow): Likewise.
990         (_IO_default_uflow): Likewise.
991         (_IO_default_xsputn): Likewise.
992         (_IO_sgetn): Likewise.
993         (_IO_default_xsgetn): Likewise.
994         (_IO_sync): Likewise.
995         (_IO_default_setbuf): Likewise.
996         (_IO_default_seekpos): Likewise.
997         (_IO_default_doallocate): Likewise.
998         (_IO_init): Likewise.
999         (_IO_old_init): Likewise.
1000         (_IO_default_sync): Likewise.
1001         (_IO_default_finish): Likewise.
1002         (_IO_default_seekoff): Likewise.
1003         (_IO_sputbackc): Likewise.
1004         (_IO_sungetc): Likewise.
1005         (_IO_set_column): Likewise.
1006         (_IO_set_column): Likewise.
1007         (_IO_adjust_column): Likewise.
1008         (_IO_get_column): Likewise.
1009         (_IO_init_marker): Likewise.
1010         (_IO_remove_marker): Likewise.
1011         (_IO_marker_difference): Likewise.
1012         (_IO_marker_delta): Likewise.
1013         (_IO_seekmark): Likewise.
1014         (_IO_unsave_markers): Likewise.
1015         (_IO_nobackup_pbackfail): Likewise.
1016         (_IO_default_pbackfail): Likewise.
1017         (_IO_default_seek): Likewise.
1018         (_IO_default_stat): Likewise.
1019         (_IO_default_read): Likewise.
1020         (_IO_default_write): Likewise.
1021         (_IO_default_showmanyc): Likewise.
1022         (_IO_default_imbue): Likewise.
1023         (_IO_iter_next): Likewise.
1024         (_IO_iter_file): Likewise.
1025         * libio/getc.c (_IO_getc): Likewise.
1026         * libio/getwc.c (_IO_getwc): Likewise.
1027         * libio/iofclose.c (_IO_new_fclose): Likewise.
1028         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
1029         * libio/iofflush.c (_IO_fflush): Likewise.
1030         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
1031         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
1032         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
1033         * libio/iofgets.c (_IO_fgets): Likewise.
1034         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
1035         * libio/iofgetws.c (fgetws): Likewise.
1036         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
1037         * libio/iofopen64.c (_IO_fopen64): Likewise.
1038         * libio/iofopncook.c (_IO_cookie_read): Likewise.
1039         (_IO_cookie_write): Likewise.
1040         (_IO_cookie_seek): Likewise.
1041         (_IO_cookie_close): Likewise.
1042         (_IO_cookie_seekoff): Likewise.
1043         (_IO_old_cookie_seek): Likewise.
1044         * libio/iofputs.c (_IO_fputs): Likewise.
1045         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
1046         * libio/iofputws.c (fputws): Likewise.
1047         * libio/iofputws_u.c (fputws_unlocked): Likewise.
1048         * libio/iofread.c (_IO_fread): Likewise.
1049         * libio/iofread_u.c (__fread_unlocked): Likewise.
1050         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
1051         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
1052         * libio/ioftell.c (_IO_ftell): Likewise.
1053         * libio/iofwrite.c (_IO_fwrite): Likewise.
1054         * libio/iogetdelim.c (_IO_getdelim): Likewise.
1055         * libio/iogets.c (_IO_gets): Likewise.
1056         * libio/iopadn.c (_IO_padn): Likewise.
1057         * libio/iopopen.c (_IO_new_proc_open): Likewise.
1058         (_IO_new_popen): Likewise.
1059         (_IO_new_proc_close): Likewise.
1060         * libio/ioputs.c (_IO_puts): Likewise.
1061         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
1062         (_IO_seekoff): Likewise.
1063         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
1064         (_IO_seekpos): Likewise.
1065         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
1066         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
1067         * libio/ioungetc.c (_IO_ungetc): Likewise.
1068         * libio/ioungetwc.c (ungetwc): Likewise.
1069         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
1070         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
1071         * libio/iowpadn.c (_IO_wpadn): Likewise.
1072         * libio/libc_fatal.c (__libc_fatal): Likewise.
1073         * libio/memstream.c (__open_memstream): Likewise.
1074         (_IO_mem_sync): Likewise.
1075         (_IO_mem_finish): Likewise.
1076         * libio/oldfileops.c (_IO_old_file_init): Likewise.
1077         (_IO_old_file_close_it): Likewise.
1078         (_IO_old_file_finish): Likewise.
1079         (_IO_old_file_fopen): Likewise.
1080         (_IO_old_file_attach): Likewise.
1081         (_IO_old_file_setbuf): Likewise.
1082         (_IO_old_do_write): Likewise.
1083         (old_do_write): Likewise.
1084         (_IO_old_file_underflow): Likewise.
1085         (_IO_old_file_overflow): Likewise.
1086         (_IO_old_file_sync): Likewise.
1087         (_IO_old_file_seekoff): Likewise.
1088         (_IO_old_file_write): Likewise.
1089         (_IO_old_file_xsputn): Likewise.
1090         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
1091         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
1092         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
1093         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
1094         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
1095         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
1096         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
1097         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
1098         (_IO_old_popen): Likewise.
1099         (_IO_old_proc_close): Likewise.
1100         * libio/oldpclose.c (__old_pclose): Likewise.
1101         * libio/pclose.c (__new_pclose): Likewise.
1102         * libio/peekc.c (_IO_peekc_locked): Likewise.
1103         * libio/putc.c (_IO_putc): Likewise.
1104         * libio/putc_u.c (putc_unlocked): Likewise.
1105         * libio/putchar.c (putchar): Likewise.
1106         * libio/putchar_u.c (putchar_unlocked): Likewise.
1107         * libio/putwc.c (putwc): Likewise.
1108         * libio/putwc_u.c (putwc_unlocked): Likewise.
1109         * libio/putwchar.c (putwchar): Likewise.
1110         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
1111         * libio/rewind.c (rewind): Likewise.
1112         * libio/setbuf.c (setbuf): Likewise.
1113         * libio/setlinebuf.c (setlinebuf): Likewise.
1114         * libio/vasprintf.c (_IO_vasprintf): Likewise.
1115         * libio/vscanf.c (_IO_vscanf): Likewise.
1116         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
1117         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
1118         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
1119         * libio/wgenops.c (_IO_least_wmarker): Likewise.
1120         (_IO_switch_to_main_wget_area): Likewise.
1121         (_IO_switch_to_wbackup_area): Likewise.
1122         (_IO_wsetb): Likewise.
1123         (_IO_wdefault_pbackfail): Likewise.
1124         (_IO_wdefault_finish): Likewise.
1125         (_IO_wdefault_uflow): Likewise.
1126         (__woverflow): Likewise.
1127         (__wuflow): Likewise.
1128         (__wunderflow): Likewise.
1129         (_IO_wdefault_xsputn): Likewise.
1130         (_IO_wdefault_xsgetn): Likewise.
1131         (_IO_wdoallocbuf): Likewise.
1132         (_IO_wdefault_doallocate): Likewise.
1133         (_IO_switch_to_wget_mode): Likewise.
1134         (_IO_free_wbackup_area): Likewise.
1135         (_IO_switch_to_wput_mode): Likewise.
1136         (_IO_sputbackwc): Likewise.
1137         (_IO_sungetwc): Likewise.
1138         (_IO_adjust_wcolumn): Likewise.
1139         (_IO_init_wmarker): Likewise.
1140         (_IO_wmarker_delta): Likewise.
1141         (_IO_seekwmark): Likewise.
1142         (_IO_unsave_wmarkers): Likewise.
1143         * libio/wmemstream.c (open_wmemstream): Likewise.
1144         (_IO_wmem_sync): Likewise.
1145         (_IO_wmem_finish): Likewise.
1146         * locale/nl_langinfo.c (nl_langinfo): Likewise.
1147         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
1148         * locale/programs/simple-hash.c (init_hash): Likewise.
1149         (delete_hash): Likewise.
1150         (insert_entry): Likewise.
1151         (set_entry): Likewise.
1152         (next_prime): Likewise.
1153         (is_prime): Likewise.
1154         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
1155         (xmalloc): Likewise.
1156         (xrealloc): Likewise.
1157         * locale/programs/xstrdup.c (xstrdup): Likewise.
1158         * localedata/collate-test.c (xstrcoll): Likewise.
1159         * localedata/xfrm-test.c (xstrcmp): Likewise.
1160         * login/getlogin_r.c (__getlogin_r): Likewise.
1161         * login/getpt.c (__posix_openpt): Likewise.
1162         * login/login_tty.c (login_tty): Likewise.
1163         * login/setlogin.c (setlogin): Likewise.
1164         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
1165         (mach_msg_destroy_port): Likewise.
1166         (mach_msg_destroy_memory): Likewise.
1167         * malloc/mcheck.c (flood): Likewise.
1168         * misc/acct.c (acct): Likewise.
1169         * misc/brk.c (__brk): Likewise.
1170         * misc/chflags.c (chflags): Likewise.
1171         * misc/chroot.c (chroot): Likewise.
1172         * misc/fchflags.c (fchflags): Likewise.
1173         * misc/fstab.c (getfsspec): Likewise.
1174         (getfsfile): Likewise.
1175         * misc/fsync.c (fsync): Likewise.
1176         * misc/ftruncate.c (__ftruncate): Likewise.
1177         * misc/ftruncate64.c (__ftruncate64): Likewise.
1178         * misc/getdomain.c (getdomainname): Likewise.
1179         (getdomainname): Likewise.
1180         * misc/gethostname.c (__gethostname): Likewise.
1181         * misc/getpass.c (getpass): Likewise.
1182         * misc/getttyent.c (skip): Likewise.
1183         (value): Likewise.
1184         * misc/gtty.c (gtty): Likewise.
1185         * misc/hsearch.c (hsearch): Likewise.
1186         (hcreate): Likewise.
1187         * misc/hsearch_r.c (__hcreate_r): Likewise.
1188         (__hdestroy_r): Likewise.
1189         * misc/ioctl.c (__ioctl): Likewise.
1190         * misc/mkdtemp.c (mkdtemp): Likewise.
1191         * misc/mkostemp.c (mkostemp): Likewise.
1192         * misc/mkostemp64.c (mkostemp64): Likewise.
1193         * misc/mkostemps.c (mkostemps): Likewise.
1194         * misc/mkostemps64.c (mkostemps64): Likewise.
1195         * misc/mkstemp.c (mkstemp): Likewise.
1196         * misc/mkstemp64.c (mkstemp64): Likewise.
1197         * misc/mkstemps.c (mkstemps): Likewise.
1198         * misc/mkstemps64.c (mkstemps64): Likewise.
1199         * misc/mktemp.c (__mktemp): Likewise.
1200         * misc/preadv.c (preadv): Likewise.
1201         * misc/preadv64.c (preadv64): Likewise.
1202         * misc/pwritev.c (pwritev): Likewise.
1203         * misc/pwritev64.c (pwritev64): Likewise.
1204         * misc/readv.c (__readv): Likewise.
1205         * misc/revoke.c (revoke): Likewise.
1206         * misc/setdomain.c (setdomainname): Likewise.
1207         * misc/setegid.c (setegid): Likewise.
1208         * misc/seteuid.c (seteuid): Likewise.
1209         * misc/sethostid.c (sethostid): Likewise.
1210         * misc/sethostname.c (sethostname): Likewise.
1211         * misc/setregid.c (__setregid): Likewise.
1212         * misc/setreuid.c (__setreuid): Likewise.
1213         * misc/sstk.c (sstk): Likewise.
1214         * misc/stty.c (stty): Likewise.
1215         * misc/syscall.c (syscall): Likewise.
1216         * misc/syslog.c (setlogmask): Likewise.
1217         * misc/truncate.c (__truncate): Likewise.
1218         * misc/truncate64.c (truncate64): Likewise.
1219         * misc/ualarm.c (ualarm): Likewise.
1220         * misc/usleep.c (usleep): Likewise.
1221         * misc/ustat.c (ustat): Likewise.
1222         * misc/writev.c (__writev): Likewise.
1223         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
1224         * nptl/old_pthread_cond_broadcast.c
1225         (__pthread_cond_broadcast_2_0): Likewise.
1226         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
1227         Likewise.
1228         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
1229         Likewise.
1230         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
1231         Likewise.
1232         * nptl/pt-raise.c (raise): Likewise.
1233         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
1234         Likewise.
1235         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
1236         * nptl/pthread_barrierattr_destroy.c
1237         (pthread_barrierattr_destroy): Likewise.
1238         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
1239         Likewise.
1240         * nptl/pthread_barrierattr_setpshared.c
1241         (pthread_barrierattr_setpshared): Likewise.
1242         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
1243         Likewise.
1244         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
1245         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
1246         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
1247         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
1248         Likewise.
1249         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
1250         Likewise.
1251         * nptl/pthread_condattr_getpshared.c
1252         (pthread_condattr_getpshared): Likewise.
1253         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
1254         Likewise.
1255         * nptl/pthread_condattr_setpshared.c
1256         (pthread_condattr_setpshared): Likewise.
1257         * nptl/pthread_detach.c (pthread_detach): Likewise.
1258         * nptl/pthread_equal.c (__pthread_equal): Likewise.
1259         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
1260         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
1261         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
1262         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
1263         Likewise.
1264         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
1265         Likewise.
1266         * nptl/pthread_mutex_getprioceiling.c
1267         (pthread_mutex_getprioceiling): Likewise.
1268         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
1269         Likewise.
1270         * nptl/pthread_mutexattr_getprotocol.c
1271         (pthread_mutexattr_getprotocol): Likewise.
1272         * nptl/pthread_mutexattr_getpshared.c
1273         (pthread_mutexattr_getpshared): Likewise.
1274         * nptl/pthread_mutexattr_getrobust.c
1275         (pthread_mutexattr_getrobust): Likewise.
1276         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
1277         Likewise.
1278         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
1279         Likewise.
1280         * nptl/pthread_mutexattr_setprioceiling.c
1281         (pthread_mutexattr_setprioceiling): Likewise.
1282         * nptl/pthread_mutexattr_setprotocol.c
1283         (pthread_mutexattr_setprotocol): Likewise.
1284         * nptl/pthread_mutexattr_setpshared.c
1285         (pthread_mutexattr_setpshared): Likewise.
1286         * nptl/pthread_mutexattr_setrobust.c
1287         (pthread_mutexattr_setrobust): Likewise.
1288         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
1289         Likewise.
1290         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
1291         Likewise.
1292         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
1293         Likewise.
1294         * nptl/pthread_rwlockattr_getkind_np.c
1295         (pthread_rwlockattr_getkind_np): Likewise.
1296         * nptl/pthread_rwlockattr_getpshared.c
1297         (pthread_rwlockattr_getpshared): Likewise.
1298         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
1299         Likewise.
1300         * nptl/pthread_rwlockattr_setkind_np.c
1301         (pthread_rwlockattr_setkind_np): Likewise.
1302         * nptl/pthread_rwlockattr_setpshared.c
1303         (pthread_rwlockattr_setpshared): Likewise.
1304         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
1305         Likewise.
1306         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
1307         Likewise.
1308         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
1309         Likewise.
1310         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
1311         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
1312         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
1313         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
1314         * nptl/sem_close.c (sem_close): Likewise.
1315         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
1316         * nptl/sem_init.c (__old_sem_init): Likewise.
1317         * nptl/sigaction.c (__sigaction): Likewise.
1318         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
1319         * posix/_exit.c (_exit): Likewise.
1320         * posix/alarm.c (alarm): Likewise.
1321         * posix/confstr.c (confstr): Likewise.
1322         * posix/fpathconf.c (__fpathconf): Likewise.
1323         * posix/getgroups.c (__getgroups): Likewise.
1324         * posix/getpgid.c (__getpgid): Likewise.
1325         * posix/group_member.c (__group_member): Likewise.
1326         * posix/pathconf.c (__pathconf): Likewise.
1327         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
1328         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
1329         * posix/setgid.c (__setgid): Likewise.
1330         * posix/setpgid.c (__setpgid): Likewise.
1331         * posix/setuid.c (__setuid): Likewise.
1332         * posix/sleep.c (__sleep): Likewise.
1333         * posix/sysconf.c (__sysconf): Likewise.
1334         * posix/times.c (__times): Likewise.
1335         * posix/uname.c (__uname): Likewise.
1336         * posix/waitid.c (__waitid): Likewise.
1337         * pwd/getpw.c (__getpw): Likewise.
1338         * resolv/base64.c (b64_pton): Likewise.
1339         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
1340         * resolv/gethnamaddr.c (Dprintf): Likewise.
1341         (gethostbyname): Likewise.
1342         (gethostbyname2): Likewise.
1343         (gethostbyaddr): Likewise.
1344         (_sethtent): Likewise.
1345         (_gethtbyname): Likewise.
1346         (_gethtbyname2): Likewise.
1347         (_gethtbyaddr): Likewise.
1348         (map_v4v6_address): Likewise.
1349         (map_v4v6_hostent): Likewise.
1350         (addrsort): Likewise.
1351         (ht_sethostent): Likewise.
1352         (ht_gethostbyname): Likewise.
1353         (ht_gethostbyaddr): Likewise.
1354         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
1355         (inet_net_ntop_ipv4): Likewise.
1356         * resolv/inet_neta.c (inet_neta): Likewise.
1357         * resolv/inet_ntop.c (inet_ntop): Likewise.
1358         (inet_ntop4): Likewise.
1359         (inet_ntop6): Likewise.
1360         * resolv/inet_pton.c (__inet_pton): Likewise.
1361         (inet_pton4): Likewise.
1362         (inet_pton6): Likewise.
1363         * resolv/res_debug.c (loc_aton): Likewise.
1364         (loc_ntoa): Likewise.
1365         * resource/getpriority.c (__getpriority): Likewise.
1366         * resource/getrusage.c (__getrusage): Likewise.
1367         * resource/nice.c (nice): Likewise.
1368         * resource/setpriority.c (__setpriority): Likewise.
1369         * resource/setrlimit64.c (setrlimit64): Likewise.
1370         * resource/vlimit.c (vlimit): Likewise.
1371         * resource/vtimes.c (vtimes): Likewise.
1372         * rt/aio_error.c (aio_error): Likewise.
1373         * rt/aio_return.c (aio_return): Likewise.
1374         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
1375         * signal/kill.c (__kill): Likewise.
1376         * signal/killpg.c (killpg): Likewise.
1377         * signal/raise.c (raise): Likewise.
1378         * signal/sigaction.c (__sigaction): Likewise.
1379         * signal/sigaddset.c (sigaddset): Likewise.
1380         * signal/sigaltstack.c (sigaltstack): Likewise.
1381         * signal/sigandset.c (sigandset): Likewise.
1382         * signal/sigblock.c (__sigblock): Likewise.
1383         * signal/sigdelset.c (sigdelset): Likewise.
1384         * signal/sigempty.c (sigemptyset): Likewise.
1385         * signal/sigfillset.c (sigfillset): Likewise.
1386         * signal/sighold.c (sighold): Likewise.
1387         * signal/sigignore.c (sigignore): Likewise.
1388         * signal/sigintr.c (siginterrupt): Likewise.
1389         * signal/sigisempty.c (sigisemptyset): Likewise.
1390         * signal/sigismem.c (sigismember): Likewise.
1391         * signal/signal.c (signal): Likewise.
1392         * signal/sigorset.c (sigorset): Likewise.
1393         * signal/sigpause.c (__sigpause): Likewise.
1394         * signal/sigpending.c (sigpending): Likewise.
1395         * signal/sigprocmask.c (__sigprocmask): Likewise.
1396         * signal/sigrelse.c (sigrelse): Likewise.
1397         * signal/sigreturn.c (__sigreturn): Likewise.
1398         * signal/sigset.c (sigset): Likewise.
1399         * signal/sigsetmask.c (__sigsetmask): Likewise.
1400         * signal/sigstack.c (sigstack): Likewise.
1401         * signal/sigsuspend.c (__sigsuspend): Likewise.
1402         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
1403         * signal/sysv_signal.c (__sysv_signal): Likewise.
1404         * socket/accept.c (accept): Likewise.
1405         * socket/accept4.c (__libc_accept4): Likewise.
1406         * socket/bind.c (__bind): Likewise.
1407         * socket/connect.c (__connect): Likewise.
1408         * socket/getpeername.c (getpeername): Likewise.
1409         * socket/getsockname.c (__getsockname): Likewise.
1410         * socket/getsockopt.c (getsockopt): Likewise.
1411         * socket/listen.c (__listen): Likewise.
1412         * socket/recv.c (__recv): Likewise.
1413         * socket/recvmsg.c (__recvmsg): Likewise.
1414         * socket/send.c (__send): Likewise.
1415         * socket/sendmsg.c (__sendmsg): Likewise.
1416         * socket/shutdown.c (shutdown): Likewise.
1417         * socket/sockatmark.c (sockatmark): Likewise.
1418         * socket/socket.c (__socket): Likewise.
1419         * stdio-common/ctermid.c (ctermid): Likewise.
1420         * stdio-common/cuserid.c (cuserid): Likewise.
1421         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
1422         * stdio-common/remove.c (remove): Likewise.
1423         * stdio-common/rename.c (rename): Likewise.
1424         * stdio-common/renameat.c (renameat): Likewise.
1425         * stdio-common/tempname.c (__gen_tempname): Likewise.
1426         * stdio-common/xbug.c (InitBuffer): Likewise.
1427         (AppendToBuffer): Likewise.
1428         (ReadFile): Likewise.
1429         * stdlib/a64l.c (a64l): Likewise.
1430         * stdlib/drand48_r.c (drand48_r): Likewise.
1431         * stdlib/getcontext.c (getcontext): Likewise.
1432         * stdlib/getenv.c (getenv): Likewise.
1433         * stdlib/l64a.c (l64a): Likewise.
1434         * stdlib/llabs.c (llabs): Likewise.
1435         * stdlib/lldiv.c (lldiv): Likewise.
1436         * stdlib/lrand48_r.c (lrand48_r): Likewise.
1437         * stdlib/mrand48_r.c (mrand48_r): Likewise.
1438         * stdlib/putenv.c (putenv): Likewise.
1439         * stdlib/random.c (__srandom): Likewise.
1440         (__initstate): Likewise.
1441         (__setstate): Likewise.
1442         * stdlib/random_r.c (__srandom_r): Likewise.
1443         (__setstate_r): Likewise.
1444         (__random_r): Likewise.
1445         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
1446         * stdlib/setcontext.c (setcontext): Likewise.
1447         * stdlib/setenv.c (setenv): Likewise.
1448         (unsetenv): Likewise.
1449         * stdlib/srand48.c (srand48): Likewise.
1450         * stdlib/srand48_r.c (__srand48_r): Likewise.
1451         * stdlib/swapcontext.c (swapcontext): Likewise.
1452         * stdlib/system.c (__libc_system): Likewise.
1453         * stdlib/tst-strtod.c (expand): Likewise.
1454         * stdlib/tst-strtol.c (expand): Likewise.
1455         * stdlib/tst-strtoll.c (expand): Likewise.
1456         * streams/fattach.c (fattach): Likewise.
1457         * streams/fdetach.c (fdetach): Likewise.
1458         * streams/getmsg.c (getmsg): Likewise.
1459         * streams/isastream.c (isastream): Likewise.
1460         * string/ffs.c (__ffs): Likewise.
1461         * string/ffsll.c (ffsll): Likewise.
1462         * string/memcmp.c (memcmp_common_alignment): Likewise.
1463         (memcmp_not_common_alignment): Likewise.
1464         (MEMCMP): Likewise.
1465         * string/memcpy.c (memcpy): Likewise.
1466         * string/memmove.c (MEMMOVE): Likewise.
1467         * string/memset.c (memset): Likewise.
1468         * string/rawmemchr.c (RAWMEMCHR): Likewise.
1469         * string/strchrnul.c (STRCHRNUL): Likewise.
1470         * string/strerror.c (strerror): Likewise.
1471         * string/strndup.c (__strndup): Likewise.
1472         * string/strverscmp.c (__strverscmp): Likewise.
1473         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
1474         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
1475         (clnttcp_freeres): Likewise.
1476         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
1477         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
1478         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
1479         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
1480         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
1481         (xdr_callhdr): Likewise.
1482         * sunrpc/rpcinfo.c (udpping): Likewise.
1483         (tcpping): Likewise.
1484         (pstatus): Likewise.
1485         (pmapdump): Likewise.
1486         (brdcst): Likewise.
1487         (deletereg): Likewise.
1488         (getprognum): Likewise.
1489         (getvers): Likewise.
1490         (get_inet_address): Likewise.
1491         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
1492         * sunrpc/svc_udp.c (svcudp_create): Likewise.
1493         (svcudp_stat): Likewise.
1494         (svcudp_recv): Likewise.
1495         (svcudp_reply): Likewise.
1496         (svcudp_getargs): Likewise.
1497         (svcudp_freeargs): Likewise.
1498         (svcudp_destroy): Likewise.
1499         * sunrpc/xdr.c (xdr_bytes): Likewise.
1500         (xdr_netobj): Likewise.
1501         (xdr_string): Likewise.
1502         (xdr_wrapstring): Likewise.
1503         * sunrpc/xdr_float.c (xdr_float): Likewise.
1504         (xdr_double): Likewise.
1505         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
1506         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
1507         * sysvipc/ftok.c (ftok): Likewise.
1508         * sysvipc/msgctl.c (msgctl): Likewise.
1509         * sysvipc/msgget.c (msgget): Likewise.
1510         * sysvipc/msgrcv.c (msgrcv): Likewise.
1511         * sysvipc/msgsnd.c (msgsnd): Likewise.
1512         * sysvipc/semget.c (semget): Likewise.
1513         * sysvipc/semop.c (semop): Likewise.
1514         * sysvipc/shmat.c (shmat): Likewise.
1515         * sysvipc/shmctl.c (shmctl): Likewise.
1516         * sysvipc/shmdt.c (shmdt): Likewise.
1517         * sysvipc/shmget.c (shmget): Likewise.
1518         * termios/cfmakeraw.c (cfmakeraw): Likewise.
1519         * termios/speed.c (cfgetospeed): Likewise.
1520         (cfgetispeed): Likewise.
1521         (cfsetospeed): Likewise.
1522         (cfsetispeed): Likewise.
1523         * termios/tcflow.c (tcflow): Likewise.
1524         * termios/tcflush.c (tcflush): Likewise.
1525         * termios/tcgetattr.c (__tcgetattr): Likewise.
1526         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
1527         * termios/tcgetsid.c (tcgetsid): Likewise.
1528         * termios/tcsendbrk.c (tcsendbreak): Likewise.
1529         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
1530         * time/adjtime.c (__adjtime): Likewise.
1531         * time/dysize.c (dysize): Likewise.
1532         * time/ftime.c (ftime): Likewise.
1533         * time/getitimer.c (__getitimer): Likewise.
1534         * time/gettimeofday.c (__gettimeofday): Likewise.
1535         * time/gmtime.c (__gmtime_r): Likewise.
1536         (gmtime): Likewise.
1537         * time/localtime.c (__localtime_r): Likewise.
1538         (localtime): Likewise.
1539         * time/offtime.c (__offtime): Likewise.
1540         * time/settimeofday.c (__settimeofday): Likewise.
1541         * time/stime.c (stime): Likewise.
1542         * time/strftime_l.c (tm_diff): Likewise.
1543         (iso_week_days): Likewise.
1544         * time/strptime.c (strptime): Likewise.
1545         * time/time.c (time): Likewise.
1546         * time/timespec_get.c (timespec_get): Likewise.
1547         * time/tzset.c (tzset_internal): Likewise.
1548         (compute_change): Likewise.
1549         (__tz_compute): Likewise.
1550         * wcsmbs/btowc.c (__btowc): Likewise.
1551         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
1552         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
1553         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
1554         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
1555         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
1556         * wcsmbs/wcscat.c (__wcscat): Likewise.
1557         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
1558         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
1559         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
1560         * wcsmbs/wcscspn.c (wcscspn): Likewise.
1561         * wcsmbs/wcsdup.c (wcsdup): Likewise.
1562         * wcsmbs/wcslen.c (__wcslen): Likewise.
1563         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
1564         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
1565         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
1566         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
1567         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
1568         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
1569         * wcsmbs/wcsspn.c (wcsspn): Likewise.
1570         * wcsmbs/wcsstr.c (wcsstr): Likewise.
1571         * wcsmbs/wcstok.c (wcstok): Likewise.
1572         * wcsmbs/wctob.c (wctob): Likewise.
1573         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
1574         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1575         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
1576         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
1577         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
1578         * wcsmbs/wmemset.c (__wmemset): Likewise.
1579         * wctype/wcfuncs.c (__towlower): Likewise.
1580         (__towupper): Likewise.
1582         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
1583         (lll_unlock_elision): Add adapt_count parameter.
1585 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
1587         * sysdeps/nptl/configure.ac: Do not give errors based on the
1588         results of top-level configure tests.
1589         * sysdeps/nptl/configure: Regenerated.
1591         * configure.ac (libc_cv_Bgroup): Remove configure test.
1592         * configure: Regenerated.
1593         * config.make.in (have-Bgroup): Remove variable.
1595         * configure.ac (sizeof_long_double): Remove configure test.
1596         * configure: Regenerated.
1597         * config.make.in (sizeof-long-double): Remove variable.
1599         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
1600         * configure: Regenerated.
1601         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
1602         variable.
1603         (exceptions): Likewise.
1604         * sysdeps/arm/configure: Regenerated.
1605         * config.make.in (exceptions): Remove variable.
1606         * Makeconfig (uses-callbacks): Use -fexceptions instead of
1607         $(exceptions).
1608         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
1609         (CFLAGS-vdprintf_chk.c): Likewise.
1610         (CFLAGS-printf_chk.c): Likewise.
1611         (CFLAGS-fprintf_chk.c): Likewise.
1612         (CFLAGS-vprintf_chk.c): Likewise.
1613         (CFLAGS-vfprintf_chk.c): Likewise.
1614         (CFLAGS-gets_chk.c): Likewise.
1615         (CFLAGS-fgets_chk.c): Likewise.
1616         (CFLAGS-fgets_u_chk.c): Likewise.
1617         (CFLAGS-fread_chk.c): Likewise.
1618         (CFLAGS-fread_u_chk.c): Likewise.
1619         (CFLAGS-wprintf_chk.c): Likewise.
1620         (CFLAGS-fwprintf_chk.c): Likewise.
1621         (CFLAGS-vwprintf_chk.c): Likewise.
1622         (CFLAGS-vfwprintf_chk.c): Likewise.
1623         (CFLAGS-fgetws_chk.c): Likewise.
1624         (CFLAGS-fgetws_u_chk.c): Likewise.
1625         * libio/Makefile (CFLAGS-fileops.c): Likewise.
1626         (CFLAGS-fputc.c): Likewise.
1627         (CFLAGS-fputwc.c): Likewise.
1628         (CFLAGS-freopen64.c): Likewise.
1629         (CFLAGS-freopen.c): Likewise.
1630         (CFLAGS-fseek.c): Likewise.
1631         (CFLAGS-fseeko64.c): Likewise.
1632         (CFLAGS-fseeko.c): Likewise.
1633         (CFLAGS-ftello64.c): Likewise.
1634         (CFLAGS-ftello.c): Likewise.
1635         (CFLAGS-fwide.c): Likewise.
1636         (CFLAGS-genops.c): Likewise.
1637         (CFLAGS-getc.c): Likewise.
1638         (CFLAGS-getchar.c): Likewise.
1639         (CFLAGS-getwc.c): Likewise.
1640         (CFLAGS-getwchar.c): Likewise.
1641         (CFLAGS-iofclose.c): Likewise.
1642         (CFLAGS-iofflush.c): Likewise.
1643         (CFLAGS-iofgetpos64.c): Likewise.
1644         (CFLAGS-iofgetpos.c): Likewise.
1645         (CFLAGS-iofgets.c): Likewise.
1646         (CFLAGS-iofgetws.c): Likewise.
1647         (CFLAGS-iofputs.c): Likewise.
1648         (CFLAGS-iofputws.c): Likewise.
1649         (CFLAGS-iofread.c): Likewise.
1650         (CFLAGS-iofsetpos64.c): Likewise.
1651         (CFLAGS-iofsetpos.c): Likewise.
1652         (CFLAGS-ioftell.c): Likewise.
1653         (CFLAGS-iofwrite.c): Likewise.
1654         (CFLAGS-iogetdelim.c): Likewise.
1655         (CFLAGS-iogetline.c): Likewise.
1656         (CFLAGS-iogets.c): Likewise.
1657         (CFLAGS-iogetwline.c): Likewise.
1658         (CFLAGS-ioputs.c): Likewise.
1659         (CFLAGS-ioseekoff.c): Likewise.
1660         (CFLAGS-ioseekpos.c): Likewise.
1661         (CFLAGS-iosetbuffer.c): Likewise.
1662         (CFLAGS-iosetvbuf.c): Likewise.
1663         (CFLAGS-ioungetc.c): Likewise.
1664         (CFLAGS-ioungetwc.c): Likewise.
1665         (CFLAGS-oldfileops.c): Likewise.
1666         (CFLAGS-oldiofclose.c): Likewise.
1667         (CFLAGS-oldiofgetpos64.c): Likewise.
1668         (CFLAGS-oldiofgetpos.c): Likewise.
1669         (CFLAGS-oldiofsetpos64.c): Likewise.
1670         (CFLAGS-oldiofsetpos.c): Likewise.
1671         (CFLAGS-peekc.c): Likewise.
1672         (CFLAGS-putc.c): Likewise.
1673         (CFLAGS-putchar.c): Likewise.
1674         (CFLAGS-putwc.c): Likewise.
1675         (CFLAGS-putwchar.c): Likewise.
1676         (CFLAGS-rewind.c): Likewise.
1677         (CFLAGS-wfileops.c): Likewise.
1678         (CFLAGS-wgenops.c): Likewise.
1679         (CFLAGS-oldiofopen.c): Likewise.
1680         (CFLAGS-iofopen.c): Likewise.
1681         (CFLAGS-iofopen64.c): Likewise.
1682         (CFLAGS-oldtmpfile.c): Likewise.
1683         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
1684         (CFLAGS-fprintf.c): Likewise.
1685         (CFLAGS-printf.c): Likewise.
1686         (CFLAGS-vfwprintf.c): Likewise.
1687         (CFLAGS-vfscanf.c): Likewise.
1688         (CFLAGS-vfwscanf.c): Likewise.
1689         (CFLAGS-fscanf.c): Likewise.
1690         (CFLAGS-scanf.c): Likewise.
1691         (CFLAGS-isoc99_vfscanf.c): Likewise.
1692         (CFLAGS-isoc99_vscanf.c): Likewise.
1693         (CFLAGS-isoc99_fscanf.c): Likewise.
1694         (CFLAGS-isoc99_scanf.c): Likewise.
1695         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
1696         (CFLAGS-isoc99_fwscanf.c): Likewise.
1697         (CFLAGS-isoc99_vwscanf.c): Likewise.
1698         (CFLAGS-isoc99_vfwscanf.c): Likewise.
1700         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
1701         after mkstemp64.
1702         * login/tst-utmp.c (do_prepare): Likewise.
1703         * rt/tst-aio.c (do_prepare): Likewise.
1704         * rt/tst-aio64.c (do_prepare): Likewise.
1706 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1708         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
1709         (__lll_lock_elision): Remove adapt_count decrement...
1710         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
1711         (__lll_trylock_elision): Likewise.
1712         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
1713         (__lll_unlock_elision): ... to here. And utilize
1714         new adapt_count parameter.
1715         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
1716         (__lll_unlock_elision): Update to include adapt_count
1717         parameter.
1718         (lll_unlock_elision): Pass pointer to adapt_count
1719         variable.
1721 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1723         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
1724         Add elision adapt_count parameter to list of arguments.
1725         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
1726         (lll_unlock_elision): Update with new parameter list
1727         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
1728         (lll_unlock_elision): Likewise
1729         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
1730         (lll_unlock_elision): Likewise
1732 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
1734         [BZ #19122]
1735         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
1736         attribute_hidden.
1738         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
1739         attribute_hidden.
1740         [IS_IN (rtld)] (__strdup): Likewise.
1741         [IS_IN (rtld)] (__strerror_r): Likewise.
1742         [IS_IN (rtld)] (__strsep_g): Likewise.
1743         [IS_IN (rtld)] (memchr): Likewise.
1744         [IS_IN (rtld)] (memcmp): Likewise.
1745         [IS_IN (rtld)] (memcpy): Likewise.
1746         [IS_IN (rtld)] (memmove): Likewise.
1747         [IS_IN (rtld)] (memset): Likewise.
1748         [IS_IN (rtld)] (rawmemchr): Likewise.
1749         [IS_IN (rtld)] (stpcpy): Likewise.
1750         [IS_IN (rtld)] (strchr): Likewise.
1751         [IS_IN (rtld)] (strcmp): Likewise.
1752         [IS_IN (rtld)] (strlen): Likewise.
1753         [IS_IN (rtld)] (strnlen): Likewise.
1754         [IS_IN (rtld)] (strsep): Likewise.
1756         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
1757         attribute_hidden.
1758         [IS_IN (rtld)] (__strtoul_internal): Likewise.
1760         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
1761         attribute_hidden.
1762         [IS_IN (rtld)] (__libc_sigaction): Likewise.
1764         * include/setjmp.h (__longjmp): Add attribute_hidden.
1765         [IS_IN (rtld)] (__sigsetjmp): Likewise.
1767         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
1768         Add attribute_hidden.
1770         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
1771         [IS_IN (rtld)] (__open): Likewise.
1772         [IS_IN (rtld)] (__fcntl): Likewise.
1774         * include/dirent.h (__opendirat): Add attribute_hidden.
1775         (__getdents): Likewise.
1776         (__getdents64): Likewise.
1777         (__alloc_dir): Likewise.
1778         [IS_IN (rtld)] (__closedir): Likewise.
1779         [IS_IN (rtld)] (__fdopendir): Likewise.
1780         [IS_IN (rtld)] (__readdir): Likewise.
1781         [IS_IN (rtld)] (__readdir64): Likewise.
1782         [IS_IN (rtld)] (__rewinddir): Likewise.
1784         * include/dlfcn.h (_dl_catch_error): Moved to ...
1785         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
1786         attribute_hidden.
1788         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
1789         (_itoa_word): Likewise.
1791         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
1792         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
1793         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
1794         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
1795         (_dl_higher_prime_number): Likewise.
1796         (_dl_debug_printf_c): Likewise.
1797         (_dl_signal_cerror): Likewise.
1798         (_dl_receive_error): Likewise.
1799         (_dl_reloc_bad_type): Likewise.
1800         (_dl_resolve_conflicts): Likewise.
1801         (_dl_check_all_versions): Likewise.
1802         (_dl_check_map_versions): Likewise.
1803         (_dl_sort_fini): Likewise.
1804         (_dl_debug_initialize): Likewise.
1805         (_dl_init_paths): Likewise.
1806         (_dl_show_auxv): Likewise.
1807         (_dl_next_ld_env_entry): Likewise.
1808         (_dl_important_hwcaps): Likewise.
1809         (_dl_load_cache_lookup): Likewise.
1810         (_dl_update_slotinfo): Likewise.
1811         (_dl_show_scope): Likewise.
1813         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
1814         attribute_hidden.
1815         (_wordcopy_fwd_dest_aligned): Likewise.
1816         (_wordcopy_bwd_aligned): Likewise.
1817         (_wordcopy_bwd_dest_aligned): Likewise.
1819         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
1820         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
1821         Likewise.
1822         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
1823         Likewise.
1824         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
1826 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
1828         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
1829         GCC 5 requirement.
1831 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
1833         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
1834         test.
1835         * sysdeps/i386/configure: Regenerated.
1836         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
1837         code unconditional.
1839         * configure.ac (libc_cv_asm_previous_directive): Remove configure
1840         test.
1841         (libc_cv_asm_popsection_directive): Likewise.
1842         * configure: Regenerated.
1843         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
1844         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
1845         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
1846         (__make_section_unallocated): Make definition unconditional.
1847         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
1848         Remove conditional definition.
1849         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
1850         (__make_section_unallocated): Likewise.
1852         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
1853         * configure: Regenerated.
1854         * config.make.in (static-libgcc): Remove variable.
1855         * Makerules (build-shlib-helper): Use -static-libgcc instead of
1856         $(static-libgcc).
1857         (build-module-helper): Likewise.
1859         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
1860         * configure: Regenerated.
1862 2015-10-15  Florian Weimer  <fweimer@redhat.com>
1864         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
1865         (struct char_buffer): New type.
1866         (char_buffer_start, char_buffer_size, char_buffer_error)
1867         (char_buffer_rewind, char_buffer_add): New functions.
1868         (ADDW): Remove macro, replaced by the char_buffer_add function.
1869         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
1870         of extend_alloca.  Make control flow more explicit.
1872 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
1874         [BZ #19137]
1875         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
1876         Add -fomit-frame-pointer.
1877         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
1879 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
1881         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
1882         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
1883         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
1884         only if !__GNUC_PREREQ (5,0).
1885         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
1886         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
1887         (INTERNAL_SYSCALL_NCS): Likewise.
1888         (LOADREGS_0): New macro for GCC 5.
1889         (ASMARGS_0): Likewise.
1890         (LOADREGS_1): Likewise.
1891         (ASMARGS_1): Likewise.
1892         (LOADREGS_2): Likewise.
1893         (ASMARGS_2): Likewise.
1894         (LOADREGS_3): Likewise.
1895         (ASMARGS_3): Likewise.
1896         (LOADREGS_4): Likewise.
1897         (ASMARGS_4): Likewise.
1898         (LOADREGS_5): Likewise.
1899         (ASMARGS_5): Likewise.
1900         (LOADREGS_6): Likewise.
1901         (ASMARGS_6): Likewise.
1903 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
1905         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
1906         -fomit-frame-pointer.
1907         (CFLAGS-mmap64.c): Likewise.
1908         (CFLAGS-semtimedop.c): Likewise.
1909         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
1910         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
1911         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1912         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
1914 2015-10-15  Florian Weimer  <fweimer@redhat.com>
1916         [BZ #18928]
1917         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
1918         _dl_pointer_guard member.
1919         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
1920         initializer.
1921         (security_init): Always set up pointer guard.
1922         (process_envvars): Do not process LD_POINTER_GUARD.
1924 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
1926         [BZ #19134]
1927         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
1928         (.LC2): Likewise.
1929         (.LC3): Likewise.
1930         (__lround): Do not add 0.5 to integer or out-of-range arguments.
1932 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1934         [BZ #19129]
1935         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
1936         r0 and r1.
1938 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
1940         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
1942 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
1944         * include/stap-probe.h: Fix macro definition formatting.
1946 2015-10-14  Florian Weimer  <fweimer@redhat.com>
1948         [BZ #19074]
1949         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
1950         load and store num_ifs.
1952 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
1954         [BZ #18822]
1955         * sysdeps/unix/sysv/linux/sched_getaffinity.c
1956         (__sched_getaffinity_new): Add libc_hidden_proto and
1957         libc_hidden_def.
1959 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
1961         [BZ #19007]
1962         * scripts/localplt.awk: Also allow GOT references.
1963         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
1964         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
1965         with "+ REL R_386_GLOB_DAT".
1966         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
1967         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
1969 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
1971         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
1972         INLINE_SYSCALL_ERROR_RETURN_VALUE.
1973         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
1974         Likewise.
1975         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
1976         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
1977         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
1978         INTERNAL_SYSCALLINTERNAL_SYSCALL and
1979         INLINE_SYSCALL_ERROR_RETURN_VALUE.
1980         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
1981         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1982         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
1983         Likewise.
1984         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1986 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
1988         [BZ #19125]
1989         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
1990         <math_private.h> and <stdint.h>.
1991         (__llround): Avoid conversions to and from long long int, and
1992         subtractions, where those might raise spurious exceptions.
1993         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
1994         <math_private.h> and <stdint.h>.
1995         (__llroundf): Avoid conversions to and from long long int, and
1996         subtractions, where those might raise spurious exceptions.
1998 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
2000         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
2001         INLINE_SYSCALL_ERROR_RETURN_VALUE.
2002         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
2003         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
2004         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
2005         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
2006         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
2007         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
2008         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
2009         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
2010         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2011         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2012         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
2013         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2014         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2015         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
2016         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
2017         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
2018         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
2019         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
2020         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
2021         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
2022         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
2023         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
2024         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
2025         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
2026         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
2027         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
2028         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2029         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
2030         (__xstat64_conv): Likewise.
2031         (__xstat32_conv): Likewise.
2033 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
2035         * sysdeps/unix/sysv/linux/sysdep.h: New file.
2036         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
2037         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
2038         <sysdeps/unix/sysv/linux/sysdep.h>.
2039         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
2040         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
2041         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
2042         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2043         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
2044         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
2045         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
2046         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
2047         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
2048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2050         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2051         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2052         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2053         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2054         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2055         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
2056         (sysdep-dl-routines): Add sysdep.
2057         [$(subdir) == nptl] (libpthread-routines): Likewise.
2058         [$(subdir) == rt] (librt-routines): Likewise.
2059         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
2060         PIC when branching to SYSCALL_ERROR_LABEL.
2061         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
2062         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
2063         <sysdeps/unix/sysv/linux/sysdep.h>.
2064         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
2065         (SYSCALL_ERROR_ERRNO): Removed.
2066         (SYSCALL_ERROR_HANDLER): Changed to empty.
2067         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
2068         (__syscall_error): New prototype.
2069         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
2070         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
2072 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
2074         [BZ #19124]
2075         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
2076         (_dl_runtime_resolve_avx512): Make it a hidden alias of
2077         _dl_runtime_resolve_avx.
2078         (_dl_runtime_profile_avx512): Make it a hidden alias of
2079         _dl_runtime_profile_avx.
2081 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
2083         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
2084         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
2085         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
2086         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
2088         [BZ #16422]
2089         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
2090         New configure test.
2091         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
2092         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
2093         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
2094         <math_private.h> and <stdint.h>.
2095         (__llrint): Avoid conversions to long long int where those might
2096         raise spurious exceptions.
2097         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
2098         <math_private.h> and <stdint.h>.
2099         (__llrintf): Avoid conversions to long long int where those might
2100         raise spurious exceptions.
2102 2015-10-12  Andreas Schwab  <schwab@suse.de>
2104         [BZ #18969]
2105         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
2106         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
2107         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
2108         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
2109         $(gen-locales).
2110         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
2111         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
2112         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
2113         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
2114         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
2115         $(gen-locales).
2116         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
2117         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
2118         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
2119         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
2120         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
2121         ($(objpfx)tst-ftell-active-handler.out)
2122         ($(objpfx)tst-ftell-append.out)
2123         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
2124         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
2125         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
2126         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
2127         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
2128         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
2129         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
2130         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
2131         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
2132         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
2133         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
2134         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
2135         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
2136         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
2137         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
2138         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
2139         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
2140         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
2141         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
2142         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
2143         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
2144         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
2145         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
2146         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
2147         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
2148         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
2149         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
2150         $(gen-locales).
2151         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
2152         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
2153         $(gen-locales).
2154         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
2155         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
2156         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
2157         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
2158         $(gen-locales).
2159         * libio/tst_wprintf2.c (main): Use explicit locale.
2160         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
2162 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2164         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
2165         __msg_sig_post.
2166         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
2168 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
2170         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2171         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2173         * sysdeps/arm/libm-test-ulps: Regenerated.
2175         [BZ #15470]
2176         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
2178         [BZ #16399]
2179         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
2180         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
2181         and <fix-fp-int-convert-overflow.h>.
2182         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
2183         FIX_DBL_LLONG_CONVERT_OVERFLOW.
2184         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
2185         and <fix-fp-int-convert-overflow.h>.
2186         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
2187         FIX_DBL_LLONG_CONVERT_OVERFLOW.
2188         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
2189         <fix-fp-int-convert-overflow.h>.
2190         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
2191         FIX_DBL_LLONG_CONVERT_OVERFLOW.
2192         * sysdeps/ieee754/dbl-64/s_lround.c: Include
2193         <fix-fp-int-convert-overflow.h>.
2194         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
2195         FIX_DBL_LLONG_CONVERT_OVERFLOW.
2196         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
2197         and <fix-fp-int-convert-overflow.h>.
2198         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
2199         FIX_DBL_LLONG_CONVERT_OVERFLOW.
2200         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
2201         <limits.h> and <fix-fp-int-convert-overflow.h>.
2202         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
2203         FIX_DBL_LLONG_CONVERT_OVERFLOW.
2204         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
2205         and <fix-fp-int-convert-overflow.h>.
2206         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
2207         FIX_DBL_LLONG_CONVERT_OVERFLOW.
2208         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
2209         and <fix-fp-int-convert-overflow.h>.
2210         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
2211         FIX_DBL_LLONG_CONVERT_OVERFLOW.
2212         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
2214 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
2216         [BZ #18589]
2217         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
2218         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
2219         $(gen-locales).
2221 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2222             Phil Blundell <pb@pbcl.net>
2224         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
2225         * nptl/tst-cancel26.c: New file.
2226         * nptl/tst-cancel27.c: Likewise.
2228 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
2230         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
2231         __ILP32__ isn't defined.
2232         (lrint): Likewise.
2233         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
2234         (lrintf): Likewise.
2235         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
2236         (lrintl): Likewise.
2237         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
2238         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
2239         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
2241 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2243         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
2244         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
2246         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
2247         file.
2248         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
2249         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
2251 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
2253         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
2254         configure test.
2255         * sysdeps/i386/configure: Regenerated.
2256         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
2257         configure test.
2258         * sysdeps/x86_64/configure: Regenerated.
2259         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
2260         Make code unconditional.
2262         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
2263         test.
2264         * sysdeps/i386/configure: Regenerated.
2265         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
2266         test.
2267         * sysdeps/x86_64/configure: Regenerated.
2268         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
2269         Make code unconditional.
2270         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
2271         Likewise.
2272         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
2273         Likewise.
2274         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
2275         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
2276         code unconditional.
2277         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
2278         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
2279         code unconditional.
2280         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
2281         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
2282         code unconditional.
2283         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
2284         code unconditional.
2285         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
2286         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
2287         code unconditional.
2288         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
2289         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
2290         code unconditional.
2291         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
2292         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
2293         code unconditional.
2294         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
2295         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
2296         code unconditional.
2297         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
2298         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
2300         [BZ #19095]
2301         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
2302         mantissa to long int before shifting left.
2304 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
2306         [BZ #19094]
2307         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
2308         <limits.h>.
2309         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
2310         when result overflows but exception would not result from cast.
2311         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
2312         <limits.h>.
2313         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
2314         when result overflows but exception would not result from cast.
2315         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
2316         <limits.h>.
2317         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
2318         when result overflows but exception would not result from cast.
2319         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
2320         <limits.h>.
2321         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
2322         when result overflows but exception would not result from cast.
2323         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
2324         <limits.h>.
2325         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
2326         when result overflows but exception would not result from cast.
2327         * math/libm-test.inc (lrint_test_data): Add more tests.
2328         (llrint_test_data): Likewise.
2330 2015-10-08  Roland McGrath  <roland@hack.frob.com>
2332         [BZ #18872]
2333         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
2334         Move out from under [$(run-built-tests) = yes] conditional.
2335         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
2336         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
2338 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
2340         [BZ #18589]
2341         * string/Makefile (tests): Add bug-strcoll2.
2342         (LOCALES): Add cs_CZ.UTF-8.
2343         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
2345         [BZ #18589]
2346         * string/bug-strcoll2.c: New file.
2347         * locale/categories.def: Revert commit
2348         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
2349         * locale/langinfo.h: Likewise.
2350         * locale/localeinfo.h: Likewise.
2351         * locale/C-collate.c: Likewise.
2352         * locale/programs/ld-collate.c (collate_output): Likewise.
2353         * string/strcoll_l.c (STRDIFF): Likewise.
2354         (STRCOLL): Likewise.
2355         * wcsmbs/wcscoll_l.c: Likewise.
2357 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
2359         * math/libm-test.inc (lround_test_data): Do not expect the absence
2360         of "inexact" for some tests with non-integer arguments.
2361         (llround_test_data): Likewise.
2363         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
2364         test.
2365         (libc_cv_cc_sse2avx): Likewise.
2366         * sysdeps/i386/configure: Regenerated.
2367         * sysdeps/i386/i686/multiarch/Makefile
2368         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
2369         [$(subdir) = math].
2370         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
2371         code unconditional.
2372         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
2373         Likewise.
2374         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
2375         Likewise.
2376         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
2377         Likewise.
2378         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
2379         test.
2380         (libc_cv_cc_sse2avx): Likewise.
2381         * sysdeps/x86_64/configure: Regenerated.
2382         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
2383         unconditional.
2384         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
2385         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
2386         unconditional.
2387         (_dl_runtime_profile)
2388         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
2389         conditional code.
2390         * sysdeps/x86_64/fpu/multiarch/Makefile
2391         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
2392         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
2393         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2394         * sysdeps/x86_64/fpu/multiarch/e_exp.c
2395         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2396         * sysdeps/x86_64/fpu/multiarch/e_log.c
2397         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2398         * sysdeps/x86_64/fpu/multiarch/s_atan.c
2399         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2400         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
2401         Likewise.
2402         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
2403         Likewise.
2404         * sysdeps/x86_64/fpu/multiarch/s_sin.c
2405         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2406         * sysdeps/x86_64/fpu/multiarch/s_tan.c
2407         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2408         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
2409         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
2410         (HAVE_SSE2AVX_SUPPORT): Likewise.
2412 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
2414         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
2415         instead of #pragma optimize.
2417 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
2419         [BZ #17195]
2420         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
2421         as is similarly done in systrim and _int_free already.
2423 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2425         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
2427 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
2429         [BZ #19088]
2430         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
2431         <limits.h>.
2432         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
2433         overflows but exception would not result from cast.
2434         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
2435         and <limits.h>.
2436         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
2437         overflows but exception would not result from cast.
2438         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
2439         <limits.h>.
2440         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
2441         overflows but exception would not result from cast.
2442         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
2443         <limits.h>.
2444         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
2445         overflows but exception would not result from cast.
2446         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
2447         <limits.h>.
2448         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
2449         overflows but exception would not result from cast.
2450         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
2451         <limits.h>.
2452         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
2453         overflows but exception would not result from cast.
2454         * math/libm-test.inc (lround_test_data): Add more tests.
2455         (llround_test_data): Likewise.
2457 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
2459         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
2460         (CFLAGS-ialloc.c): Ditto.
2461         (CFLAGS-scheck.c): Ditto.
2463 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
2465         [BZ #19086]
2466         * manual/filesys.texi (Storage Allocation): Fix argument order for
2467         posix_fallocate64.
2469 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
2471         [BZ #19085]
2472         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
2473         exponent below 48 inside case for non-overflowing exponent.
2474         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
2476 2015-10-07  Florian Weimer  <fweimer@redhat.com>
2478         * iconvdata/cp737.h (from_idx): Add const.
2479         * iconvdata/cp775.h (from_idx): Likewise.
2481 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
2483         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
2484         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
2485         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
2487         [BZ #19079]
2488         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
2489         file, conditioned on [!_LP64].
2490         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
2491         [!_LP64] (__lround): Do not define as function or alias.
2492         [!_LP64] (lround): Likewise.
2493         [!_LP64] (__lroundl): Likewise.
2494         [!_LP64] (lroundl): Likewise.
2495         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
2496         macro.
2497         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
2498         Likewise.
2500 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
2502         * math/libm-test.inc (lrint_test_data): Add more tests.
2503         (llrint_test_data): Likewise.
2504         (lround_test_data): Likewise.
2505         (llround_test_data): Likewise.
2507         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
2508         (llrint_test_data): Add tests used for lrint.
2510         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
2511         test.
2512         * sysdeps/i386/configure: Regenerated.
2513         * sysdeps/i386/i686/multiarch/Makefile
2514         [$(config-cflags-sse4) = yes]: Make code unconditional.
2515         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
2516         Likewise.
2517         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
2518         Likewise.
2519         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
2520         test.
2521         * sysdeps/x86_64/configure: Regenerated.
2522         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
2523         Make code unconditional.
2524         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
2525         Likewise.
2526         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
2527         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
2529         * scripts/rpm2dynsym.sh: Remove file.
2531 2015-10-06  Florian Weimer  <fweimer@redhat.com>
2533         * configure.ac (libc_cv_cxx_thread_local): Define.
2534         * configure: Regenerate.
2535         * config.make.in (have-cxx-thread_local): Define.
2536         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
2537         (LDLIBS-tst-thread_local1): Define.
2538         (tests): Add tst-thread_local1.
2539         [have-cxx-thread_local != yes] (tests-unsupported): Add
2540         tst-thread_local1.
2541         * nptl/tst-thread_local1.cc: New file.
2543 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
2545         [BZ #19078]
2546         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
2547         (u_thres): Likewise.
2548         (__expl): Determine whether to call __kernel_standard_l based on
2549         value of result, not argument.
2551         * math/libm-test.inc (scalb_test_data): Add more expectations for
2552         the "inexact" exception.
2554         [BZ #19077]
2555         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
2556         0.0L for argument 1.0L.
2558         [BZ #19076]
2559         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
2560         constant 0.0L when computing infinite result.
2562 2015-10-06  Florian Weimer  <fweimer@redhat.com>
2564         [BZ #10432]
2565         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
2566         malloc_usable_size.
2568 2015-10-06  Florian Weimer  <fweimer@redhat.com>
2570         [BZ #19018]
2571         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
2572         Mangle function pointer before storing it.
2573         (__call_tls_dtors): Demangle function pointer before calling it.
2575 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
2577         [BZ #19012]
2578         * iconv/gconv_db.c (gen_steps): Check for additional errors.
2579         Clean up on failure.
2581 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
2583         [BZ #19071]
2584         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
2585         long int variable to store possibly incremented high part of
2586         mantissa.
2587         * math/libm-test.inc (lround_test_data): Add tests used for
2588         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
2589         for tests requiring 64-bit long.  Do not condition tests on
2590         [TEST_FLOAT] unnecessarily.
2591         (llround_test_data): Add tests used for lround.  Add another
2592         expectation for the "inexact" exception.  Do not condition tests
2593         on [TEST_FLOAT] unnecessarily.
2595         [BZ #887]
2596         [BZ #19049]
2597         [BZ #19050]
2598         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
2599         * sysdeps/ieee754/dbl-64/e_log10.c: Include
2600         <fix-int-fp-convert-zero.h>.
2601         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2602         * sysdeps/ieee754/dbl-64/e_log2.c: Include
2603         <fix-int-fp-convert-zero.h>.
2604         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2605         * sysdeps/ieee754/dbl-64/s_erf.c: Include
2606         <fix-int-fp-convert-zero.h>.
2607         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2608         * sysdeps/ieee754/dbl-64/s_logb.c: Include
2609         <fix-int-fp-convert-zero.h>.
2610         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2611         * sysdeps/ieee754/flt-32/e_log10f.c: Include
2612         <fix-int-fp-convert-zero.h>.
2613         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2614         * sysdeps/ieee754/flt-32/e_log2f.c: Include
2615         <fix-int-fp-convert-zero.h>.
2616         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2617         * sysdeps/ieee754/flt-32/s_erff.c: Include
2618         <fix-int-fp-convert-zero.h>.
2619         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2620         * sysdeps/ieee754/flt-32/s_logbf.c: Include
2621         <fix-int-fp-convert-zero.h>.
2622         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2623         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
2624         <fix-int-fp-convert-zero.h>.
2625         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2626         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
2627         <fix-int-fp-convert-zero.h>.
2628         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2629         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
2630         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
2631         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
2632         file.
2633         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
2635 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
2637         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2639 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
2641         [BZ #19059]
2642         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
2643         overflowing computation.
2644         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
2645         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
2646         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
2647         Likewise.
2648         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
2649         Likewise.
2650         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
2651         Likewise.
2652         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2653         Likewise.
2654         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
2655         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
2656         Likewise.
2657         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
2658         Likewise.
2659         * math/libm-test.inc (nexttoward_test_data): Add more tests.
2661         * nss/rewrite_field.c (__nss_rewrite_field): Use
2662         internal_function.
2663         * nss/valid_field.c (__nss_valid_field): Likewise.
2664         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
2666 2015-10-02  Florian Weimer  <fweimer@redhat.com>
2668         [BZ #18724]
2669         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
2670         (__nss_invalid_field_characters, __nss_valid_field)
2671         (__nss_valid_list_field, __nss_rewrite_field): Declare.
2672         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
2673         tst-field.c: New file.
2674         * nss/Makefile (routines): Add valid_field, rewrite_field.
2675         (tests-static): Define unconditionally.
2676         (tests): Include tests-static.
2677         [build-static-nss] (tests-static): Use append.
2678         [build-static-nss] (tests): Remove modification.
2679         * nss/getent.c (print_group): Call putgrent.  Report error.
2680         (print_gshadow): Call putsgent.  Report error.
2681         (print_passwd): Call putpwent.  Report error.
2682         (print_shadow): Call putspent.  Report error.
2683         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
2684         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
2685         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
2686         name, password, directory, shell fields for valid syntax.  Rewrite
2687         GECOS field to match syntax.
2688         * pwd/Makefile (tests): Add tst-putpwent.
2689         * pwd/tst-putpwent.c: New file.
2690         * grp/putgrent.c (putgrent): Convert to ISO function definition.
2691         Check grName, grpasswd, gr_mem fields for valid syntax.
2692         Change loop variable i to size_t.
2693         * grp/Makefile (tests): Add tst-putgrent.
2694         * grp/tst-putgrent.c: New file.
2695         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
2696         valid syntax.
2697         * shadow/Makefile (tests): Add tst-putspent.
2698         * shadow/tst-putspent.c: New file.
2699         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
2700         sg_mem fields for valid syntax.
2701         * gshadow/Makefile (tests): Add tst-putsgent.
2702         * gshadow/tst-putsgent.c: New file.
2704 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2706         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
2707         assembly instructions.
2709 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2711         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
2712         prefix from operands.
2714 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
2716         [BZ #16347]
2717         [BZ #19046]
2718         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
2719         <libc-internal.h>.
2720         (MAXLGM): Do not use diagnostic control macros.
2721         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
2722         threshold for ldbl-128ibm.
2723         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
2724         instead of multiplying by log then subtracting.
2725         * math/auto-libm-test-in: Add more tests of lgamma.
2726         * math/auto-libm-test-out: Regenerated.
2728         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
2729         (TYPE_HEX_DIG): Likewise.
2730         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
2731         precisions when printing floating-point numbers.
2732         (check_float_internal): Likewise.
2734 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
2736         [BZ #16620]
2737         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
2738         of log (10) rounded downward to 48 bits.
2739         (log10_low): Use corresponding low part of log (10).
2741         [BZ #19032]
2742         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
2743         compute result as (x - x) / (x - x) not as 0 / 0.
2744         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
2745         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
2747         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
2748         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
2749         and expm1.
2750         * math/auto-libm-test-out: Regenerated.
2751         * math/libm-test.inc (acos_test_data): Add more tests.
2752         (asin_test_data): Likewise.
2753         (asinh_test_data): Likewise.
2754         (atan_test_data): Likewise.
2755         (atanh_test_data): Likewise.
2756         (atan2_test_data): Likewise.
2757         (cbrt_test_data): Likewise.
2758         (ceil_test_data): Likewise.
2759         (copysign_test_data): Likewise.
2760         (cos_test_data): Likewise.
2761         (cosh_test_data): Likewise.
2762         (erf_test_data): Likewise.
2763         (erfc_test_data): Likewise.
2764         (exp_test_data): Likewise.
2765         (exp10_test_data): Likewise.
2766         (exp2_test_data): Likewise.
2767         (expm1_test_data): Likewise.
2768         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2770 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
2772         [BZ #19006]
2773         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
2774         to ...
2775         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
2776         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
2777         to ...
2778         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
2779         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
2780         to ...
2781         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
2782         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
2783         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
2784         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
2785         to ...
2786         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
2787         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
2788         Moved to ...
2789         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
2790         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
2791         Moved to ...
2792         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
2793         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
2794         to ...
2795         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
2796         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
2797         Moved to ...
2798         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
2799         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
2800         to ...
2801         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
2802         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
2803         Removed.
2804         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
2805         Likewise.
2806         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
2807         Likewise.
2808         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
2809         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
2810         Likewise.
2811         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
2812         Likewise.
2813         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
2814         Likewise.
2815         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
2816         Likewise.
2817         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
2818         Likewise.
2819         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
2820         Likewise.
2821         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
2822         Likewise.
2823         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
2824         Likewise.
2825         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
2826         Likewise.
2827         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
2828         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
2829         Likewise.
2830         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
2831         Likewise.
2832         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
2833         Likewise.
2834         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
2835         Likewise.
2836         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
2837         Likewise.
2838         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
2839         Replace ../i486/pthread_cond_timedwait.S with
2840         ../pthread_cond_timedwait.S.
2842 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
2844         * math/libm-test.inc (acos_test_data): Refine expectations for
2845         errno and "inexact" exceptions.
2846         (acosh_test_data): Likewise.
2847         (asin_test_data): Likewise.
2848         (asinh_test_data): Likewise.
2849         (atan_test_data): Likewise.
2850         (atanh_test_data): Likewise.
2851         (atan2_test_data): Likewise.
2852         (cbrt_test_data): Likewise.
2853         (ceil_test_data): Likewise.
2854         (copysign_test_data): Likewise.
2855         (cosh_test_data): Likewise.
2856         (erf_test_data): Likewise.
2857         (erfc_test_data): Likewise.
2858         (exp_test_data): Likewise.
2859         (exp10_test_data): Likewise.
2860         (exp2_test_data): Likewise.
2861         (expm1_test_data): Likewise.
2862         (fabs_test_data): Likewise.
2863         (floor_test_data): Likewise.
2864         (fma_test_data): Likewise.
2865         (fmax_test_data): Likewise.
2866         (fmin_test_data): Likewise.
2867         (fmod_test_data): Likewise.
2868         (fpclassify_test_data): Likewise.
2869         (frexp_test_data): Likewise.
2870         (hypot_test_data): Likewise.
2871         (ilogb_test_data): Likewise.
2872         (isgreater_test_data): Likewise.
2873         (isgreaterequal_test_data): Likewise.
2874         (isinf_test_data): Likewise.
2875         (isless_test_data): Likewise.
2876         (islessequal_test_data): Likewise.
2877         (islessgreater_test_data): Likewise.
2878         (isnan_test_data): Likewise.
2879         (isnormal_test_data): Likewise.
2880         (issignaling_test_data): Likewise.
2881         (isunordered_test_data): Likewise.
2882         (j0_test_data): Likewise.
2883         (j1_test_data): Likewise.
2884         (jn_test_data): Likewise.
2885         (lgamma_test_data): Likewise.
2886         (lrint_test_data): Likewise.
2887         (llrint_test_data): Likewise.
2888         (log_test_data): Likewise.
2889         (log10_test_data): Likewise.
2890         (log1p_test_data): Likewise.
2891         (log2_test_data): Likewise.
2892         (logb_test_data): Likewise.
2893         (lround_test_data): Likewise.
2894         (llround_test_data): Likewise.
2895         (modf_test_data): Likewise.
2896         (nearbyint_test_data): Likewise.
2897         (nextafter_test_data): Likewise.
2898         (nexttoward_test_data): Likewise.
2899         (pow_test_data): Likewise.
2900         (remainder_test_data): Likewise.
2901         (remquo_test_data): Likewise.
2902         (rint_test_data): Likewise.
2903         (round_test_data): Likewise.
2904         (signbit_test_data): Likewise.
2905         (sinh_test_data): Likewise.
2906         (sqrt_test_data): Likewise.
2907         (tanh_test_data): Likewise.
2908         (tgamma_test_data): Likewise.
2909         (trunc_test_data): Likewise.
2910         (y0_test_data): Likewise.
2911         (y1_test_data): Likewise.
2912         (yn_test_data): Likewise.
2913         (significand_test_data): Likewise.
2915 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
2917         * manual/filesys.texi (Storage Allocation): Document that
2918         posix_fallocate emulation fails when fd is open with O_WRONLY.
2920 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
2922         [BZ #19016]
2923         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
2924         allow more cases with X^2 + Y^2 >= 0.5.
2925         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
2926         normal element in sum instead of special-casing based on values of
2927         arguments.
2928         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
2929         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
2930         -1 as normal element in sum instead of special-casing based on
2931         values of arguments.
2932         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
2933         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
2934         (__x2y2m1): Update comment.
2935         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
2936         as normal element in sum instead of special-casing based on values
2937         of arguments.
2938         * math/s_clog.c (__clog): Handle more cases using log1p without
2939         hypot.
2940         * math/s_clog10.c (__clog10): Likewise.
2941         * math/s_clog10f.c (__clog10f): Likewise.
2942         * math/s_clog10l.c (__clog10l): Likewise.
2943         * math/s_clogf.c (__clogf): Likewise.
2944         * math/s_clogl.c (__clogl): Likewise.
2945         * math/auto-libm-test-in: Add more tests of clog and clog10.
2946         * math/auto-libm-test-out: Regenerated.
2947         * sysdeps/i386/fpu/libm-test-ulps: Update.
2948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2950 2015-09-28  Martin Sebor  <msebor@redhat.com>
2952         [BZ #18969]
2953         * string/Makefile (LOCALES): Define.
2954         (gen-locales.mk): Include.
2955         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
2956         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
2957         * string/tst-strxfrm2.c (do_test): Print the name of the locale
2958         on setlocale failure.
2960 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
2962         [BZ #18985]
2963         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
2964         (__strftime_internal): Likewise.
2965         * time/tst-strftime.c (do_bz18985): New test.
2966         (do_test): Call it.
2968 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
2970         [BZ #18956]
2971         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
2972         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
2973         extracting high part.
2974         * math/auto-libm-test-in: Add another test of pow.
2975         * math/auto-libm-test-out: Regenerated.
2976         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2978 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
2980         [BZ #18825]
2981         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
2982         New macro.
2983         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
2984         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
2985         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
2986         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
2987         DBL_NARROW_EVAL, reloading the PIC register as needed.
2988         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
2989         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
2990         FLT_NARROW_EVAL.  Use separate return path for case when first
2991         argument is NaN.
2992         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
2993         DEFINE_LDBL_MIN.
2994         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
2995         PIC register.
2996         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
2997         math_check_force_underflow_nonneg.
2998         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
2999         underflow for subnormal result.
3000         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
3001         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
3002         math_check_force_underflow_nonneg.
3003         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
3004         math_check_force_underflow.
3005         * sysdeps/x86_64/fpu/x86_64-math-asm.h
3006         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
3007         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
3008         DEFINE_LDBL_MIN.
3009         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
3010         * math/auto-libm-test-in: Add more tests of pow.
3011         * math/auto-libm-test-out: Regenerated.
3013 2015-09-25  Florian Weimer  <fweimer@redhat.com>
3015         * nss/bug17079.c (init_test_items): Add diagnostic for
3016         inconsistent entries.
3017         (test_buffer_size): Skip inconsistent entries.
3019 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
3021         [BZ #13304]
3022         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
3023         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
3024         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
3026         [BZ #13304]
3027         * sysdeps/microblaze/s_fma.c: New file.
3028         * sysdeps/microblaze/s_fmaf.c: Likewise.
3029         * sysdeps/microblaze/sfp-machine.h: Likewise.
3031 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
3033         [BZ #17250]
3034         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
3035         member.
3037 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
3039         [BZ #18803]
3040         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
3041         (MO): New macro.
3042         (__ieee754_hypot) [PIC]: Load PIC register.
3043         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
3044         DBL_NARROW_EVAL.
3045         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
3046         math_check_force_underflow_nonneg in case where result might be
3047         tiny.
3048         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
3049         Likewise.
3050         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
3051         Likewise.
3052         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
3053         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
3054         * math/auto-libm-test-in: Add more tests of hypot.
3055         * math/auto-libm-test-out: Regenerated.
3057 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
3059         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
3061 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
3063         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
3064         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
3065         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
3066         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
3067         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
3068         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
3069         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
3071         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
3072         LOAD_PIC_REG.
3074         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
3075         (FLT_CHECK_FORCE_UFLOW): Likewise.
3076         (DBL_CHECK_FORCE_UFLOW): Likewise.
3077         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
3078         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
3079         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
3080         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
3081         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
3082         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
3083         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
3084         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
3085         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
3086         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3087         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
3088         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
3089         (flt_min): Replace with use of DEFINE_FLT_MIN.
3090         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
3091         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
3092         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3093         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
3094         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
3095         (flt_min): Replace with use of DEFINE_FLT_MIN.
3096         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
3097         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
3098         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3099         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
3100         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
3101         (flt_min): Replace with use of DEFINE_FLT_MIN.
3102         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
3103         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
3104         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
3105         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
3106         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
3107         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
3108         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
3109         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
3110         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3111         (__atan): Use DBL_CHECK_FORCE_UFLOW.
3112         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
3113         (flt_min): Replace with use of DEFINE_FLT_MIN.
3114         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
3115         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
3116         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3117         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
3118         main computation.
3119         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
3120         (flt_min): Replace with use of DEFINE_FLT_MIN.
3121         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
3122         main computation.
3123         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
3124         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3125         (MO): New macro.
3126         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
3127         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
3128         (flt_min): Replace with use of DEFINE_FLT_MIN.
3129         (MO): New macro.
3130         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
3131         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
3132         (__log1pl): Use MO.
3134         [BZ #19003]
3135         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
3136         $(config-cflags-nofma).
3138 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3140         * sysdeps/aarch64/libm-test-ulps: Regenerated.
3142 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
3144         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
3145         (TWO127): Likewise.
3147         * sysdeps/generic/math_private.h (fabs_tg): New macro.
3148         (min_of_type): Likewise.
3149         (math_check_force_underflow): Likewise.
3150         (math_check_force_underflow_nonneg): Likewise.
3151         (math_check_force_underflow_complex): Likewise.
3152         * math/e_exp2l.c (__ieee754_exp2l): Use
3153         math_check_force_underflow_nonneg.
3154         * math/k_casinh.c (__kernel_casinh): Likewise.
3155         * math/k_casinhf.c (__kernel_casinhf): Likewise.
3156         * math/k_casinhl.c (__kernel_casinhl): Likewise.
3157         * math/s_catan.c (__catan): Use
3158         math_check_force_underflow_complex.
3159         * math/s_catanf.c (__catanf): Likewise.
3160         * math/s_catanh.c (__catanh): Likewise.
3161         * math/s_catanhf.c (__catanhf): Likewise.
3162         * math/s_catanhl.c (__catanhl): Likewise.
3163         * math/s_catanl.c (__catanl): Likewise.
3164         * math/s_ccosh.c (__ccosh): Likewise.
3165         * math/s_ccoshf.c (__ccoshf): Likewise.
3166         * math/s_ccoshl.c (__ccoshl): Likewise.
3167         * math/s_cexp.c (__cexp): Likewise.
3168         * math/s_cexpf.c (__cexpf): Likewise.
3169         * math/s_cexpl.c (__cexpl): Likewise.
3170         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
3171         * math/s_clog10.c (__clog10): Likewise.
3172         * math/s_clog10f.c (__clog10f): Likewise.
3173         * math/s_clog10l.c (__clog10l): Likewise.
3174         * math/s_clogf.c (__clogf): Likewise.
3175         * math/s_clogl.c (__clogl): Likewise.
3176         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
3177         * math/s_csinf.c (__csinf): Likewise.
3178         * math/s_csinh.c (__csinh): Likewise.
3179         * math/s_csinhf.c (__csinhf): Likewise.
3180         * math/s_csinhl.c (__csinhl): Likewise.
3181         * math/s_csinl.c (__csinl): Likewise.
3182         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
3183         * math/s_csqrtf.c (__csqrtf): Likewise.
3184         * math/s_csqrtl.c (__csqrtl): Likewise.
3185         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
3186         * math/s_ctanf.c (__ctanf): Likewise.
3187         * math/s_ctanh.c (__ctanh): Likewise.
3188         * math/s_ctanhf.c (__ctanhf): Likewise.
3189         * math/s_ctanhl.c (__ctanhl): Likewise.
3190         * math/s_ctanl.c (__ctanl): Likewise.
3191         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
3192         instead of volatile.
3193         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
3194         math_check_force_underflow.
3195         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
3196         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
3197         volatile when forcing underflow.
3198         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3199         math_check_force_underflow_nonneg.
3200         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
3201         Likewise.
3202         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
3203         math_check_force_underflow.
3204         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
3205         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
3206         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
3207         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
3208         math_check_force_underflow_nonneg.
3209         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
3210         math_check_force_underflow.
3211         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
3212         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
3213         instead of volatile.
3214         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
3215         math_check_force_underflow.
3216         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
3217         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
3218         math_check_force_underflow_nonneg.
3219         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
3220         math_check_force_underflow.
3221         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
3222         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
3223         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
3224         math_check_force_underflow_nonneg.
3225         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
3226         Likewise.
3227         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
3228         math_check_force_underflow.
3229         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
3230         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
3231         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
3232         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
3233         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
3234         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
3235         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
3236         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
3237         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
3238         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
3239         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
3240         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
3241         Likewise.
3242         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
3243         math_check_force_underflow_nonneg.
3244         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
3245         Likewise.
3246         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
3247         math_check_force_underflow.
3248         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3249         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
3250         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
3251         Likewise.
3252         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
3253         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
3254         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
3255         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
3256         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
3257         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
3258         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
3259         instead of volatile.
3260         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
3261         math_check_force_underflow.
3262         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
3263         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
3264         math_check_force_underflow.
3265         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
3266         Likewise.
3267         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
3268         Use math_check_force_underflow_nonneg.
3269         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
3270         math_check_force_underflow.
3271         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
3272         Likewise.
3273         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
3274         Likewise.
3275         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3276         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
3277         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
3278         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
3279         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
3280         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
3281         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
3282         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
3283         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
3284         math_check_force_underflow_nonneg.
3285         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
3286         math_check_force_underflow.
3287         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3288         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
3289         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
3290         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
3291         math_check_force_underflow_nonneg.
3292         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
3293         math_check_force_underflow.
3294         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
3295         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
3296         instead of volatile.
3297         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
3298         math_check_force_underflow.
3300         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
3301         * stdlib/strtod_l.c: Include <math_private.h>.
3302         (overflow_value): Use math_narrow_eval.
3303         (underflow_value): Likewise.
3304         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
3305         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
3306         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
3307         (__ieee754_gamma_r): Likewise.
3308         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
3309         Likewise.
3310         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
3311         Likewise.
3312         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
3313         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
3314         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
3315         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
3316         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
3317         (__ieee754_gammaf_r): Likewise.
3318         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
3319         Likewise.
3320         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
3321         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
3322         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
3323         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
3324         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
3325         volatile.
3326         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
3327         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
3328         math_narrow_eval.
3329         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
3330         Likewise.
3331         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3332         Likewise.
3333         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
3334         Likewise.
3335         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
3336         volatile.
3337         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
3338         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
3339         math_narrow_eval.
3340         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
3341         Likewise.
3342         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
3343         Likewise.
3345 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
3347         * nptl/Versions: Remove ignored symbols.
3349 2015-09-22  Florian Weimer  <fweimer@redhat.com>
3351         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
3352         * nss/Makefile (tests): Update.
3354 2015-09-22  Florian Weimer  <fweimer@redhat.com>
3356         * nss/bug18287.c: New file.
3357         * nss/Makefile (tests): Add bug18287.
3359 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3361         * mach/Versions (__mach_host_self_): Add symbol.
3363 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3365         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
3366         vm_page_size.
3368 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3370         Really fix sysdeps/i386/fpu/s_scalbn.S build
3372         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
3373         (libc: GLIBC_2_22): Remove unused version set.
3375 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
3377         * config.make.in (enable-timezone-tools): New variable.
3378         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
3379         (enable_timezone_tools): Export to generated files.
3380         * configure: Regenerate.
3381         * INSTALL: Regenerate.
3382         * manual/install.texi (--disable-timezone-tools): Document new flag.
3383         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
3384         ifeq ($(enable-timezone-tools),yes) check.
3386 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
3388         * timezone/Makefile: Revert previous change.
3390         [BZ #18980]
3391         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
3392         (DEFINE_DBL_MIN): Likewise.
3393         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
3394         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
3395         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
3396         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
3397         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
3398         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3399         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
3400         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
3401         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
3402         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3403         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
3404         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
3405         (flt_min): Replace with use of DEFINE_FLT_MIN.
3406         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
3407         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
3408         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3409         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
3410         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
3411         (flt_min): Replace with use of DEFINE_FLT_MIN.
3412         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
3413         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
3414         (flt_min): Replace with use of DEFINE_FLT_MIN.
3415         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
3416         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
3417         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
3418         (__ieee754_hypot): Use DBL_NARROW_EVAL.
3419         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
3420         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
3421         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
3422         (__ieee754_pow): Use DBL_NARROW_EVAL.
3423         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
3424         (__ieee754_powf): Use FLT_NARROW_EVAL.
3425         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
3426         (__ieee754_expf_sse2): Convert double-precision result to single
3427         precision.
3428         * sysdeps/i386/fpu/libm-test-ulps: Update.
3430 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3432         * timezone/Makefile: Ignore unused variable errors due to private.h
3433         (time_t_min) and (time_t_max).
3434         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
3435         Likewise.
3437 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
3439         [BZ #18981]
3440         * sysdeps/i386/fpu/i386-math-asm.h: New file.
3441         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
3442         (__ieee754_scalb): Use DBL_NARROW_EVAL.
3443         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
3444         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
3445         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
3446         (__scalbn): Use DBL_NARROW_EVAL.
3447         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
3448         (__scalbnf): Use FLT_NARROW_EVAL.
3450 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3452         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
3453         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
3454         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
3455         * stdio-common/printf_fp.c (___printf_fp):
3456         Use signbit to get the sign. Use isinf macro to allow inlining.
3457         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
3458         * stdio-common/printf_size.c (__printf_size): Likewise.
3460 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
3462         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
3464 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
3466         [BZ #18980]
3467         * sysdeps/generic/math_private.h: Include <float.h>.
3468         (math_narrow_eval): New macro.
3469         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
3470         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
3471         math_narrow_eval on overflowing return value.
3472         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
3473         Likewise.
3474         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
3475         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
3476         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
3477         Likewise.
3478         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
3480 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3482         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
3483         * math/Makefile: Remove isinf_ns.c.
3484         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
3485         * math/multc3.c (__multc3): Likewise.
3486         * math/s_casin.c (__casin): Likewise.
3487         * math/s_casinf.c (__casinf): Likewise.
3488         * math/s_casinl.c (__casinl): Likewise.
3489         * math/s_cproj.c (__cproj): Likewise.
3490         * math/s_cprojf.c (__cprojf): Likewise.
3491         * math/s_cprojl.c (__cprofl): Likewise.
3492         * math/s_ctan.c (__ctan): Likewise.
3493         * math/s_ctanf.c (__ctanf): Likewise.
3494         * math/s_ctanh.c (__ctanh): Likewise.
3495         * math/s_ctanhf.c (__ctanhf): Likewise.
3496         * math/s_ctanhl.c (__ctanhl): Likewise.
3497         * math/s_ctanl.c (__ctanl): Likewise.
3498         * math/w_fmod.c (__fmod): Likewise.
3499         * math/w_fmodf.c (__fmodf): Likewise.
3500         * math/w_fmodl.c (_fmodl): Likewise.
3501         * math/w_remainder.c (__remainder): Likewise.
3502         * math/w_remainderf.c (__remainderf): Likewise.
3503         * math/w_remainderl.c (__remainderl): Likewise.
3504         * math/w_scalb.c (__scalb): Likewise.
3505         * math/w_scalbf.c (__scalbf): Likewise.
3506         * math/w_scalbl.c (__scalbl): Likewise.
3507         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
3508         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
3509         with isinf.
3510         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
3511         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
3512         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
3513         __isinf_nsf with isinf.
3514         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
3515         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
3516         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
3517         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
3518         with isinf.
3519         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
3520         __isinf_nsl with isinf.
3521         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
3522         with isinf.
3523         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
3524         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
3525         __isinf_nsl with isinf.
3526         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
3527         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
3528         with isinf.
3530 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3532         * resolv/base64.c (rcsid): Remove unused static.
3533         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
3534         static.  (tqpi1): Likewise.
3535         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
3536         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
3537         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
3538         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
3539         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
3540         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
3541         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
3542         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
3543         Likewise.
3545 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
3547         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
3548         <nptl/pthreadP.h>.
3549         (_longjmp_unwind): Use __libc_ptf_call.
3550         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
3552 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
3554         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
3555         * sysdeps/arm/__longjmp.S: Likewise
3557 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3559         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
3560         Use __builtin_signbit.
3561         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
3562         Use __builtin_signbitf.
3563         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
3564         Use __builtin_signbitl.
3565         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
3566         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
3568 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3570         [BZ #15367]
3571         [BZ #17441]
3573         * math/Makefile: Build test-snan.c with -fsignaling-nans.
3574         * math/math.h (fpclassify): Use __builtin_fpclassify when
3575         available.  (signbit): Use __builtin_signbit(f/l).
3576         (isfinite): Use__builtin_isfinite.  (isnormal): Use
3577         __builtin_isnormal.  (isnan): Use __builtin_isnan.
3578         (isinf): Use __builtin_isinf_sign.
3580 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3582         * benchtests/Makefile: Add bench-math-inlines, link with libm.
3583         * benchtests/bench-math-inlines.c: New benchmark.
3584         * benchtests/bench-util.h: New file.
3585         * benchtests/bench-util.c: New file.
3586         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
3588 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
3590         * elf/tst-dlmopen1.c: Define TEST_SO.
3591         (do_test): Use TEST_SO.
3593         * elf/dl-load.c: Include libc-internal.h.
3594         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
3596 2015-09-18  Vincent Bernat  <vincent@bernat.im>
3598         [BZ #17887]
3599         * time/strptime_l.c (__strptime_internal): Make %z accept
3600         [+-]HH:MM time zones.
3602 2015-09-18  Vincent Bernat  <vincent@bernat.im>
3604         [BZ #17886]
3605         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
3606         valid time zone.
3608 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
3610         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
3611         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
3612         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3613         (__ASSUME_FDATASYNC): Delete.
3615 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
3617         * conform/linknamespace.pl: Require weak undefined symbols to be
3618         in the standard namespace.
3619         (%strong_syms): Rename to %seen_syms.
3620         (%strong_seen): Rename to %seen_where.
3622 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
3624         [BZ #18970]
3625         * misc/error.c (error): Replace pthread_setcancelstate with
3626         __pthread_setcancelstate.
3627         (error_at_line): Likewise.
3628         * posix/wordexp.c (parse_comm): Likewise.
3629         * stdlib/fmtmsg.c (fmtmsg): Likewise.
3630         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
3631         (__pthread_setcancelstate): This.
3632         (pthread_setcancelstate): Add an alias.
3633         * nptl/nptl-init.c (pthread_functions): Replace
3634         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
3635         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
3636         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
3637         hidden_proto.
3638         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
3639         it with hidden_def.
3640         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
3641         (pthread_setcancelstate): Renamed to ...
3642         (__pthread_setcancelstate): This.
3643         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
3644         __libc_ptf_call with __pthread_setcancelstate.
3646 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
3647             Andreas Schwab  <schwab@suse.de>
3649         [BZ #17118]
3650         * math/s_ctan.c (__ctan): Determine sign of zero real part of
3651         result when imaginary part of argument is infinite using sine and
3652         cosine.
3653         * math/s_ctanf.c (__ctanf): Likewise.
3654         * math/s_ctanl.c (__ctanl): Likewise.
3655         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
3656         of result when real part of argument is infinite using sine and
3657         cosine.
3658         * math/s_ctanhf.c (__ctanhf): Likewise.
3659         * math/s_ctanhl.c (__ctanhl): Likewise.
3660         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
3661         (ctanh_test_data): Add more tests of ctanh.
3663 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
3665         [BZ #15384]
3666         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
3667         bit-mask as in subtraction.
3668         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
3669         Likewise.
3670         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
3671         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
3672         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
3674         [BZ #18951]
3675         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
3676         underflow exception for small results.
3677         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
3678         Likewise.
3679         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
3680         Likewise.
3681         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
3682         Likewise.
3683         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
3684         Likewise.
3685         * math/auto-libm-test-in: Add more tests of tgamma.
3686         * math/auto-libm-test-out: Regenerated.
3688 2015-09-17  Andreas Schwab  <schwab@suse.de>
3690         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
3692 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
3694         [BZ #18977]
3695         * math/bits/mathcalls.h
3696         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
3697         not declare.
3698         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
3699         Likewise.
3700         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
3701         Likewise.
3702         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
3703         Likewise.
3704         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
3705         Likewise.
3706         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
3707         Likewise.
3708         * conform/data/math.h-data
3709         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
3710         function.
3711         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
3712         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
3713         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
3714         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
3715         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
3716         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
3717         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
3718         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
3719         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
3720         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
3721         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
3723         [BZ #6803]
3724         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
3725         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
3726         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
3727         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
3728         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
3729         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
3730         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
3731         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
3732         [NO_LONG_DOUBLE] (scalbnl): Likewise.
3733         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
3734         Likewise.
3735         [NO_LONG_DOUBLE] (scalbnl): Likewise.
3736         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
3737         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
3738         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
3739         long_double_symbol calls.
3740         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
3741         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
3742         strong alias of __ldexpl.
3743         (scalbnl): Define using long_double_symbol.
3744         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
3745         Remove alias.
3746         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
3747         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
3748         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
3749         (scalbln_test_data): Add more errno expectations.
3751 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
3753         Cache the host port like we cache the task port.  This way we do not
3754         need to call the kernel just to get the port.  Furthermore, we no
3755         longer increase the reference count on every invocation of
3756         `mach_host_self'.
3758         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
3759         Protect declarations against the macro expansion.
3760         * mach/mach_init.c (__mach_host_self_): New variable.
3761         (mach_init): Initialize `__mach_host_self_'.
3762         * mach/mach_init.h (__mach_host_self_): New declaration.
3763         (__mach_host_self, mach_host_self): New macros.
3764         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
3765         Release reference.
3767 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
3769         [BZ #4404]
3770         * po/de.po: Update from Translation Project.
3772         [BZ #16415]
3773         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
3774         (__expm1l): Remove code to handle positive infinity and overflow.
3775         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
3776         variable.
3777         (__expm1l): Remove code to handle positive infinity and overflow.
3779 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
3780             Paul Pluzhnikov  <ppluzhnikov@google.com>
3782         [BZ #18872]
3783         * stdio-common/Makefile (tst-printf-bz18872): New test.
3784         (tst-printf-bz18872-mem.out): Likewise.
3785         * stdio-common/tst-printf-bz18872.sh: Generate new test.
3786         * stdio-common/vfprintf.c: Fix memory leaks.
3788 2015-09-16  Andreas Schwab  <schwab@suse.de>
3790         [BZ #17244]
3791         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
3792         Remove extra va_start/va_end calls.
3794         [BZ #17243]
3795         * posix/execl.c (execl): Add missing va_end.
3796         * posix/execle.c (execle): Likewise.
3797         * posix/execlp.c (execlp): Likewise.
3799 2015-09-15  Roland McGrath  <roland@hack.frob.com>
3801         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
3802         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
3804 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
3806         [BZ #18967]
3807         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
3808         undefine around includes of <bits/mathcalls.h>.
3809         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
3810         not declare function.
3811         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
3812         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
3813         (scalb): Likewise.
3814         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
3815         not define macro.
3816         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
3817         variable.
3818         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
3819         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
3820         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
3822         [BZ #18857]
3823         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
3824         return non-finite argument without doing ordered comparisons on
3825         it.
3827         [BZ #16296]
3828         * math/fenv.h (fegetround): Use __attribute_pure__.
3829         * include/fenv.h (__fegetround): Likewise.
3831         [BZ #18595]
3832         * math/s_ctan.c (__ctan): Force underflow exception for results
3833         whose real or imaginary part has small absolute value.
3834         * math/s_ctanf.c (__ctanf): Likewise.
3835         * math/s_ctanh.c (__ctanh): Likewise.
3836         * math/s_ctanhf.c (__ctanhf): Likewise.
3837         * math/s_ctanhl.c (__ctanhl): Likewise.
3838         * math/s_ctanl.c (__ctanl): Likewise.
3839         * math/auto-libm-test-in: Do not allow missing underflow for ctan
3840         and ctanh.  Add more tests of ctan and ctanh.
3842         [BZ #15918]
3843         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
3844         handling of cases where one argument is an infinity.
3846         [BZ #18875]
3847         [BZ #18966]
3848         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
3849         (MO): New macro.
3850         (__ieee754_exp10): For small results, force underflow exception
3851         and remove excess range and precision from return value.
3852         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
3853         (MO): New macro.
3854         (__ieee754_exp10f): For small results, force underflow exception
3855         and remove excess range and precision from return value.
3856         * math/auto-libm-test-in: Add more tests of exp10.
3857         * math/auto-libm-test-out: Regenerated.
3859 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
3861         [BZ #18875]
3862         [BZ #18961]
3863         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
3864         (MO): New macro.
3865         (__ieee754_exp): For small results, force underflow exception and
3866         remove excess range and precision from return value.
3867         (__exp_finite): Likewise.
3868         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
3869         (MO): New macro.
3870         (__ieee754_expf): For small results, force underflow exception and
3871         remove excess range and precision from return value.
3872         (__expf_finite): Likewise.
3873         * math/auto-libm-test-in: Add more tests of exp.
3874         * math/auto-libm-test-out: Regenerated.
3876         [BZ #16521]
3877         [BZ #18875]
3878         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
3879         small results.
3880         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
3881         (MO): New macro.
3882         (__ieee754_exp2): For small results, force underflow exception and
3883         remove excess range and precision from return value.
3884         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
3885         (MO): New macro.
3886         (__ieee754_exp2f): For small results, force underflow exception
3887         and remove excess range and precision from return value.
3888         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
3889         (MO): New macro.
3890         (__ieee754_exp2l): Force underflow exception for small results.
3891         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
3892         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
3893         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
3894         (MO): New macro.
3895         (__ieee754_exp2l): Force underflow exception for small results.
3896         * math/auto-libm-test-in: Add more tests or exp2.
3897         * math/auto-libm-test-out: Regenerated.
3899 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
3901         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
3903         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
3904         /dev/null.
3906 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3908         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
3909         io fs process)): Drop spurious backslash.
3911 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3913         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
3914         Use sysinfo system call instead of parsing /proc/meminfo.
3915         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
3916         Likewise.
3918 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
3920         [BZ #16985]
3921         * programs/localedef.c (main): Display argv[remaining] when
3922         output_path is NULL.
3924 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
3926         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
3927         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
3928         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
3929         tanh.
3930         * math/auto-libm-test-out: Regenerated.
3931         * sysdeps/i386/fpu/libm-test-ulps: Update.
3932         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3933         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3936 2015-09-11  Roland McGrath  <roland@hack.frob.com>
3938         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
3939         Use 'override' keyword to freeze the value here, preventing
3940         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
3942 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
3944         [BZ #14912]
3945         * sysdeps/aarch64/bits/atomic.h: Move to ...
3946         * sysdeps/aarch64/atomic-machine.h: ...here.
3947         (_AARCH64_BITS_ATOMIC_H): Rename macro to
3948         _AARCH64_ATOMIC_MACHINE_H.
3949         * sysdeps/alpha/bits/atomic.h: Move to ...
3950         * sysdeps/alpha/atomic-machine.h: ...here.
3951         * sysdeps/arm/bits/atomic.h: Move to ...
3952         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
3953         * bits/atomic.h: Move to ...
3954         * sysdeps/generic/atomic-machine.h: ...here.
3955         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
3956         * sysdeps/i386/bits/atomic.h: Move to ...
3957         * sysdeps/i386/atomic-machine.h: ...here.
3958         * sysdeps/ia64/bits/atomic.h: Move to ...
3959         * sysdeps/ia64/atomic-machine.h: ...here.
3960         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
3961         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
3962         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
3963         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
3964         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
3965         * sysdeps/microblaze/bits/atomic.h: Move to ...
3966         * sysdeps/microblaze/atomic-machine.h: ...here.
3967         * sysdeps/mips/bits/atomic.h: Move to ...
3968         * sysdeps/mips/atomic-machine.h: ...here.
3969         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
3970         * sysdeps/powerpc/bits/atomic.h: Move to ...
3971         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
3972         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
3973         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
3974         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
3975         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
3976         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
3977         <atomic-machine.h> instead of <bits/atomic.h>.
3978         * sysdeps/s390/bits/atomic.h: Move to ...
3979         * sysdeps/s390/atomic-machine.h: ...here.
3980         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
3981         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
3982         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
3983         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
3984         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
3985         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
3986         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
3987         * sysdeps/tile/bits/atomic.h: Move to ...
3988         * sysdeps/tile/atomic-machine.h: ...here.
3989         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
3990         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
3991         <sysdeps/tile/atomic-machine.h> instead of
3992         <sysdeps/tile/bits/atomic.h>.
3993         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
3994         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
3995         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
3996         <sysdeps/tile/atomic-machine.h> instead of
3997         <sysdeps/tile/bits/atomic.h>.
3998         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
3999         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
4000         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
4001         <sysdeps/arm/atomic-machine.h> instead of
4002         <sysdeps/arm/bits/atomic.h>.
4003         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
4004         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
4005         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
4006         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
4007         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
4008         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
4009         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
4010         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
4011         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
4012         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
4013         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
4014         * sysdeps/x86_64/bits/atomic.h: Move to ...
4015         * sysdeps/x86_64/atomic-machine.h: ...here.
4016         * include/atomic.h: Include <atomic-machine.h> instead of
4017         <bits/atomic.h>.
4019         * sysdeps/mips/mips32/libm-test-ulps: Update.
4020         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4022         [BZ #18952]
4023         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
4024         not convert non-integer negative arguments to int to determine the
4025         value of signgam.
4026         * math/auto-libm-test-in: Add more tests of lgamma.
4027         * math/auto-libm-test-out: Regenerated.
4029         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
4030         cosh, csqrt, erfc, expm1 and lgamma.
4031         * math/auto-libm-test-out: Regenerated.
4032         * sysdeps/i386/fpu/libm-test-ulps: Update.
4033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4035 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
4037         [BZ #2542]
4038         [BZ #2543]
4039         [BZ #2558]
4040         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
4041         __lgamma_neg for arguments from -28.0 to -2.0.
4042         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
4043         __lgamma_negf for arguments from -15.0 to -2.0.
4044         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4045         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
4046         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
4047         Call __lgamma_negl for arguments from -33.0 to -2.0.
4048         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
4049         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
4050         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
4051         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
4052         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
4053         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
4054         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
4055         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
4056         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
4057         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
4058         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
4059         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
4060         (__lgamma_neg): Likewise.
4061         (__lgamma_negl): Likewise.
4062         (__lgamma_product): Likewise.
4063         (__lgamma_productl): Likewise.
4064         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
4065         * math/auto-libm-test-in: Add more tests of lgamma.
4066         * math/auto-libm-test-out: Regenerated.
4067         * sysdeps/i386/fpu/libm-test-ulps: Update.
4068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4070 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
4072         [BZ #18675]
4073         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
4075 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
4077         [BZ #14912]
4078         * bits/libc-lock.h: Move to ...
4079         * sysdeps/generic/libc-lock.h: ...here.
4080         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
4081         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
4082         * sysdeps/mach/hurd/libc-lock.h: ...here.
4083         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
4084         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
4085         * sysdeps/mach/bits/libc-lock.h: Move to ...
4086         * sysdeps/mach/libc-lock.h: ...here.
4087         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
4088         * sysdeps/nptl/bits/libc-lock.h: Move to ...
4089         * sysdeps/nptl/libc-lock.h: ...here.
4090         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
4091         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
4092         * sysdeps/nptl/libc-lockP.h: ...here.
4093         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
4094         * crypt/crypt_util.c: Include <libc-lock.h> instead of
4095         <bits/libc-lock.h>.
4096         * dirent/scandir-tail.c: Likewise.
4097         * dlfcn/dlerror.c: Likewise.
4098         * elf/dl-close.c: Likewise.
4099         * elf/dl-iteratephdr.c: Likewise.
4100         * elf/dl-lookup.c: Likewise.
4101         * elf/dl-open.c: Likewise.
4102         * elf/dl-support.c: Likewise.
4103         * elf/dl-writev.h: Likewise.
4104         * elf/rtld.c: Likewise.
4105         * grp/fgetgrent.c: Likewise.
4106         * gshadow/fgetsgent.c: Likewise.
4107         * gshadow/sgetsgent.c: Likewise.
4108         * iconv/gconv_conf.c: Likewise.
4109         * iconv/gconv_db.c: Likewise.
4110         * iconv/gconv_dl.c: Likewise.
4111         * iconv/gconv_int.h: Likewise.
4112         * iconv/gconv_trans.c: Likewise.
4113         * include/link.h: Likewise.
4114         * inet/getnameinfo.c: Likewise.
4115         * inet/getnetgrent.c: Likewise.
4116         * inet/getnetgrent_r.c: Likewise.
4117         * intl/bindtextdom.c: Likewise.
4118         * intl/dcigettext.c: Likewise.
4119         * intl/finddomain.c: Likewise.
4120         * intl/gettextP.h: Likewise.
4121         * intl/loadmsgcat.c: Likewise.
4122         * intl/localealias.c: Likewise.
4123         * intl/textdomain.c: Likewise.
4124         * libidn/idn-stub.c: Likewise.
4125         * libio/libioP.h: Likewise.
4126         * locale/duplocale.c: Likewise.
4127         * locale/freelocale.c: Likewise.
4128         * locale/newlocale.c: Likewise.
4129         * locale/setlocale.c: Likewise.
4130         * login/getutent_r.c: Likewise.
4131         * login/getutid_r.c: Likewise.
4132         * login/getutline_r.c: Likewise.
4133         * login/utmp-private.h: Likewise.
4134         * login/utmpname.c: Likewise.
4135         * malloc/mtrace.c: Likewise.
4136         * misc/efgcvt.c: Likewise.
4137         * misc/error.c: Likewise.
4138         * misc/fstab.c: Likewise.
4139         * misc/getpass.c: Likewise.
4140         * misc/mntent.c: Likewise.
4141         * misc/syslog.c: Likewise.
4142         * nis/nis_call.c: Likewise.
4143         * nis/nis_callback.c: Likewise.
4144         * nis/nss-default.c: Likewise.
4145         * nis/nss_compat/compat-grp.c: Likewise.
4146         * nis/nss_compat/compat-initgroups.c: Likewise.
4147         * nis/nss_compat/compat-pwd.c: Likewise.
4148         * nis/nss_compat/compat-spwd.c: Likewise.
4149         * nis/nss_nis/nis-alias.c: Likewise.
4150         * nis/nss_nis/nis-ethers.c: Likewise.
4151         * nis/nss_nis/nis-grp.c: Likewise.
4152         * nis/nss_nis/nis-hosts.c: Likewise.
4153         * nis/nss_nis/nis-network.c: Likewise.
4154         * nis/nss_nis/nis-proto.c: Likewise.
4155         * nis/nss_nis/nis-pwd.c: Likewise.
4156         * nis/nss_nis/nis-rpc.c: Likewise.
4157         * nis/nss_nis/nis-service.c: Likewise.
4158         * nis/nss_nis/nis-spwd.c: Likewise.
4159         * nis/nss_nisplus/nisplus-alias.c: Likewise.
4160         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
4161         * nis/nss_nisplus/nisplus-grp.c: Likewise.
4162         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
4163         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
4164         * nis/nss_nisplus/nisplus-network.c: Likewise.
4165         * nis/nss_nisplus/nisplus-proto.c: Likewise.
4166         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
4167         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
4168         * nis/nss_nisplus/nisplus-service.c: Likewise.
4169         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
4170         * nis/ypclnt.c: Likewise.
4171         * nptl/libc_pthread_init.c: Likewise.
4172         * nss/getXXbyYY.c: Likewise.
4173         * nss/getXXent.c: Likewise.
4174         * nss/getXXent_r.c: Likewise.
4175         * nss/nss_db/db-XXX.c: Likewise.
4176         * nss/nss_db/db-netgrp.c: Likewise.
4177         * nss/nss_db/nss_db.h: Likewise.
4178         * nss/nss_files/files-XXX.c: Likewise.
4179         * nss/nss_files/files-alias.c: Likewise.
4180         * nss/nsswitch.c: Likewise.
4181         * posix/regex_internal.h: Likewise.
4182         * posix/wordexp.c: Likewise.
4183         * pwd/fgetpwent.c: Likewise.
4184         * resolv/res_hconf.c: Likewise.
4185         * resolv/res_libc.c: Likewise.
4186         * shadow/fgetspent.c: Likewise.
4187         * shadow/lckpwdf.c: Likewise.
4188         * shadow/sgetspent.c: Likewise.
4189         * socket/opensock.c: Likewise.
4190         * stdio-common/reg-modifier.c: Likewise.
4191         * stdio-common/reg-printf.c: Likewise.
4192         * stdio-common/reg-type.c: Likewise.
4193         * stdio-common/vfprintf.c: Likewise.
4194         * stdio-common/vfscanf.c: Likewise.
4195         * stdlib/abort.c: Likewise.
4196         * stdlib/cxa_atexit.c: Likewise.
4197         * stdlib/fmtmsg.c: Likewise.
4198         * stdlib/random.c: Likewise.
4199         * stdlib/setenv.c: Likewise.
4200         * string/strsignal.c: Likewise.
4201         * sunrpc/auth_none.c: Likewise.
4202         * sunrpc/bindrsvprt.c: Likewise.
4203         * sunrpc/create_xid.c: Likewise.
4204         * sunrpc/key_call.c: Likewise.
4205         * sunrpc/rpc_thread.c: Likewise.
4206         * sysdeps/arm/backtrace.c: Likewise.
4207         * sysdeps/generic/ldsodefs.h: Likewise.
4208         * sysdeps/generic/stdio-lock.h: Likewise.
4209         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
4210         * sysdeps/i386/backtrace.c: Likewise.
4211         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
4212         * sysdeps/m68k/backtrace.c: Likewise.
4213         * sysdeps/mach/hurd/cthreads.c: Likewise.
4214         * sysdeps/mach/hurd/dirstream.h: Likewise.
4215         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
4216         * sysdeps/nptl/malloc-machine.h: Likewise.
4217         * sysdeps/nptl/stdio-lock.h: Likewise.
4218         * sysdeps/posix/dirstream.h: Likewise.
4219         * sysdeps/posix/getaddrinfo.c: Likewise.
4220         * sysdeps/posix/system.c: Likewise.
4221         * sysdeps/pthread/aio_suspend.c: Likewise.
4222         * sysdeps/s390/s390-32/backtrace.c: Likewise.
4223         * sysdeps/s390/s390-64/backtrace.c: Likewise.
4224         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4225         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
4226         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
4227         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
4228         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
4229         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
4230         * sysdeps/unix/sysv/linux/system.c: Likewise.
4231         * sysdeps/x86_64/backtrace.c: Likewise.
4232         * time/alt_digit.c: Likewise.
4233         * time/era.c: Likewise.
4234         * time/tzset.c: Likewise.
4235         * wcsmbs/wcsmbsload.c: Likewise.
4236         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
4237         instead of <bits/libc-lock.h> in comment.
4239 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
4241         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
4242         Only use .set mips2 if the current ISA is below mips2.
4243         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
4244         Likewise.
4245         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
4246         mips32r2 if the current ISA is below mips32r2.
4247         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
4248         (TLS_IE): Updated to use the TLD_RDHWR macro.
4249         (TLS_LE): Likewise.
4250         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
4251         __ASSEMBLER__ condition.
4253 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4255         Fix parallel build of before-compile targets.
4257         * sysdeps/mach/Makefile ($(patsubst
4258         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
4259         mach-before-compile target.
4260         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
4261         io fs process)): Move rule to dedicated hurd-before-compile target.
4263 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4265         Fix rules generating headers in hurd/ and mach/ when initial make call
4266         has subdir= explicitly set.
4268         * sysdeps/mach/Makefile ($(patsubst
4269         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
4270         calling $(MAKE).
4271         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
4272         io fs process)): Force subdir to hurd when calling $(MAKE).
4273         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
4274         subdir to mach when calling $(MAKE).
4276 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
4278         Check sysheaders when looking for Mach and Hurd headers
4280         * sysdeps/mach/configure.ac: Add sysheaders check.
4281         * sysdeps/mach/configure: Regenerate.
4282         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
4283         * sysdeps/mach/hurd/configure: Regenerate.
4285 2015-09-04  Roland McGrath  <roland@hack.frob.com>
4287         [BZ #18921]
4288         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
4289         Fix inverted sense of test of 'o_directory_works' value.
4290         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
4291         Bernhard Voelker <mail@bernhard-voelker.de>.
4293 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
4295         [BZ #14912]
4296         * bits/linkmap.h: Move to ...
4297         * sysdeps/generic/linkmap.h: ...here.
4298         * sysdeps/aarch64/bits/linkmap.h: Move to ...
4299         * sysdeps/aarch64/linkmap.h: ...here.
4300         * sysdeps/arm/bits/linkmap.h: Move to ...
4301         * sysdeps/arm/linkmap.h: ...here.
4302         * sysdeps/hppa/bits/linkmap.h: Move to ...
4303         * sysdeps/hppa/linkmap.h: ...here.
4304         * sysdeps/ia64/bits/linkmap.h: Move to ...
4305         * sysdeps/ia64/linkmap.h: ...here.
4306         * sysdeps/mips/bits/linkmap.h: Move to ...
4307         * sysdeps/mips/linkmap.h: ...here.
4308         * sysdeps/s390/bits/linkmap.h: Move to ...
4309         * sysdeps/s390/linkmap.h: ...here.
4310         * sysdeps/sh/bits/linkmap.h: Move to ...
4311         * sysdeps/sh/linkmap.h: ...here.
4312         * sysdeps/x86/bits/linkmap.h: Move to ...
4313         * sysdeps/x86/linkmap.h: ...here.
4314         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
4316 2015-09-04  Andreas Schwab  <schwab@suse.de>
4318         [BZ #18635]
4319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
4320         (__makecontext): Terminate FDE before return label.
4321         (__novec_makecontext): Likewise.
4323 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4325         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
4326         first member of struct sv in syscall macro.
4328 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
4330         [BZ #14912]
4331         * bits/stdio-lock.h: Move to ...
4332         * sysdeps/generic/stdio-lock.h: ...here.
4333         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
4334         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
4335         * sysdeps/nptl/stdio-lock.h: ...here.
4336         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
4337         * include/libio.h: Include <stdio-lock.h> instead of
4338         <bits/stdio-lock.h>.
4339         * sysdeps/nptl/fork.c: Likewise.
4340         * sysdeps/pthread/flockfile.c: Likewise.
4341         * sysdeps/pthread/ftrylockfile.c: Likewise.
4342         * sysdeps/pthread/funlockfile.c: Likewise.
4344         [BZ #14912]
4345         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
4346         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
4347         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
4348         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
4349         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
4350         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
4351         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
4353 2015-09-03  Roland McGrath  <roland@hack.frob.com>
4355         * elf/Makefile (test-xfail-tst-protected1a): New variable.
4356         (test-xfail-tst-protected1b): New variable.
4358 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
4360         [BZ #14912]
4361         * bits/libc-tsd.h: Move to ...
4362         * sysdeps/generic/libc-tsd.h: ...here.
4363         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
4364         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
4365         * sysdeps/mach/hurd/libc-tsd.h: ...here.
4366         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
4367         * include/ctype.h: Include <libc-tsd.h> instead of
4368         <bits/libc-tsd.h>.
4369         * include/rpc/rpc.h: Likewise.
4370         * locale/localeinfo.h: Likewise.
4371         * sunrpc/rpc_thread.c: Likewise.
4372         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
4373         * sysdeps/nptl/malloc-machine.h: Likewise.
4375         * Makefile (headers): Remove bits/libc-lock.h.
4376         * libio/Makefile (headers): Remove bits/stdio-lock.h.
4378         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
4379         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
4380         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
4381         <bits/stdio-lock.h>.
4382         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
4383         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
4385 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
4387         [BZ #18757]
4388         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
4389         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
4390         BZ #18757.
4392 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
4394         * malloc/mtrace.pl: Filter out NULL entries.
4396 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
4398         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
4399         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
4400         macro.
4402         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
4403         (TCP_CC_INFO): Likewise.
4404         (TCP_SAVE_SYN): Likewise.
4405         (TCP_SAVED_SYN): Likewise.
4407 2015-08-31  Brett Neumeier <brett@neumeier.us>
4409         [BZ #18870]
4410         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
4412 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
4414         [BZ #18873]
4415         Fix broken overflow check in posix_fallocate
4416         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
4417         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
4418         Fix parenthesization typo.
4420 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
4422         [BZ #18887]
4423         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
4424         tst-mntent-blank-passno.
4425         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
4426         * misc/tst-mntent-blank-corrupt.c: New test.
4427         * misc/tst-mntent-blank-passno.c: New test ripped from ...
4428         * misc/tst-mntent.c (do_test): ... here.
4430 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
4432         [BZ #4404]
4433         * po/de.po: Fix SIGALRM typo.
4435 2015-08-28  James Perkins  <james@loowit.net>
4437         * time/tst-strptime2.c (tests): Replace short list of test
4438         strings for strptime %z specifier with code which exhaustively
4439         tests every combination of sign and 0 to 5 digits. Tests for
4440         rejection of invalid strings.
4442 2015-08-28  James Perkins  <james@loowit.net>
4444         [BZ #16141]
4445         * time/strptime_l.c (__strptime_internal): Fix %z minutes
4446         calculation, removing incorrect decimal time rounding, so that
4447         all minute values result in a valid seconds value.
4448         * time/strptime_l.c (__strptime_internal): Extend %z time zone
4449         offset range limits to UTC-99:59 through UTC+99:59 to parse
4450         current and historical use cases.
4451         * time/tst-strptime2.c (tests): Modify and add tests for the
4452         strptime %z input field descriptor, specifically conversion of
4453         minutes to seconds and validating an offset range of -9959 to
4454         +9959.
4456 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4457             Dmitry V. Levin  <ldv@altlinux.org>
4459         [BZ #18877]
4460         * posix/Makefile (tests): Add tst-mmap-offset.
4461         * posix/tst-mmap.c: New file.
4462         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
4463         offset calculation for negative values.
4465 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4467         * sysdeps/i386/init-arch.h: New file.
4468         * sysdeps/i386/i586/init-arch.h: Likewise.
4469         * sysdeps/i386/i686/init-arch.h: Likewise.
4470         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
4471         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
4472         * sysdeps/x86/cpu-features.h (bit_I586): New.
4473         (bit_I686): Likewise.
4474         (bit_CX8): Likewise.
4475         (bit_CMOV): Likewise.
4476         (index_CX8): Likewise.
4477         (index_CMOV): Likewise.
4478         (index_I586): Likewise.
4479         (index_I686): Likewise.
4480         (reg_CX8): Likewise.
4481         (reg_CMOV): Likewise.
4482         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
4483         available at compile-time.
4484         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
4485         available at compile-time.
4486         * sysdeps/x86/init-arch.h (USE_I586): New macro.
4487         (USE_I686): Likewise.
4489 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4491         * sysdeps/i386/bcopy.S: New file.
4492         * sysdeps/i386/bzero.S: Likewise.
4493         * sysdeps/i386/memcpy.S: Likewise.
4494         * sysdeps/i386/memmove.S: Likewise.
4495         * sysdeps/i386/mempcpy.S: Likewise.
4496         * sysdeps/i386/memset.S: Likewise.
4497         * sysdeps/i386/bzero.c: Removed.
4498         * sysdeps/i386/memset.c: Likewise.
4499         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
4500         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
4501         * sysdeps/i386/i586/memset_chk.S: Likewise.
4502         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
4503         * sysdeps/i386/memcpy_chk.S: Here.
4504         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
4505         * sysdeps/i386/memmove_chk.S: Here.
4506         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
4507         * sysdeps/i386/mempcpy_chk.S: Likewise.
4508         * sysdeps/i386/i686/memset_chk.S: Moved to ...
4509         * sysdeps/i386/memset_chk.S: Likewise.
4511 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
4513         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
4514         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
4515         file, move DIAG_POP_NEEDS_COMMENT to end of file.
4516         * soft-fp/fmadf4.c: Ditto.
4517         * soft-fp/fmatf4.c: Ditto.
4519 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4521         * sysdeps/i386/i586/Implies: Removed.
4522         * sysdeps/i386/i686/Implies: Likewise.
4524 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4526         * sysdeps/i386/i486/strlen.S: Moved to ...
4527         * sysdeps/i386/strlen.S: Here.
4529 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4531         * sysdeps/i386/i486/strcat.S: Moved to ...
4532         * sysdeps/i386/strcat.S: Here.
4534 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4536         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
4537         * sysdeps/i386/pthread_spin_trylock.S: Here.
4538         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
4539         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
4541 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4543         * sysdeps/i386/i486/string-inlines.c: Moved to ...
4544         * sysdeps/i386/string-inlines.c: Here.
4546 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4548         * sysdeps/i386/i486/htonl.S: Moved ...
4549         * sysdeps/i386/htonl.S: here.
4551 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4553         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
4554         * sysdeps/i386/bits/atomic.h: Here.
4556 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4558         * sysdeps/i386/i486/Versions: Removed.
4560 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
4562         [BZ #2898]
4563         * misc/mktemp.c: Add mkdtemp to the link_warning message.
4564         Based on patch by Aurelien Jarno.
4566 2015-08-26  Stan Shebs  <stanshebs@google.com>
4568         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
4569         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
4571 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4573         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
4574         * sysdeps/powerpc/dl-procinfo.c:
4575         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
4576         feature so it shows when LD_SHOW_AUXV=1.
4578 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4580         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
4581         (__arch_compare_and_exchange_val_32_acq): Remove and use common
4582         definition.  ISA 2.07B no longer requires full sync.
4584 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
4586         [BZ #18863]
4587         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
4588         (si_call_addr): Define.
4589         (si_syscall): Define.
4590         (si_arch): Define.
4592 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
4594         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
4595         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
4596         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
4597         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
4598         (__memset_zero_constant_len_parameter): New.
4599         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
4600         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
4601         (__memset_zero_constant_len_parameter): Don't define if
4602         __memset_chk or USE_AS_BZERO are defined.
4604         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
4605         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
4606         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
4608         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
4609         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
4610         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
4611         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
4612         comments.
4613         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
4614         -mno-mmx for $(all-rtld-routines).
4615         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
4616         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
4617         i386.
4619 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
4621         * sysdeps/generic/unwind.h
4622         (_Unwind_Word): Use __mode__(__unwind_word__)
4623         instead of __mode__(__word__).
4624         (_Unwind_Sword): Likewise.
4626         * sysdeps/s390/s390-64/utf8-utf16-z9.c
4627         (MAX_NEEDED_INPUT): New define.
4628         (MAX_NEEDED_OUTPUT): New define.
4630         * NEWS: New item for IBM z13 string optimizations.
4632         * sysdeps/s390/multiarch/memrchr-c.c: New File.
4633         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
4634         * sysdeps/s390/multiarch/memrchr.c: Likewise.
4635         * sysdeps/s390/multiarch/Makefile
4636         (sysdep_routines): Add memrchr functions.
4637         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
4638         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
4640         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
4641         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
4642         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
4643         * sysdeps/s390/multiarch/Makefile
4644         (sysdep_routines): Add wmemcmp functions.
4645         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
4646         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
4647         * benchtests/bench-wmemcmp.c: New File.
4648         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
4650         * sysdeps/s390/multiarch/wmemset-c.c: New File.
4651         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
4652         * sysdeps/s390/multiarch/wmemset.c: Likewise.
4653         * sysdeps/s390/multiarch/Makefile
4654         (sysdep_routines): Add wmemset functions.
4655         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
4656         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
4657         * wcsmbs/wmemset.c: Use WMEMSET if defined.
4658         * string/test-memset.c: Add wmemset support.
4659         * wcsmbs/test-wmemset.c: New File.
4660         * wcsmbs/Makefile (strop-tests): Add wmemset.
4661         * benchtests/bench-memset.c: Add wmemset support.
4662         * benchtests/bench-wmemset.c: New File.
4663         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
4665         * sysdeps/s390/multiarch/memccpy-c.c: New File.
4666         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
4667         * sysdeps/s390/multiarch/memccpy.c: Likewise.
4668         * sysdeps/s390/multiarch/Makefile
4669         (sysdep_routines): Add memccpy functions.
4670         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
4671         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
4672         * string/memccpy.c: Use MEMCCPY if defined.
4674         * sysdeps/s390/multiarch/memchr-vx.S: New File.
4675         * sysdeps/s390/multiarch/memchr.c: Likewise.
4676         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
4677         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
4678         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
4679         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
4680         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
4681         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
4682         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
4683         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
4684         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
4685         and rawmemchr functions.
4686         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
4687         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
4688         and wmemchr.
4689         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
4690         * string/test-memchr.c: Add wmemchr support.
4691         * wcsmbs/test-wmemchr.c: New File.
4692         * wcsmbs/Makefile (strop-tests): Add wmemchr.
4693         * benchtests/bench-memchr.c: Add wmemchr support.
4694         * benchtests/bench-wmemchr.c: New File.
4695         * benchtests/Makefile (wcsmbs-bench): wmemchr.
4697         * sysdeps/s390/multiarch/strcspn-c.c: New File.
4698         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
4699         * sysdeps/s390/multiarch/strcspn.c: Likewise.
4700         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
4701         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
4702         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
4703         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
4704         wcscspn functions.
4705         * sysdeps/s390/multiarch/ifunc-impl-list.c
4706         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
4707         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
4708         * string/test-strcspn.c: Add wcscspn support.
4709         * wcsmbs/test-wcscspn.c: New File.
4710         * wcsmbs/Makefile (strop-tests): Add wcscspn.
4711         * benchtests/bench-strcspn.c: Add wcscspn support.
4712         * benchtests/bench-wcscspn.c: New File.
4713         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
4715         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
4716         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
4717         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
4718         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
4719         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
4720         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
4721         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
4722         wcspbrk functions.
4723         * sysdeps/s390/multiarch/ifunc-impl-list.c
4724         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
4725         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
4726         * string/test-strpbrk.c: Add wcspbrk support.
4727         * wcsmbs/test-wcspbrk.c: New File.
4728         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
4729         * benchtests/bench-strpbrk.c: Add wcspbrk support.
4730         * benchtests/bench-wcspbrk.c: New File.
4731         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
4733         * sysdeps/s390/multiarch/strspn-c.c: New File.
4734         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
4735         * sysdeps/s390/multiarch/strspn.c: Likewise.
4736         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
4737         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
4738         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
4739         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
4740         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
4741         wcsspn functions.
4742         * sysdeps/s390/multiarch/ifunc-impl-list.c
4743         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
4744         * string/test-strspn.c: Add wcsspn support.
4745         * wcsmbs/test-wcsspn.c: New File.
4746         * wcsmbs/Makefile (strop-tests): Add wcsspn.
4747         * benchtests/bench-strspn.c: Add wcsspn support.
4748         * benchtests/bench-wcsspn.c: New File.
4749         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
4751         * sysdeps/s390/multiarch/strrchr-c.c: New File.
4752         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
4753         * sysdeps/s390/multiarch/strrchr.c: Likewise.
4754         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
4755         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
4756         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
4757         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
4758         wcsrchr functions.
4759         * sysdeps/s390/multiarch/ifunc-impl-list.c
4760         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
4761         * benchtests/bench-wcsrchr.c: New File.
4762         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
4764         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
4765         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
4766         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
4767         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
4768         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
4769         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
4770         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
4771         wcschrnul functions.
4772         * sysdeps/s390/multiarch/ifunc-impl-list.c
4773         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
4774         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
4775         * string/test-strchr.c: Add wcschrnul support.
4776         * wcsmbs/test-wcschrnul.c: New File.
4777         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
4778         * benchtests/bench-strchr.c: Add wcschrnul support.
4779         * benchtests/bench-wcschrnul.c: New File.
4780         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
4782         * sysdeps/s390/multiarch/strchr-c.c: New File.
4783         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
4784         * sysdeps/s390/multiarch/strchr.c: Likewise.
4785         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
4786         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
4787         * sysdeps/s390/multiarch/wcschr.c: Likewise.
4788         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
4789         wcschr functions.
4790         * sysdeps/s390/multiarch/ifunc-impl-list.c
4791         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
4792         * string/strchr.c (STRCHR): Define and use macro.
4793         * benchtests/bench-wcschr.c: New File.
4794         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
4796         * sysdeps/s390/multiarch/strncmp-c.c: New File.
4797         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
4798         * sysdeps/s390/multiarch/strncmp.c: Likewise.
4799         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
4800         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
4801         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
4802         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
4803         wcsncmp functions.
4804         * sysdeps/s390/multiarch/ifunc-impl-list.c
4805         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
4806         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
4807         * benchtests/bench-strncmp.c: Add wcsncmp support.
4808         * benchtests/bench-wcsncmp.c: New File.
4809         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
4811         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
4812         * sysdeps/s390/multiarch/strcmp.c: Likewise.
4813         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
4814         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
4815         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
4816         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
4817         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
4818         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
4819         wcscmp functions.
4820         * sysdeps/s390/multiarch/ifunc-impl-list.c
4821         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
4822         * string/strcmp.c (STRCMP): Define and use macro.
4823         * benchtests/bench-wcscmp.c: New File.
4824         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
4825         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
4826         instead of _HAVE_STRING_ARCH_memchr.
4828         * sysdeps/s390/multiarch/strncat-c.c: New File.
4829         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
4830         * sysdeps/s390/multiarch/strncat.c: Likewise.
4831         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
4832         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
4833         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
4834         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
4835         wcsncat functions.
4836         * sysdeps/s390/multiarch/ifunc-impl-list.c
4837         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
4838         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
4839         * string/test-strncat.c: Add wcsncat support.
4840         * wcsmbs/test-wcsncat.c: New File.
4841         * wcsmbs/Makefile (strop-tests): Add wcsncat.
4842         * benchtests/bench-strncat.c: Add wcsncat support.
4843         * benchtests/bench-wcsncat.c: New File.
4844         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
4846         * sysdeps/s390/multiarch/strcat-c.c: New File.
4847         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
4848         * sysdeps/s390/multiarch/strcat.c: Likewise.
4849         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
4850         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
4851         * sysdeps/s390/multiarch/wcscat.c: Likewise.
4852         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
4853         wcscat functions.
4854         * sysdeps/s390/multiarch/ifunc-impl-list.c
4855         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
4856         * string/strcat.c (STRCAT): Define and use macro.
4857         * wcsmbs/wcscat.c: Use WCSCAT if defined.
4858         * string/test-strcat.c: Add wcscat support.
4859         * wcsmbs/test-wcscat.c: New File.
4860         * wcsmbs/Makefile (strop-tests): Add wcscat.
4861         * benchtests/bench-strcat.c: Add wcscat support.
4862         * benchtests/bench-wcscat.c: New File.
4863         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
4865         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
4866         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
4867         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
4868         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
4869         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
4870         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
4871         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
4872         wcpncpy functions.
4873         * sysdeps/s390/multiarch/ifunc-impl-list.c
4874         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
4875         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
4876         * string/test-stpncpy.c: Add wcpncpy support.
4877         * wcsmbs/test-wcpncpy.c: New File.
4878         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
4879         * benchtests/bench-stpncpy.c: Add wcpncpy support.
4880         * benchtests/bench-wcpncpy.c: New File.
4881         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
4883         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
4884         * sysdeps/s390/multiarch/strncpy.c: Likewise.
4885         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
4886         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
4887         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
4888         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
4889         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
4890         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
4891         wcsncpy functions.
4892         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
4893         * sysdeps/s390/multiarch/ifunc-impl-list.c
4894         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
4895         * string/test-strncpy.c: Add wcsncpy support.
4896         * wcsmbs/test-wcsncpy.c: New File.
4897         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
4898         * benchtests/bench-strncpy.c: Add wcsncpy support.
4899         * benchtests/bench-wcsncpy.c: New File.
4900         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
4902         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
4903         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
4904         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
4905         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
4906         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
4907         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
4908         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
4909         wcpcpy functions.
4910         * string/stpcpy.c: Use STPCPY if defined.
4911         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
4912         * sysdeps/s390/multiarch/ifunc-impl-list.c
4913         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
4914         * string/test-stpcpy.c: Add wcpcpy support.
4915         * wcsmbs/test-wcpcpy.c: New File.
4916         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
4917         * benchtests/bench-stpcpy.c: Add wcpcpy support.
4918         * benchtests/bench-wcpcpy.c: New File.
4919         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
4921         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
4922         * sysdeps/s390/multiarch/strcpy.c: Likewise.
4923         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
4924         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
4925         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
4926         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
4927         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
4928         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
4929         wcscpy functions.
4930         * sysdeps/s390/multiarch/ifunc-impl-list.c
4931         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
4932         * benchtests/bench-wcscpy.c: New File.
4933         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
4935         * sysdeps/s390/multiarch/strnlen-c.c: New File.
4936         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
4937         * sysdeps/s390/multiarch/strnlen.c: Likewise.
4938         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
4939         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
4940         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
4941         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
4942         wcsnlen functions.
4943         * sysdeps/s390/multiarch/ifunc-impl-list.c
4944         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
4945         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
4946         * string/test-strnlen.c: Add wcsnlen support.
4947         * wcsmbs/test-wcsnlen.c: New File.
4948         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
4949         * benchtests/bench-strnlen.c: Add wcsnlen support.
4950         * benchtests/bench-wcsnlen.c: New File.
4951         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
4953         * sysdeps/s390/multiarch/Makefile: New File.
4954         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
4955         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
4956         * sysdeps/s390/multiarch/strlen.c: Likewise.
4957         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
4958         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
4959         * sysdeps/s390/multiarch/wcslen.c: Likewise.
4960         * string/strlen.c (STRLEN): Define and use macro.
4961         * sysdeps/s390/multiarch/ifunc-impl-list.c
4962         (IFUNC_VX_IMPL): New macro function.
4963         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
4964         * benchtests/Makefile (wcsmbs-bench): New variable.
4965         (string-bench-all): Added wcsmbs-bench.
4966         * benchtests/bench-wcslen.c: New File.
4968         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
4969         s390_vx_libc_ifunc2): New macro function.
4971         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
4972         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
4973         assembler support.
4974         * sysdeps/s390/configure: Regenerated.
4976         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
4977         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
4979         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
4980         * sysdeps/s390/dl-procinfo.h: Add vector capability.
4981         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
4983         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
4984         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
4985         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
4986         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
4987         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
4988         (memcmp, bcmp): Use __memcmp_default as alias source.
4989         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
4990         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
4991         Rename to __memcmp_default.
4992         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
4993         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
4994         (memcpy): Use __memcpy_default as alias source.
4995         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
4996         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
4997         Rename to __memcpy_default.
4998         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
4999         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
5000         (memset): Use __memset_default as alias source.
5001         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
5002         * sysdeps/s390/s390-32/memset.S (__memset_g5):
5003         Rename to __memset_default.
5004         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
5005         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
5006         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
5007         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
5008         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
5009         (memcmp, bcmp): Use __memcmp_default as alias source.
5010         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
5011         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
5012         Rename to __memcmp_default.
5013         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
5014         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
5015         (memcpy): Use __memcpy_default as alias source.
5016         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
5017         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
5018         Rename to __memcpy_default.
5019         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
5020         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
5021         (memset): Use __memset_default as alias source.
5022         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
5023         * sysdeps/s390/s390-64/memset.S (__memset_z900):
5024         Rename to __memset_default.
5025         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
5026         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
5028         [BZ #18610]
5029         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
5030         __ieee_instruction_pointer to __unused.
5031         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
5032         __ieee_instruction_pointer.
5033         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
5034         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
5035         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
5036         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
5037         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
5038         Mark dxc-field as reserved.
5040 2015-08-25  Roland McGrath  <roland@hack.frob.com>
5042         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
5043         if the weak reference is not null.
5045 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
5047         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
5049         [BZ #11214]
5050         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
5052 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5054         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
5055         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
5056         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
5057         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
5058         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
5059         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
5060         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
5061         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
5062         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
5063         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
5064         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
5065         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
5066         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
5067         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
5068         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
5069         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
5070         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
5071         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
5073 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5075         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
5076         register other than r0 for tabort, it has special meaning.
5077         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
5078         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
5079         transaction before starting syscall.
5081 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5083         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
5085 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
5087         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
5089         * sysdeps/x86_64/rtld-memcmp.c: Removed.
5090         * sysdeps/x86_64/rtld-memset.S: Likewise.
5091         * sysdeps/x86_64/rtld-strchr.S: Likewise.
5092         * sysdeps/x86_64/rtld-strlen.S: Likewise.
5093         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
5094         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
5096         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
5098 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
5100         * debug/strcpy_chk.c: Improve performance.
5101         * debug/stpcpy_chk.c: Likewise.
5102         * sysdeps/x86_64/strcpy_chk.S: Remove.
5103         * sysdeps/x86_64/stpcpy_chk.S: Remove.
5105         [BZ #18240]
5106         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
5108 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
5110         [BZ #15128]
5111         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
5112         ifuncmain8.
5113         (modules-names): Add ifuncmod8.
5114         ($(objpfx)ifuncmain8): New rule.
5115         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
5116         <cpuid.h>.
5117         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
5118         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
5119         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
5120         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
5121         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
5122         * sysdeps/x86_64/dl-trampoline.h: Likewise.
5123         * sysdeps/x86_64/ifuncmain8.c: New file.
5124         * sysdeps/x86_64/ifuncmod8.c: Likewise.
5125         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
5126         Removed.
5127         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
5128         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
5129         Change rtld_savespace_sse to __glibc_unused2.
5130         (RTLD_CHECK_FOREIGN_CALL): Removed.
5131         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
5132         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
5133         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
5135 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
5137         * sysdeps/aarch64/bzero.S (__bzero): Remove.
5139 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
5141         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
5142         Unconditionally set __fpcr to avoid uninialized warning.
5143         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
5145 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5147         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
5148         is corrupt.
5150         * malloc/arena.c (arena_get2): Drop unused argument.
5151         (arena_lock): Adjust.
5152         (arena_get_retry): Likewise.
5154 2015-08-24  Andreas Schwab  <schwab@suse.de>
5156         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
5157         Don't define.
5158         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5159         (__ASSUME_IPC64): Don't undef.
5160         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
5161         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
5162         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
5163         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
5164         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
5165         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
5166         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
5167         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
5168         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
5169         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
5170         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
5171         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
5172         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
5173         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
5174         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
5175         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
5176         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
5177         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
5178         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
5179         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
5180         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
5182 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
5184         * manual/Makefile (install): Only build manual when perl is available.
5186 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5188         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
5189         '#undef memcpy' by '#undef memchr'.
5191 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5193         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
5194         memchr not point to the internal __GI_memchr implementation.
5196 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
5198         * timezone/Makefile (CFLAGS-zdump.c): Remove
5199         -Wno-strict-prototypes.
5200         (CFLAGS-zic.c): Likewise.
5201         (CFLAGS-ialloc.c): Likewise.
5202         (CFLAGS-scheck.c): Likewise.
5204         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
5205         -Wno-error=undef.
5207 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
5209         * i386/i686/multiarch/strcasestr-c.c: Removed.
5210         * x86_64/multiarch/strcasestr.c: Likewise.
5211         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5212         Remove strcasestr.
5214 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
5216         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
5218         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
5219         variables for high and low parts before possibly modifying them.
5221 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
5223         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
5224         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
5225         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
5226         of "multiarch/init-arch.h".
5227         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
5228         * sysdeps/x86/init-arch.h: This.
5230 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
5232         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
5233         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
5235 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
5237         [BZ #17787]
5238         * manual/macros.texi: Add twoexp macro.
5239         * manual/filesys.texi: Fix exponents.
5240         * manual/llio.texi: Likewise.
5241         * manual/stdio.texi: Likewise.
5243 2015-08-20  Florian Weimer  <fweimer@redhat.com>
5245         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
5246         incorrect use.
5248 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
5250         [BZ #18370]
5251         * math/s_csqrt.c (__csqrt): Force underflow exception for results
5252         whose real or imaginary part has small absolute value.
5253         * math/s_csqrtf.c (__csqrtf): Likewise.
5254         * math/s_csqrtl.c (__csqrtl): Likewise.
5255         * math/auto-libm-test-in: Add more tests of csqrt.
5256         * math/auto-libm-test-out: Regenerated.
5257         * sysdeps/i386/fpu/libm-test-ulps: Update.
5259 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5261         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
5262         __ppc_set_ppr_very_low): New functions.
5263         * manual/platform.texi: Add documentation about
5264         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
5266 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
5268         * string/stpncpy.c (stpncpy): Improve performance using
5269         __strnlen/memcpy/memset.
5271 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
5273         [BZ #18796]
5274         * scripts/test-installation.pl: Don't add -lmvec to build options if
5275         libmvec wasn't built.
5277 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
5279         [BZ #14341]
5280         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
5281         case when there is a gap between DT_REL and DT_JMPREL sections.
5282         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
5283         (LDFLAGS-tst-split-dynreloc): New.
5284         (tst-split-dynreloc-ENV): Likewise.
5285         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
5286         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
5288 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
5290         [BZ #18822]
5291         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
5292         attribute_hidden.
5293         (__xstat64_conv): Likewise.
5294         (__xstat32_conv): Likewise.
5296 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
5298         [BZ #18822]
5299         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
5300         Don't load %ebx when calling __setcontext.  Call __setcontext
5301         with HIDDEN_JUMPTARGET.
5302         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
5303         libc_hidden_def.
5305 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
5307         * sysdeps/i386/i686/Makefile
5308         [$(subdir) == string] (sysdep_routines): Moved to ...
5309         * sysdeps/i386/Makefile: Here.
5310         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
5311         * sysdeps/i386/cacheinfo.c: Here.
5312         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
5313         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
5314         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
5315         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
5317 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
5319         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
5320         __i586__ is defined.
5321         (HAS_I686): Defined to 1 if __i686__ is defined.
5323 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
5325         * elf/Makefile [$(have-z-execstack) = yes]
5326         (CPPFLAGS-tst-execstack.c): New variable.
5328         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
5329         conditional to [defined UTMPX || _HAVE_UT_TYPE].
5330         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
5331         UTMPX || _HAVE_UT_TV].
5332         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
5333         UTMPX || _HAVE_UT_TV - 0].
5335 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
5337         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
5338         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
5339         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
5341 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5343         * sysdeps/powerpc/dl-procinfo.c:
5344         (_dl_powerpc_cap_flags): Added missing strings for some
5345         hwcap features.
5346         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
5348 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
5350         Port the 0x7efe...feff pattern to GCC 6.
5351         See Steve Ellcey's bug report in:
5352         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
5353         * string/memrchr.c (MEMRCHR):
5354         * string/rawmemchr.c (RAWMEMCHR):
5355         * string/strchr.c (strchr):
5356         * string/strchrnul.c (STRCHRNUL):
5357         Rewrite code to avoid issues with signed shift overflow.
5359 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
5361         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
5362         whether cpuid is available only if HAS_CPUID is 0.
5363         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
5364         (HAS_I586): Likewise.
5365         (HAS_I686): Likewise.
5367 2015-08-18  Zack Weinberg  <zackw@panix.com>
5369         * misc/Versions (libc): Add GLIBC_2.23.
5371 2015-08-18  Alan Modra  <amodra@gmail.com>
5373         [BZ #18421]
5374         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
5375         .Lp__global.
5376         (_start): Load %dp via .Lp__global.
5377         [!SHARED]: Use .section .rodata.
5379 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5381         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
5382         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
5384 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5386         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
5387         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
5389 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5391         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
5392         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
5394 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5396         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
5397         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
5399 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5401         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
5402         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
5404 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5406         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
5407         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
5409 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5411         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
5413 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5415         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
5416         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
5417         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5418         (__ASSUME_LWS_CAS): Delete.
5420 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5422         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
5423         * sysdeps/hppa/configure: Regenerated.
5424         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
5425         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
5426         * sysdeps/hppa/nptl/tls.h: Likewise.
5428 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
5430         [BZ #18823]
5431         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
5432         for scaling up small arguments.
5433         * math/s_csqrtf.c (__csqrtf): Likewise.
5434         * math/s_csqrtl.c (__csqrtl): Likewise.
5435         * math/auto-libm-test-in: Add more tests of csqrt.
5436         * math/auto-libm-test-out: Regenerated.
5438 2015-08-17  Andreas Schwab  <schwab@suse.de>
5440         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
5441         version set GLIBC_2.19.
5443 2015-08-16  Zack Weinberg  <zackw@panix.com>
5445         [BZ #18681]
5446         * misc/regexp.h: This interface is no longer supported.
5447         Remove all contents, leaving only an #error directive.
5448         * misc/regexp.c (loc1, loc2, locs, step, advance):
5449         Demote to compatibility symbols.
5451 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
5453         [BZ #18084]
5454         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
5455         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
5456         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
5457         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
5458         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
5459         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
5460         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
5461         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
5462         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
5464 2015-08-15  Zack Weinberg  <zackw@panix.com>
5466         [BZ #18795]
5467         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
5468         buffer length is known to be too large, not if it's known to be
5469         small enough.
5470         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
5471         overflow at runtime, involving a length parameter, twice: once
5472         with a compile-time constant length parameter, once without.
5474 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
5476         [BZ #18824]
5477         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
5478         scaling x * y up instead of down.
5479         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5480         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5481         * math/auto-libm-test-in: Add more tests of fma.
5482         * math/auto-libm-test-out: Regenerated.
5484 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
5486         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5488 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
5490         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
5491         unnecessary movq.
5492         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
5493         Likewise.
5495 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
5497         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5498         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
5499         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
5500         and tgamma.
5501         * math/auto-libm-test-out: Regenerated.
5502         * sysdeps/i386/fpu/libm-test-ulps: Update.
5503         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5505         [BZ #16520]
5506         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
5507         (__tanh): Force underflow exception for arguments with small
5508         absolute value.
5509         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
5510         (__tanhf): Force underflow exception for arguments with small
5511         absolute value.
5512         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
5513         (__tanhl): Force underflow exception for arguments with small
5514         absolute value.
5515         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
5516         (__tanhl): Force underflow exception for arguments with small
5517         absolute value.
5518         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
5519         (__tanhl): Force underflow exception for arguments with small
5520         absolute value.
5521         * math/auto-libm-test-in: Add more tests of tanh.
5522         * math/auto-libm-test-out: Regenerated.
5523         * sysdeps/i386/fpu/libm-test-ulps: Update.
5525 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
5527         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
5528         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
5530 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
5532         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
5533         <cpuid.h>.
5535 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
5537         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
5538         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
5540 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
5542         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
5543         Remove $(objpfx)init-arch.o.
5544         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
5545         init-arch.
5546         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
5547         (INIT_ARCH_EXT): Defined as empty.
5548         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
5549         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
5550         __init_cpu_features call.  Replace HAS_XXX with
5551         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
5552         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
5553         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
5554         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
5555         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
5556         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
5557         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
5558         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
5559         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
5560         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
5561         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
5562         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
5563         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
5564         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
5565         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
5566         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
5567         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
5568         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
5569         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
5570         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
5571         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
5572         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
5573         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
5574         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
5575         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
5576         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
5577         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
5578         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
5579         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
5580         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
5581         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
5582         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
5583         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
5584         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
5585         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
5586         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
5588 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
5590         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
5591         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
5592         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
5593         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
5594         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
5595         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
5596         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
5597         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
5598         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
5599         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
5600         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
5601         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
5602         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
5603         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5604         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5605         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5606         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5607         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5608         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5609         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5610         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5611         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5612         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5613         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5614         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5615         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5616         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5617         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5618         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5619         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5620         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5621         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5622         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5623         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5624         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5625         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5626         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5627         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5628         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5629         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5630         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5631         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5632         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5634 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
5636         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
5637         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
5638         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5639         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5640         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5641         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
5642         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5643         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
5644         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
5645         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5646         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5647         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
5648         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
5649         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
5650         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
5651         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
5652         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
5653         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
5654         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
5655         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
5656         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
5657         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
5658         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
5659         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5660         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
5661         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
5662         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
5663         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
5664         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
5665         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5666         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5667         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5668         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5669         * sysdeps/x86_64/multiarch/memset.S: Likewise.
5670         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5671         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
5672         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
5673         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5674         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
5675         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
5676         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5677         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
5678         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
5680 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
5682         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
5683         (dl_platform_init): Call init_cpu_features.
5684         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
5685         * sysdeps/i386/i686/cacheinfo.c
5686         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
5687         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
5688         * sysdeps/i386/i686/multiarch/Versions: Removed.
5689         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
5690         Removed.
5691         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
5692         * sysdeps/unix/sysv/linux/x86/Makefile
5693         (libpthread-sysdep_routines): Remove init-arch.
5694         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
5695         <sysdeps/x86_64/dl-procinfo.c> instead of
5696         sysdeps/generic/dl-procinfo.c>.
5697         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
5698         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
5699         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
5700         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
5701         [$(subdir) == elf] (tests-static): Add
5702         tst-get-cpu-features-static.
5703         * sysdeps/x86/Versions: New file.
5704         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
5705         * sysdeps/x86/cpu-features.c: Likewise.
5706         * sysdeps/x86/cpu-features.h: Likewise.
5707         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
5708         * sysdeps/x86/libc-start.c: Likewise.
5709         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
5710         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
5711         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
5712         * sysdeps/x86_64/dl-procinfo.c: Likewise.
5713         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
5714         Assume USE_MULTIARCH is defined and don't check it.
5715         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
5716         (is_amd): Likewise.
5717         (max_cpuid): Likewise.
5718         (intel_check_word): Likewise.
5719         (__cache_sysconf): Don't call __init_cpu_features.
5720         (__x86_preferred_memory_instruction): Removed.
5721         (init_cacheinfo): Don't call __init_cpu_features. Replace
5722         __cpu_features with GLRO(dl_x86_cpu_features).
5723         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
5724         (dl_platform_init): Call init_cpu_features.
5725         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
5726         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
5727         * sysdeps/x86_64/multiarch/Versions: Removed.
5728         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
5729         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
5730         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
5731         Removed.
5732         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
5734 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
5736         [BZ #18820]
5737         * libio/Makefile (test-fmemopen-mem): New test.
5738         * libio/test-fmemopen.c (do_bz18820): New test.
5739         * libio/fmemopen.c (__fmemopen): Fix memory leak.
5740         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
5742 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
5744         [BZ #16734]
5745         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
5746         (FREE_BUF): Delete.
5747         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
5748         * libio/genops.c (_IO_setb): Use malloc and free directly.
5749         (_IO_default_doallocate, _IO_default_finish): Likewise.
5750         ( _IO_unbuffer_all): Likewise.
5751         ( libc_freeres_fn): Likewise.
5752         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
5753         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
5754         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
5755         (_IO_wdefault_doallocate): Likewise.
5757 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
5759         [BZ #18086]
5760         * sysdeps/posix/nice.c (nice): Restore old errno.
5761         * posix/tst-nice.c (do_test): Add test for BZ #18086.
5763 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
5765         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
5767 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5769         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
5770         __bcopy and add a weak_alias to bcopy.
5771         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
5772         for static build.
5774         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
5775         cleanup macro usage.
5776         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
5777         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
5778         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
5779         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
5780         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
5781         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
5782         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
5783         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
5784         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
5785         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
5786         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
5787         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
5788         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
5789         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
5790         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
5791         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
5792         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
5793         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
5794         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
5796         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
5797         libc_hidden_def.
5798         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
5800         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
5801         (sysdep_routines): Add strstr-ppc64.
5802         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
5804 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
5806         [BZ #18778]
5807         * elf/Makefile (tests): Add Add tst-nodelete2.
5808         (modules-names): Add tst-nodelete2mod.
5809         (tst-nodelete2mod.so-no-z-defs): New.
5810         ($(objpfx)tst-nodelete2): Likewise.
5811         ($(objpfx)tst-nodelete2.out): Likewise.
5812         (LDFLAGS-tst-nodelete2): Likewise.
5813         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
5814         out of loop through all loaded libraries.
5815         * elf/tst-nodelete2.c: New file.
5816         * elf/tst-nodelete2mod.c: Likewise.
5817         * elf/tst-znodelete-zlib.cc: Delete.
5819 2015-08-11  Andreas Schwab  <schwab@suse.de>
5821         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
5822         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
5823         (__openat64_nocancel): Likewise.
5825 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
5827         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
5828         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
5829         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
5830         * math/auto-libm-test-out: Regenerated.
5831         * sysdeps/i386/fpu/libm-test-ulps: Update.
5832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5834 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
5836         [BZ #18790]
5837         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
5838         threshold for returning +/- 1.
5839         * math/auto-libm-test-in: Add more tests of tanh.
5840         * math/auto-libm-test-out: Regenerated.
5841         * sysdeps/i386/fpu/libm-test-ulps: Update.
5843 2015-08-10  Andreas Schwab  <schwab@suse.de>
5845         [BZ #18781]
5846         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
5847         MORE_OFLAGS to oflag.
5848         * io/test-lfs.c (do_test): Test openat64.
5850 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
5852         [BZ #18789]
5853         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
5854         smaller threshold for returning the argument.
5855         * math/auto-libm-test-in: Add more tests of sinh.
5856         * math/auto-libm-test-out: Regenerated.
5857         * sysdeps/i386/fpu/libm-test-ulps: Update.
5859 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
5861         [BZ #18674]
5862         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
5863         break.
5865 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
5867         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
5868         (generated): Don't add $(addprefix z.,$(tzfiles)).
5870 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
5872         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
5873         * scripts/sysd-rules.awk: Likewise.
5875 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
5877         * iconvdata/tst-tables.sh: Change echo -n to printf.
5878         * nss/db-Makefile: Likewise.
5879         * posix/tst-getconf.sh: Likewise.
5880         * stdio-common/tst-unbputc.sh: Likewise.
5882 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
5884         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
5885         MADV_*_PAGES defines behind this feature check.
5887 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
5889         [BZ #18480]
5890         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
5891         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
5892         Define.
5893         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
5894         LOAD_REGS_5, LOAD_REGS_6): Update.
5895         (INTERNAL_SYSCALL): Update using new LOAD defines.
5896         (INTERNAL_SYSCALL_NCS): Likewise.
5897         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
5899 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
5901         [BZ #16734]
5902         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
5904 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
5906         [BZ #17905]
5907         * catgets/Makefile (tst-catgets-mem): New test.
5908         * catgets/catgets.c (catopen): Don't use unbounded alloca.
5909         * catgets/open_catalog.c (__open_catalog): Likewise.
5910         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
5912 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
5914         [BZ #18787]
5915         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
5916         clobber registers.
5917         (atomic_compare_and_exchange_val_acq): Use register asms to assign
5918         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
5919         Cast return to __typeof (oldval).
5921 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
5923         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
5924         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
5925         and delete sys/syscall.h include.
5927 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
5929         [BZ #16517]
5930         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
5931         (tan): Force underflow exception for arguments with small absolute
5932         value.
5933         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
5934         (__kernel_tanf): Force underflow exception for arguments with
5935         small absolute value.
5936         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
5937         (__kernel_tanl): Force underflow exception for arguments with
5938         small absolute value.
5939         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
5940         (__kernel_tanl): Force underflow exception for arguments with
5941         small absolute value.
5942         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
5943         (__kernel_tanl): Force underflow exception for arguments with
5944         small absolute value.
5945         * math/auto-libm-test-in: Add more tests of tan.
5946         * math/auto-libm-test-out: Regenerated.
5948 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5950         Fix sysdeps/i386/fpu/s_scalbn.S build
5952         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
5954 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
5956         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
5958 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5960         Fix gcrt0.o compilation
5962         When static-start-installed-name is different from
5963         start-installed-name, we must not use the shared objects.
5965         * csu/Makefile
5966         (extra-objs): Add gmon-start.o when building shared library and
5967         $(static-start-installed-name) is different from
5968         $(start-installed-name).
5969         $(objpfx)g$(static-start-installed-name): When building shared
5970         library and $(static-start-installed-name) is different from
5971         $(static-start-installed-name), revert to non-shared rule,
5972         i.e. using $(objpfx)% and gmon-start.o.
5974 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
5976         [BZ #16519]
5977         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
5978         (__ieee754_sinh): Force underflow exception for arguments with
5979         small absolute value.
5980         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
5981         (__ieee754_sinhf): Force underflow exception for arguments with
5982         small absolute value.
5983         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
5984         (__ieee754_sinhl): Force underflow exception for arguments with
5985         small absolute value.
5986         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
5987         (__ieee754_sinhl): Force underflow exception for arguments with
5988         small absolute value.
5989         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
5990         (__ieee754_sinhl): Force underflow exception for arguments with
5991         small absolute value.
5992         * math/auto-libm-test-in: Add more tests of sinh.
5993         * math/auto-libm-test-out: Regenerated.
5994         * sysdeps/i386/fpu/libm-test-ulps: Update.
5996 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
5998         * libio/oldfileops.c: Include unistd.h.
6000 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
6002         * stdlib/isomac.c: Include ctype.h.
6004 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
6006         * dirent/tst-seekdir.c (main): Converted to ...
6007         (do_test): ... this.
6008         (TEST_FUNCTION): New macro.
6009         Include test-skeleton.c.
6010         * elf/tst-dlmodcount.c (main): Converted to ...
6011         (do_test): ... this.
6012         (TEST_FUNCTION): New macro.
6013         Include test-skeleton.c.
6014         * elf/tst-order-main.c (main): Converted to ...
6015         (do_test): ... this.
6016         (TEST_FUNCTION): New macro.
6017         Include test-skeleton.c.
6018         * elf/tst-pie2.c (main): Converted to ...
6019         (do_test): ... this.
6020         (TEST_FUNCTION): New macro.
6021         Include test-skeleton.c.
6022         * inet/tst-ether_aton.c (main): Converted to ...
6023         (do_test): ... this.
6024         (TEST_FUNCTION): New macro.
6025         Include test-skeleton.c.
6026         * misc/tst-mntent.c (main): Converted to ...
6027         (do_test): ... this.
6028         (TEST_FUNCTION): New macro.
6029         Include test-skeleton.c.
6030         * misc/tst-tsearch.c (main): Converted to ...
6031         (do_test): ... this.
6032         (TEST_FUNCTION): New macro.
6033         Include test-skeleton.c.
6034         * posix/tst-regexloc.c (main): Converted to ...
6035         (do_test): ... this.
6036         (TEST_FUNCTION): New macro.
6037         Include test-skeleton.c.
6038         * resolv/tst-aton.c (main): Converted to ...
6039         (do_test): ... this.
6040         (TEST_FUNCTION): New macro.
6041         Include test-skeleton.c.
6042         * stdio-common/test-fwrite.c (main): Converted to ...
6043         (do_test): ... this.
6044         (TEST_FUNCTION): New macro.
6045         Include test-skeleton.c.
6046         * stdio-common/tst-ferror.c (main): Converted to ...
6047         (do_test): ... this.
6048         (TEST_FUNCTION): New macro.
6049         Include test-skeleton.c.
6050         * stdio-common/tst-printf.c (main): Converted to ...
6051         (do_test): ... this.
6052         (TEST_FUNCTION): New macro.
6053         Include test-skeleton.c.
6054         * stdio-common/tst-printfsz.c (main): Converted to ...
6055         (do_test): ... this.
6056         (TEST_FUNCTION): New macro.
6057         Include test-skeleton.c.
6058         * stdlib/tst-strtod.c (main): Converted to ...
6059         (do_test): ... this.
6060         (TEST_FUNCTION): New macro.
6061         Include test-skeleton.c.
6062         * string/tst-strlen.c (main): Converted to ...
6063         (do_test): ... this.
6064         (TEST_FUNCTION): New macro.
6065         Include test-skeleton.c.
6066         * string/tst-svc.c (main): Converted to ...
6067         (do_test): ... this.
6068         (TEST_FUNCTION): New macro.
6069         Include test-skeleton.c.
6070         * time/tst-strptime.c (main): Converted to ...
6071         (do_test): ... this.
6072         (TEST_FUNCTION): New macro.
6073         Include test-skeleton.c.
6074         * timezone/tst-timezone.c (main): Converted to ...
6075         (do_test): ... this.
6076         (TEST_FUNCTION): New macro.
6077         Include test-skeleton.c.
6079 2015-08-05  Zack Weinberg  <zackw@panix.com>
6081         * misc/regexp.h: Update comments.
6083 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
6085         [BZ #18635]
6086         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
6087         before return label.
6089 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
6091         [BZ #18661]
6092         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
6093         when calling __errno_location.
6094         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
6095         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
6097 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
6099         [BZ #18661]
6100         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
6101         (__lll_timedwait_tid): Align stack to 16 bytes when calling
6102         __gettimeofday.
6104 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
6106         [BZ #18661]
6107         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6108         (__start_context): Don't use pop to restore %rdi so that stack
6109         is aligned to 16 bytes when calling __setcontext.
6111 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
6113         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
6114         only for libc.
6115         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
6117 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
6119         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
6120         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
6121         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
6123 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
6125         * string/memccpy.c (memccpy):
6126         Improve performance by using memchr/memcpy/__mempcpy.
6128 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
6130         * string/strncpy.c (strncpy):
6131         Improve performance by using __strnlen/memcpy.
6133 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
6135         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6136         Optimize to avoid an unnecessary FPCR read.
6138 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
6140         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
6141         Optimize to reduce FPCR/FPSR accesses.
6143 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
6145         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
6146         dead->data[category] != NULL.
6148 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
6150         [BZ #18647]
6151         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
6152         and |x| close to 1, use absolute value of x when computing log.
6153         * math/auto-libm-test-in: Add more tests of pow.
6154         * math/auto-libm-test-out: Regenerated.
6156 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6158         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
6159         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
6160         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
6162 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
6164         [BZ #18525]
6165         * locales/km_KH: Remove timezone definition.
6166         * locales/lo_LA: Likewise.
6167         * locales/my_MM: Likewise.
6168         * locales/nan_TW@latin: Likewise.
6169         * locales/th_TH: Likewise.
6170         * locales/uk_UA: Likewise.
6172 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
6174         [BZ #18265]
6175         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
6176         (wcsncat): Likewise.
6177         (wcscmp): Likewise.
6178         (wcsncmp): Likewise.
6180 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
6182         * test-skeleton.c (usage): New function.
6183         (main): Call usage when opt is '?'.
6185 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
6187         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
6188         before first use.
6190 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
6192         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
6193         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
6194         in there too.
6196 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
6198         * version.h (RELEASE): Set to "development".
6199         (VERSION): Set to "2.22.90"
6201         * version.h (RELEASE): Set to "stable".
6202         (VERSION): Set to "2.22"
6203         * include/features.h (__GLIBC_MINOR__): Set to 22.
6205 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
6207         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
6208         Restructure macro to avoid "value computed is not used" warning.
6209         (atomic_compare_and_exchange_val_acq): Likewise.
6211 2015-08-04  Andreas Schwab  <schwab@suse.de>
6213         [BZ #18635]
6214         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
6215         ret.
6216         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
6218 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
6220         * po/pl.po: Updated translation.
6221         * po/uk.po: Likewise.
6222         * po/fi.po: Likewise.
6223         * po/ko.po: Likewise.
6224         * po/ru.po: Likewise.
6225         * po/vi.po: Likewise.
6227 2015-07-31  Zack Weinberg  <zackw@panix.com>
6229         [BZ #18681]
6230         * regexp.h: Add unconditional #warning stating that this header
6231         will be removed soon.  Revise banner comment to match.
6232         (compile): Consistently use ERROR instead of RETURN to report
6233         errors (partial fix for bz#18681).
6234         * regexp.c: Don't include regexp.h. Remove some unnecessary
6235         declarations.
6237 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
6239         * po/libc.pot: Regenerated.
6241 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
6243         [BZ #18740]
6244         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
6245         float-vlen4-arch-ext-cflags): Removed.
6246         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
6247         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
6249 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
6251         [BZ #14113]
6252         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
6253         aligned to __aligned__.
6254         (pthread_cond_t, pthread_rwlock_t): Likewise.
6256 2015-07-30  Torvald Riegel  <triegel@redhat.com>
6258         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
6260 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
6262         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
6263         (struct sigaction): Change sa_flags from a long to an int, and add
6264         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
6266 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
6268         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
6269         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
6270         sysdeps/generic/sysdep.h include.
6271         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
6272         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
6273         sysdeps/hppa/sysdep.h.
6274         (ENTRY, PSEUDO): Undefine before defining.
6276 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
6278         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
6279         from scratch to use INTERNAL_SYSCALL.
6281 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
6283         [BZ #18078]
6284         * scripts/check-localplt.awk: Support alternate relocations.
6285         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
6286         sections.
6287         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
6288         malloc entries with + REL R_386_GLOB_DAT.
6289         * sysdeps/x86_64/localplt.data: New file.
6291 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
6293         [BZ #18731]
6294         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
6295         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
6296         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
6298 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
6300         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
6302 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
6304         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
6305         directly in terms of __sync_fetch_and_add and delete (int) cast.
6307 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
6309         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
6310         the -D_ASM_IA64_CURRENT_H flag.
6312 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
6314         [BZ #18641]
6315         * pwd/pwd.h (putpwent): Delete __nonnull markings.
6317 2015-07-27  Andreas Schwab  <schwab@suse.de>
6319         * conform/conformtest.pl (checknamespace): Filter out string
6320         literals while tokenizing.
6322 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
6324         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
6325         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
6326         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
6328 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
6330         * nptl/tst-join7mod.c: Add #include <string.h>.
6332 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
6334         * sysdeps/nios2/libm-test-ulps: Update.
6336 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
6338         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
6339         Fix order of arguments to the rt_sigprocmask syscall.
6340         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
6341         Likewise.
6343 2015-07-24  Roland McGrath  <roland@hack.frob.com>
6345         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
6347 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6349         [BZ #18457]
6350         * nptl/Makefile (tests): New test case tst-join7.
6351         (modules-names): New test case module tst-join7mod.
6352         * nptl/tst-join7.c: New file.
6353         * nptl/tst-join7mod.c: New file.
6354         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
6355         all translation units in libc.so, libpthread.so and rtld.
6357 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6359         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6361 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
6363         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
6364         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
6365         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
6366         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
6367         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
6368         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
6369         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
6370         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
6371         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
6372         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
6373         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
6374         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
6375         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
6376         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
6377         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
6378         implementation.
6380 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6382         [BZ #17711]
6383         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
6384         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
6385         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
6386         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
6387         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
6388         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
6390 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6392         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
6393         instead of just saying load lock in the comments.
6395 2015-07-23  Roland McGrath  <roland@hack.frob.com>
6397         * sysdeps/unix/Subdirs: Moved ...
6398         * sysdeps/posix/Subdirs: ... here.
6399         * login/pty.h (struct termios, struct winsize): Add forward decls.
6400         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
6401         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
6402         * sysdeps/arm/nacl/libc.abilist: Updated.
6403         * sysdeps/nacl/libutil.abilist: New file.
6405         * bits/signum.h: Update comments to mention 1003.1-2013 too.
6406         (SIGWINCH): New macro.
6408         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
6409         * sysdeps/arm/nacl/libc.abilist: Add it.
6411 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
6413         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
6415 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
6417         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
6418         Swap __glibc_reserved0 and sa_flags order.
6420 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
6422         [BZ #18657]
6423         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
6424         are pending TLS destructor calls.
6425         * include/link.h (struct link_map): Add concurrency note for
6426         L_TLS_DTOR_COUNT.
6427         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
6428         Don't touch the link map flag.  Atomically increment
6429         l_tls_dtor_count.
6430         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
6431         Avoid taking the load lock and don't touch the link map flag.
6432         * stdlib/tst-tls-atexit-nodelete.c: New test case.
6433         * stdlib/Makefile (tests): Use it.
6434         * stdlib/tst-tls-atexit.c (do_test): dlopen
6435         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
6436         to allow tst-tls-atexit-nodelete test case to use it.
6438 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
6440         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
6441         to bits/types.h.
6442         (msgqnum_t): New typedef.
6443         (msglen_t): Likewise.
6444         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
6445         and msg_qbytes type to msglen_t.
6447 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
6449         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
6450         pad0 to __glibc_reserved0.
6451         (struct stat64): Likewise.
6453 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
6455         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
6456         Change sa_flags from a long to an int and add __glibc_reserved0 before
6457         it for padding.
6459 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
6461         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
6462         anonymous by deleting "siginfo" name.
6464 2015-07-21  Roland McGrath  <roland@hack.frob.com>
6466         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
6467         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
6468         rather than __nacl_irt_filename.
6469         * sysdeps/nacl/xstat.c (__xstat): Likewise.
6471         * NEWS: New item for arm-nacl port.
6472         * sysdeps/arm/nacl/libc.abilist: New file.
6473         * sysdeps/nacl/ld.abilist: New file.
6474         * sysdeps/nacl/libBrokenLocale.abilist: New file.
6475         * sysdeps/nacl/libanl.abilist: New file.
6476         * sysdeps/nacl/libcrypt.abilist: New file.
6477         * sysdeps/nacl/libdl.abilist: New file.
6478         * sysdeps/nacl/libm.abilist: New file.
6479         * sysdeps/nacl/libpthread.abilist: New file.
6480         * sysdeps/nacl/libresolv.abilist: New file.
6481         * sysdeps/nacl/librt.abilist: New file.
6483 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
6485         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
6486         __startcontext to initialize the new context.
6487         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
6488         up CFI directive to forbid further backtracing.
6490 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
6492         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
6493         reference.
6494         * charmaps/ANSI_X3.4-1968: Likewise.
6495         * charmaps/BS_4730: Likewise.
6496         * charmaps/BS_VIEWDATA: Likewise.
6497         * charmaps/CP1250: Likewise.
6498         * charmaps/CP1251: Likewise.
6499         * charmaps/CP1252: Likewise.
6500         * charmaps/CP1253: Likewise.
6501         * charmaps/CP1254: Likewise.
6502         * charmaps/CP1255: Likewise.
6503         * charmaps/CP1256: Likewise.
6504         * charmaps/CSN_369103: Likewise.
6505         * charmaps/EBCDIC-DK-NO: Likewise.
6506         * charmaps/GB_1988-80: Likewise.
6507         * charmaps/GREEK-CCITT: Likewise.
6508         * charmaps/GREEK7: Likewise.
6509         * charmaps/INIS-8: Likewise.
6510         * charmaps/ISIRI-3342: Likewise.
6511         * charmaps/ISO_2033-1983: Likewise.
6512         * charmaps/ISO_5427-EXT: Likewise.
6513         * locales/POSIX: Likewise.
6514         * locales/ar_SA: Likewise.
6515         * locales/be_BY: Likewise.
6516         * locales/be_BY@latin: Likewise.
6517         * locales/ca_ES: Likewise.
6518         * locales/cs_CZ: Likewise.
6519         * locales/da_DK: Likewise.
6520         * locales/de_BE: Likewise.
6521         * locales/de_CH: Likewise.
6522         * locales/de_LU: Likewise.
6523         * locales/en_AU: Likewise.
6524         * locales/en_BW: Likewise.
6525         * locales/en_CA: Likewise.
6526         * locales/en_DK: Likewise.
6527         * locales/en_GB: Likewise.
6528         * locales/en_IE: Likewise.
6529         * locales/en_NZ: Likewise.
6530         * locales/en_ZA: Likewise.
6531         * locales/en_ZW: Likewise.
6532         * locales/es_AR: Likewise.
6533         * locales/es_BO: Likewise.
6534         * locales/es_CL: Likewise.
6535         * locales/es_CO: Likewise.
6536         * locales/es_DO: Likewise.
6537         * locales/es_EC: Likewise.
6538         * locales/es_ES: Likewise.
6539         * locales/es_HN: Likewise.
6540         * locales/es_MX: Likewise.
6541         * locales/es_PA: Likewise.
6542         * locales/es_PE: Likewise.
6543         * locales/es_PY: Likewise.
6544         * locales/es_SV: Likewise.
6545         * locales/es_US: Likewise.
6546         * locales/es_UY: Likewise.
6547         * locales/es_VE: Likewise.
6548         * locales/et_EE: Likewise.
6549         * locales/fa_IR: Likewise.
6550         * locales/fo_FO: Likewise.
6551         * locales/fr_CA: Likewise.
6552         * locales/fr_CH: Likewise.
6553         * locales/gv_GB: Likewise.
6554         * locales/he_IL: Likewise.
6555         * locales/hr_HR: Likewise.
6556         * locales/id_ID: Likewise.
6557         * locales/is_IS: Likewise.
6558         * locales/it_CH: Likewise.
6559         * locales/iw_IL: Likewise.
6560         * locales/kl_GL: Likewise.
6561         * locales/ko_KR: Likewise.
6562         * locales/kw_GB: Likewise.
6563         * locales/lg_UG: Likewise.
6564         * locales/lt_LT: Likewise.
6565         * locales/lv_LV: Likewise.
6566         * locales/mi_NZ: Likewise.
6567         * locales/nhn_MX: Likewise.
6568         * locales/nl_BE: Likewise.
6569         * locales/pl_PL: Likewise.
6570         * locales/sk_SK: Likewise.
6571         * locales/sl_SI: Likewise.
6572         * locales/sv_FI: Likewise.
6573         * locales/tl_PH: Likewise.
6574         * locales/tr_TR: Likewise.
6575         * locales/vi_VN: Likewise.
6577 2015-07-21  Khem Raj  <raj.khem@gmail.com>
6579         [BZ #17475]
6580         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
6581         of tu_IN and bh_IN.
6583 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
6585         [BZ #18694]
6586         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
6587         bits/wordsize.h.
6588         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
6590 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6592         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
6593         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
6594         (spawn_thread): New function.
6595         (load): Rename to reg_dtor_and_close.  Move dlopen to...
6596         (do_test): ... here.  Use IS_LOADED to test for its
6597         availability.
6599 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
6601         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6603 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
6605         [BZ #18696]
6606         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
6607         si_addr_bnd.
6608         (si_lower): New.
6609         (si_upper): Likewise.
6611 2015-07-16  David S. Miller  <davem@davemloft.net>
6613         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
6615 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6617         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
6618         buffer.
6619         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
6620         fail output information.
6622 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6624         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
6625         and strstr-ppc64..
6626         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6627         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
6628         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
6629         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
6630         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
6632 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
6634         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
6635         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
6636         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
6637         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
6639 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
6641         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
6642         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
6643         rtld_hidden_proto.
6644         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
6646 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6648         * tst-nodelete-opened.c (do_test): Add comment to clarify how
6649         the test can fail.
6651         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
6653         [BZ #18676]
6654         * elf/tst-nodelete-opened.c: New test case.
6655         * elf/tst-nodelete-opened-lib.c: New test case module.
6656         * elf/Makefile (tests, modules-names): Use them.
6657         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
6658         early.
6660 2015-07-15  David S. Miller  <davem@davemloft.net>
6662         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
6663         futex-intenal.h
6664         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
6665         * sysdeps/sparc/sparc64/Makefile: Likewise.
6666         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
6667         Remove space from macro define.
6668         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
6670 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
6672         [BZ #17475]
6673         * locale/iso-639.def: Update Bhili and Tulu language codes as
6674         per iso639-3.
6676 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
6678         * elf/tst-leaks1.c (main): Converted to ...
6679         (do_test): ... this.
6680         (TEST_FUNCTION): New macro.
6681         Include test-skeleton.c.
6682         * localedata/tst-langinfo.c (main): Converted to ...
6683         (do_test): ... this.
6684         (TEST_FUNCTION): New macro.
6685         Include test-skeleton.c.
6686         * math/test-fpucw.c (main): Converted to ...
6687         (do_test): ... this.
6688         (TEST_FUNCTION): New macro.
6689         Include test-skeleton.c.
6690         * math/test-tgmath.c (main): Converted to ...
6691         (do_test): ... this.
6692         (TEST_FUNCTION): New macro.
6693         Include test-skeleton.c.
6694         * math/test-tgmath2.c (main): Converted to ...
6695         (do_test): ... this.
6696         (TEST_FUNCTION): New macro.
6697         Include test-skeleton.c.
6698         * setjmp/tst-setjmp.c (main): Converted to ...
6699         (do_test): ... this.
6700         (TEST_FUNCTION): New macro.
6701         Include test-skeleton.c.
6702         * stdio-common/tst-sscanf.c (main): Converted to ...
6703         (do_test): ... this.
6704         (TEST_FUNCTION): New macro.
6705         Include test-skeleton.c.
6706         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
6707         (do_test): ... this.
6708         (TEST_FUNCTION): New macro.
6709         Include test-skeleton.c.
6711         * elf/tst-audit9.c (main): Converted to ...
6712         (do_test): ... this.
6713         (TEST_FUNCTION): New macro.
6714         Include test-skeleton.c.
6716 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
6718         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
6720 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
6722         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
6723         New variable.
6725 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
6727         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6729 2015-07-14  Roland McGrath  <roland@hack.frob.com>
6731         * sysdeps/generic/dl-fileid.h: New file.
6732         * sysdeps/posix/dl-fileid.h: New file.
6733         * sysdeps/nacl/dl-fileid.h: New file.
6734         * include/link.h: Include <dl-fileid.h>.
6735         (struct link_map): Replace l_dev and l_ino with l_file_id.
6736         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
6737         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
6738         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
6740 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6742         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
6744 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6746         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
6747         Add iff $CXX is set.
6748         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
6749         Likewise.
6750         (tst-nodelete-zmodiff): Likewise.
6751         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
6753 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6755         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
6757 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
6759         * sysdeps/aarch64/fpu/math_private.h
6760         (define math_opt_barrier): Add AArch64 version.
6761         (math_force_eval): Likewise.
6763 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
6765         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
6767 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
6769         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
6770         %ld with %jd and cast to intmax_t.
6771         (do_test_length_zero): Likewise.
6773 2015-07-10  Roland McGrath  <roland@hack.frob.com>
6775         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
6777 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
6779         * sysdeps/tile/libm-test-ulps: Regenerated.
6781         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
6782         Comment out the whole function, not just its body.
6784 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6786         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
6787         locks.
6789         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
6791 2015-07-10  Torvald Riegel  <triegel@redhat.com>
6793         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
6794         (sem_assume_only_signals_cause_futex_EINTR): Remove.
6796 2015-07-10  Torvald Riegel  <triegel@redhat.com>
6798         * sysdeps/nptl/futex-internal.h: New file.
6799         * sysdeps/nacl/futex-internal.h: New file.
6800         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
6801         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
6802         error checking.
6803         (setxid_unmark_thread): Likewise.
6804         (__nptl_setxid): Likewise.
6805         (__wait_lookup_done): Likewise.
6806         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
6807         * nptl/nptl-init.c (sighandler_setxid): Likewise.
6808         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
6809         * nptl/pthread_once.c (clear_once_control): Likewise.
6810         (__pthread_once_slow): Likewise.
6811         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
6812         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
6813         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
6814         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
6815         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
6816         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
6817         Likewise.
6818         (__pthread_rwlock_rdlock): Likewise.
6819         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
6820         Likewise.
6821         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
6822         Likewise.
6823         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
6824         Likewise.
6825         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
6826         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
6827         Likewise.
6828         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
6829         __ASSUME_PRIVATE_FUTEX check.
6830         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
6831         Check that shared futexes are supported.
6832         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
6833         wrappers with error checking.
6834         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
6835         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
6836         * nptl/pthread_barrierattr_setpshared.c
6837         (pthread_barrierattr_setpshared): Check that shared futexes are
6838         supported.
6839         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
6840         Likewise.
6841         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
6842         Likewise.
6843         * nptl/sem_init.c (futex_private_if_supported): Remove.
6844         (__new_sem_init): Adapt and check that shared futexes are supported.
6845         * nptl/sem_open.c (sem_open): Likewise.
6846         * nptl/sem_post.c (futex_wake): Remove.
6847         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
6848         (do_futex_wait): Use futex wrappers with error checking.
6849         * nptl/sem_wait.c: Include lowlevellock.h.
6850         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
6851         Use futex_supports_pshared.
6852         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
6853         Use futex wrappers with error checking.
6854         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
6855         Likewise.
6856         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
6857         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
6858         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
6859         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
6860         (futex_wake): Likewise.
6861         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
6862         (do_futex_wait): Use futex wrappers with error checking.
6863         (__new_sem_wait_slow): Update EINTR handling.
6864         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
6866 2015-07-09  Martin Sebor  <msebor@redhat.com>
6868         [BZ #18435]
6869         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
6870         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
6871         * nptl/Makefile (test-xfail-tst-once5): Define.
6873 2015-07-09  Roland McGrath  <roland@hack.frob.com>
6875         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
6876         * elf/dl-minimal.c: For readability, reorder some definitions and
6877         introduce more page breaks.  Include <stdio.h>.
6878         (__libc_fatal): New function.
6880         * include/unistd.h: Add rtld_hidden_proto for _exit.
6881         * posix/_exit.c: Add rtld_hidden_def.
6882         * sysdeps/mach/hurd/_exit.c: Likewise.
6883         * sysdeps/nacl/_exit.c: Likewise.
6884         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
6885         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
6887 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
6889         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
6890         bndmov encoding with zero displacement.
6892 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
6893             H.J. Lu  <hongjiu.lu@intel.com>
6895         [BZ #18134]
6896         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
6897         * sysdeps/i386/configure: Regenerated.
6898         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
6899         (_dl_runtime_profile): Save and restore Intel MPX return bound
6900         registers when calling _dl_call_pltexit.  Add
6901         PRESERVE_BND_REGS_PREFIX before return.
6902         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
6903         (LRV_BND1_OFFSET): Likewise.
6904         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
6905         lrv_bnd1.
6906         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
6907         typo in bndmov encoding.
6908         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
6909         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
6910         branch instructions to preserve bounds.
6912 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6915         [GLIBC_2.22]: Add fmemopen.
6917 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6919         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
6920         returns an error, also try to use host port from __mach_host_self for
6921         the __vm_wire call.
6922         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
6924 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6926         [BZ #18400]
6927         [BZ #18648]
6928         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
6929         Fix pr_uid and pr_gid members.
6930         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
6931         definition to elf_greg_t.
6933 2015-07-08  Roland McGrath  <roland@hack.frob.com>
6935         [BZ #18383]
6936         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
6937         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
6938         * sysdeps/arm/configure: Regenerated.
6939         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
6940         (test-xfail-tst-tlsalign-static): Variable removed.
6942         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
6943         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
6944         rather than explicit 'ln -s'.
6946         * resolv/rpc/netdb.h: New file.
6947         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
6949 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6951         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
6952         length buffers.
6953         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
6954         test-skeleton.c.
6956         [BZ #6544]
6957         [BZ #11216]
6958         [BZ #12836]
6959         [BZ #13151]
6960         [BZ #13152]
6961         [BZ #14292]
6962         * include/stdio.h (fmemopen): Remove hidden prototype.
6963         (__fmemopen): Add new hidden prototype.
6964         * libio/Makefile: Add oldfmemopen object.
6965         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
6966         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
6967         compliance.
6968         * libio/oldfmemopen.c: New file: old fmemopen implementation for
6969         symbol compatibility.
6970         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
6971         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
6972         fmemopen.
6973         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
6974         on append and read mode.
6975         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
6976         fmemopen.
6977         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
6978         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
6979         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
6980         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
6981         Likewise.
6982         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
6983         [GLIBC_2.22]: Likewise.
6984         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
6985         Likewise.
6986         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
6987         Likewise.
6988         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6989         [GLIBC_2.22]: Likewise.
6990         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6991         [GLIBC_2.22]: Likewise.
6992         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6993         [GLIBC_2.22]: Likewise.
6994         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6995         [GLIBC_2.22]: Likewise.
6996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6997         [GLIBC_2.22]: Likewise.
6998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6999         [GLIBC_2.22]: Likewise.
7000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7001         [GLIBC_2.22]: Likewise.
7002         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
7003         Likewise.
7004         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
7005         Likewise.
7006         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
7007         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
7008         [GLIBC_2.22]: Likewise.
7009         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
7010         [GLIBC_2.22]: Likewise.
7011         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
7012         [GLIBC_2.22]: Likewise.
7013         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
7014         [GLIBC_2.22]: Likewise.
7015         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
7016         Likewise.
7017         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
7018         Likewise.
7019         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
7020         Likewise.
7021         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
7022         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
7024 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
7026         [BZ #18643]
7027         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
7028         IPV6_PATHMTU, and IPV6_DONTFRAG.
7030 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
7032         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
7033         and _IO_UNBUFFERED.
7034         * libio/oldfileops.c: Likewise.
7035         * libio/wfileops.c: Likewise.
7037 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
7039         * nscd/selinux.c: Delete selinux/flask.h include.
7041 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
7043         [BZ #18641]
7044         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
7045         (putpwent): Likewise.
7046         (getpwnam): Likewise.
7047         (getpwent_r): Likewise.
7048         (getpwuid_r): Likewise.
7049         (getpwnam_r): Likewise.
7050         (fgetpwent_r): Likewise.
7052 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
7054         [BZ #18557]
7055         * inet/rcmd.c (__validuser2_sa): Check user first to
7056         short-circuit host check.
7058 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
7059             Mikhail Ilin  <m.ilin@samsung.com>
7061         [BZ #17833]
7062         * elf/Makefile (tests): Add tst-nodelete.
7063         (modules-names): Add tst-nodelete-uniquemod.
7064         (tst-nodelete-uniquemod.so-no-z-defs): New.
7065         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
7066         (tst-nodelete-zmod.so-no-z-defs): Likewise.
7067         ($(objpfx)tst-nodelete): Likewise.
7068         ($(objpfx)tst-nodelete.out): Likewise.
7069         (LDFLAGS-tst-nodelete): Likewise.
7070         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
7071         * elf/dl-close.c (_dl_close_worker): Add a parameter to
7072         implement forced object deletion.
7073         (_dl_close): Pass false to _dl_close_worker.
7074         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
7075         * elf/tst-nodelete.cc: New file.
7076         * elf/tst-nodeletelib.cc: Likewise.
7077         * elf/tst-znodeletelib.cc: Likewise.
7078         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
7080 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7082         [BZ #18508]
7083         * stdlib/Makefile ($(objpfx)tst-makecontext3):
7084         Depend on $(libdl).
7085         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
7086         is not called infinitely times.
7087         (backtrace_helper): New function.
7088         (trace_arg): New struct.
7089         (st1): Enlarge stack size.
7090         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
7091         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
7092         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
7093         Likewise.
7095 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7097         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7099 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7101         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
7102         Include sys/types.h instead of bits/types.h.
7103         Remove inclusion of bits/wordsize.h.
7105 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
7107         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
7108         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
7109         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
7110         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
7111         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
7112         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
7114 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
7116         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
7117         link-defines.sym.
7118         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
7119         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
7120         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
7121         and LR_SIZE.
7122         * sysdeps/i386/link-defines.sym: New file.
7124 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
7126         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
7127         (modules-names): Add tst-auditmod3a tst-auditmod3b.
7128         ($(objpfx)tst-audit3): New rule.
7129         ($(objpfx)tst-audit3.out): Likewise.
7130         * sysdeps/i386/tst-audit3.c: New file.
7131         * sysdeps/i386/tst-audit3.h: Likewise.
7132         * sysdeps/i386/tst-auditmod3a.c: Likewise.
7133         * sysdeps/i386/tst-auditmod3b.c: Likewise.
7135 2015-07-07  Torvald Riegel  <triegel@redhat.com>
7137         [BZ #18633]
7138         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
7139         pointer in C code.
7140         (__strcat_c): Likewise.
7141         (__strcat_g): Likewise.
7143 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
7145         [BZ #18592]
7146         * misc/sbrk.c: Set errno to ENOMEM on overflow.
7148 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
7150         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
7151         New function.  (__ieee754_sqrtf): New function.
7152         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
7153         New function.
7154         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
7155         New function.
7157 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
7159         * sysdeps/ieee754/support.c: Remove unused file.
7161 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7163         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
7164         registers instead of d ones so the layout is kernel abi compatible.
7165         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
7166         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
7167         Likewise.
7169 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7171         * sysdeps/aarch64/libm-test-ulps: Regenerated.
7173 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
7175         [BZ #18619]
7176         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
7177         and return argument in case of subnormal argument.
7179 2015-07-01  Martin Sebor  <msebor@redhat.com>
7181         [BZ #18435]
7182         * nptl/Makefile: Add tst-once5.cc.
7183         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
7184         Remove macro redefinitions.
7185         * nptl/tst-once5.cc: New test.
7187 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
7189         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7191         * sysdeps/arm/libm-test-ulps: Regenerated.
7193         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7194         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7196 2015-06-30  Torvald Riegel  <triegel@redhat.com>
7198         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
7199         lll_lock_wait_private and lll_futex_wake probes.
7201         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
7202         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
7203         Likewise.
7204         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
7205         atomic_spin_nop.
7206         * sysdeps/x86_64/bits/atomic.h: Likewise.
7207         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
7208         to atomic_spin_nop and move ...
7209         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
7210         ... here and ...
7211         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
7212         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
7213         atomic_spin_nop instead of BUSY_WAIT_NOP.
7214         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
7215         Likewise.
7216         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
7217         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
7218         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
7219         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
7220         instead of atomic_delay.
7222 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
7224         [BZ #18613]
7225         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
7226         X_ADJ not X when adjusting exponent.
7227         (__ieee754_gamma_r): Do intermediate computations in
7228         round-to-nearest then adjust overflowing and underflowing results
7229         as needed.
7230         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
7231         of X_ADJ not X when adjusting exponent.
7232         (__ieee754_gammaf_r): Do intermediate computations in
7233         round-to-nearest then adjust overflowing and underflowing results
7234         as needed.
7235         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
7236         log of X_ADJ not X when adjusting exponent.
7237         (__ieee754_gammal_r): Do intermediate computations in
7238         round-to-nearest then adjust overflowing and underflowing results
7239         as needed.  Use 1.0L not 1.0f as numerator of division.
7240         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
7241         log of X_ADJ not X when adjusting exponent.
7242         (__ieee754_gammal_r): Do intermediate computations in
7243         round-to-nearest then adjust overflowing and underflowing results
7244         as needed.  Use 1.0L not 1.0f as numerator of division.
7245         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
7246         of X_ADJ not X when adjusting exponent.
7247         (__ieee754_gammal_r): Do intermediate computations in
7248         round-to-nearest then adjust overflowing and underflowing results
7249         as needed.  Use 1.0L not 1.0f as numerator of division.
7250         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
7251         to auto-libm-test-in.
7252         (tgamma_test): Use ALL_RM_TEST.
7253         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
7254         tests of tgamma with spurious-overflow.
7255         * math/auto-libm-test-out: Regenerated.
7256         * math/gen-libm-have-vector-test.sh: Do not check for START.
7257         * sysdeps/i386/fpu/libm-test-ulps: Update.
7258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7260         [BZ #18612]
7261         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
7262         arguments, just return 0.5 times the argument, with underflow
7263         forced as needed.
7264         * math/auto-libm-test-in: Add more tests of j1.
7265         * math/auto-libm-test-out: Regenerated.
7267         [BZ #16559]
7268         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
7269         (__ieee754_j1): Force underflow exception for small results.
7270         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
7271         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
7272         (__ieee754_j1f): Force underflow exception for small results.
7273         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
7274         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7275         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7276         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
7277         (__ieee754_j1l): Force underflow exception for small results.
7278         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7279         * math/auto-libm-test-in: Add more tests of j1 and jn.
7280         * math/auto-libm-test-out: Regenerated.
7282         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
7283         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
7284         (PF_MPLS): Likewise.
7285         (AF_IB): Likewise.
7286         (AF_MPLS): Likewise.
7287         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
7288         value and macro.
7289         (MS_RMT_MASK): Include MS_LAZYTIME.
7291 2015-06-26  Mel Gorman  <mgorman@suse.de>
7293         [BZ #18502]
7294         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
7295         already minimal.
7297 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
7299         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
7300         (DT_MIPS_NUM): Update.
7301         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
7302         DT_MIPS_RLD_MAP_REL.
7304 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
7306         [BZ #16559]
7307         [BZ #18602]
7308         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
7309         round-to-nearest internally then recompute results that
7310         underflowed to zero in the original rounding mode.
7311         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
7312         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7313         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7314         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
7315         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
7316         * sysdeps/i386/fpu/libm-test-ulps: Update.
7317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7319 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
7321         * NEWS: Fixed description of link with vector math library.
7323 2015-06-25  Andreas Schwab  <schwab@suse.de>
7325         [BZ #18549]
7326         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
7327         * libio/test-fmemopen.c (do_test): Add test for it.
7329 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
7331         [BZ #17841]
7332         * Makeconfig (no-pie-ldflag): New.
7333         (+link): Set to $(+link-pie) if default to PIE.
7334         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
7335         * config.make.in (build-pie-default): New.
7336         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
7337         is default.  AC_SUBST.
7338         * configure: Regenerated.
7339         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
7341 2015-06-24  Roland McGrath  <roland@hack.frob.com>
7343         * nptl/descr.h (struct pthread): Change type of field setxid_futex
7344         to 'unsigned int'.
7346         * resolv/gai_misc.h (struct waitlist): Change type of field
7347         counterp to 'volatile unsigned int *'.
7348         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
7349         FUTEXADDR and OLDVAL.
7350         * resolv/getaddrinfo_a.c (getaddrinfo_a):
7351         Give local variable TOTAL type 'volatile unsigned int'.
7352         (struct async_waitlist): Change type of field counter to 'unsigned int'.
7353         * resolv/gai_suspend.c (gai_suspend):
7354         Give local variable CNTR type 'unsigned int'.
7356         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
7357         counterp to 'volatile unsigned int *'.
7358         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
7359         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
7360         (aio_suspend): Give local variable CNTR type 'unsigned int'.
7361         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
7362         Give local variable TOTAL type 'volatile unsigned int'.
7363         (struct async_waitlist): Change type of field counter to 'unsigned int'.
7365 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
7367         [BZ #18383]
7368         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
7369         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
7370         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
7371         comment for i386/x86-64.
7372         (test-xfail-tst-tlsalign-extern-static): Removed.
7374 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
7376         * math/test-double.h: New file.
7377         * math/test-float.h: Likewise.
7378         * math/test-ldouble.h: Likewise.
7379         * math/test-math-inline.h: Likewise.
7380         * math/test-math-no-inline.h: Likewise.
7381         * math/test-math-scalar.h: Likewise.
7382         * math/test-math-vector.h: Likewise.
7383         * math/test-vec-loop.h: Remove file.  Contents moved into
7384         test-math-vector.h.
7385         * math/libm-test.inc (MATHCONST): Do not document macro.
7386         * math/test-double.c: Include test-double.h, test-math-no-inline.h
7387         and test-math-scalar.h.
7388         (FUNC): Remove macro.
7389         (FUNC_TEST): Likewise.
7390         (FLOAT): Likewise.
7391         (MATHCONST): Likewise.
7392         (PRINTF_EXPR): Likewise.
7393         (PRINTF_XEXPR): Likewise.
7394         (PRINTF_NEXPR): Likewise.
7395         (TEST_DOUBLE): Likewise.
7396         (TEST_MATHVEC): Likewise.
7397         (__NO_MATH_INLINES): Likewise.
7398         * math/test-float.c: Include test-float.h, test-math-no-inline.h
7399         and test-math-scalar.h.
7400         (FUNC): Remove macro.
7401         (FUNC_TEST): Likewise.
7402         (FLOAT): Likewise.
7403         (MATHCONST): Likewise.
7404         (PRINTF_EXPR): Likewise.
7405         (PRINTF_XEXPR): Likewise.
7406         (PRINTF_NEXPR): Likewise.
7407         (TEST_FLOAT): Likewise.
7408         (TEST_MATHVEC): Likewise.
7409         (__NO_MATH_INLINES): Likewise.
7410         * math/test-idouble.c: Include test-double.h, test-math-inline.h
7411         and test-math-scalar.h.
7412         (FUNC): Remove macro.
7413         (FUNC_TEST): Likewise.
7414         (FLOAT): Likewise.
7415         (MATHCONST): Likewise.
7416         (PRINTF_EXPR): Likewise.
7417         (PRINTF_XEXPR): Likewise.
7418         (PRINTF_NEXPR): Likewise.
7419         (TEST_DOUBLE): Likewise.
7420         (TEST_MATHVEC): Likewise.
7421         (TEST_INLINE): Likewise.
7422         (__NO_MATH_INLINES): Likewise.
7423         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
7424         test-math-scalar.h.
7425         (FUNC): Remove macro.
7426         (FUNC_TEST): Likewise.
7427         (FLOAT): Likewise.
7428         (MATHCONST): Likewise.
7429         (PRINTF_EXPR): Likewise.
7430         (PRINTF_XEXPR): Likewise.
7431         (PRINTF_NEXPR): Likewise.
7432         (TEST_FLOAT): Likewise.
7433         (TEST_MATHVEC): Likewise.
7434         (TEST_INLINE): Likewise.
7435         (__NO_MATH_INLINES): Likewise.
7436         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
7437         and test-math-scalar.h.
7438         (FUNC): Remove macro.
7439         (FUNC_TEST): Likewise.
7440         (FLOAT): Likewise.
7441         (MATHCONST): Likewise.
7442         (PRINTF_EXPR): Likewise.
7443         (PRINTF_XEXPR): Likewise.
7444         (PRINTF_NEXPR): Likewise.
7445         (TEST_LDOUBLE): Likewise.
7446         (TEST_MATHVEC): Likewise.
7447         (TEST_INLINE): Likewise.
7448         (__NO_MATH_INLINES): Likewise.
7449         * math/test-ldouble.c: Include test-ldouble.h,
7450         test-math-no-inline.h and test-math-scalar.h.
7451         (FUNC): Remove macro.
7452         (FUNC_TEST): Likewise.
7453         (FLOAT): Likewise.
7454         (MATHCONST): Likewise.
7455         (PRINTF_EXPR): Likewise.
7456         (PRINTF_XEXPR): Likewise.
7457         (PRINTF_NEXPR): Likewise.
7458         (TEST_LDOUBLE): Likewise.
7459         (TEST_MATHVEC): Likewise.
7460         (__NO_MATH_INLINES): Likewise.
7461         * math/test-double-vlen2.h: Include test-double.h,
7462         test-math-no-inline.h and test-math-vector.h.
7463         (FLOAT): Remove macro.
7464         (FUNC): Likewise.
7465         (MATHCONST): Likewise.
7466         (PRINTF_EXPR): Likewise.
7467         (PRINTF_XEXPR): Likewise.
7468         (PRINTF_NEXPR): Likewise.
7469         (TEST_DOUBLE): Likewise.
7470         (TEST_MATHVEC): Likewise.
7471         (__NO_MATH_INLINES): Likewise.
7472         (CNCT): Likewise.
7473         (CONCAT): Likewise.
7474         (WRAPPER_NAME): Likewise.
7475         (WRAPPER_DECL): Likewise.
7476         (WRAPPER_DECL_ff): Likewise.
7477         (WRAPPER_DECL_fFF): Likewise.
7478         (VECTOR_WRAPPER): Likewise.
7479         (VECTOR_WRAPPER_ff): Likewise.
7480         (VECTOR_WRAPPER_fFF): Likewise.
7481         (VEC_LEN): New macro.
7482         * math/test-double-vlen4.h: Include test-double.h,
7483         test-math-no-inline.h and test-math-vector.h.
7484         (FLOAT): Remove macro.
7485         (FUNC): Likewise.
7486         (MATHCONST): Likewise.
7487         (PRINTF_EXPR): Likewise.
7488         (PRINTF_XEXPR): Likewise.
7489         (PRINTF_NEXPR): Likewise.
7490         (TEST_DOUBLE): Likewise.
7491         (TEST_MATHVEC): Likewise.
7492         (__NO_MATH_INLINES): Likewise.
7493         (CNCT): Likewise.
7494         (CONCAT): Likewise.
7495         (WRAPPER_NAME): Likewise.
7496         (WRAPPER_DECL): Likewise.
7497         (WRAPPER_DECL_ff): Likewise.
7498         (WRAPPER_DECL_fFF): Likewise.
7499         (VECTOR_WRAPPER): Likewise.
7500         (VECTOR_WRAPPER_ff): Likewise.
7501         (VECTOR_WRAPPER_fFF): Likewise.
7502         (VEC_LEN): New macro.
7503         * math/test-double-vlen8.h: Include test-double.h,
7504         test-math-no-inline.h and test-math-vector.h.
7505         (FLOAT): Remove macro.
7506         (FUNC): Likewise.
7507         (MATHCONST): Likewise.
7508         (PRINTF_EXPR): Likewise.
7509         (PRINTF_XEXPR): Likewise.
7510         (PRINTF_NEXPR): Likewise.
7511         (TEST_DOUBLE): Likewise.
7512         (TEST_MATHVEC): Likewise.
7513         (__NO_MATH_INLINES): Likewise.
7514         (CNCT): Likewise.
7515         (CONCAT): Likewise.
7516         (WRAPPER_NAME): Likewise.
7517         (WRAPPER_DECL): Likewise.
7518         (WRAPPER_DECL_ff): Likewise.
7519         (WRAPPER_DECL_fFF): Likewise.
7520         (VECTOR_WRAPPER): Likewise.
7521         (VECTOR_WRAPPER_ff): Likewise.
7522         (VECTOR_WRAPPER_fFF): Likewise.
7523         (VEC_LEN): New macro.
7524         * math/test-float-vlen4.h: Include test-float.h,
7525         test-math-no-inline.h and test-math-vector.h.
7526         (FLOAT): Remove macro.
7527         (FUNC): Likewise.
7528         (MATHCONST): Likewise.
7529         (PRINTF_EXPR): Likewise.
7530         (PRINTF_XEXPR): Likewise.
7531         (PRINTF_NEXPR): Likewise.
7532         (TEST_FLOAT): Likewise.
7533         (TEST_MATHVEC): Likewise.
7534         (__NO_MATH_INLINES): Likewise.
7535         (CNCT): Likewise.
7536         (CONCAT): Likewise.
7537         (WRAPPER_NAME): Likewise.
7538         (WRAPPER_DECL): Likewise.
7539         (WRAPPER_DECL_ff): Likewise.
7540         (WRAPPER_DECL_fFF): Likewise.
7541         (VECTOR_WRAPPER): Likewise.
7542         (VECTOR_WRAPPER_ff): Likewise.
7543         (VECTOR_WRAPPER_fFF): Likewise.
7544         (VEC_LEN): New macro.
7545         * math/test-float-vlen8.h: Include test-float.h,
7546         test-math-no-inline.h and test-math-vector.h.
7547         (FLOAT): Remove macro.
7548         (FUNC): Likewise.
7549         (MATHCONST): Likewise.
7550         (PRINTF_EXPR): Likewise.
7551         (PRINTF_XEXPR): Likewise.
7552         (PRINTF_NEXPR): Likewise.
7553         (TEST_FLOAT): Likewise.
7554         (TEST_MATHVEC): Likewise.
7555         (__NO_MATH_INLINES): Likewise.
7556         (CNCT): Likewise.
7557         (CONCAT): Likewise.
7558         (WRAPPER_NAME): Likewise.
7559         (WRAPPER_DECL): Likewise.
7560         (WRAPPER_DECL_ff): Likewise.
7561         (WRAPPER_DECL_fFF): Likewise.
7562         (VECTOR_WRAPPER): Likewise.
7563         (VECTOR_WRAPPER_ff): Likewise.
7564         (VECTOR_WRAPPER_fFF): Likewise.
7565         (VEC_LEN): New macro.
7566         * math/test-float-vlen16.h: Include test-float.h,
7567         test-math-no-inline.h and test-math-vector.h.
7568         (FLOAT): Remove macro.
7569         (FUNC): Likewise.
7570         (MATHCONST): Likewise.
7571         (PRINTF_EXPR): Likewise.
7572         (PRINTF_XEXPR): Likewise.
7573         (PRINTF_NEXPR): Likewise.
7574         (TEST_FLOAT): Likewise.
7575         (TEST_MATHVEC): Likewise.
7576         (__NO_MATH_INLINES): Likewise.
7577         (CNCT): Likewise.
7578         (CONCAT): Likewise.
7579         (WRAPPER_NAME): Likewise.
7580         (WRAPPER_DECL): Likewise.
7581         (WRAPPER_DECL_ff): Likewise.
7582         (WRAPPER_DECL_fFF): Likewise.
7583         (VECTOR_WRAPPER): Likewise.
7584         (VECTOR_WRAPPER_ff): Likewise.
7585         (VECTOR_WRAPPER_fFF): Likewise.
7586         (VEC_LEN): New macro.
7587         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
7588         test-vec-loop.h.
7589         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
7590         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
7591         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
7592         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
7593         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
7594         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
7595         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
7597 2015-06-24  Roland McGrath  <roland@hack.frob.com>
7599         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
7600         (__getlogin_r): ... this.
7602 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
7604         [BZ #18594]
7605         * math/s_ccosh.c (__ccosh): Compare with least normal value
7606         instead of comparing class with FP_SUBNORMAL.
7607         * math/s_ccoshf.c (__ccoshf): Likewise.
7608         * math/s_ccoshl.c (__ccoshl): Likewise.
7609         * math/s_cexp.c (__cexp): Likewise.
7610         * math/s_cexpf.c (__cexpf): Likewise.
7611         * math/s_cexpl.c (__cexpl): Likewise.
7612         * math/s_csin.c (__csin): Likewise.
7613         * math/s_csinf.c (__csinf): Likewise.
7614         * math/s_csinh.c (__csinh): Likewise.
7615         * math/s_csinhf.c (__csinhf): Likewise.
7616         * math/s_csinhl.c (__csinhl): Likewise.
7617         * math/s_csinl.c (__csinl): Likewise.
7618         * math/s_ctan.c (__ctan): Likewise.
7619         * math/s_ctanf.c (__ctanf): Likewise.
7620         * math/s_ctanh.c (__ctanh): Likewise.
7621         * math/s_ctanhf.c (__ctanhf): Likewise.
7622         * math/s_ctanhl.c (__ctanhl): Likewise.
7623         * math/s_ctanl.c (__ctanl): Likewise.
7624         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
7625         csin, csinh, ctan and ctanh.
7626         * math/auto-libm-test-out: Regenerated.
7627         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
7628         * sysdeps/i386/fpu/libm-test-ulps: Update.
7629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7631 2015-06-24  Roland McGrath  <roland@hack.frob.com>
7633         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
7634         return value is wrong, print the expected value too.
7636 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
7638         [BZ #18585]
7639         * elf/readlib.c (is_gdb_python_file): New.
7640         (process_file): Don't issue errors on filenames with -gdb.py
7641         suffix.
7643 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
7645         * math/auto-libm-test-in: Add more tests of csin and csinh.
7646         * math/auto-libm-test-out: Regenerated.
7647         * math/libm-test.inc (csin_test_data): Remove tests moved to
7648         auto-libm-test-in.
7649         (csinh_test_data): Likewise.
7651         [BZ #18593]
7652         * math/s_csin.c (__csin): Negate before rather than after possibly
7653         overflowing multiplication.
7654         * math/s_csinf.c (__csinf): Likewise.
7655         * math/s_csinh.c (__csinh): Likewise.
7656         * math/s_csinhf.c (__csinhf): Likewise.
7657         * math/s_csinhl.c (__csinhl): Likewise.
7658         * math/s_csinl.c (__csinl): Likewise.
7659         * math/auto-libm-test-in: Add some tests of csin and csinh.
7660         * math/auto-libm-test-out: Regenerated.
7661         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
7662         (csinh_test_data): Likewise.
7663         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7665         [BZ #18586]
7666         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
7667         underflow exception for small results.
7669 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
7671         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
7672         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
7673         variable and included header.
7674         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
7675         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
7676         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
7677         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
7678         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
7679         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
7680         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
7681         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
7682         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
7683         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
7684         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
7685         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
7686         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
7687         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
7688         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
7689         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
7691 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
7693         [BZ #16526]
7694         [BZ #16538]
7695         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
7696         (__sin): Force underflow exception for arguments with small
7697         absolute value.
7698         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
7699         (__kernel_sinf): Force underflow exception for arguments with
7700         small absolute value.
7701         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
7702         (__kernel_sincosl): Force underflow exception for arguments with
7703         small absolute value.
7704         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
7705         (__kernel_sinl): Force underflow exception for arguments with
7706         small absolute value.
7707         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
7708         (__kernel_sincosl): Force underflow exception for arguments with
7709         small absolute value.
7710         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
7711         (__kernel_sinl): Force underflow exception for arguments with
7712         small absolute value.
7713         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
7714         (__kernel_sinl): Force underflow exception for arguments with
7715         small absolute value.
7716         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
7717         (__kernel_sinf): Force underflow exception for arguments with
7718         small absolute value.
7719         * math/auto-libm-test-in: Add more tests of sin and sincos.
7720         * math/auto-libm-test-out: Regenerated.
7722         [BZ #18245]
7723         [BZ #18583]
7724         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
7725         (__kernel_standard_l): Use feholdexcept and fesetenv around
7726         conversion to double instead of special-casing overflow and
7727         underflow.
7728         * math/libm-test.inc (fmod_test_data): Add more tests.
7729         (remainder_test_data): Likewise.
7730         (sqrt_test_data): Likewise.
7732 2015-06-23  Torvald Riegel  <triegel@redhat.com>
7734         [BZ #17403]
7735         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
7736         atomic_read_barrier, atomic_write_barrier): Define.
7737         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
7738         atomic_read_barrier, atomic_write_barrier): Define.
7740 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
7742         * math/Makefile [$(PERL) != no]
7743         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
7744         dependency on libm-test.stmp below the inclusion of Rules.
7746 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
7748         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
7749         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
7750         and included header.
7751         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
7752         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
7753         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
7754         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
7755         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
7756         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
7757         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
7758         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
7759         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
7760         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
7761         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
7762         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
7763         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
7764         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
7765         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
7766         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
7767         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
7768         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
7769         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
7771 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
7773         [BZ #18371]
7774         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
7775         intermediate but not final result might underflow.
7776         * math/s_csqrtf.c (__csqrtf): Likewise.
7777         * math/s_csqrtl.c (__csqrtl): Likewise.
7778         * math/auto-libm-test-in: Add more tests of csqrt.
7779         * math/auto-libm-test-out: Regenerated.
7780         * sysdeps/i386/fpu/libm-test-ulps: Update.
7782         [BZ #18219]
7783         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
7784         threshold on absolute value of exponent for which scaling is used.
7785         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
7786         * math/auto-libm-test-in: Add more tests of exp2.
7787         * math/auto-libm-test-out: Regenerated.
7789 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
7791         [BZ #17977]
7792         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
7793         when initializing interface list, based on the bug analysis
7794         and the patch proposed by Eric Newton.
7795         * resolv/tst-res_hconf_reorder.c: New test.
7796         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
7797         tst-res_hconf_reorder.
7798         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
7799         and $(shared-thread-library).
7800         (tst-res_hconf_reorder-ENV): New variable.
7802         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
7803         in comment.
7805 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
7807         [BZ #16353]
7808         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
7809         (__expm1): Force underflow exception for arguments with small
7810         absolute value.
7811         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
7812         (__expm1f): Force underflow exception for arguments with small
7813         absolute value.
7814         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
7815         (__expm1): Force underflow exception for arguments with small
7816         absolute value.
7817         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
7818         (__expm1f): Force underflow exception for arguments with small
7819         absolute value.
7820         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
7821         Check for small arguments before calling __expm1.
7822         * math/auto-libm-test-in: Do not mark underflow exceptions as
7823         possibly missing for bug 16353.
7824         * math/auto-libm-test-out: Regenerated.
7826 2015-06-22  Andreas Schwab  <schwab@suse.de>
7828         [BZ #18513]
7829         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
7830         PTR queries.
7832 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
7834         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
7836         * string/strcoll_l.c: Remove unused struct element idxnow.
7838 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
7840         [BZ #18569]
7841         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
7842         underflow and return argument in case of subnormal argument.
7843         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7844         Likewise.
7845         * math/auto-libm-test-in: Add more tests of expm1.
7846         * math/auto-libm-test-out: Regenerated.
7848         [BZ #16361]
7849         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
7850         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
7851         tiny results.
7852         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
7853         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
7854         tiny results.
7855         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
7856         mark underflow exceptions as possibly missing for bug 16361.
7857         * math/auto-libm-test-out: Regenerated.
7859 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
7861         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
7862         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
7863         Remove variable.
7864         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
7865         (test-xfail-XOPEN2K8/utmpx.h/conform).
7867         * conform/conformtest.pl ($xerrors): New variable.
7868         (note_error): New function.
7869         (compiletest): New argument $xfail.  Use not_error.
7870         (runtest): Likewise.
7871         (top level): Handle xfail- lines.  Update calls to compiletest and
7872         runtest.  Handle xfail- and optional- in headers listed with
7873         allow-header.
7874         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
7875         (O_EXEC): Likewise.
7876         (O_SEARCH): Likewise.
7877         * conform/data/stropts.h-data (ioctl): Likewise.
7878         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
7879         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
7880         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
7881         (msghdr.msg_controllen): Likewise.
7882         (cmsghdr.cmsg_len): Likewise.
7883         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
7884         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
7885         variable.
7886         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
7887         (test-xfail-XPG4/stropts.h/conform): Likewise.
7888         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
7889         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
7890         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
7891         (test-xfail-UNIX98/stropts.h/conform): Likewise.
7892         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
7893         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
7894         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
7895         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
7896         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
7897         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
7898         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
7899         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
7900         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
7901         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
7902         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
7903         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
7904         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
7905         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
7906         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
7908 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
7910         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
7911         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
7912         definitions for proper unfolding of __MATHDECL_VEC.
7914 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
7916         * benchtests/bench-strcoll.c:
7917         Include string.h.
7918         (main): Remove unused variable res.
7920 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
7922         * timezone/Makefile (%/UTC %/Universal):
7923         Generate test-result files for UTC and Universal.
7925 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
7927         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7929 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
7931         [BZ #16350]
7932         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
7933         for arguments with small absolute value.
7934         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
7935         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
7936         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
7937         (__asinh): Force underflow exception for arguments with small
7938         absolute value.
7939         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
7940         (__asinhf): Force underflow exception for arguments with small
7941         absolute value.
7942         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
7943         (__asinhl): Force underflow exception for arguments with small
7944         absolute value.
7945         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
7946         (__asinhl): Force underflow exception for arguments with small
7947         absolute value.
7948         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
7949         (__asinhl): Force underflow exception for arguments with small
7950         absolute value.
7951         * math/auto-libm-test-in: Do not mark underflow exceptions as
7952         possibly missing for bug 16350.
7953         * math/auto-libm-test-out: Regenerated.
7955         * include/bits/ipc.h: Remove file.
7956         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
7957         variable.
7958         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
7959         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
7960         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
7961         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
7962         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
7963         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
7964         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
7965         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
7966         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
7968         * math/auto-libm-test-in: Remove spurious underflow allowance for
7969         tests of cexp.
7970         * math/auto-libm-test-out: Regenerated.
7972         [BZ #18558]
7973         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
7974         unconditional definition.
7975         (MCAST_BLOCK_SOURCE): Likewise.
7976         (MCAST_UNBLOCK_SOURCE): Likewise.
7977         (MCAST_LEAVE_GROUP): Likewise.
7978         (MCAST_JOIN_SOURCE_GROUP): Likewise.
7979         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
7980         (MCAST_MSFILTER): Likewise.
7981         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
7982         Remove variable.
7983         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
7984         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
7985         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
7986         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
7987         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
7989 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
7991         * NEWS: Mention addition of x86_64 vector sincosf.
7992         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
7993         * math/test-float-vlen4.h: Likewise.
7994         * math/test-float-vlen8.h: Likewise.
7995         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
7996         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
7997         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
7998         * sysdeps/x86_64/fpu/Versions: New versions added.
7999         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8000         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
8001         Added build of SSE, AVX2 and AVX512 IFUNC versions.
8002         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
8003         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
8004         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
8005         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
8006         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
8007         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
8008         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
8009         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
8010         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
8011         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
8012         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
8013         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
8014         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
8015         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
8016         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
8017         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8018         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8019         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8020         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8021         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8022         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8024         * NEWS: Mention addition of x86_64 vector sincos.
8025         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
8026         * math/math.h (__MATHDECL_VEC): New macro.
8027         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
8028         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
8029         declaration under condition.
8030         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
8031         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
8032         TEST_VEC_LOOP change.
8033         * math/test-double-vlen4.h: Likewise.
8034         * math/test-double-vlen8.h: Likewise.
8035         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
8036         * math/test-float-vlen4.h: Likewise.
8037         * math/test-float-vlen8.h: Likewise.
8038         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
8039         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
8040         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8041         * sysdeps/x86_64/fpu/Versions: New versions added.
8042         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8043         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
8044         Added build of SSE, AVX2 and AVX512 IFUNC versions.
8045         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
8046         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
8047         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
8048         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
8049         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
8050         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
8051         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
8052         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
8053         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
8054         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
8055         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
8056         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
8057         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
8058         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
8059         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8060         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8061         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8062         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8063         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8064         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8065         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8067         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
8068         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
8069         redirections for powf.
8070         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8071         * sysdeps/x86_64/fpu/Versions: New versions added.
8072         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8073         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
8074         Added build of SSE, AVX2 and AVX512 IFUNC versions.
8075         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
8076         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
8077         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
8078         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
8079         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
8080         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
8081         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
8082         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
8083         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
8084         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
8085         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
8086         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
8087         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
8088         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
8089         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
8090         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8091         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8092         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8093         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8094         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8095         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8096         * math/test-float-vlen16.h: Fixed 2 argument macro.
8097         * math/test-float-vlen4.h: Likewise.
8098         * math/test-float-vlen8.h: Likewise.
8099         * NEWS: Mention addition of x86_64 vector powf.
8101 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
8103         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8104         and redefine.
8105         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8106         and redefine.
8107         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
8108         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
8109         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8111         [BZ #18553]
8112         * resource/getpriority.c (getpriority): Rename to __getpriority
8113         and define as weak alias of __getpriority.
8114         * resource/setpriority.c (setpriority): Rename to __setpriority
8115         and define as weak alias of __setpriority.
8116         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
8117         __getpriority and define as weak alias of __getpriority.
8118         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
8119         __setpriority and define as weak alias of __setpriority.
8120         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
8121         strong name.
8122         (setpriority): Use __setpriority as strong name.
8123         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
8124         __getpriority and define as weak alias of __getpriority.
8125         * include/sys/resource.h (__getpriority): Declare.  Use
8126         libc_hidden_proto.
8127         (__setpriority): Likewise.
8128         (getpriority): Don't use libc_hidden_proto.
8129         (setpriority): Likewise.
8130         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
8131         getpriority.  Call __setpriority instead of setpriority.
8132         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
8133         Remove variable.
8135         [BZ #18547]
8136         * misc/getttyent.c (getttynam): Rename to __getttynam and define
8137         as weak alias of __getttynam.  Use prototype function definition.
8138         Call __setttyent, __getttyent and __endttyent instead of
8139         setttyent, getttyent and endttyent.
8140         (getttyent): Rename to __getttyent and define as weak alias of
8141         __getttyent.  Call __setttyent instead of setttyent.  Call
8142         __fgets_unlocked instead of fgets_unlocked.
8143         (setttyent): Rename to __setttyent and define as weak alias of
8144         __setttyent.
8145         (endttyent): Rename to __endttyent and define as weak alias of
8146         __endttyent.
8147         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
8148         (__setttyent): Likewise.
8149         (__endttyent): Likewise.
8150         (getttyent): Don't use libc_hidden_proto.
8151         (setttyent): Likewise.
8152         (endttyent): Likewise.
8153         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
8154         __endttyent instead of setttyent, getttyent and endttyent.
8155         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
8156         Remove variable.
8158         [BZ #18546]
8159         * socket/recv.c (__recv): Use libc_hidden_def.
8160         * socket/socket.c (__socket): Likewise.
8161         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
8162         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
8163         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
8164         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
8165         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
8166         libc_hidden_def.
8167         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
8168         libc_hidden_weak.
8169         * include/sys/socket.h (__socket): Do not use attribute_hidden.
8170         Use libc_hidden_proto.
8171         (__recv): Likewise.
8172         * socket/Versions (libc): Export __recv and __socket at version
8173         GLIBC_PRIVATE.
8174         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
8175         instead of recv.
8176         (init_mq_netlink): Call __socket instead of socket.
8177         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
8178         Remove variable.
8180         [BZ #18545]
8181         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
8182         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
8183         hidden_weak.
8184         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
8185         define as alias of __mq_timedsend.  Use hidden_weak.
8186         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
8187         __mq_timedsend as strong name.
8188         (mq_timedreceive): Use __mq_timedreceive as strong name.
8189         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
8190         (__mq_timedreceive): Likewise.
8191         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
8192         __mq_timedreceive instead of mq_timedreceive.
8193         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
8194         instead of mq_timedsend.
8195         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
8196         Remove variable.
8198         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
8199         hidden_def and hidden_weak instead of libc_hidden_def and
8200         libc_hidden_weak.
8201         (top level): Refer to hidden_def in comment.
8202         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
8203         macro.  Use it instead of libc_hidden_def.
8204         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
8205         specify __GI_* name explicitly.
8206         (mq_timedreceive): Likewise.
8207         (mq_setattr): Likewise.
8209         [BZ #18544]
8210         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
8211         __pthread_barrier_init and define as weak alias of
8212         __pthread_barrier_init.
8213         * sysdeps/sparc/nptl/pthread_barrier_init.c
8214         (pthread_barrier_init): Likewise.
8215         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
8216         __pthread_barrier_wait and define as weak alias of
8217         __pthread_barrier_wait.
8218         * sysdeps/sparc/nptl/pthread_barrier_wait.c
8219         (pthread_barrier_wait): Likewise.
8220         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
8221         (pthread_barrier_wait): Likewise.
8222         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
8223         (pthread_barrier_wait): Likewise.
8224         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
8225         (pthread_barrier_wait): Likewise.
8226         * nptl/Versions (libpthread): Export __pthread_barrier_init and
8227         __pthread_barrier_wait at version GLIBC_PRIVATE.
8228         * include/pthread.h (__pthread_barrier_init): Declare.
8229         (__pthread_barrier_wait): Likewise.
8230         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
8231         Call __pthread_barrier_wait instead of pthread_barrier_wait.
8232         (helper_thread): Likewise.
8233         (init_mq_netlink): Call __pthread_barrier_init instead of
8234         pthread_barrier_init.
8236         [BZ #18542]
8237         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
8238         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
8239         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
8240         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
8241         vswscanf.
8242         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
8243         Remove variable.
8245         [BZ #18540]
8246         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
8247         strong alias of _IO_fflush.  Use libc_hidden_def.
8248         * libio/iofflush_u.c (fflush_unlocked): Rename to
8249         __fflush_unlocked and define as weak alias of __fflush_unlocked.
8250         Use libc_hidden_weak.
8251         * include/stdio.h (__fflush_unlocked): Declare.  Use
8252         libc_hidden_proto.
8253         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
8254         fflush_unlocked.
8255         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
8256         Remove variable.
8258         [BZ #18539]
8259         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
8260         define as weak alias of __addseverity.
8261         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
8262         Remove variable.
8263         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
8264         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
8265         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
8267         [BZ #18536]
8268         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
8269         (__tfind): Likewise.
8270         (__tdelete): Likewise.
8271         (__twalk): Likewise.
8272         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
8273         __twalk to GLIBC_PRIVATE.
8274         * include/search.h (__tsearch): Use libc_hidden_proto.
8275         (__tfind): Likewise.
8276         (__tdelete): Likewise.
8277         (__twalk): Likewise.
8278         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
8279         Call __tdelete instead of tdelete.
8280         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
8281         tfind.  Call __tsearch instead of tsearch.
8282         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
8283         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
8284         Remove variable.
8285         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
8287         [BZ #18534]
8288         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
8289         (dprintf): Define as a weak alias of __dprintf, not a strong
8290         alias.
8291         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
8292         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
8293         dprintf.
8294         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
8295         Remove variable.
8296         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
8297         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
8299         [BZ #18533]
8300         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
8301         not a strong alias.
8302         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
8303         Remove variable.
8305         [BZ #18532]
8306         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
8307         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
8308         (in6addr_loopback): Rename to __in6addr_loopback and define as
8309         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
8310         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
8311         libc_hidden_proto.
8312         (__in6addr_any): Likewise.
8313         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
8314         in6addr_any.
8315         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
8316         variable.
8317         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
8319 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
8321         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
8322         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
8323         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
8324         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
8325         redirections for pow.
8326         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8327         * sysdeps/x86_64/fpu/Versions: New versions added.
8328         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8329         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
8330         build of SSE, AVX2 and AVX512 IFUNC versions.
8331         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
8332         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
8333         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
8334         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
8335         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
8336         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
8337         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
8338         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
8339         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
8340         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
8341         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
8342         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
8343         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
8344         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
8345         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8346         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8347         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8348         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8349         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8350         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8351         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8352         * NEWS: Mention addition of x86_64 vector pow.
8354         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
8355         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
8356         redirections for expf.
8357         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8358         * sysdeps/x86_64/fpu/Versions: New versions added.
8359         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8360         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
8361         build of SSE, AVX2 and AVX512 IFUNC versions.
8362         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
8363         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
8364         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
8365         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
8366         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
8367         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
8368         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
8369         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
8370         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
8371         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
8372         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
8373         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
8374         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
8375         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
8376         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8377         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8378         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8379         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8380         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8381         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8382         * NEWS: Mention addition of x86_64 vector expf.
8384         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
8385         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
8386         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
8387         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
8388         redirections for exp.
8389         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8390         * sysdeps/x86_64/fpu/Versions: New versions added.
8391         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8392         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
8393         build of SSE, AVX2 and AVX512 IFUNC versions.
8394         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
8395         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
8396         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
8397         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
8398         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
8399         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
8400         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
8401         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
8402         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
8403         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
8404         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
8405         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
8406         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
8407         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8408         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8409         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8410         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8411         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8412         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8413         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8414         * NEWS: Mention addition of x86_64 vector exp.
8416         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
8417         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
8418         redirections for logf.
8419         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8420         * sysdeps/x86_64/fpu/Versions: New versions added.
8421         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8422         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
8423         build of SSE, AVX2 and AVX512 IFUNC versions.
8424         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
8425         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
8426         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
8427         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
8428         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
8429         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
8430         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
8431         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
8432         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
8433         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
8434         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
8435         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
8436         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
8437         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
8438         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8439         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8440         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8441         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8442         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8443         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8444         * NEWS: Mention addition of x86_64 vector logf.
8446         * bits/libm-simd-decl-stubs.h: Added stubs for log.
8447         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
8448         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
8449         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
8450         redirections for log.
8451         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8452         * sysdeps/x86_64/fpu/Versions: New versions added.
8453         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8454         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
8455         build of SSE, AVX2 and AVX512 IFUNC versions.
8456         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
8457         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
8458         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
8459         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
8460         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
8461         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
8462         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
8463         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
8464         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
8465         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
8466         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
8467         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
8468         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
8469         test.
8470         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8471         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8472         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8473         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8474         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8475         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8476         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8477         * NEWS: Mention addition of x86_64 vector log.
8479 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8481         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
8482         cfi_adjust_cfa_offset argument.
8483         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
8484         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
8486         [BZ #18034]
8487         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
8488         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
8489         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
8490         ordering using ldar.
8491         (_dl_tlsdesc_dynamic): Likewise.
8492         (_dl_tlsdesc_return_lazy): Likewise.
8493         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
8494         relaxed atomics instead of volatile and synchronize with release store.
8495         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
8496         volatile.
8497         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
8499 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
8501         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
8502         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
8503         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8504         * sysdeps/x86_64/fpu/Versions: New versions added.
8505         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8506         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
8507         build of SSE, AVX2 and AVX512 IFUNC versions.
8508         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
8509         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
8510         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
8511         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
8512         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
8513         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
8514         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
8515         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
8516         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
8517         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
8518         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
8519         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
8520         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
8521         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
8522         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8523         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8524         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8525         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8526         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8527         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8528         * NEWS: Mention addition of x86_64 vector sinf.
8530 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
8532         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
8533         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
8534         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
8535         Remove variable.
8536         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
8537         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
8539 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
8541         [BZ #18530]
8542         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
8543         strong alias of _IO_fputs.  Use libc_hidden_def.
8544         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
8545         and define as weak alias of __fputs_unlocked.  Use
8546         libc_hidden_weak.
8547         * include/stdio.h (__fputs_unlocked): Declare.  Use
8548         libc_hidden_proto.
8549         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
8550         fputs_unlocked.
8552         [BZ #18529]
8553         * resolv/netdb.h [__USE_POSIX]: Change condition to
8554         [__USE_XOPEN2K].
8555         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
8556         not expect.
8557         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
8558         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
8559         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
8560         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
8561         [XPG4 || UNIX98] (AI_ALL): Likewise.
8562         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
8563         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
8564         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
8565         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
8566         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
8567         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
8568         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
8569         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
8570         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
8571         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
8572         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
8573         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
8574         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
8575         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
8576         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
8577         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
8578         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
8579         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
8580         [XPG4 || UNIX98] (gai_strerror): Likewise.
8581         [XPG4 || UNIX98] (getaddrinfo): Likewise.
8582         [XPG4 || UNIX98] (getnameinfo): Likewise.
8584         [BZ #18528]
8585         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
8586         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
8587         __USE_XOPEN2K8].
8588         (getgrent): Likewise.
8589         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
8590         expect.
8591         [XPG3 || POSIX2008] (endgrent): Likewise.
8592         [XPG3] (setgrent): Likewise.
8593         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
8594         variable.
8595         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
8597         [BZ #18527]
8598         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
8599         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
8600         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
8601         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
8602         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
8603         * include/unistd.h (__getlogin_r): Declare.  Use
8604         libc_hidden_proto.
8605         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
8606         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
8607         variable.
8608         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
8609         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
8610         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
8612 2015-06-12  Martin Sebor  <msebor@redhat.com>
8614         [BZ #18512]
8615         * Makerules (check-install-supported): New target.
8616         (install): Add check-install-supported as a dependency.
8617         * manual/install.texi (Installing the C Library): Document
8618         that overriding prefix and exec_prefix is not supported.
8619         Mention DESTDIR.
8620         * INSTALL: Regenerate from the above.
8622 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
8624         [BZ #18519]
8625         * posix/Versions (libc): Export __libc_pread at version
8626         GLIBC_PRIVATE.
8627         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
8628         instead of pread.
8629         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
8630         variable.
8632         [BZ #18522]
8633         * misc/efgcvt_r.c
8634         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
8635         (cvt_symbol): Use weak_alias instead of strong_alias.
8636         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
8637         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
8638         Remove variable.
8639         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
8640         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
8642         [BZ #18520]
8643         * inet/herrno.c (h_errno): Rename to __h_errno.
8644         (__libc_h_errno): Define as alias of __h_errno not h_errno.
8645         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
8646         to __h_errno instead of h_errno.
8647         * nptl/herrno.c (h_errno): Rename to __h_errno.
8648         (__h_errno_location): Refer to __h_errno not h_errno.
8649         * resolv/Versions (h_errno): Rename to __h_errno.
8650         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
8651         Remove variable.
8652         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
8654 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
8656         * configure.ac: More strict check for AVX512 assembler support.
8657         * configure: Regenerated.
8659         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
8660         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
8661         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
8662         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
8663         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8664         * sysdeps/x86_64/fpu/Versions: New versions added.
8665         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8666         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
8667         Added build of SSE, AVX2 and AVX512 IFUNC versions.
8668         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
8669         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
8670         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
8671         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
8672         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
8673         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
8674         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
8675         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
8676         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
8677         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
8678         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
8679         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
8680         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
8681         test.
8682         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8683         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8684         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8685         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8686         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8687         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8688         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8689         * NEWS: Mention addition of x86_64 vector sin.
8691 2015-06-11  Florian Weimer  <fweimer@redhat.com>
8693         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
8694         comment.
8696 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
8698         [BZ #18479]
8699         * nptl/pt-interp.c: New file.
8700         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
8701         Add pt-interp.
8702         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
8703         $(common-objpfx)runtime-linker.h.
8705 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
8707         * Makeconfig (+interp): Remove unused variable.
8708         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
8709         only.  Depend on $(common-objpfx)runtime-linker.h instead of
8710         $(elf-objpfx)runtime-linker.h.
8711         ($(elf-objpfx)runtime-linker.h): Rename to
8712         $(common-objpfx)runtime-linker.h and move ...
8713         * Makerules [$(build-shared) = yes]: ... here.
8714         * elf/interp.c: Include <runtime-linker.h> instead of
8715         <elf/runtime-linker.h>.
8717 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8719         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
8720         (__gettimeofday_syscall): Remove vsyscall fallback.
8721         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
8722         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
8723         Add syscall fallback function.
8724         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
8725         if vDSO is not present.
8726         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
8727         fallback function.
8728         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
8729         present.
8730         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
8731         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
8733 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
8735         [BZ #18497]
8736         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
8737         of wcscmp.
8738         (wcscmp): Define as weak alias of WCSCMP.
8739         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
8740         wcscoll.
8741         (USE_HIDDEN_DEF): Define.
8742         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
8743         __wcscoll.  Don't use libc_hidden_weak.
8744         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
8745         wcscmp.
8746         * sysdeps/i386/i686/multiarch/wcscmp-c.c
8747         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
8748         __GI_wcscmp.
8749         (weak_alias): Undefine and redefine.
8750         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
8751         __wcscmp and define as weak alias of __wcscmp.
8752         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
8753         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
8754         (__wcscoll): Likewise.
8755         (wcscmp): Don't use libc_hidden_proto.
8756         (wcscoll): Likewise.
8757         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
8758         wcscoll.
8759         * posix/regexec.c (check_node_accept_bytes): Likewise.
8760         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
8761         variable.
8762         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
8763         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
8765         [BZ #18507]
8766         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
8767         __fstatvfs and define as weak alias of __fstatvfs.  Use
8768         libc_hidden_weak.
8769         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
8770         and define as weak alias of __statvfs.  Use libc_hidden_weak.
8771         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
8772         Define as alias of __fstatvfs, not fstatvfs.
8773         (fstatvfs64): Likewise.
8774         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
8775         Define as alias of __statvfs, not statvfs.
8776         (statvfs64): Likewise.
8777         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
8778         Remove variable.
8780 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8783         (HAVE_GETCPU_VSYSCALL): Define.
8784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8785         (HAVE_GETCPU_VSYSCALL): Likewise.
8786         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
8787         * sysdeps/unix/sysv/linux/sched_getcpu.c
8788         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
8789         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
8790         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
8791         prototype.
8792         * sysdeps/unix/sysv/linux/x86_64/init-first.c
8793         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
8794         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
8795         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
8796         Define.
8797         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
8798         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8799         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
8800         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8802 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
8804         * sysdeps/x86_64/fpu/Makefile: New file.
8805         * sysdeps/x86_64/fpu/Versions: New file.
8806         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
8807         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
8808         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
8809         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
8810         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
8811         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
8812         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
8813         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
8814         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
8815         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
8816         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
8817         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
8818         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
8819         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
8820         Added build of SSE, AVX2 and AVX512 IFUNC versions.
8821         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
8822         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
8823         * sysdeps/x86_64/configure.ac: Options for libmvec build.
8824         * sysdeps/x86_64/configure: Regenerated.
8825         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
8826         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
8827         * manual/install.texi (Configuring and compiling): Document
8828         --disable-mathvec.
8829         * INSTALL: Regenerated.
8830         * NEWS: Mention addition of libmvec and x86_64 vector cos.
8832         * math/Makefile: Added rules for vector tests.
8833         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
8834         declaration under condition.
8835         * math/test-double-vlen2.h: New file.
8836         * math/test-double-vlen4.h: New file.
8837         * math/test-double-vlen8.h: New file.
8838         * math/test-vec-loop.h: Added initialization macro.
8839         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
8840         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
8841         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
8842         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
8843         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
8844         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
8845         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
8846         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
8847         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
8848         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
8849         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
8851         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8852         * sysdeps/x86_64/fpu/Versions: New versions added.
8853         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
8854         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
8855         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
8856         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
8857         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
8858         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
8859         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
8860         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
8861         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
8862         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
8863         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
8864         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
8865         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
8866         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
8867         Added build of SSE, AVX2 and AVX512 IFUNC versions.
8868         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
8869         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
8870         * NEWS: Mention addition of x86_64 vector cosf.
8872         * math/Makefile: Added CFLAGS for new tests.
8873         * math/test-float-vlen16.h: New file.
8874         * math/test-float-vlen4.h: New file.
8875         * math/test-float-vlen8.h: New file.
8876         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
8877         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
8878         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8879         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
8880         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
8881         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
8882         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
8883         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
8884         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
8885         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
8886         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
8888 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
8890         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
8891         * locale/programs/ld-ctype.c: Likewise.
8893 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
8895         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
8896         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
8897         bit_ZMM16_31_state): New macro.
8898         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8899         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
8901 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
8903         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
8905 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
8907         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
8909 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
8911         [BZ #18498]
8912         * libio/memstream.c (open_memstream): Rename to __open_memstream
8913         and define as weak alias of __open_memstream.
8914         * include/stdio.h (__open_memstream): Declare.  Use
8915         libc_hidden_proto.
8916         (open_memstream): Don't use libc_hidden_proto.
8917         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
8918         open_memstream.
8919         * posix/getopt.c (_getopt_internal_r): Likewise.
8920         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
8921         variable.
8922         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
8923         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
8924         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
8926         [BZ #18496]
8927         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
8928         instead of wcrtomb.
8930         [BZ #18483]
8931         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
8932         [__USE_XOPEN2K8].  Remove redundant #endif.
8933         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
8934         Remove redundant #if.
8935         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
8936         Remove variable.
8937         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
8938         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
8940         [BZ #18495]
8941         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
8942         (__iswlower): Likewise.
8943         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
8944         (__iswlower): Likewise.
8945         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
8946         instead of towlower.
8947         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
8948         instead of iswlower.  Call __towupper instead of towupper.
8949         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
8950         instead of iswalnum.
8952 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8954         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
8955         errors to stderr.
8957 2015-06-05  Florian Weimer  <fweimer@redhat.com>
8959         [BZ #15661]
8960         [BZ #17322]
8961         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
8962         Check for overflow properly.  Check for O_APPEND.  Ignore large
8963         file system block sizes.  Add comments about problems.
8964         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
8965         * manual/filesys.texi (Storage Allocation): New node.
8967 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8969         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
8970         cancellable syscalls.
8971         (SYS_ify): Add guard to no redefine it.
8972         (INLINE_SYSCALL): Likewise.
8973         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
8974         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
8975         SYSCALL_CANCEL instead.
8976         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
8977         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
8978         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
8979         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
8980         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
8981         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
8982         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
8983         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
8984         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
8985         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
8986         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
8987         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
8988         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
8989         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
8990         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
8991         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
8992         Likewise.
8993         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
8994         (__libc_pread64): Likewise.
8995         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
8996         (__libc_preadv): Likewise.
8997         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
8998         (__libc_readv64): Likewise.
8999         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
9000         (__libc_pwrite): Likewise.
9001         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
9002         (__libc_pwrite64): Likewise.
9003         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
9004         (__libc_pwritev): Likewise.
9005         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
9006         (__libc_pwritev64): Likewise.
9007         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
9008         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
9009         (sync_file_range): Likewise.
9010         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
9011         Likewise.
9012         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
9013         Likewise.
9014         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
9015         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
9016         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
9017         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
9018         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
9019         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
9020         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
9021         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
9022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
9023         Likewise.
9024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9025         (__libc_read64): Likewise.
9026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
9027         Likewise.
9028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
9029         Likewise.
9030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
9031         Likewise.
9032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
9033         Likewise.
9034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
9035         (__libc_pread64): Likewise.
9036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
9037         Likewise.
9038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
9039         (__libc_pwrite64): Likewise.
9040         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
9041         (sync_file_range): Likewise.
9042         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
9043         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
9044         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
9045         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
9046         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
9047         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
9048         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
9049         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
9050         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
9051         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9052         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
9053         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
9054         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
9055         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
9056         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
9057         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
9058         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
9059         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
9060         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
9061         Likewise.
9062         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
9063         Likewise.
9064         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
9065         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
9066         Likewise.
9067         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
9068         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
9069         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
9070         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
9071         Likewise.
9072         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
9073         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
9074         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
9075         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
9076         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
9078 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
9080         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
9081         Include dl-vdso.
9082         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
9083         Use VDSO routines for gettimeofday, clock_gettime if
9084         available.
9085         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
9086         Declare VDSO symbols.
9087         * sysdeps/unix/sysv/linux/arm/sysdep.h:
9088         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
9089         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
9090         * sysdeps/unix/sysv/linux/arm/Versions: Add
9091         __vdso_clock_gettime.
9093 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9095         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
9096         be an inline implementation regardless of library is built within.
9097         (open_not_cancel_2): Likewise.
9098         (__read_nocancel): Likewise.
9099         (__write_nocancel): Likewise.
9100         (openat_not_cancel): Likewise.
9101         (openat_not_cancel_3): Likewise.
9102         (openat64_not_cancel): Likewise.
9103         (openat64_not_cancel_3): Likewise.
9104         (__close_nocancel): Likewise.
9105         (pause_not_cancel): Likewise.
9106         (nanosleep_not_cancel): Likewise.
9107         (sigsuspend_not_cancel): Likewise.
9109 2015-06-04  Torvald Riegel  <triegel@redhat.com>
9111         [BZ #14958]
9112         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
9113         wake-up.
9114         (__pthread_rwlock_rdlock_slow): Likewise.
9115         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
9116         Likewise.
9117         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
9118         Likewise.
9119         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
9120         * nptl/tst-rwlock16.c: New file.
9121         * nptl/Makefile (tests): Add new test.
9123 2015-06-04  Torvald Riegel  <triegel@redhat.com>
9125         [BZ #18324]
9126         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
9127         missing wake-up of readers.
9128         * nptl/tst-rwlock15.c: New file.
9129         * nptl/Makefile (tests): Add new test.
9131 2015-06-03  Roland McGrath  <roland@hack.frob.com>
9133         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
9134         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
9135         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
9136         and __nacl_supply_interface_rtld.
9137         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
9138         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
9139         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
9140         Add __nacl_supply_interface_rtld.
9141         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
9143 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
9145         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
9146         isfinite.
9147         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9148         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
9150 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
9152         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
9153         __signbit* with standard C99 macros.
9154         * math/e_exp10l.c: Likewise.
9155         * math/e_exp2l.c: Likewise.
9156         * math/e_scalb.c: Likewise.
9157         * math/e_scalbf.c: Likewise.
9158         * math/e_scalbl.c: Likewise.
9159         * math/s_ldexp.c: Likewise.
9160         * math/s_ldexpf.c: Likewise.
9161         * math/s_ldexpl.c: Likewise.
9162         * math/w_atan2.c: Likewise.
9163         * math/w_atan2f.c: Likewise.
9164         * math/w_atan2l.c: Likewise.
9165         * math/w_cosh.c: Likewise.
9166         * math/w_coshf.c: Likewise.
9167         * math/w_coshl.c: Likewise.
9168         * math/w_exp10.c: Likewise.
9169         * math/w_exp10f.c: Likewise.
9170         * math/w_exp10l.c: Likewise.
9171         * math/w_exp2.c: Likewise.
9172         * math/w_exp2f.c: Likewise.
9173         * math/w_exp2l.c: Likewise.
9174         * math/w_fmod.c: Likewise.
9175         * math/w_fmodf.c: Likewise.
9176         * math/w_fmodl.c: Likewise.
9177         * math/w_hypot.c: Likewise.
9178         * math/w_hypotf.c: Likewise.
9179         * math/w_hypotl.c: Likewise.
9180         * math/w_jnl.c: Likewise.
9181         * math/w_lgamma.c: Likewise.
9182         * math/w_lgamma_r.c: Likewise.
9183         * math/w_lgammaf.c: Likewise.
9184         * math/w_lgammaf_r.c: Likewise.
9185         * math/w_lgammal.c: Likewise.
9186         * math/w_lgammal_r.c: Likewise.
9187         * math/w_pow.c: Likewise.
9188         * math/w_powf.c: Likewise.
9189         * math/w_powl.c: Likewise.
9190         * math/w_remainder.c: Likewise.
9191         * math/w_remainderf.c: Likewise.
9192         * math/w_remainderl.c: Likewise.
9193         * math/w_scalb.c: Likewise.
9194         * math/w_scalbf.c: Likewise.
9195         * math/w_scalbl.c: Likewise.
9196         * math/w_scalbln.c: Likewise.
9197         * math/w_scalblnf.c: Likewise.
9198         * math/w_scalblnl.c: Likewise.
9199         * math/w_sinh.c: Likewise.
9200         * math/w_sinhf.c: Likewise.
9201         * math/w_sinhl.c: Likewise.
9202         * math/w_tgamma.c: Likewise.
9203         * math/w_tgammaf.c: Likewise.
9204         * math/w_tgammal.c: Likewise.
9205         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9206         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
9207         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9208         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9209         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9210         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9211         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
9212         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9213         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9214         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9215         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9216         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
9217         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9218         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9219         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9220         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9221         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9222         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9223         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9224         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9225         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9226         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9227         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9228         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9229         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9230         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9231         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
9232         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9233         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9234         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9235         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
9236         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
9237         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
9238         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
9239         * stdio-common/printf_fp.c: Likewise.
9240         * stdio-common/printf_fphex.c: Likewise.
9241         * stdio-common/printf_size.c: Likewise.
9243 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
9245         [BZ #18470]
9246         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
9247         strnlen.
9248         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
9249         Remove variable.
9250         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
9251         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
9252         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
9253         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
9254         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
9255         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
9256         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
9257         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
9258         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
9259         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
9261         [BZ #18468]
9262         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
9263         weak alias of __wmemchr.  Use libc_hidden_weak.
9264         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
9265         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
9266         instead of wmemchr.
9268 2015-06-02  Roland McGrath  <roland@hack.frob.com>
9270         [BZ #18383]
9271         * elf/tst-tlsalign-extern.c: New file.
9272         * elf/tst-tlsalign-extern-static.c: New file.
9273         * elf/tst-tlsalign-vars.c: New file.
9274         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
9275         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
9276         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
9277         ($(objpfx)tst-tlsalign-extern-static): Likewise.
9278         (test-xfail-tst-tlsalign-extern-static): New variable.
9280 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
9282         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
9283         Use variable name _sc_err instead of err.
9284         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
9285         instead of ret.
9286         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
9287         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
9288         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
9289         (INLINE_SYSCALL): Likewise.
9291         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
9292         * include/string.h (__strnlen): Use libc_hidden_proto.
9293         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
9294         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
9295         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
9296         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
9297         (libc_hidden_def): Undefine and redefine.
9298         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
9299         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
9300         __GI_strnlen.
9301         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
9302         libc_hidden_def.
9303         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
9305         [BZ #18469]
9306         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
9307         weak alias of __towlower.  Use libc_hidden_weak.
9308         (towupper): Rename to __towupper and define as weak alias of
9309         __towupper.  Use libc_hidden_weak.
9310         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
9311         (__towupper): Likewise.
9312         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
9313         __towlower instead of towlower.
9315 2015-06-02  Roland McGrath  <roland@hack.frob.com>
9317         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
9318         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
9320 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9322         * sysdeps/aarch64/libm-test-ulps: Update.
9324 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9326         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
9327         Define.
9328         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
9329         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
9330         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
9331         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
9332         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
9333         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
9334         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
9336 2015-06-01  Martin Sebor  <msebor@redhat.com>
9338         [BZ #18116]
9339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
9340         (__setcontext): Use extended four-operand version of mtsf whenever
9341         possible.
9342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
9343         (__novec_swapcontext): Likewise.
9345 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
9347         * benchtests/scripts/compare_bench.py: New file.
9348         * benchtests/scripts/import_bench.py (mean): New function.
9349         (split_list): Likewise.
9350         (do_for_all_timings): Likewise.
9351         (compress_timings): Likewise.
9353         * benchtests/scripts/import_bench.py: New file.
9354         * benchtests/scripts/validate_benchout.py: Import import_bench
9355         instead of jsonschema.
9356         (validate_bench): Remove function.
9357         (main): Use import_bench.
9359 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
9361         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
9362         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
9364 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9366         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9368 2015-05-28  Roland McGrath  <roland@hack.frob.com>
9370         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
9371         set THREAD_SELF->tid to a magic value and futex-wake it.
9372         Pass its address to the thread_exit system call.
9373         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
9374         bit is clear.
9375         * sysdeps/nacl/lowlevellock.h: New file.
9376         * sysdeps/nacl/lll_timedwait_tid.c: New file.
9378         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
9379         Add TIMEOUT to current time, don't subtract it.
9381 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
9383         [BZ #2981]
9384         [BZ #18422]
9385         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
9386         ($(objpfx)tst-audit2.out): Also depend on
9387         $(objpfx)tst-auditmod9b.so.
9388         * elf/tst-audit2.c: Include <dlfcn.h>.
9389         (calloc_called): New.
9390         (calloc): Allow to be called more than once.
9391         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
9393 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
9395         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
9396         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
9398 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
9400         * stdlib/monetary.h: Fix comment.
9402 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
9404         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
9405         Avoid using variables in #defines that might cause shadowing.
9406         (INTERNAL_VSYSCALL_CALL): Likewise.
9408 2015-05-26  Roland McGrath  <roland@hack.frob.com>
9410         * sysdeps/nacl/lll_timedlock_wait.c: New file.
9412         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
9413         * nptl/lll_timedlock_wait.c: ... to this new file.
9414         * nptl/Makefile (libpthread-routines): Add it.
9415         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
9416         * nptl/lll_timedwait_tid.c: ... to this new file.
9417         * nptl/Makefile (libpthread-routines): Add it.
9418         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
9419         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
9420         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
9421         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
9422         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
9423         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
9424         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
9425         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
9426         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
9427         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
9429 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9431         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
9432         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
9433         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
9434         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
9435         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
9436         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
9437         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
9438         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
9439         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
9440         * sysdeps/unix/sysv/linux/tile/sysdep.h
9441         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
9442         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
9443         using vDSO syscall macro.
9445 2015-05-26  Andriy Rysin  <arysin@gmail.com>
9447         [BZ #17293]
9448         * uk_UA: Fix sorting order for Ukrainian locale
9450 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
9452         * stdlib/monetary.h: Fix comment.
9454 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9456         [BZ #18234]
9457         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
9458         st_mtim and st_ctim members.
9459         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
9460         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
9461         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
9462         (struct stat64): Likewise.
9463         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
9464         (struct stat64): Likewise.
9465         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
9466         (struct stat64): Likewise.
9468 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9470         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
9471         Define and include sysdep-vdso.h.
9472         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
9473         Likewise.
9474         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
9475         Likewise.
9476         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
9477         Define with VDSO_SYMBOL and use PTR_MANGLE.
9478         (__vdso_clock_gettime): Likewise.
9479         (__vdso_clock_getres): Likewise.
9480         (_libc_vdso_platform_setup): Likewise.
9481         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
9482         Likewise.
9483         (_libc_vdso_platform_setup): Likewise.
9484         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
9485         Likewise.
9486         (__vdso_clock_gettime): Likewise.
9487         (__vdso_clock_getres): Likewise.
9488         (__vdso_get_tbfreq): Likewise.
9489         (__vdso_getcpu): Likewise.
9490         (__vdso_time): Likewise.
9491         (__vdso_sigtramp_rt64): Likewise.
9492         (__vdso_signtramp32): Likewise.
9493         (__vdso_sigtramp_rt32): Likewise.
9494         (_libc_vdso_platform_setup): Likewise.
9495         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
9496         Likewise.
9497         (__vdso_clock_gettime): Likewise.
9498         (__vdso_clock_getres): Likewise.
9499         (_libc_vdso_platform_setup): Likewise.
9500         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
9501         Likewise.
9502         (__vdso_clock_gettime): Likewise.
9503         (_libc_vdso_platform_setup): Likewise.
9504         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
9505         Likewise.
9506         (__vdso_getcpu): Likewise.
9507         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
9508         Use VDSO_SYMBOL macro to define.
9509         (__vdso_clock_gettime): Likewise.
9510         (__vdso_clock_getres): Likewise.
9511         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
9512         Likewise.
9513         (__vdso_clock_gettime): Likewise.
9514         (__vdso_clock_getres): Likewise.
9515         (__vdso_get_tbfreq): Likewise.
9516         (__vdso_getcpu): Likewise.
9517         (__vdso_time): Likewise.
9518         (__vdso_sigtramp_rt64): Likewise.
9519         (__vdso_signtramp32): Likewise.
9520         (__vdso_sigtramp_rt32): Likewise.
9521         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
9522         Likewise.
9523         (__vdso_clock_gettime): Likewise.
9524         (__vdso_clock_getres): Likewise.
9525         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
9526         Likewise.
9527         (__vdso_clock_gettime): Likewise.
9528         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
9529         Likewise.
9530         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
9531         macro.
9532         (INTERNAL_VSYSCALL): Likewise.
9533         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
9534         Remove macro.
9535         (INTERNAL_VSYSCALL): Likewise.
9536         (INTERNAL_VSYSCALL_NCS): Likewise.
9537         (INTERNAL_VSYSCALL_CALL): New macro.
9538         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
9539         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
9540         Likewise.
9541         (INTERNAL_VSYSCALL): Likewise.
9542         (INTERNAL_VSYSCALL_NCS): Likewise.
9543         (INTERNAL_VSYSCALL_CALL): New macro.
9544         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
9545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9546         (INLINE_VSYSCALL): Remove macro.
9547         (INTERNAL_VSYSCALL): Remove macro.
9548         (INTERNAL_VSYSCALL_NCS): Remove macro.
9549         (INTERNAL_VSYSCALL_CALL): New macro.
9550         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
9551         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
9552         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
9553         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
9554         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
9555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9556         (INLINE_VSYSCALL): Remove macro.
9557         (INTERNAL_VSYSCALL): Likewise.
9558         (INTERNAL_VSYSCALL_NCS): Likewise.
9559         (INTERNAL_VSYSCALL_CALL): New macro.
9560         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
9561         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
9562         PTR_DEMANGLE on vDSO pointer.
9563         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
9564         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
9565         macro.
9566         (INTERNAL_SYSCALL): Likewise.
9567         (INTERNAL_VSYSCALL_NCS): Remove macro.
9568         (INTERNAL_VSYSCALL_CALL): New macro.
9569         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
9570         Remove macro.
9571         (INTERNAL_VSYSCALL): Likewise.
9572         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
9573         sysdep-vdso.h instead of libc-vdso.h.
9574         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
9575         definition.
9576         (INLINE_VSYSCALL): Likewise.
9577         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
9578         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
9579         definition.
9580         (INLINE_VSYSCALL): Likewise.
9581         (INTERNAL_VSYSCALL): Likewise.
9582         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
9583         * sysdeps/unix/sysv/linux/timespec_get.c
9584         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
9585         (timespec_get): Use ANSI prototype.
9586         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
9587         and definition for Linux.
9589 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
9591         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
9592         * include/libc-symbols.h: libmvec_hidden_* macro series added.
9594 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
9596         [BZ #2981]
9597         [BZ #18410]
9598         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
9599         for missing DT_PLTRELSZ.
9601 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
9603         Remove obsolete aliases that broke 'locale -a'
9604         [BZ #18412]
9605         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
9606         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
9607         breaking some applications that use 'locale -a' output.
9608         Change the encoding of this file from Latin-1 to ASCII to avoid
9609         other potential problems with people grepping this file.
9611 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9613         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
9614         -fasynchronous-unwind-tables.
9615         (CFLAGS-sendto.c): Likewise.
9616         (CFLAGS-sendmsg.c): Likewise.
9617         (CFLAGS-connect.c): Likewise.
9618         (CFLAGS-recvmsg.c): Likewise.
9619         (CFLAGS-recvfrom.c): Likewise.
9620         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
9621         (SOCKETCALL): New macro: non-cancellable socketcall.
9622         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
9623         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
9624         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
9625         * sysdeps/unix/sysv/linux/accept.c: New file.
9626         * sysdeps/unix/sysv/linux/bind.c: Likewise.
9627         * sysdeps/unix/sysv/linux/connect.c: Likewise.
9628         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
9629         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
9630         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
9631         * sysdeps/unix/sysv/linux/listen.c: Likewise.
9632         * sysdeps/unix/sysv/linux/recv.c: Likewise.
9633         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
9634         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
9635         * sysdeps/unix/sysv/linux/send.c: Likewise.
9636         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
9637         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
9638         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
9639         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
9640         * sysdeps/unix/sysv/linux/socket.c: Likewise.
9641         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
9642         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
9643         prototype.
9644         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
9645         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
9646         instead of __internal_xxx function.
9647         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
9648         prototype.
9649         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
9650         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
9651         instead of __internal_xxx function.
9652         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
9653         prototype.
9654         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
9655         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
9656         instead of __internal_xxx function.
9657         * sysdeps/unix/sysv/linux/accept.S: Remove file.
9658         * sysdeps/unix/sysv/linux/bind.S: Likewise.
9659         * sysdeps/unix/sysv/linux/connect.S: Likewise.
9660         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
9661         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
9662         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
9663         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
9664         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
9665         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
9666         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
9667         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
9668         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
9669         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
9670         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
9671         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
9672         * sysdeps/unix/sysv/linux/listen.S: Likewise.
9673         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
9674         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
9675         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
9676         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
9677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
9678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
9679         * sysdeps/unix/sysv/linux/recv.S: Likewise.
9680         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
9681         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
9682         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
9683         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
9684         * sysdeps/unix/sysv/linux/send.S: Likewise.
9685         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
9686         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
9687         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
9688         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
9689         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
9690         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
9691         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
9692         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
9693         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
9694         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
9695         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
9696         socketcall is implemented in GLIBC.
9698 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
9700         * soft-fp/fmadf4.c: Include <libc-internal.h>.
9701         (__fma): Ignore uninitialized warnings around packing.
9702         * soft-fp/fmasf4.c: Include <libc-internal.h>.
9703         (__fmaf): Ignore uninitialized warnings around packing.
9704         * soft-fp/fmatf4.c: Include <libc-internal.h>.
9705         (__fmal): Ignore uninitialized warnings around packing.
9707         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
9708         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
9709         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
9710         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
9712         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
9713         switch statement into default case.
9714         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
9716         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
9717         a conditional in forcing "inexact".
9718         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9719         Likewise.
9721 2015-05-22  Roland McGrath  <roland@hack.frob.com>
9723         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
9724         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
9725         for each INTERNAL_SYSCALL use.
9727 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
9729         [BZ #438]
9730         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
9731         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
9732         variable.
9734         [BZ #18444]
9735         * string/basename.c (basename): Rename to __basename and define as
9736         weak alias of __basename.  Use libc_hidden_weak.
9737         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
9738         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
9739         __basename instead of basename.
9740         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
9741         Remove variable.
9742         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
9744 2015-05-18  Florian Weimer  <fweimer@redhat.com>
9746         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
9747         (_IO_JUMPS_FILE_plus): New.
9748         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
9749         _IO_CAST_FIELD_ACCESS.
9750         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
9751         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
9752         * libio/freopen.c (freopen): Likewise.
9753         * libio/freopen64.c (freopen64): Likewise.
9754         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
9755         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
9756         * libio/iofwide.c (_IO_fwide): Likewise.
9757         * libio/memstream.c (open_memstream): Likewise.
9758         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
9759         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
9760         * libio/oldiopopen.c (_IO_old_popen): Likewise.
9762 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
9764         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
9765         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
9766         NADJ.
9767         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
9768         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
9769         NADJ.
9770         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
9771         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
9772         NADJ.
9774         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
9775         (p == 4) case.
9777         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
9778         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
9779         Remove variable.
9780         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
9781         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
9782         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
9784 2015-05-21  Florian Weimer  <fweimer@redhat.com>
9786         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
9787         Adjust jump table label generation macros.
9789 2015-05-21  Florian Weimer  <fweimer@redhat.com>
9791         * stdio-common/vfprintf.c (vfprintf): Move local variables
9792         args_malloced, specs, specs_malloced, and the code after
9793         do_positional to the printf_positional function.
9794         (printf_positional): New function.
9796 2015-05-21  Florian Weimer  <fweimer@redhat.com>
9798         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
9799         function.
9800         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
9801         STEP4_TABLE, process_arg): Move macro definitions
9802         out of the vfprintf function.  (Cosmetic change only.)
9804 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
9806         * benchtests/Makefile (stdio-common-bench): Define.
9807         (benchset): Add stdio-common-bench.
9808         * sprintf-inputs: New file.
9809         * sprintf-source.c: New file.
9811 2015-05-21  Andreas Schwab  <schwab@suse.de>
9813         [BZ #13028]
9814         [BZ #17053]
9815         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
9816         of struct __res_state.
9817         * resolv/res_send.c (__libc_res_nsend): Likewise.
9818         (get_nsaddr): New function.
9819         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
9820         statp directly.
9822 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
9824         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
9825         -D_POSIX_C_SOURCE=199506L.
9827         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
9829         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
9830         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
9831         Do not mention otherwise.
9832         [POSIX] (_XOPEN_VERSION): Do not expect.
9833         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
9834         [POSIX] (_POSIX2_C_BIND): Likewise.
9835         [POSIX] (_POSIX2_VERSION): Likewise.
9836         [POSIX] (_XOPEN_XPG2): Likewise.
9837         [POSIX] (_XOPEN_XPG3): Likewise.
9838         [POSIX] (_XOPEN_XPG4): Likewise.
9839         [POSIX] (_XOPEN_UNIX): Likewise.
9840         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
9841         [POSIX] (_POSIX_BARRIERS): Likewise.
9842         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
9843         [POSIX] (_POSIX_CPUTIME): Likewise.
9844         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
9845         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
9846         [POSIX] (_POSIX_SHELL): Likewise.
9847         [POSIX] (_POSIX_SPAWN): Likewise.
9848         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
9849         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
9850         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
9851         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
9852         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
9853         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
9854         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
9855         [POSIX] (_XBS5_LP64_OFF64): Likewise.
9856         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
9857         [POSIX] (_POSIX_TIMEOUTS): Likewise.
9858         [POSIX] (_POSIX2_PBS): Likewise.
9859         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
9860         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
9861         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
9862         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
9863         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
9864         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
9865         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
9866         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
9867         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
9868         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
9869         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
9870         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
9871         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
9872         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
9873         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
9874         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
9875         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
9876         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
9877         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
9878         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
9879         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
9880         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
9881         [POSIX] (_SC_2_C_BIND): Likewise.
9882         [POSIX] (_SC_2_C_VERSION): Likewise.
9883         [POSIX] (_SC_2_PBS): Likewise.
9884         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
9885         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
9886         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
9887         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
9888         [POSIX] (_SC_2_PBS_TRACK): Likewise.
9889         [POSIX] (_SC_ATEXIT_MAX): Likewise.
9890         [POSIX] (_SC_BARRIERS): Likewise.
9891         [POSIX] (_SC_BASE): Likewise.
9892         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
9893         [POSIX] (_SC_DEVICE_IO): Likewise.
9894         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
9895         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
9896         [POSIX] (_SC_FD_MGMT): Likewise.
9897         [POSIX] (_SC_FIFO): Likewise.
9898         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
9899         [POSIX] (_SC_FILE_LOCKING): Likewise.
9900         [POSIX] (_SC_FILE_SYSTEM): Likewise.
9901         [POSIX] (_SC_IOV_MAX): Likewise.
9902         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
9903         [POSIX] (_SC_NETWORKING): Likewise.
9904         [POSIX] (_SC_PAGE_SIZE): Likewise.
9905         [POSIX] (_SC_PASS_MAX): Likewise.
9906         [POSIX] (_SC_PIPE): Likewise.
9907         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
9908         [POSIX] (_SC_REGEXP): Likewise.
9909         [POSIX] (_SC_SHELL): Likewise.
9910         [POSIX] (_SC_SIGNALS): Likewise.
9911         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
9912         [POSIX] (_SC_SPIN_LOCKS): Likewise.
9913         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
9914         [POSIX] (_SC_USER_GROUPS): Likewise.
9915         [POSIX] (_SC_USER_GROUPS_R): Likewise.
9916         [POSIX] (_SC_STREAMS): Likewise.
9917         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
9918         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
9919         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
9920         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
9921         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
9922         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
9923         [POSIX] (_PC_FILESIZEBITS): Likewise.
9924         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
9925         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
9926         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
9927         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
9928         [POSIX] (uid_t): Likewise.
9929         [POSIX] (gid_t): Likewise.
9930         [POSIX] (off_t): Likewise.
9931         [POSIX] (pid_t): Likewise.
9932         [POSIX] (cuserid): Allow.
9933         (_SC_2_CHAR_TERM): Require constant.
9934         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
9935         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
9936         variable.
9938 2015-05-20  Roland McGrath  <roland@hack.frob.com>
9940         * sysdeps/nacl/pthread-pids.h: New file.
9941         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
9942         (create_thread): Use __nacl_get_tid to initialize PD->tid.
9944         * nptl/pthread-pids.h: New file.
9945         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
9946         * nptl/nptl-init.c: Include <pthread-pids.h>.
9947         (__pthread_initialize_minimal_internal):
9948         Call __pthread_initialize_pids instead of set_tid_address syscall.
9950         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
9951         * sysdeps/posix/usleep.c: ... here.
9953 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9955         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
9956         call_pselect6 object.
9957         [$(subdir) = io]: Remove call_sync_file_range object.
9958         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
9959         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
9960         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
9961         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
9963 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
9965         * math/s_cproj.c: Add include "math_private.h".
9966         * math/s_cprojf.c: Likewise.
9967         * math/s_cprojl.c: Likewise.
9969 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
9971         [BZ #18244]
9972         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
9973         high mantissa bit when testing whether P is a NaN.
9974         * math/libm-test.inc (remainder_test_data): Add more tests.
9975         (remquo_test_data): Likewise.
9977         [BZ #18049]
9978         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
9979         below -32, return the argument, with underflow if subnormal.
9980         * math/auto-libm-test-in: Add more tests of atanh.
9981         * math/auto-libm-test-out: Regenerated.
9983 2015-05-19  Roland McGrath  <roland@hack.frob.com>
9985         [BZ #18434]
9986         * nptl/tst-sem15.c: New file.
9987         * nptl/Makefile (tests): Add it.
9988         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
9989         s/<</>>/ to fix typo in EOVERFLOW check.
9990         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
9992 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9994         * manual/strings.texi (envz_remove): Fix typo in safety
9995         annotations.
9997 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
9998             Steve Ellcey  <sellcey@imgtec.com>
10000         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
10001         in order to avoid strict alias warnings.
10002         (iruserok_af): Ditto for ra.
10004 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
10006         [BZ #17581]
10007         * malloc/hooks.c
10008         (magicbyte): Convert to a function and avoid returning 0x01.
10009         (mem2mem_check): Avoid using a length byte equal to the magic byte.
10010         (mem2chunk_check): Fix unsigned comparisons to zero.
10011         Hoist defs of sz and magic.
10013 2015-05-19  Richard Henderson  <rth@redhat.com>
10015         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
10017         * sysdeps/alpha/fpu/libm-test-ulps: Update.
10019 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10021         [BZ #16159]
10022         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
10023         * malloc/arena.c (arena_lock): Check if arena is corrupt.
10024         (reused_arena): Find a non-corrupt arena.
10025         (heap_trim): Pass arena to unlink.
10026         * malloc/hooks.c (malloc_check_get_size): Pass arena to
10027         malloc_printerr.
10028         (top_check): Likewise.
10029         (free_check): Likewise.
10030         (realloc_check): Likewise.
10031         * malloc/malloc.c (malloc_printerr): Add arena argument.
10032         (unlink): Likewise.
10033         (munmap_chunk): Adjust.
10034         (ARENA_CORRUPTION_BIT): New macro.
10035         (arena_is_corrupt): Likewise.
10036         (set_arena_corrupt): Likewise.
10037         (sysmalloc): Use mmap if there are no usable arenas.
10038         (_int_malloc): Likewise.
10039         (__libc_malloc): Don't fail if arena_get returns NULL.
10040         (_mid_memalign): Likewise.
10041         (__libc_calloc): Likewise.
10042         (__libc_realloc): Adjust for additional argument to
10043         malloc_printerr.
10044         (_int_free): Likewise.
10045         (malloc_consolidate): Likewise.
10046         (_int_realloc): Likewise.
10047         (_int_memalign): Don't touch corrupt arenas.
10048         * malloc/tst-malloc-backtrace.c: New test case.
10050         * Makefile (summarize-tests): Fix return value on success.
10052         * manual/string.texi (Envz Functions): Add envz_remove.
10054 2015-05-18  Roland McGrath  <roland@hack.frob.com>
10056         * sysdeps/posix/opendir.c: Include <stdbool.h>.
10057         (invalid_name): New function, broken out of ...
10058         (__opendirat): ... here.  Call it.
10059         (need_isdir_precheck): New function, broken out of ...
10060         (__opendirat): ... here.  Call it.
10061         Use __fxstatat64, not __xstatat64.
10062         (opendir_oflags): New function, broken out of ...
10063         (__opendirat): ... here.  Call it.
10064         (opendir_tail): New function, broken out of ...
10065         (__opendirat): ... here.  Call it.
10066         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
10067         opendir_tail, rather than punting to __opendirat.
10068         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
10070 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
10072         * .gitignore: Ignore generated *.pyc.
10074 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
10076         * include/stdio.h: Define __need_wint_t.
10077         * test-skeleton.c: Avoid `for' loop initial declaration.
10078         * nptl/tst-initializers1.c: Use test-skeleton.c.
10080 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10082         [BZ #18418]
10083         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
10085 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
10087         [BZ #16352]
10088         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
10089         (__ieee754_atanh): Force underflow exception for results with
10090         small absolute value.
10091         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
10092         (__ieee754_atanhf): Force underflow exception for results with
10093         small absolute value.
10094         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
10095         (__ieee754_atanh): Force underflow exception for results with
10096         small absolute value.
10097         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
10098         (__ieee754_atanhf): Force underflow exception for results with
10099         small absolute value.
10100         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
10101         (__ieee754_atanhl): Force underflow exception for results with
10102         small absolute value.
10103         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
10104         (__ieee754_atanhl): Force underflow exception for results with
10105         small absolute value.
10106         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
10107         (__ieee754_atanhl): Force underflow exception for results with
10108         small absolute value.
10109         * math/auto-libm-test-in: Do not allow missing underflow
10110         exceptions from atanh.
10111         * math/auto-libm-test-out: Regenerated.
10113         [BZ #18221]
10114         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
10115         2**-28 as threshold for returning x or +/- 1/x.
10116         * math/auto-libm-test-in: Add more tests of tan.
10117         * math/auto-libm-test-out: Regenerated.
10119         [BZ #18220]
10120         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10121         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
10122         * math/auto-libm-test-in: Add another test of lgamma.
10123         * math/auto-libm-test-out: Regenerated.
10125 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
10127         * stdio-common/printf_fp.c (___printf_fp): Use abs.
10128         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
10129         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
10130         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
10131         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
10132         (ADD2A): Use fabs.  (SUB2A): Use fabs.
10133         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
10134         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
10135         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
10136         (log1): Use fabs.  (my_log2): Use fabs.
10137         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
10138         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
10139         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
10140         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
10141         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
10142         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
10143         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
10144         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
10145         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
10146         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
10147         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
10149 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
10151         [BZ #18217]
10152         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
10153         as threshold for returning 1 - x.
10154         * math/auto-libm-test-in: Add more tests of erfc.
10155         * math/auto-libm-test-out: Regenerated.
10157 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
10159         [BZ #18196]
10160         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
10161         threshold for large arguments.
10162         * math/auto-libm-test-in: Add another test of atan.
10163         * math/auto-libm-test-out: Regenerated.
10165         [BZ #16339]
10166         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
10167         (__log1p): Force underflow exception for results with small
10168         absolute value.
10169         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
10170         (__log1pf): Force underflow exception for results with small
10171         absolute value.
10172         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
10173         (__log1p): Force underflow exception for results with small
10174         absolute value.
10175         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
10176         (__log1pf): Force underflow exception for results with small
10177         absolute value.
10178         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
10179         (__log1pl): Force underflow exception for results with small
10180         absolute value.
10181         * math/auto-libm-test-in: Do not allow missing underflow
10182         exceptions from log1p.
10183         * math/auto-libm-test-out: Regenerated.
10185 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
10186             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10188         [BZ #16704]
10189         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
10191 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
10193         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
10194         (libmvec): New variable.
10195         * configure.ac: Added option for mathvec build.
10196         * configure: Regenerated.
10197         * mathvec/Depend: New file.
10198         * mathvec/Makefile: New file.
10199         * shlib-versions: Added libmvec.
10200         * math/Makefile: Added rule for libm.so installation.
10202         * bits/math-vector.h: New file.
10203         * bits/libm-simd-decl-stubs.h: New header.
10204         * math/Makefile (headers): Added new header
10205         libm-simd-decl-stubs.h.
10206         * math/math.h (__MATHCALL_VEC): New macro.
10208         * math/gen-libm-have-vector-test.sh: Script generates series of macros
10209         for conditions in testing functions.
10210         * math/Makefile: Added call of libm-have-vector-test.sh.
10211         * math/libm-test.inc (HAVE_VECTOR): New macros.
10213         * math/libm-test.inc: START refactored.
10214         * math/test-double.c (TEST_MATHVEC): Add define.
10215         * math/test-float.c: Likewise.
10216         * math/test-idouble.c: Likewise.
10217         * math/test-ifloat.c: Likewise.
10218         * math/test-ildoubl.c: Likewise.
10219         * math/test-ldouble.c: Likewise.
10220         * sysdeps/generic/math-tests-arch.h
10221         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
10222         architecture check.
10224         * math/test-double.c (FUNC_TEST): New macro.
10225         * math/test-float.c: Likewise.
10226         * math/test-idouble.c: Likewise.
10227         * math/test-ifloat.c: Likewise.
10228         * math/test-ildoubl.c: Likewise.
10229         * math/test-ldouble.c: Likewise.
10230         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
10232 2015-05-13  Roland McGrath  <roland@hack.frob.com>
10234         * sysdeps/nacl/fdopendir.c: New file.
10236         * dirent/scandir-tail.c: New file.
10237         * dirent/scandir64-tail.c: New file.
10238         * dirent/Makefile (routines): Add them.
10239         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
10240         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
10241         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
10242         [!SCANDIR] (SCANDIR_TAIL): New macro.
10243         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
10244         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
10245         (SCANDIRAT): Macro removed.
10246         (SCANDIR_TAIL): New macro.
10247         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
10248         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
10249         (SCANDIRAT): Just call __opendirat and __scandir_tail.
10250         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
10251         (READDIR): Macro removed.
10252         (SCANDIR_TAIL): New macro.
10253         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
10254         (SCANDIR_TAIL): New macro.
10256         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
10257         * dirent/scandir-cancel.c: ... to this new file.
10258         * dirent/Makefile (routines): Add it.
10259         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
10260         * sysdeps/unix/sysv/linux/i386/scandir64.c
10261         (SKIP_SCANDIR_CANCEL): Macro removed.
10262         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
10264         * dirent/tst-scandir.c: New file.
10265         * dirent/tst-scandir64.c: New file.
10266         * dirent/Makefile (tests): Add them.
10268 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
10270         [BZ #18409]
10271         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
10273 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10275         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
10276         list.
10278 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
10280         * benchtests/bench-strcoll.c: New benchmark.
10281         * benchtests/Makefile: Generate locales and run benchmark.
10282         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
10283         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
10284         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
10285         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
10286         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
10287         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
10288         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
10289         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
10290         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
10291         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
10292         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
10293         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
10294         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
10295         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
10296         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
10297         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
10298         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
10299         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
10300         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
10301         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
10302         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
10303         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
10304         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
10305         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
10307 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
10309         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
10310         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10312 2015-05-12  Roland McGrath  <roland@hack.frob.com>
10314         * posix/uname-values.h: New file.
10315         * posix/uname.c: Include that instead of <config-name.h>.
10316         * sysdeps/nacl/uname-values.h: New file.
10317         * sysdeps/arm/nacl/uname-values.h: New file.
10319 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
10321         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
10322         splitting into fields.
10324 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
10326         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
10327         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
10328         * locale/localeinfo.h: Add enum collation_encoding_type.
10329         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
10330         * programs/ld-collate.c (collate_output): Add encoding type info.
10331         * string/strcoll_l.c (STRDIFF): New function.
10332         * (STRCOLL): Use STRDIFF to skip over equal prefix.
10333         * wcsmbs/wcscoll_l.c: Define STRDIFF.
10335 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
10337         [BZ #18397]
10338         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
10339         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
10340         <fpu_control.h> instead of <math/fpu_control.c>.
10341         * sysdeps/mips/mips32/fpu/Makefile: New file.
10343 2015-05-11  Andreas Schwab  <schwab@suse.de>
10345         [BZ #18007]
10346         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
10347         nss_endgrent.
10348         (_nss_compat_endgrent): Call nss_endgrent.
10349         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
10350         nss_endpwent.
10351         (_nss_compat_endpwent): Call nss_endpwent.
10352         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
10353         needent, call nss_setspent only if non-zero.
10354         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
10355         (internal_endspent): Don't call nss_endspent.
10356         (_nss_compat_endspent): Call nss_endspent.
10357         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
10358         Remove.  All uses removed.
10359         (internal_setent): Remove parameter stayopen, add parameter
10360         stream.  Use it instead of global variable.
10361         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
10362         (internal_endent, internal_getent): Add parameter stream.  Use it
10363         instead of global variable.
10364         (CONCAT(_nss_files_end,ENTNAME))
10365         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
10366         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
10367         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
10368         uses removed.
10369         (internal_setent, internal_endent): Add parameter stream.  Use it
10370         instead of global variable.
10371         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
10372         stream.
10373         (get_next_alias): Add parameter stream.
10374         (_nss_files_getaliasent_r): Pass global stream.
10375         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
10376         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
10377         (_nss_files_gethostbyname4_r): Pass local stream to
10378         internal_setent, internal_getent and internal_endent.  Remove
10379         locking.
10381 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10383         * tst-strfmon1.c (tests): Update expected currency symbol.
10385 2015-05-08  Roland McGrath  <roland@hack.frob.com>
10387         * sysdeps/nacl/gethostname.c: New file.
10389 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
10391         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
10392         and sinh.
10393         * math/auto-libm-test-out: Regenerated.
10394         * sysdeps/i386/fpu/libm-test-ulps: Update.
10395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10397 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
10399         [BZ #18125]
10400         * stdlib/tst-setcontext3.c: New file.
10401         * stdlib/tst-setcontext3.sh: New file.
10402         * stdlib/Makefile (tests): Add tst-setcontext3.
10403         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
10404         to verify test program created output file.
10405         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
10406         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
10407         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
10408         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
10410 2015-05-06  Roland McGrath  <roland@hack.frob.com>
10412         [BZ #18383]
10413         * elf/tst-tlsalign.c: New file.
10414         * elf/tst-tlsalign-static.c: New file.
10415         * elf/tst-tlsalign-lib.c: New file.
10416         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
10417         (tests-static): Add tst-tlsalign-static.
10418         (modules-names): Add tst-tlsalign-lib.
10419         (test-xfail-tst-tlsalign): New variable.
10420         (test-xfail-tst-tlsalign-static): New variable.
10422         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
10423         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
10425 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
10427         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
10428         csqrt, erfc, sin and sincos.
10429         * math/auto-libm-test-out: Regenerated.
10430         * sysdeps/i386/fpu/libm-test-ulps: Update.
10431         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10433 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10435         * sysdeps/aarch64/libm-test-ulps: Update.
10437 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
10439         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
10440         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
10441         * math/auto-libm-test-out: Regenerated.
10442         * sysdeps/i386/fpu/libm-test-ulps: Update.
10443         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10445 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
10447         [BZ #18265]
10448         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
10449         (wcsncpy): Likewise.
10451 2015-05-05  Florian Weimer  <fweimer@redhat.com>
10453         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10454         Assume __ASSUME_FALLOCATE is always true.
10455         * sysdeps/unix/sysv/linux/posix_fallocate64.c
10456         (__posix_fallocate64_l64): Likweise.
10457         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
10458         (posix_fallocate): Likewise.
10459         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
10460         (__posix_fallocate64_l64): Likewise.
10461         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10462         [!__ASSUME_FALLOCATE]: Add comment.
10464 2015-05-05  Florian Weimer  <fweimer@redhat.com>
10466         * sysdeps/unix/sysv/linux/i386/Makefile
10467         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
10468         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
10469         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
10470         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
10471         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
10472         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
10473         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
10475 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
10477         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
10478         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
10479         tgamma.
10480         * math/auto-libm-test-out: Regenerated.
10481         * sysdeps/i386/fpu/libm-test-ulps: Update.
10482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10484 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
10486         * math/auto-libm-test-in: Add more tests of tgamma.
10487         * math/auto-libm-test-out: Regenerated.
10488         * sysdeps/i386/fpu/libm-test-ulps: Update.
10489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10491         * math/auto-libm-test-in: Add more tests of tanh.
10492         * math/auto-libm-test-out: Regenerated.
10493         * sysdeps/i386/fpu/libm-test-ulps: Update.
10494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10496         * math/auto-libm-test-in: Add more tests of tan.
10497         * math/auto-libm-test-out: Regenerated.
10498         * sysdeps/i386/fpu/libm-test-ulps: Update.
10499         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10501         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
10502         * math/auto-libm-test-out: Regenerated.
10503         * sysdeps/i386/fpu/libm-test-ulps: Update.
10504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10506         * math/auto-libm-test-in: Add another test of pow.
10507         * math/auto-libm-test-out: Regenerated.
10508         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10510         * math/auto-libm-test-in: Add more tests of lgamma.
10511         * math/auto-libm-test-out: Regenerated.
10512         * sysdeps/i386/fpu/libm-test-ulps: Update.
10513         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10515         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
10516         log1p.
10517         * math/auto-libm-test-out: Regenerated.
10518         * sysdeps/i386/fpu/libm-test-ulps: Update.
10519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10521 2015-05-01  Mark Wielaard  <mjw@redhat.com>
10523         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
10524         Elf64_Chdr structs and ELFCOMPRESS constants.
10526 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
10528         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
10529         expm1.
10530         * math/auto-libm-test-out: Regenerated.
10531         * sysdeps/i386/fpu/libm-test-ulps: Update.
10532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10534         * math/auto-libm-test-in: Add more tests of erf and erfc.
10535         * math/auto-libm-test-out: Regenerated.
10536         * sysdeps/i386/fpu/libm-test-ulps: Update.
10537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10539 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10541         * config.h.in (HAVE_AARCH64_BE): Add.
10543 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
10545         * math/auto-libm-test-in: Add more tests of csqrt.
10546         * math/auto-libm-test-out: Regenerated.
10547         * sysdeps/i386/fpu/libm-test-ulps: Update.
10548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10550         * math/auto-libm-test-in: Add more tests of cosh and sinh.
10551         * math/auto-libm-test-out: Regenerated.
10552         * sysdeps/i386/fpu/libm-test-ulps: Update.
10553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10555         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
10557 2015-04-29  Roland McGrath  <roland@hack.frob.com>
10559         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
10560         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
10562         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
10563         (euidaccess, eaccess): Define as weak aliases.
10565         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
10566         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
10567         but __suseconds_t is often 'long int' so some sources assume that
10568         type is being used (e.g. they use %ld to print tv_usec).
10570 2015-04-29  Florian Weimer  <fweimer@redhat.com>
10572         [BZ #18007]
10573         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
10574         (CVE-2014-8121)
10575         * nss/tst-nss-getpwent.c: New file.
10576         * nss/Makefile (tests): Add new test.
10578 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
10580         [BZ #18346]
10581         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
10582         exponents less than 48 as cases where high part of mantissa needs
10583         examining to determine whether argument is integral.
10584         * math/libm-test.inc (round_test_data): Add more tests.
10586 2015-04-28  Mark Wielaard  <mjw@redhat.com>
10588         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
10590 2015-04-27  David S. Miller  <davem@davemloft.net>
10592         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
10593         __tls_get_addr.
10594         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
10596 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
10598         [BZ#18333]
10599         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
10601 2015-04-27  Florian Weimer  <fweimer@redhat.com>
10603         [BZ#18333]
10604         * time/tzset.c (parse_tzname): Return error on memory allocation
10605         failure.
10606         * test-skeleton.c (struct temp_name_list): Change type of name
10607         member to non-const.
10608         (add_temp_file): Create a copy of the file name.
10609         (delete_temp_files): Deallocate memory.
10610         (create_temp_file): Add comment.
10612 2015-04-24  Florian Weimer  <fweimer@redhat.com>
10614         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
10615         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
10617 2015-04-24  Roland McGrath  <roland@hack.frob.com>
10619         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
10620         * sysdeps/arm/configure: Regenerated.
10622 2015-04-24  Florian Weimer  <fweimer@redhat.com>
10624         [BZ #17715]
10625         * time/tzfile.c (__tzfile_read): Check for large values of
10626         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
10627         * time/tzset.c (__tzstring_len): New function, based on the old
10628         __tzstring function.
10629         (__tzstring): Call __tzstring_len.
10630         (parse_tzname): New helper function extracted from
10631         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
10632         the input string.
10633         (parse_offset): New helper function extracted from
10634         __tzset_parse_tz.  Replace switch with fallthrough with
10635         initialization before sscanf.
10636         (parse_rule): Likewise.
10637         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
10638         new-style function definition.
10639         * timezone/Makefile (tests): Add tst-tzset.
10640         (tst-tzset.out): Dependencies on time zone files.
10641         (tst-tzset-ENV): Set TZDIR.
10642         (testdata/XT%): Copy crafted time zone files.
10643         * timezone/README: Mention crafted time zone files.
10644         * timezone/testdata/XT1, timezone/testdata/XT2,
10645         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
10646         files.
10647         * timezone/tst-tzset.c: New test.
10649 2015-04-24  Florian Weimer  <fweimer@redhat.com>
10651         * Makeconfig (+gccwarn): Remove -Winline.
10653 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10655         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
10657 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10659         * NEWS: Mention sysconf() cache information support for s390.
10660         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
10662 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
10664         * math/k_casinh.c (__kernel_casinh): Use __copysign.
10665         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
10666         (__nearbyint): Likewise.
10667         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
10668         (copysignl): Likewise.
10670 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
10672         [BZ #18287]
10673         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
10674         based on padding.  (CVE-2015-1781)
10676 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10678         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
10679         libc-vdso.h.
10680         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
10681         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
10682         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
10683         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
10684         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
10685         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
10686         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
10687         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
10688         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
10689         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
10690         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
10691         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
10692         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
10693         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
10694         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
10695         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
10696         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
10697         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
10698         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
10699         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
10700         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
10701         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
10702         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
10704 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
10706         * stdlib/setenv.c (__add_to_environ):
10707         Dump core quickly if setenv (..., NULL, ...) is called.
10708         This time, do it the right way, and pacify GCC with a pragma.
10710 2015-04-17  Roland McGrath  <roland@hack.frob.com>
10712         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
10713         IMAP->l_prev cannot be null, and #if out the code for the contrary
10714         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
10715         believe that NS (&_dl_ns[NSID]) could point outside the array.
10717         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
10718         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
10719         before using NSID as an index.
10721 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
10723         [BZ #17825]
10724         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
10725         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
10726         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
10728 2015-04-17  Roland McGrath  <roland@hack.frob.com>
10730         Add preliminary port to Google Native Client on ARM.
10731         * abi-tags (.*-.*-nacl.*): New entry.
10732         * sysdeps/arm/nacl: New directory.
10733         * sysdeps/nacl: New directory.
10735 2015-04-16  David S. Miller  <davem@davemloft.net>
10737         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
10738         lowlevellock-futex.h
10740 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
10742         * sysdeps/tile/configure.ac: New file.
10743         * sysdeps/tile/configure: Regenerated.
10745 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10747         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
10748         conditionals for weak_alias and libc_hidden_weak.
10749         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
10750         libc_hidden_weak and weak_alias.
10751         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
10752         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
10753         and weak_alias for static one.
10755 2015-04-15  David S. Miller  <davem@davemloft.net>
10757         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
10759 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10761         [BZ #18206]
10762         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
10763           Use signed comparision instead of substraction to avoid
10764           overflow bug.
10765         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
10766           Take the sign of ret.
10767         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
10768           Do not expect precise return values. Only the sign matters.
10769         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
10770         * wcsmbs/test-wcsncmp.c: New File.
10771         * string/test-strncmp.c: Add wcsncmp support.
10773 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10775         [BZ #6792]
10776         * math/w_log1p.c: New file.
10777         * math/w_log1pf.c: Likewise.
10778         * math/w_log1pl.c: Likewise.
10779         * math/Makefile (libm-calls): Add w_log1p.
10780         * math/s_log1pl.c (log1pl): Remove weak_alias.
10781         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
10782         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
10783         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
10784         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
10785         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
10786         [NO_LONG_DOUBLE] (log1pl): Likewise.
10787         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
10788         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
10789         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
10790         (log1p): Remove long_double_symbol.
10791         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
10792         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
10793         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
10794         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
10795         remove weak_alias for corresponding log1p function.
10796         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
10797         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
10798         * sysdeps/ia64/fpu/w_log1p.c: New file.
10799         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
10800         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
10801         * math/libm-test.inc (log1p_test_data): Add errno expectations.
10803 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
10805         [BZ #18247]
10806         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
10807         decimal exponent by 1.
10808         * stdlib/tst-strtod-round-data: Add more tests.
10809         * stdlib/tst-strtod-round.c (tests): Regenerated.
10811 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
10813         * math/auto-libm-test-in: Add more tests of clog and clog10.
10814         * math/auto-libm-test-out: Regenerated.
10815         * sysdeps/i386/fpu/libm-test-ulps: Update.
10816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10818 2015-04-09  Roland McGrath  <roland@hack.frob.com>
10820         * Makeconfig (module-cppflags): Exclude all .v.i files.
10821         (skip-module-cppflags): Variable removed.
10823         * configure.ac (libc_config_ok): Initialize before reading
10824         preconfigure scripts, not after.
10825         * configure: Regenerated.
10827         * test-skeleton.c (TIMEOUT): Move #define to top level.
10828         (main): Grok environment variable TEST_DIRECT.  If set, print
10829         test expectation details into that file and then behave as if
10830         given --direct.
10832 2015-04-09  Florian Weimer  <fweimer@redhat.com>
10834         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
10835         warning on 32-bit.
10837 2015-04-08  David S. Miller  <davem@davemloft.net>
10839         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10841 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
10843         * math/auto-libm-test-in: Add more tests of atanh.
10844         * math/auto-libm-test-out: Regenerated.
10845         * sysdeps/i386/fpu/libm-test-ulps: Update.
10846         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10848         * math/auto-libm-test-in: Add more tests of atan.
10849         * math/auto-libm-test-out: Regenerated.
10850         * sysdeps/i386/fpu/libm-test-ulps: Update.
10851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10853 2015-04-08  Florian Weimer  <fweimer@redhat.com>
10855         * elf/pldd.c (main): Rewrite to use struct
10856         scratch_buffer instead of extend_alloca.
10857         * elf/pldd-xx.c (find_maps): Likewise.
10858         * grp/initgroups.c: Include <scratch_buffer.h> instead of
10859         <alloca.h>.
10860         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
10861         scratch_buffer instead of extend_alloca.
10862         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
10863         grp/compat-initgroups.c.
10864         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
10865         Rewrite to use struct scratch_buffer instead of extend_alloca.
10866         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
10867         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10869 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
10871         * math/auto-libm-test-in: Add more tests of cbrt.
10872         * math/auto-libm-test-out: Regenerated.
10873         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10875         * math/auto-libm-test-in: Add more tests of cabs.
10876         * math/auto-libm-test-out: Regenerated.
10877         * sysdeps/i386/fpu/libm-test-ulps: Update.
10878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10880         [BZ #18210]
10881         [BZ #18211]
10882         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
10883         (__ieee754_atan2): Set FE_TONEAREST mode for internal
10884         computations.
10885         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
10886         clog10.
10887         * math/auto-libm-test-out: Regenerated.
10888         * sysdeps/i386/fpu/libm-test-ulps: Update.
10889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10891         [BZ #18197]
10892         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
10893         (atan): Set FE_TONEAREST mode for internal computations.
10894         * math/auto-libm-test-in: Add more tests of atan.
10895         * math/auto-libm-test-out: Regenerated.
10897 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
10899         [BZ #17930]
10900         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
10902 2015-04-07  Florian Weimer  <fweimer@redhat.com>
10904         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
10906 2015-04-07  Florian Weimer  <fweimer@redhat.com>
10908         * include/scratch_buffer.h: New file.
10909         * malloc/scratch_buffer_grow.c: Likewise.
10910         * malloc/scratch_buffer_grow_preserve.c: Likewise.
10911         * malloc/scratch_buffer_set_array_size.c: Likewise.
10912         * malloc/tst-scratch_buffer.c: Likewise.
10913         * malloc/Makefile (routines): Add scratch_buffer_grow.
10914         (tests): Add test case.
10915         * malloc/Versions (GLIBC_PRIVATE): Export
10916         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
10917         __libc_scratch_buffer_set_array_size.
10919 2015-04-06  Richard Henderson  <rth@redhat.com>
10921         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
10922         * sysdeps/alpha/fpu/libm-test-ulps: Update.
10924         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
10925         unsigned int before printing.
10927 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10929         [BZ #17596]
10930         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
10931         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10933 2015-04-02  Florian Weimer  <fweimer@redhat.com>
10935         * include/libc-internal.h (libc_max_align_t): Define.
10937 2015-04-02  Andreas Schwab  <schwab@suse.de>
10939         [BZ #16850]
10940         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
10942 2015-04-02  Mel Gorman  <mgorman@suse.de>
10944         [BZ #17195]
10945         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
10946         as well as the main arena.
10948 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
10950         [BZ #18185]
10951         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
10952         sharing L2 cache to 2 for Silvermont/Knights Landing.
10954 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
10956         [BZ #17711]
10957         * config.make.in (have-protected-data): New.
10958         * configure.ac: Check linker support for protected data symbol.
10959         * configure: Regenerated.
10960         * elf/Makefile (modules-names): Add tst-protected1moda and
10961         tst-protected1modb if $(have-protected-data) is yes.
10962         (tests): Add tst-protected1a and tst-protected1b if
10963         $(have-protected-data) is yes.
10964         ($(objpfx)tst-protected1a): New.
10965         ($(objpfx)tst-protected1b): Likewise.
10966         (tst-protected1modb.so-no-z-defs): Likewise.
10967         * elf/tst-protected1a.c: New file.
10968         * elf/tst-protected1b.c: Likewise.
10969         * elf/tst-protected1mod.h: Likewise.
10970         * elf/tst-protected1moda.c: Likewise.
10971         * elf/tst-protected1modb.c: Likewise.
10973 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
10975         [BZ #17711]
10976         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
10977         indicates it is called from do_lookup_x on relocation against
10978         protected data, skip the data definion in the executable from
10979         copy reloc.
10980         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
10981         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
10982         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
10983         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
10984         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
10985         otherwise to 0.
10986         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
10987         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
10988         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
10989         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
10990         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
10991         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
10993 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
10995         * sysdeps/nptl/pthread.h: Remove duplicate definition of
10996         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
10998 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
11000         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
11001         THREAD_SETMEM_NC.
11002         * sysdeps/x86_64/nptl/tls.h: Ditto.
11004 2015-03-27  Roland McGrath  <roland@hack.frob.com>
11006         * dlfcn/tststatic.c (main): Converted to ...
11007         (do_test): ... this.
11008         (TEST_FUNCTION): New macro.
11009         Include test-skeleton.c.
11011 2015-03-26  Alan Modra  <amodra@gmail.com>
11013         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
11014         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
11015         zero for undefined weak.
11016         (elf_machine_plt_conflict): Similarly.
11018 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
11020         * math/auto-libm-test-in: Add more tests of acosh, asinh and
11021         atanh.
11022         * math/auto-libm-test-out: Regenerated.
11023         * sysdeps/i386/fpu/libm-test-ulps: Update.
11024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11026         * math/auto-libm-test-in: Add another test of asin.
11027         * math/auto-libm-test-out: Regenerated.
11028         * sysdeps/i386/fpu/libm-test-ulps: Update.
11029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11031         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
11032         Remove macro.
11033         (LLL_EBX_REG): Likewise.
11034         (LLL_ENTER_KERNEL): Likewise.
11036         * math/auto-libm-test-in: Add more tests of asin.
11037         * math/auto-libm-test-out: Regenerated.
11038         * sysdeps/i386/fpu/libm-test-ulps: Update.
11039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11041         [BZ #18138]
11042         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
11043         libc_do_syscall_args): New structure.
11044         (INTERNAL_SYSCALL_MAIN_0): New macro.
11045         (INTERNAL_SYSCALL_MAIN_1): Likewise.
11046         (INTERNAL_SYSCALL_MAIN_2): Likewise.
11047         (INTERNAL_SYSCALL_MAIN_3): Likewise.
11048         (INTERNAL_SYSCALL_MAIN_4): Likewise.
11049         (INTERNAL_SYSCALL_MAIN_5): Likewise.
11050         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
11051         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
11052         Replace conditional definitions by conditional definitions of ....
11053         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
11054         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
11055         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
11056         (libpthread-sysdep_routines): Add libc-do-syscall.
11057         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
11058         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
11059         to __NR_futex not 240.
11061 2015-03-25  Alan Modra  <amodra@gmail.com>
11063         * NEWS: Advertise TLS optimization.
11064         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
11065         (DT_PPC_NUM): Increment.
11066         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
11067         (CHECK_STATIC_TLS): Use here.
11068         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
11069         TLS descriptors.
11070         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11071         * sysdeps/powerpc/dl-tls.c: New file.
11072         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
11073         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
11074         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
11075         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
11076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
11077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
11078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
11080 2015-03-25  Alan Modra  <amodra@gmail.com>
11082         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
11083         for overlapping .opd entries" to "support...".
11084         * sysdeps/powerpc/powerpc64/configure: Regenerate
11086 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
11088         * math/auto-libm-test-in: Add more tests of acos.
11089         * math/auto-libm-test-out: Regenerated.
11090         * sysdeps/i386/fpu/libm-test-ulps: Update.
11091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11093         * math/auto-libm-test-in: Add more tests of expm1.
11094         * math/auto-libm-test-out: Regenerated.
11095         * sysdeps/i386/fpu/libm-test-ulps: Update.
11096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11098 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
11100         * math/auto-libm-test-in: Add more tests of cosh and sinh.
11101         * math/auto-libm-test-out: Regenerated.
11102         * sysdeps/i386/fpu/libm-test-ulps: Update.
11103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11105         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11108         * math/auto-libm-test-in: Add more tests of log2.
11109         * math/auto-libm-test-out: Regenerated.
11110         * sysdeps/i386/fpu/libm-test-ulps: Update.
11111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11113 2015-03-23  Roland McGrath  <roland@hack.frob.com>
11115         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
11116         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
11117         _IO_IS_APPENDING bit in READ_WRITE instead.
11119 2015-03-23  Florian Weimer  <fweimer@redhat.com>
11121         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
11122         (__determine_cpumask_size): Replace extend_alloca with a
11123         variable-length array.  Do not treat res == 0 as an error.
11125 2015-03-23  Florian Weimer  <fweimer@redhat.com>
11127         [BZ #18100]
11128         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
11129         and integer overflow.
11130         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
11131         (main): Add integer overflow tests.
11132         * manual/pattern.texi (Calling Wordexp): Document additional use
11133         for WRDE_SYNTAX.
11135 2015-03-23  Alan Modra  <amodra@gmail.com>
11137         * config.h.in: Remove HAVE_ASM_PPC_REL16.
11138         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
11139         and false branch of conditional.
11140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
11141         Likewise.
11143 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
11145         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
11146         libc-modules.h
11147         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
11148         unused declaration of _hurd_intr_rpc_msg_in_trap.
11149         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
11150         defined instead of whether it is non-zero.
11151         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
11152         input constraint instead of both input and output constraint.  Use ecx
11153         clobber instead of %ecx.
11154         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
11155         mutex_unlock): Use a statement expression instead of an expression list.
11156         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
11157         type to vm_size_t instead of vm_address_t.
11158         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
11159         defined instead of whether it is non-zero.
11160         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
11161         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
11162         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
11163         comparisons with mapaddr.
11164         * nscd/nscd-client.h: Include <time.h>.
11165         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
11166         9th parameter to __vm_region instead of int.
11167         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
11168         * scripts/check-local-headers.sh (exclude): Add device/,
11169         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
11170         cthreads.h.
11172 2015-03-19  Roland McGrath  <roland@hack.frob.com>
11174         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
11175         to account for alignment padding.
11176         * sysdeps/arm/memmove.S: Likewise.
11178 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
11180         * sysdeps/unix/sysv/linux/generic/README: New file.
11182 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
11184         [BZ #18138]
11185         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
11186         (futex_abstimed_wait)
11187         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
11188         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
11189         of lll_futex_timed_wait.
11191 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
11193         [BZ #17542]
11194         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
11196 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
11198         [BZ #17090]
11199         [BZ #17620]
11200         [BZ #17621]
11201         [BZ #17628]
11202         * NEWS: Update.
11203         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
11204         entries with Static TLS too.  Skip entries past the end of the
11205         allocated DTV, from Alan Modra.
11206         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
11207         Static TLS DTV entry set up from...
11208         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
11209         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
11210         * nptl/allocatestack.c (init_one_static_tls): ... and here...
11211         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
11212         for Static TLS.
11213         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
11214         that the slot we find is associated with the given map before
11215         using its generation count.
11216         * nptl_db/db_info.c: Include ldsodefs.h.
11217         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
11218         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
11219         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
11220         (link_map::l_tls_offset): New struct field.
11221         (dtv_t::counter): Likewise.
11222         (rtld_global): New struct.
11223         (_rtld_global): New rtld variable.
11224         (dl_tls_dtv_slotinfo_list): New rtld global field.
11225         (dtv_slotinfo_list): New struct.
11226         (dtv_slotinfo): Likewise.
11227         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
11228         (td_lookup): Rename to...
11229         (td_mod_lookup): ... this.  Use new mod parameter instead of
11230         LIBPTHREAD_SO.
11231         * nptl_db/td_thr_tlsbase.c: Include link.h.
11232         (dtv_slotinfo_list, dtv_slotinfo): New functions.
11233         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
11234         addresses even if the DTV is out of date or missing them.
11235         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
11236         index zero-length arrays.
11237         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
11238         (td_lookup): Make it a macro implemented in terms of...
11239         (td_mod_lookup): ... this declaration.
11240         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
11241         (DB_MAIN_VARIABLE): Likewise.
11243 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
11245         [BZ #18134]
11246         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
11248 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
11250         * stdlib/setenv.c (__add_to_environ): Revert previous change.
11252 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
11254         [BZ #18128]
11255         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
11256         (atomic_add, atomic_increment_and_test)
11257         (atomic_decrement_and_test): Fix 64-bit arithmetic.
11259 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
11261         * stdlib/setenv.c (__add_to_environ):
11262         Dump core quickly if setenv (..., NULL, ...) is called.
11264 2015-03-13  Roland McGrath  <roland@hack.frob.com>
11266         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
11267         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
11268         all the necessary asm magic in one place.
11269         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
11270         using those.
11272 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
11274         [BZ #14906]
11275         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
11276         traced file mtime. Use consistent log message.
11277         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
11278         (register_traced_file): Call install_watches. Always set mtime.
11279         (invalidate_cache): Iterate over all trace files. Call install_watches.
11280         (inotify_check_files): Don't inline. Handle watching parent
11281         directories and configuration file movement in and out.
11282         (handle_inotify_events): New function.
11283         (main_loop_poll): Call handle_inotify_events.
11284         (main_loop_epoll): Likewise.
11285         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
11286         (struct traced_file): Use array of inotify fds. Add parent directory,
11287         and basename.
11288         (struct database_dyn): Remove unused file_mtime.
11289         (init_traced_file): New inline function.
11290         (define_traced_file): New macro.
11291         * nss/nss_db/db-init.c: Use define_traced_file.
11292         (_nss_db_init): Use init_traced_file.
11293         * nss/nss_files/files-init.c: Use define_traced_file.
11294         (_nss_files_init): Use init_traced_file.
11296 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
11298         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
11299         [_LIBC]: Do not include <stdlib.h>.
11300         [!_LIBC] (abort): Remove declaration.
11301         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
11302         _FP_STATIC_ASSERT instead of conditionally calling abort.
11303         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
11304         (_FP_EXTEND_CNAN): Likewise.
11305         (FP_TRUNC): Likewise.
11306         (__FP_CLZ): Likewise.
11307         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
11309 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
11311         * manual/string.texi (XPG basename): Fix prototype.
11313 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
11315         [BZ #18080]
11316         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
11317         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
11318         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
11319         (__setcontext): Likewise.
11320         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
11321         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
11322         Call rt_sigprocmask syscall one time to set new signal mask
11323         and retrieve the current signal mask instead of two calls.
11324         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
11325         (__swapcontext): Likewise.
11326         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
11327         * stdlib/tst-setcontext2.c: New file.
11329 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
11331         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11333 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
11335         [BZ #18093]
11336         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
11337         the wrong size.
11339 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
11341         [BZ #18043]
11342         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
11344 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
11346         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
11347         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
11348         Remove define.
11349         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
11350         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
11351         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
11352         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
11353         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
11354         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
11355         define.
11356         * nptl_db/td_symbol_list.c (td_lookup): Remove
11357         HAVE_ASM_GLOBAL_DOT_NAME code.
11358         * sysdeps/powerpc/powerpc64/configure.ac: Remove
11359         HAVE_ASM_GLOBAL_DOT_NAME check.
11360         * sysdeps/powerpc/powerpc64/configure: Regenerate.
11361         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
11362         (DOT_LABEL): Remove define.
11363         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
11364         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
11365         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
11366         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
11367         (__TLS_GET_ADDR): Likewise.
11368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
11369         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
11371 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
11373         [BZ #18111]
11374         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
11375         (_FPU_SETCW): Initialize cw from fpsr before storing.
11376         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
11377         (fesetexceptflag): Rewrite using fpu_control.h.
11378         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
11380 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
11382         [BZ #18110]
11383         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
11384         asms.
11385         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
11387 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
11389         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
11390         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
11391         abort.
11392         (_FP_FMA): Likewise.
11393         (_FP_DIV): Likewise.
11395 2015-03-10  Roland McGrath  <roland@hack.frob.com>
11397         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
11398         with 0 in that case.
11399         * Makefile (summarize-tests): New canned sequence, factored out of
11400         commands for targets tests and xtests.  Display summary lines that
11401         don't start with PASS: or XFAIL: rather than ones that do start with
11402         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
11403         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
11404         do start with ERROR: or FAIL:.
11405         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
11406         (except for [$(build-shared) = yes]).
11407         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
11408         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
11409         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
11410         * nptl/Makefile: Revert 2015-03-04 changes.
11411         [$(CXX) empty] (tests-unsupported): New variable.
11412         * debug/Makefile: Likewise.
11414         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
11415         gnulib file.  Replace __attribute with __attribute__ throughout.
11417 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
11419         * sysdeps/hppa/fpu/libm-test-ulps: Update.
11421 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
11423         [BZ #18104]
11424         * math/auto-libm-test-in: Add another test of pow.
11425         * math/auto-libm-test-out: Regenerated.
11427 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11429         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
11430         $(config-cflags-nofma).
11432 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
11434         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
11435         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
11436         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
11437         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
11438         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
11439         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
11440         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
11441         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
11442         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
11443         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
11444         Add comment on closing #endif.
11446 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
11448         * posix/wordexp.c (CHAR_IN_SET): New macro.
11449         (parse_param): Use it.
11451 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11453         * sysdeps/powerpc/fpu/libm-test-ulps: update.
11455 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
11457         [BZ #18043]
11458         * posix/wordexp.c (parse_param): Fix buffer overflow.
11459         * posix/wordexp-test.c (test_case): Add test case.
11461 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
11463         [BZ #18042]
11464         * posix/wordexp.c (parse_backtick): Fix off-by-one.
11465         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
11467 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
11469         [BZ #18043]
11470         * posix/wordexp-test.c (test_case): Add test for BZ #18043
11471         (do_bz18043): Delete.
11472         (at_page_end): New.
11473         (testit): Refactor to have words at the edge of unreadable page.
11475 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
11477         [BZ #16734]
11478         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
11479         Cleanup read-only streams as well.
11480         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
11482 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11484         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
11485         <bits/libc-lockP.h>
11487 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
11489         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
11490         on [__KERNEL__].
11491         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
11492         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
11493         * soft-fp/op-common.h (_FP_DECL): Likewise.
11495 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
11497         * elf/ifuncdep2.c (global): Replace
11498         __attribute__((visibility("protected"))) with
11499         asm (".protected global").
11500         * elf/ifuncmod1.c (global): Likewise.
11501         * elf/ifuncmod5.c (global): Likewise.
11503 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
11505         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
11506         <asm/sfp-machine.h> instead of <sfp-machine.h>.
11508 2015-03-06  Roland McGrath  <roland@hack.frob.com>
11510         * manual/install.texi (Configuring and compiling):
11511         Document test-wrapper-env-only.
11512         * INSTALL: Regenerated.
11514 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
11516         [BZ #18043]
11517         * posix/wordexp.c (parse_param): Fix buffer overflow.
11518         * posix/wordexp-test.c (do_bz18043): Add test case.
11520 2015-03-06  Vincent Bernat  <vincent@bernat.im>
11522         * time/tst-strptime2.c (do_test): Ensure failing tests are
11523         reported correctly.
11524         * time/tst-strptime3.c (do_test): Likewise.
11526 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
11528         Fix aio_error thread-safety.
11529         * sysdeps/pthread/aio_error.c: New file
11530         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
11531         synchronization.
11533 2015-03-06  Florian Weimer  <fweimer@redhat.com>
11535         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
11536         (group_number, vfprintf): Use it.
11537         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
11538         (JUMP, REF): Use it.
11539         (WORK_BUFFER_SIZE): New enum constant.
11540         (process_arg, vfprintf): Use it.
11542 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
11544         * manual/errno.texi (Error Messages): Complete example function
11545         by adding missing #define.
11546         (program_invocation_name): Add statement indicating GNU
11547         extension and reference which header file declares the variable.
11548         (program_invocation_short_name): Likewise.
11550 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
11552         * manual/errno.texi (Error Messages): Delete strerror ISO C89
11553         compatibility note.
11555 2015-03-05  Roland McGrath  <roland@hack.frob.com>
11557         * Makeconfig (test-wrapper-env-only): New variable.
11558         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
11559         then use that with $(test-wrapper-env-only) rather than using
11560         $(test-wrapper-env) $(run-program-env) $($*-ENV).
11562 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
11564         [BZ #18082]
11565         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
11566         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
11567         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
11568         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
11569         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
11570         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
11571         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
11572         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
11573         Likewise.
11574         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
11575         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
11576         Likewise.
11577         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
11578         Likewise.
11579         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
11580         Likewise.
11581         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
11582         Likewise.
11583         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
11584         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
11585         Likewise.
11586         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
11587         Likewise.
11588         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
11589         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
11591 2015-03-04  Roland McGrath  <roland@hack.frob.com>
11593         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
11594         (ETH_ALEN): New macro.
11595         (struct ether_addr): Use it for length of ether_addr_octet.
11597         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
11598         (setdb): Don't call __nss_configure_lookup for "rpc".
11599         (do_test): Don't call test_rpc.
11600         (output_rpcent, test_rpc): Functions moved ...
11601         * sunrpc/test-rpcent.c: ... to this new file.
11602         * sunrpc/Makefile (tests): Add it.
11604         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
11605         __xpg_sigpause.
11606         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
11607         * nptl/tst-signal6.c: Likewise.
11608         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
11609         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
11611         * configure.ac (libc_cv_cxx_link_ok): New check.
11612         Reset CXX to empty if it fails to link.
11613         * configure: Regenerated.
11614         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
11615         bug-atexit3-lib only if $(CXX) is nonempty.
11616         * nptl/Makefile (tests): Likewise for tst-cancel24.
11617         (tests, tests-static): Likewise for tst-cancel24-static.
11618         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
11619         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
11620         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
11621         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
11623 2015-03-04  Andreas Schwab  <schwab@suse.de>
11625         [BZ #17631]
11626         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
11627         for non-GCC compilers.
11628         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11629         Likewise.
11631 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
11633         [BZ #17776]
11634         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
11635         integer before bitwise and assembly operations.
11636         (feclearexcept): Likewise.
11637         * math/test-fenvinline.c: New file.
11638         * math/Makefile: Add test-fenvinline test.
11640 2015-03-03  Alan Modra  <amodra@gmail.com>
11642         [BZ #16512]
11643         * scripts/localplt.awk: Strip off symbol version.
11644         * NEWS: Mention bug fix.
11646 2015-03-02  Roland McGrath  <roland@hack.frob.com>
11648         * sysdeps/pthread/timer_routines.c
11649         (timer_free_list, thread_free_list, thread_active_list): Make static.
11651 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
11653         [BZ #17779]
11654         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11655         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
11656         Undefine.
11657         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11658         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
11659         Likewise.
11660         * sysdeps/unix/sysv/linux/sh/kernel-features.h
11661         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
11662         Likewise.
11664 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
11666         [BZ #18036]
11667         * posix/fnmatch_loop.c (END): Detect invalid pattern.
11668         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
11670 2015-03-02  Andreas Schwab  <schwab@suse.de>
11672         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
11673         variable name.
11675 2015-03-02  Florian Weimer  <fweimer@redhat.com>
11677         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
11678         Return error status.
11680 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
11682         [BZ #15969]
11683         * locale/findlocale.c (_nl_find_locale): Introduce const
11684         version of loc_name and drop unsafe type casts.
11686 2015-02-27  Roland McGrath  <roland@hack.frob.com>
11688         * dlfcn/tststatic2.c (main): Converted to ...
11689         (do_test): ... this.
11690         (TEST_FUNCTION): New macro.
11691         Include test-skeleton.c.
11693 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
11695         [BZ #17711]
11696         * elf/Makefile (tests): Add vismain only if PIE is enabled.
11697         (tests-pie): Add vismain.
11698         (CFLAGS-vismain.c): New.
11699         * elf/vismain.c: Add comments for PIE requirement.
11701 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
11703         [BZ #18046]
11704         [BZ #18047]
11705         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
11706         0x1p-56L as threshold for just returning the argument.
11707         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
11708         0x1p-32L as threshold for just returning the argument.
11709         * math/auto-libm-test-in: Add more tests of atanh.
11710         * math/auto-libm-test-out: Regenerated.
11711         * sysdeps/i386/fpu/libm-test-ulps: Update.
11712         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
11714 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
11716         * string/bcopy.c (bcopy): Call memmove for performance.
11718 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
11720         * string/bzero.c (__bzero): Call memset for performance.
11722 2015-02-27  John David Anglin  <dave.anglin@bell.net>
11724         [BZ #18068]
11725         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
11726         to 00100000.
11728 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
11730         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
11732 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
11734         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
11735         (__kernel_standard): Use CSTR macro when setting exc.name.
11736         * sysdeps/ieee754/Makefile [$(subdir) = math]
11737         (CFLAGS-k_standard.c): Remove variable.
11739         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
11740         setting p and q from "else if" to "else".
11741         (qzero): Likewise.
11742         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
11743         (qone): Likewise.
11744         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
11745         (qzerof): Likewise.
11746         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
11747         (qonef): Likewise.
11748         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
11749         (qzero): Likewise.
11750         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
11751         (qone): Likewise.
11753         [BZ #18038]
11754         [BZ #18039]
11755         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
11756         return pi/2 for arguments below 0x1p-113L.
11757         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
11758         return pi/2 for arguments below 0x1p-106L.
11759         * math/auto-libm-test-in: Add more tests of acos.
11760         * math/auto-libm-test-out: Regenerated.
11762         [BZ #16351]
11763         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
11764         (MO): New macro.
11765         (__ieee754_asin): Force underflow exception for results with small
11766         absolute value.
11767         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
11768         (MO): New macro.
11769         (__ieee754_asinf): Force underflow exception for results with
11770         small absolute value.
11771         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
11772         (__ieee754_asin): Force underflow exception for results with small
11773         absolute value.
11774         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
11775         (__ieee754_asinf): Force underflow exception for results with
11776         small absolute value.
11777         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
11778         (__ieee754_asinl): Force underflow exception for results with
11779         small absolute value.
11780         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
11781         (__ieee754_asinl): Force underflow exception for results with
11782         small absolute value.
11783         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
11784         (__ieee754_asinl): Force underflow exception for results with
11785         small absolute value.
11786         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
11787         Include <math.h>.
11788         * math/auto-libm-test-in: Do not mark underflow exceptions as
11789         possibly missing for bug 16351.
11790         * math/auto-libm-test-out: Regenerated.
11792         [BZ #18030]
11793         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
11794         of power of 2 down when low part has opposite sign.
11795         * math/libm-test.inc (logb_test_data): Add more tests.
11797 2015-02-26  Andreas Schwab  <schwab@suse.de>
11799         [BZ #18032]
11800         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
11801         over collating symbol inside a bracket expression.  Minor cleanup.
11802         * posix/tst-fnmatch3.c (do_test): Add test case.
11804 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
11806         [BZ #18029]
11807         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
11808         Adjust exponent of power of 2 down when low part has opposite
11809         sign.
11810         * math/libm-test.inc (ilogb_test_data): Add more tests.
11812 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
11814         [BZ #15969]
11815         * locale/findlocale.c (_nl_find_locale): Fix constness error in
11816         the previous change.
11818         [BZ #15969]
11819         * locale/findlocale.c (_nl_find_locale): Retry archive search
11820         after alias expansion.
11822 2015-02-25  Roland McGrath  <roland@hack.frob.com>
11824         * iconv/tst-iconv3.c (main): Converted to ...
11825         (do_test): ... this.
11826         (TEST_FUNCTION): New macro.
11827         Include test-skeleton.c.
11829         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
11830         (convert): Make function static.
11831         (test_unalign): Likewise.  Add const to argument pointee types.
11832         (main): Replace with static function do_test.
11833         Print "Succeeded." only if RET is zero.
11834         (TEST_FUNCTION): New macro.
11835         Include test-skeleton.c.
11837         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
11838         returns a null pointer.
11840 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11842         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
11843         to __memcpy_ppc only for static builds.
11845 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
11847         [BZ #18020]
11848         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
11849         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
11850         * math/auto-libm-test-in: Add more tests of asinh.
11851         * math/auto-libm-test-out: Regenerated.
11852         * sysdeps/i386/fpu/libm-test-ulps: Update.
11853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11855 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
11857         [BZ #15850]
11858         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
11859         and ip6_mtuinfo definitions here.
11860         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
11861         in this define too.  Update comment.
11863 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
11865         * elf/sprof.c (load_shobj): Tweak error message to match others.
11867 2015-02-24  Kevin Easton  <kevin@guarana.org>
11869         [BZ #16145] (partial fix)
11870         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
11871         to reduce lock contention.
11873 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
11875         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
11876         (struct timex): Update time comment.
11877         (ADJ_SETOFFSET): Define.
11879 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
11881         [BZ #18019]
11882         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
11883         2**56 not 2**28 as threshold for log (2x) formula.
11884         * math/auto-libm-test-in: Add more tests of acosh.
11885         * math/auto-libm-test-out: Regenerated.
11886         * sysdeps/i386/fpu/libm-test-ulps: Update.
11887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11889 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
11891         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
11892         parenthesis around the buf assignment.
11893         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
11895 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
11897         [BZ #16783]
11898         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
11899         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
11900         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
11901         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
11902         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
11903         * math/libm-test.inc (scalb_test_data): Add more tests.
11905 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
11907         [BZ #17916]
11908         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
11909         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
11911 2015-02-24  Eric Rannaud  <e@nanocritical.com>
11913         [BZ #17523]
11914         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
11915         * io/bits/fcntl2.h (open): Use it.
11916         (openat): Likewise.
11917         * io/open.c (__libc_open): Likewise.
11918         * io/open64.c (__libc_open64): Likewise.
11919         * io/open64_2.c (__open64_2): Likewise.
11920         * io/open_2.c (__open_2): Likewise.
11921         * io/openat.c (__openat): Likewise.
11922         * io/openat64.c (__openat64): Likewise.
11923         * io/openat64_2.c (__openat64_2): Likewise.
11924         * io/openat_2.c (__openat_2): Likewise.
11925         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
11926         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
11927         * sysdeps/posix/open64.c (__libc_open64): Likewise.
11928         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
11929         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
11930         (__open_nocancel): Likewise.
11931         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
11932         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
11933         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
11935 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11937         [BZ #14841]
11938         * resolv/gethnamaddr.c (getanswer): Skip logging if
11939         RES_USE_DNSSEC is set.
11940         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
11942 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
11944         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
11946 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
11948         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
11949         201304L, for Unicode 7.
11951 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
11953         [BZ #17836]
11954         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
11955         shared library.  Add gmon-start.os otherwise.
11956         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
11957         $(objpfx)gmon-start.os if builing shared library.
11958         ($(objpfx)g$(static-start-installed-name)): Likewise.
11960 2015-02-23  Andreas Schwab  <schwab@suse.de>
11962         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
11964 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
11966         [BZ #17269]
11967         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
11968         (enlarge_userbuf): Likewise.
11970 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
11972         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
11973         * math/atest-exp.c (TIMEOUT): Adjust to 200.
11974         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
11975         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
11977 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
11979         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
11980         expression inside statement expression.
11982 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11984         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
11985         <sysdeps/nptl/lowlevellock.h> and remove macros and
11986         functions that are now defined there.
11987         (SYS_futex): Remove.
11988         (lll_compare_and_swap): Remove.
11989         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
11991 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
11993         [BZ #17999]
11994         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
11995         instead of scandirat.
11996         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
11997         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
11998         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
11999         __scandirat.
12000         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
12001         (__scandirat): Declare.  Use libc_hidden_proto.
12002         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
12003         Remove variable.
12004         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
12006 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
12008         [BZ #15319]
12009         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
12010         (MO): New macro.
12011         (__ieee754_atan2): For results with small absolute value, force
12012         underflow exception and remove excess range and precision from
12013         return value.
12014         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
12015         (MO): New macro.
12016         (__ieee754_atan2f): For results with small absolute value, force
12017         underflow exception and remove excess range and precision from
12018         return value.
12019         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
12020         (MO): New macro.
12021         (__atan): For results with small absolute value, force underflow
12022         exception and remove excess range and precision from return value.
12023         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
12024         (MO): New macro.
12025         (__atanf): For results with small absolute value, force underflow
12026         exception and remove excess range and precision from return value.
12027         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
12028         <math.h>.
12029         (__ieee754_atan2): Force underflow exception for results with
12030         small absolute value.
12031         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
12032         <math_private.h>.
12033         (atan): Force underflow exception for results with small absolute
12034         value.
12035         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
12036         (__atanf): Force underflow exception for results with small
12037         absolute value.
12038         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
12039         <math.h>.
12040         (__atanl): Force underflow exception for results with small
12041         absolute value.
12042         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
12043         (__atanl): Force underflow exception for results with small
12044         absolute value.
12045         * sysdeps/x86/fpu/bits/mathinline.h
12046         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
12047         (__ieee754_atan2): Only define inline for long double.
12048         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
12049         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
12050         * math/auto-libm-test-in: Do not mark underflow exceptions as
12051         possibly missing for bug 15319.  Add more tests of atan2.
12052         * math/auto-libm-test-out: Regenerated.
12053         * math/libm-test.inc (casin_test_data): Do not mark underflow
12054         exceptions as possibly missing for bug 15319.
12055         (casinh_test_data): Likewise.
12056         * sysdeps/i386/fpu/libm-test-ulps: Update.
12058 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
12060         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
12061         * sysdeps/mips/bits/endian.h: Fix comments.
12063 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
12065         [BZ #17996]
12066         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
12067         (hdestroy_r): Likewise.
12068         (hsearch_r): Likewise.
12069         (__hcreate_r): Declare and use libc_hidden_proto.
12070         (__hdestroy_r): Likewise.
12071         (__hsearch_r): Likewise.
12072         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
12073         (hcreate): Call __hcreate_r instead of hcreate_r.
12074         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
12075         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
12076         as weak alias of __hcreate_r.
12077         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
12078         __hdestroy_r.
12079         (hsearch_r): Rename to __hsearch_r and define as weak alias of
12080         __hsearch_r.
12081         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
12082         Remove variable.
12083         (test-xfail-XPG4/search.h/linknamespace): Likewise.
12084         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
12085         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
12086         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
12088 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
12090         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
12091         arena_lock into a single arena_get.
12093 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
12095         * dl-reloc.c: Inlucde libc-internal.h.
12096         (_dl_try_allocate_static_tls): Call ALIGN_UP.
12097         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
12098         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
12099         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
12100         (grow_heap): Likewise.
12101         * malloc/malloc.c: Include libc-internal.h.
12102         (do_check_malloc): Call powerof2.
12103         (sysmalloc): Use pagesize. Call ALIGN_UP.
12104         (systrim): Use pagesize.
12105         (mremap_chunk): Use pagesize. Call ALIGN_UP.
12106         (__libc_valloc): Use pagesize.
12107         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
12109 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
12111         [BZ #17991]
12112         * include/sys/resource.h (__getrlimit64): Declare.  Use
12113         libc_hidden_proto.
12114         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
12115         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
12116         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
12117         getrlimit64.
12118         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
12119         __getrlimit64.
12120         [!getrlimit64] (getrlimit64): Define as weak alias of
12121         __getrlimit64.  Use libc_hidden_weak.
12122         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
12123         using __getrlimit64 not __new_getrlimit64.
12124         (__GI_getrlimit64): Likewise.
12125         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
12126         Likewise.
12127         (__GI_getrlimit64): Likewise.
12128         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
12129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
12130         (getrlimit): Add __getrlimit64 alias.
12131         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
12132         Likewise.
12133         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
12134         Remove variable.
12135         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
12136         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
12138 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
12140         * libio/fileops.c: Add missing sys/mman.h
12141         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
12143 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
12145         * manual/math.texi (Errors in Math Functions): Clarify goals
12146         regarding inexact and underflow exceptions.
12148 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
12150         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
12151         * sysdeps/mips/memset.S: Ditto.
12153 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
12155         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
12157 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
12159         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
12160         (__v1longjmp): Remove versioned symbol.
12161         (__v1siglongjmp): Remove alias and versioned symbol.
12162         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
12163         (__v2siglongjmp): Likewise.
12165 2015-02-16  Torvald Riegel  <triegel@redhat.com>
12167         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
12169 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
12171         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
12173 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
12175         [BZ #17987]
12176         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
12177         zero result does not depend on the sign resulting from
12178         subtraction.
12179         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
12180         Likewise.
12181         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
12182         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
12183         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
12184         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
12185         * math/libm-test.inc (remquo_test_data): Add more tests.
12187 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
12189         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
12190         Problem reported by J William Piggott.
12192 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
12194         [BZ #17978]
12195         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
12196         products 4 * y and 2 * y where those would overflow.
12197         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
12198         Likewise.
12199         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
12200         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
12201         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
12202         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
12203         * math/libm-test.inc (remquo_test_data): Add more tests.
12205         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
12207         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
12208         [defined _COMPILING_NEWLIB].
12209         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
12210         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
12212         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
12213         [!defined __mips_isa_rev || __mips_isa_rev < 6].
12215 2015-02-16  Torvald Riegel  <triegel@redhat.com>
12217         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
12218         acquired.
12220 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
12222         [BZ #17792]
12223         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
12224         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
12225         HOST_STACK_END_ADDR): Likewise.
12227 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
12229         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
12230         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
12231         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
12233 2015-02-13  Roland McGrath  <roland@hack.frob.com>
12235         * sysdeps/generic/c++-types.data: New file.
12236         * sysdeps/generic/ld.abilist: New file.
12237         * sysdeps/generic/libBrokenLocale.abilist: New file.
12238         * sysdeps/generic/libanl.abilist: New file.
12239         * sysdeps/generic/libc.abilist: New file.
12240         * sysdeps/generic/libcrypt.abilist: New file.
12241         * sysdeps/generic/libdl.abilist: New file.
12242         * sysdeps/generic/libm.abilist: New file.
12243         * sysdeps/generic/libpthread.abilist: New file.
12244         * sysdeps/generic/libresolv.abilist: New file.
12245         * sysdeps/generic/librt.abilist: New file.
12247 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
12249         [BZ #17569]
12250         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
12251         Compute absolute value of x as modified by fmod, not original
12252         value of x.
12253         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
12254         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
12255         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
12256         RUN_TEST_ffI_f1_mod8.
12257         (remquo_test_data): Add more tests.
12259 2015-02-13  Roland McGrath  <roland@hack.frob.com>
12261         * sysdeps/init_array/pt-crti.S: New file.
12263 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
12265         [BZ #17967]
12266         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
12267         __builtin_fmaf instead of relying on contraction of a * b + c.
12269 2015-02-12  J William Piggott  <elseifthen@gmx.com>
12271         [BZ #17969]
12272         * manual/time.texi: correct the zoneinfo path in the TZ Variable
12273         node.
12275 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
12277         [BZ #17964]
12278         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
12279         __builtin_fma instead of relying on contraction of a * b + c.
12281 2015-02-12  Roland McGrath  <roland@hack.frob.com>
12283         * Makeconfig (ASFLAGS): Add -Werror=undef.
12284         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
12285         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
12286         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
12288         * Makeconfig (after-link): New variable.
12289         (+link-pie, +link-pie-tests): Use it.
12290         (+link-static, +link-static-tests): Likewise.
12291         (+link, +link-tests): Likewise.
12292         * Makerules (build-module, build-module-asneeded): Likewise.
12293         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
12294         Likewise.
12295         * elf/Makefile ($(objpfx)ld.so): Likewise.
12297 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
12299         [BZ #17965]
12300         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
12301         both struct timeval and struct timespec.
12303 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
12305         [BZ #16560]
12306         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12307         and redefine.
12308         (__ieee754_exp2l): Do not multiply small fractional parts by
12309         M_LN2l.
12310         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
12311         small argument.
12312         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
12313         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
12314         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
12315         * math/auto-libm-test-in: Add more tests of exp2.
12316         * math/auto-libm-test-out: Regenerated.
12318 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12320         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
12321         unaligned path.
12323 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12325         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
12326         little endian.
12328 2015-02-12  Andreas Schwab  <schwab@suse.de>
12330         [BZ #15790]
12331         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
12332         Filter out elision flags from value returned in kind.
12333         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
12334         * nptl/tst-pthread-mutexattr.c: New file.
12336 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12338         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
12339         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
12340         into gnu-gnu, and update comment to refer to abi-tags.
12342 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
12344         [BZ #15467]
12345         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
12346         (__sincos): Set errno to EDOM for infinite argument.
12347         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
12348         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
12349         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
12350         (__sincosl): Set errno to EDOM for infinite argument.
12351         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
12352         (__sincosl): Set errno to EDOM for infinite argument.
12353         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
12354         (__sincosl): Set errno to EDOM for infinite argument.
12355         * math/libm-test.inc (sincos_test_data): Test errno setting.
12357 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
12359         * string/strxfrm_l.c: Remove #define STRCMP.
12360         * string/strcoll_l.c: Remove #define STRLEN.
12361         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
12362         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
12364 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
12366         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
12367         * sysdeps/mips/mips32/sfp-machine.h: ... here.
12368         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
12369         * sysdeps/mips/mips64/Makefile: ... here.
12370         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
12371         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
12372         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
12373         * sysdeps/mips/mips64/sfp-machine.h: ... here.
12374         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
12375         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
12376         * sysdeps/mips/mips64/n64/Implies: Likewise.
12378 2015-02-10  Roland McGrath  <roland@hack.frob.com>
12380         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
12381         <sys/time.h>, <string.h>, and <errno.h>.
12382         (dest_offset, dest_address, value, zero): Remove unused variables.
12383         (ldouble): Remove typedef.
12384         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
12385         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
12386         1).  Fix code style.
12387         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
12388         (check): Function removed.
12389         (CHECK): New macro.
12390         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
12391         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
12392         Don't call set_sigaction_FP and remove_sigaction_FP here.
12393         (ldouble_test): Just use 'long double' as macro argument, no need for
12394         the 'ldouble' typedef.
12395         (do_test): Set up SIGFPE handler at start, using plain signal rather
12396         than sigaction.  Fix code style.
12398 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
12400         [BZ #17949]
12401         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
12402         jump label.
12404 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
12406         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
12407         * sysdeps/powerpc/powerpc32/configure: Regenerated.
12409         * sysdeps/powerpc/configure.ac: Remove file.
12410         * sysdeps/powerpc/configure: Likewise.
12412         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
12413         [sysdep_routines]: Remove wordcopy-power6 object.
12414         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
12415         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
12416         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
12417         (__memmove_ppc32): Likewise.
12418         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
12419         file.
12420         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
12421         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
12422         Remove preprocessor.
12424         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
12425         [sysdep_routines]: Remove wide chars objects.
12426         [wcsmbs]: New rule for wide char objects.
12428         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12429         Remove wordcopy-power6 obejct.
12430         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
12431         Use local call for wordcopy and memcpy symbols.
12432         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
12433         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
12434         implementation for loader.
12435         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
12437         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12438         Remove wordcopy-power7 object.
12439         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
12440         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
12441         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
12442         (_wordcopy_fwd_dest_aligned): Likewise.
12443         (_wordcopy_bwd_aligned): Likewise.
12444         (_wordcopy_bwd_dest_aligned): Likewise.
12446         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
12447         Rewrite to call __memmove_ppc instead of include default
12448         implementation.
12450         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12451         Remove wide chars objects.
12452         [wcsmbs]: New rule for wide char objects.
12454 2015-02-09  Andreas Schwab  <schwab@suse.de>
12456         [BZ #17912]
12457         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
12458         in terms of __O_DIRECTORY.
12460 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12462         * time/getdate.c: Include <stdbool.h>.
12463         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
12464         call PTR_MANGLE.
12465         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
12466         PTR_DEMANGLE.
12468 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
12470         Add ersatz _Static_assert on older C hosts
12471         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
12472         pre-C11 C platform that is not known to support _Static_assert.
12474 2015-02-07  Richard Braun  <rbraun@sceen.net>
12476         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
12477         sigstate.
12478         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
12480 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12482         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
12483         priority against unexistent AIO_PRIO_DELTA_MAX.
12484         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
12485         instead of int.
12486         * misc/fchflags.c (fchflags): Likewise.
12487         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
12488         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
12489         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
12490         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
12491         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
12492         Declare macros.
12493         [__USE_MISC] (chflags, fchflags): Declare functions.
12494         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
12495         EINVAL when nfds is greater than FD_SETSIZE.
12496         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
12497         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
12498         45.
12499         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
12500         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
12501         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
12502         MACH_RCV_TIMED_OUT.
12503         * hurd/hurd/signal.h (_hurd_self_sigstate,
12504         _hurd_critical_section_lock, _hurd_critical_section_unlock):
12505         Explicit casts from void *.
12506         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
12507         * abi-tags: Rename gnu-gnu os into gnu.
12509         [BZ #4719]
12510         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
12511         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
12512         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
12513         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
12514         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
12515         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
12517         [BZ #17944]
12518         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
12519         duplicates ADDR->sun_path with sockaddr LEN limitation.
12520         * sysdeps/mach/hurd/connect.c: Include <string.h>
12521         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
12522         * sysdeps/mach/hurd/sendmsg.c: Likewise.
12523         * sysdeps/mach/hurd/sendto.c: Likewise.
12524         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
12525         implementing it by hand.
12527 2015-02-06  Roland McGrath  <roland@hack.frob.com>
12529         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
12530         Use sfi_breg on ldr.
12531         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
12532         Likewise.
12534         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
12535         it's defined.
12536         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
12537         Test SIGSETXID only if it's defined.
12539         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
12541         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
12542         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
12544         * nptl/tst-align2.c: Moved ...
12545         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
12546         * nptl/Makefile (tests): Remove tst-align2.
12547         * sysdeps/unix/sysv/linux/Makefile
12548         [$(subdir) = nptl] (tests): Add tst-align-clone.
12549         * nptl/tst-getpid1.c: Moved ...
12550         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
12551         * nptl/tst-getpid2.c: Moved ...
12552         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
12553         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
12554         * sysdeps/unix/sysv/linux/Makefile
12555         [$(subdir) = nptl] (tests): ... here.
12556         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
12557         * sysdeps/unix/sysv/linux/Makefile
12558         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
12560         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
12561         Drop trailing \n from perror argument.  Use return rather than exit.
12563         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
12564         on [SA_SIGINFO].
12565         * nptl/tst-cancel21.c (do_test): Likewise.
12566         * debug/tst-backtrace6.c: Include <signal.h> first thing.
12567         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
12568         [!SA_SIGINFO]: Make it a stub test.
12570         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
12571         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
12573         * posix/tst-getlogin.c: Move to ...
12574         * login/tst-getlogin.c: ... here.
12575         * posix/Makefile (tests): Move tst-getlogin to ...
12576         * login/Makefile (tests): ... here.
12578         * libio/tst-atime.c (do_test): Move local variables SV and E
12579         inside [ST_NOATIME] conditional.
12581         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
12583         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
12585         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
12586         (wait_code): New function replaces macro.
12587         Call nanosleep rather than syscall.
12589         * nptl/pt-system.c: Rewritten.  Put everything under
12590         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
12591         Use IFUNC to redirect when possible.
12593         * nptl/pt-longjmp.c: Rewritten.  Put everything under
12594         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
12595         Use IFUNC to redirect when possible.
12597         * nptl/pt-fork.c: Rewritten.  Put everything under
12598         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
12599         Use IFUNC to redirect when possible.
12600         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
12602         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
12603         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
12604         unconditionally nowadays.  This included the only reference to
12605         __vdso_clock_gettime that appears outside libc proper.
12606         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
12607         Remove version set (containing only __vdso_clock_gettime).
12608         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
12609         Add attribute_hidden.
12610         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
12611         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
12612         libc_hidden_data_def.
12613         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
12614         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12616         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
12617         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
12618         setrpcent, and getrpcport to ...
12619         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
12620         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
12621         getrpcbynumber_r, and getrpcent_r to ...
12622         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
12623         * inet/getrpcbyname.c: Moved ...
12624         * sunrpc/getrpcbyname.c: ... here.
12625         * inet/getrpcbyname_r.c: Moved ...
12626         * sunrpc/getrpcbyname_r.c: ... here.
12627         * inet/getrpcbynumber.c: Moved ...
12628         * sunrpc/getrpcbynumber.c: ... here.
12629         * inet/getrpcbynumber_r.c: Moved ...
12630         * sunrpc/getrpcbynumber_r.c: ... here.
12631         * inet/getrpcent.c: Moved ...
12632         * sunrpc/getrpcent.c: ... here.
12633         * inet/getrpcent_r.c: Moved ...
12634         * sunrpc/getrpcent_r.c: ... here.
12635         * inet/Makefile (routines): Move those to ...
12636         * sunrpc/Makefile (routines): ... here.
12637         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
12638         the $(subdirs) list.
12639         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
12640         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
12641         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
12642         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
12644         * elf/Makefile (routines): Include $(all-dl-routines), not just
12645         $(dl-routines).
12646         (rtld-routines): Likewise.  Use = rather than :=.
12647         * sysdeps/aarch64/Makefile [$(subdir) = elf]
12648         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
12649         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
12650         * sysdeps/arm/Makefile: Likewise.
12651         * sysdeps/i386/Makefile: Likewise.
12652         * sysdeps/x86_64/Makefile: Likewise.
12653         * sysdeps/hppa/Makefile [$(subdir) = elf]
12654         (sysdep_routines, sysdep-rtld-routines): Don't add
12655         $(sysdep-dl-routines) to these.
12656         * sysdeps/ia64/Makefile: Likewise.
12657         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
12658         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
12659         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
12660         Don't add dl-static to these; sysdep-dl-routines alone is enough.
12661         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
12662         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
12663         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
12664         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
12665         * sysdeps/powerpc/Makefile [$(subdir) = elf]
12666         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
12667         these; sysdep-dl-routines alone is enough.
12669 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
12671         [BZ #17932]
12672         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
12673         where multiplication results in zero and third argument is finite
12674         and nonzero.
12675         * math/auto-libm-test-in: Add more tests of fma.
12676         * math/auto-libm-test-out: Regenerated.
12678         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
12679         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
12680         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
12681         (_FP_CMP_EQ): Likewise.
12682         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
12684         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
12685         extra argument CHECK_NAN.  Redefine as wrapper around
12686         _FP_EXTEND_CNAN.
12688 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
12690         * version.h (RELEASE): Set to "stable".
12691         (VERSION): Set to "2.21"
12692         * include/features.h (__GLIBC_MINOR__): Set to 21.
12694         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
12696 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
12697             Paul Eggert  <eggert@cs.ucla.edu>
12699         [BZ #16618]
12700         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
12701         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
12702         size in bytes. Store needed elements in wpmax. Use needed size
12703         in bytes for extend_alloca.
12705 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
12707         * manual/install.texi: Latest tested versions are GCC 4.9.2,
12708         binutls 2.25, and texinfo 5.2.
12709         * INSTALL: Regenerate.
12710         * sysdeps/nios2/configure: Regenerate.
12711         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
12712         * manual/contrib.texi: Update.
12713         * po/be.po: Update.
12714         * po/bg.po: Update.
12715         * po/ca.po: Update.
12716         * po/cs.po: Update.
12717         * po/da.po: Update.
12718         * po/de.po: Update.
12719         * po/el.po: Update.
12720         * po/eo.po: Update.
12721         * po/es.po: Update.
12722         * po/fi.po: Update.
12723         * po/fr.po: Update.
12724         * po/gl.po: Update.
12725         * po/hr.po: Update.
12726         * po/hu.po: Update.
12727         * po/ia.po: Update.
12728         * po/id.po: Update.
12729         * po/it.po: Update.
12730         * po/ja.po: Update.
12731         * po/ko.po: Update.
12732         * po/lt.po: Update.
12733         * po/nb.po: Update.
12734         * po/nl.po: Update.
12735         * po/pl.po: Update.
12736         * po/pt_BR.po: Update.
12737         * po/ru.po: Update.
12738         * po/rw.po: Update.
12739         * po/sk.po: Update.
12740         * po/sl.po: Update.
12741         * po/sv.po: Update.
12742         * po/tr.po: Update.
12743         * po/uk.po: Update.
12744         * po/vi.po: Update.
12745         * po/zh_CN.po: Update.
12746         * po/zh_TW.po: Update.
12748         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
12749         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
12750         * sysdeps/hppa/dl-irel.h: Remove #warning.
12751         * sysdeps/hppa/entry.h: Provide prototype for
12752         __canonicalize_funcptr_for_compare and cast argument.
12753         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
12754         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
12755         * sysdeps/hppa/sotruss-lib.c: New file.
12756         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
12757         (atomic_compare_and_exchange_val_acq): Use __typeof__.
12758         (atomic_compare_and_exchange_bool_acq): Likewise.
12759         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
12760         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
12762         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
12763         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
12764         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
12766 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
12768         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
12769         called function in non-PIC case.
12771 2015-01-31  David S. Miller  <davem@davemloft.net>
12773         * sysdeps/sparc/sparc32/bits/atomic.h
12774         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
12775         unlock not after it.
12776         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
12777         volatile register usage warnings from the compiler.
12779         * sysdeps/sparc/nptl/sem_init.c: Delete.
12780         * sysdeps/sparc/nptl/sem_post.c: Delete.
12781         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
12782         * sysdeps/sparc/nptl/sem_wait.c: Delete.
12783         * sysdeps/sparc/sparc32/sem_init.c: New file.
12784         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
12785         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
12786         padding explicitly initialized.
12787         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
12788         padding for in-semaphore spinlock.
12789         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
12790         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
12791         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
12792         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
12793         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
12794         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
12795         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
12796         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
12797         version.
12798         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
12799         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
12801 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
12803         [BZ #17801]
12804         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12805         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
12806         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
12807         New.
12808         (index_AVX_Fast_Unaligned_Load): Likewise.
12809         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
12810         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
12811         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
12812         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
12813         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
12814         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
12815         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
12816         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
12817         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
12819 2015-01-29  Andreas Schwab  <schwab@suse.de>
12821         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
12823 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
12825         [BZ #17892]
12826         * nscd/nscd_stat.c (send_stats): Initialize DATA.
12828 2015-01-28  Martin Sebor  <msebor@redhat.com>
12830         * math/README.libm-test: Clarify. Add "How to read the test output."
12832 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
12834         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
12835         Define to 0.
12837 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
12839         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
12840         (__HAVE_64B_ATOMICS): Define to 0.
12842 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
12844         [BZ #17885]
12845         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
12846         value to set as new flag.
12848         [BZ #16576]
12849         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
12850         and use _ARCH_PPCSQ instead.
12851         (__ieee754_sqrt): Likewise.
12852         (__ieee754_sqrtf): Likewise.
12853         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
12854         _ARCH_PPCSQ is defined.
12855         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
12856         fsqrt instruction.
12857         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
12858         _ARCH_PPCSQ is defined.
12859         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
12860         fsqrts instruction.
12861         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
12863 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12865         * iconv/loop.c: Suppress array out of bound warning caused by GCC
12866         bug (GCC BZ #64739).
12868 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
12870         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
12871         Mark _retval as used.
12872         (lll_futex_wake_unlock): Likewise.
12873         (lll_futex_timed_wait_requeue_pi): Likewise.
12875         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
12876         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
12877         register variables.
12879         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
12880         libm_hidden_def.
12882         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
12883         (__bswap_64): Mark as __always_inline.
12885 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
12887         [BZ #15378]
12888         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
12889         when none of the search directories exist.
12891 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
12893         [BZ #17869]
12894         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
12895         power8 in .machine directive.
12897         [BZ #17868]
12898         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
12899         set dependency from opd value.
12901 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
12903         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12904         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
12905         architecture.
12907 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
12909         [BZ #17870]
12910         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
12911         with uint64_t.
12912         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
12913         (uint64_t) 1.
12914         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
12915         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
12916         Replace 1UL with (uint64_t) 1.
12917         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
12918         int with uint64_t.
12920 2015-01-23  Roland McGrath  <roland@hack.frob.com>
12922         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
12923         (if_freenameindex): Likewise.
12925         * resource/getrlimit64.c: Add missing libc_hidden_def.
12927 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
12929         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
12930         __label__.
12931         (_FP_FMA): Likewise.
12932         (_FP_TO_INT_ROUND): Likewise.
12933         (_FP_FROM_INT): Likewise.
12935 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12937         [BZ #16418]
12938         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
12939         Make code racy and cancel safe.
12941 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
12943         * sysdeps/arm/unwind-resume.h: Fix copyright year.
12944         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
12945         attribution.
12947         * pwd/tst-getpw.c: Rewrite.
12949         [BZ #17702]
12950         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
12951         (modules-names): Add moddummy1 and moddummy2.
12952         ($(objpfx)tst-rec-dlopen): Define.
12953         * dlfcn/moddummy1.c: New file.
12954         * dlfcn/moddummy2.c: New file.
12955         * dlfcn/tst-rec-dlopen.c: New file.
12956         * elf/dl-cache.c (_dl_load_cache_lookup):
12957         Return char*. Copy result with alloca/strcpy/strdup.
12958         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
12959         returns char*. Free cached. If not saving realname
12960         free cached.
12961         * elf/dl-open.c (dl_open_worker): Do not assert that
12962         _r_debug->r_state is RT_CONSISTENT.
12963         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
12964         returns char*.
12966 2015-01-21  Torvald Riegel  <triegel@redhat.com>
12967             Carlos O'Donell  <carlos@redhat.com>
12969         [BZ #12674]
12970         * nptl/sem_waitcommon.c: New file.
12971         * nptl/sem_wait.c: Include sem_waitcommon.c.
12972         (__sem_wait_cleanup, do_futex_wait): Remove.
12973         (__new_sem_wait): Adapt.
12974         (__new_sem_trywait): New function.
12975         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
12976         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
12977         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
12978         (sem_timedwait): Adapt.
12979         * nptl/sem_post.c (__new_sem_post): Adapt.
12980         (futex_wake): New function.
12981         (__old_sem_post): Add release MO fence.
12982         * nptl/sem_open.c (sem_open): Adapt.
12983         * nptl/sem_init.c (__new_sem_init): Adapt.
12984         (futex_private_if_supported): New function.
12985         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
12986         (__old_sem_getvalue): Add using previous code.
12987         * sysdeps/nptl/internaltypes.h: Adapt.
12988         * nptl/tst-sem13.c (do_test): Adapt.
12989         * nptl/tst-sem11.c (main): Adapt.
12990         * nptl/sem_trywait.c: Remove.
12991         * nptl/DESIGN-sem.txt: Remove.
12992         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
12993         (gen-as-const-headers): Remove structsem.sym.
12994         * nptl/structsem.sym: Remove.
12995         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
12996         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
12997         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
12998         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
12999         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
13000         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
13001         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
13002         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
13003         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
13004         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
13005         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
13006         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
13007         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
13008         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
13009         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
13010         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
13011         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
13012         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
13013         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
13014         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
13015         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
13016         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
13018 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
13020         * INSTALL: Regenerated.
13022         * po/libc.pot: Regenerated.
13024 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
13025             Sandra Loosemore  <sandra@codesourcery.com>
13026             Andrew Jenner  <andrew@codesourcery.com>
13027             Joseph Myers  <joseph@codesourcery.com>
13028             Nathan Sidwell  <nathan@codesourcery.com>
13030         * NEWS: Mention new Nios II port.
13031         * sysdeps/nios2/Implies: New file.
13032         * sysdeps/nios2/Makefile: New file.
13033         * sysdeps/nios2/Subdirs: New file.
13034         * sysdeps/nios2/Versions: New file.
13035         * sysdeps/nios2/__longjmp.S: New file.
13036         * sysdeps/nios2/abort-instr.h: New file.
13037         * sysdeps/nios2/backtrace.c: New file.
13038         * sysdeps/nios2/bits/endian.h: New file.
13039         * sysdeps/nios2/bits/fenv.h: New file.
13040         * sysdeps/nios2/bits/link.h: New file.
13041         * sysdeps/nios2/bits/setjmp.h: New file.
13042         * sysdeps/nios2/bsd-_setjmp.S: New file.
13043         * sysdeps/nios2/bsd-setjmp.S: New file.
13044         * sysdeps/nios2/configure: New generated file.
13045         * sysdeps/nios2/configure.ac: New file.
13046         * sysdeps/nios2/crti.S: New file.
13047         * sysdeps/nios2/crtn.S: New file.
13048         * sysdeps/nios2/dl-init.c: New file.
13049         * sysdeps/nios2/dl-machine.h: New file.
13050         * sysdeps/nios2/dl-sysdep.h: New file.
13051         * sysdeps/nios2/dl-tls.h: New file.
13052         * sysdeps/nios2/dl-trampoline.S: New file.
13053         * sysdeps/nios2/gccframe.h: New file.
13054         * sysdeps/nios2/gmp-mparam.h: New file.
13055         * sysdeps/nios2/jmpbuf-offsets.h: New file.
13056         * sysdeps/nios2/jmpbuf-unwind.h: New file.
13057         * sysdeps/nios2/ldsodefs.h: New file.
13058         * sysdeps/nios2/libc-tls.c: New file.
13059         * sysdeps/nios2/libm-test-ulps: New file.
13060         * sysdeps/nios2/machine-gmon.h: New file.
13061         * sysdeps/nios2/math-tests.h: New file.
13062         * sysdeps/nios2/math_private.h: New file.
13063         * sysdeps/nios2/memusage.h: New file.
13064         * sysdeps/nios2/nptl/Makefile: New file.
13065         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
13066         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
13067         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
13068         * sysdeps/nios2/nptl/pthreaddef.h: New file.
13069         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
13070         * sysdeps/nios2/nptl/tls.h: New file.
13071         * sysdeps/nios2/preconfigure: New file.
13072         * sysdeps/nios2/s_fma.c: New file.
13073         * sysdeps/nios2/s_fmaf.c: New file.
13074         * sysdeps/nios2/setjmp.S: New file.
13075         * sysdeps/nios2/sfp-machine.h: New file.
13076         * sysdeps/nios2/sotruss-lib.c: New file.
13077         * sysdeps/nios2/stackguard-macros.h: New file.
13078         * sysdeps/nios2/stackinfo.h: New file.
13079         * sysdeps/nios2/start.S: New file.
13080         * sysdeps/nios2/sysdep.h: New file.
13081         * sysdeps/nios2/tls-macros.h: New file.
13082         * sysdeps/nios2/tst-audit.h: New file.
13083         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
13084         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
13085         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
13086         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
13087         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
13088         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
13089         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
13090         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
13091         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
13092         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
13093         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
13094         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
13095         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
13096         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
13097         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
13098         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
13099         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
13100         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
13101         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
13102         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
13103         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
13104         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
13105         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
13106         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
13107         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
13108         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
13109         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
13110         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
13111         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
13112         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
13113         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
13114         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
13115         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
13116         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
13117         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
13118         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
13119         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
13120         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
13121         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
13122         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
13123         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
13124         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
13125         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
13126         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
13128 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
13130         [BZ #17844]
13131         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
13132         (getutent): Use weak_alias in non SHARED case
13133         and default_symbol_version in SHARED case.
13134         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
13135         (getutent_r, pututline): Likewise.
13136         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
13137         (getutid): Likewise.
13138         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
13139         (getutid_r): Likewise.
13140         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
13141         (getutline): Likewise.
13142         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
13143         (getutline_r): Likewise.
13144         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
13145         (updwtmp): Likewise.
13147 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
13149         [BZ #17848]
13150         * sysdeps/s390/s390-32/memcmp.S
13151         (memcmp_g5): Rename to __memcmp_g5.
13152         * sysdeps/s390/s390-32/memcpy.S
13153         (memcpy_g5): Rename to __memcpy_g5.
13154         Jump to __memcpy_mvcle instead of memcpy_mvcle.
13155         (memcpy_mvcle) Rename to __memcpy_mvcle.
13156         * sysdeps/s390/s390-32/memset.S
13157         (memset_g5): Rename to __memset_g5.
13158         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
13159         (IFUNC_RESOLVE): Prefix ifunc-resolve function
13160         and use prefixed functions.
13161         * sysdeps/s390/s390-32/multiarch/memcmp.S
13162         (memcmp_z196): Rename to __memcmp_z196.
13163         (memcmp_z10): Rename to __memcmp_z10.
13164         (memcmp): Set alias to __memcmp_g5.
13165         (bcmp): Set alias to __memcmp_g5.
13166         * sysdeps/s390/s390-32/multiarch/memcpy.S
13167         (memcpy_z196): Rename to __memcpy_z196.
13168         Jump to __memcpy_mvcle instead of memcpy_mvcle.
13169         (memcpy_z10): Rename to __memcpy_z10.
13170         Jump to __memcpy_mvcle instead of memcpy_mvcle.
13171         (memcpy): Set alias to __memcpy_g5.
13172         * sysdeps/s390/s390-32/multiarch/memset.S
13173         (memset_z196): Rename to __memset_z196.
13174         Jump to __memset_mvcle instead of memset_mvcle.
13175         (memset_z10): Rename to __memset_z10.
13176         Jump to __memset_mvcle instead of memset_mvcle.
13177         (memset_mvcle) Rename to __memset_mvcle.
13178         (memset): Set alias to __memset_g5.
13179         * sysdeps/s390/s390-64/memcmp.S
13180         (memcmp_z900): Rename to __memcmp_z900.
13181         * sysdeps/s390/s390-64/memcpy.S
13182         (memcpy_z900): Rename to __memcpy_z900.
13183         Jump to __memcpy_mvcle instead of memcpy_mvcle.
13184         (memcpy_mvcle) Rename to __memcpy_mvcle.
13185         * sysdeps/s390/s390-64/memset.S
13186         (memset_z900): Rename to __memset_z900.
13187         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
13188         (IFUNC_RESOLVE): Prefix ifunc-resolve function
13189         and use prefixed functions.
13190         * sysdeps/s390/s390-64/multiarch/memcmp.S
13191         (memcmp_z196): Rename to __memcmp_z196.
13192         (memcmp_z10): Rename to __memcmp_z10.
13193         (memcmp): Set alias to __memcmp_z900.
13194         (bcmp): Set alias to __memcmp_z900.
13195         * sysdeps/s390/s390-64/multiarch/memcpy.S
13196         (memcpy_z196): Rename to __memcpy_z196.
13197         Jump to __memcpy_mvcle instead of memcpy_mvcle.
13198         (memcpy_z10): Rename to __memcpy_z10.
13199         Jump to __memcpy_mvcle instead of memcpy_mvcle.
13200         (memcpy): Set alias to __memcpy_z900.
13201         * sysdeps/s390/s390-64/multiarch/memset.S
13202         (memset_z196): Rename to __memset_z196.
13203         Jump to __memset_mvcle instead of memset_mvcle.
13204         (memset_z10): Rename to __memset_z10.
13205         Jump to __memset_mvcle instead of memset_mvcle.
13206         (memset_mvcle) Rename to __memset_mvcle.
13207         (memset): Set alias to __memset_z900.
13209 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
13211         [BZ #17748]
13212         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
13213         __fesetenv instead of fesetenv.
13215 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13217         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
13218         macro.
13220 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13222         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
13223         regression on LE.
13225         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
13226         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
13227         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
13228         strncmp-power8 object.
13229         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13230         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
13231         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
13232         * NEWS: Update.
13234 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13235             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13237         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
13238         trailing byte check.
13240 2015-01-13  David S. Miller  <davem@davemloft.net>
13242         * include/signal.h (__sigreturn): Guard with __USE_MISC.
13244 2015-01-13  Roland McGrath  <roland@hack.frob.com>
13246         * login/logout.c (logout): Use memset rather than bzero.
13247         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
13248         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
13249         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
13250         (_gethtbyaddr): Likewise.
13251         * locale/programs/simple-hash.c (bcopy): Macro removed.
13253 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13255         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13256         Add strcmp-power8 object.
13257         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13258         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
13259         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
13260         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
13261         __strcmp_power8 implementation.
13262         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
13263         * NEWS: Update.
13265         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13266         Add strncpy-power8 and stpncpy-power8 objects.
13267         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13268         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
13269         implementations.
13270         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
13271         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
13272         __stpncpy_power8 implementation.
13273         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
13274         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
13275         __strncpy_power8 implementation.
13276         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
13277         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
13278         * NEWS: Update.
13280         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
13281         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
13282         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
13284         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
13285         strncat-power8 object.
13286         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
13287         __strcat_power8 implementation.
13288         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13289         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
13290         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
13291         optimized strcat for power8.
13293         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
13294         strcpy-power8 and stpcpy-power8 objects.
13295         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13296         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
13297         implementations.
13298         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
13299         multiarch stpcpy implementation for POWER8.
13300         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
13301         multiarch strcpy implementation for POWER8.
13302         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
13303         __strcpy_power8 function.
13304         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
13305         stpcpy for POWER8.
13306         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
13307         strcpy for POWER8.
13308         * NEWS: Update.
13310 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
13312         [BZ #16009]
13313         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
13314         weights and rules. Use do_xfrm_cached if data fits in cache,
13315         do_xfrm otherwise.  Moved former main loop to...
13316         * (do_xfrm_cached): New function.
13317         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
13318         find_idx, find_position and stack_push.
13319         * (find_idx): New function.
13320         * (find_position): Likewise.
13321         * localedata/sort-test.sh: Added test run for do_xfrm.
13322         * localedata/xfrm-test.c (main): Added command line option
13323         -nocache to run the test with strings that are too large for
13324         the STRXFRM cache.
13326 2015-01-13  Torvald Riegel  <triegel@redhat.com>
13328         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
13329         variable to lll_futex_wake call, not the value itself.
13331 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
13333         [BZ #17803]
13334         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
13335         twom64.  Adjust value to 0x1p-64L.
13336         (__scalblnl): Only return standard underflowing result for K <=
13337         -64 not K <= -63; adjust exponent for underflowing result by 64
13338         not 63.
13339         * math/libm-test.inc (scalbn_test_data): Add more tests.
13340         (scalbln_test_data): Likewise.
13342         [BZ #17834]
13343         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
13344         0x1p63L.
13345         (__scalblnl): Get new exponent of adjusted subnormal value from ES
13346         not HX.
13347         * math/libm-test.inc (scalbn_test_data): Add more tests.
13348         (scalbln_test_data): Likewise.
13350 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13351             Stefani Seibold  <stefani@seibold.net>
13353         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
13354         (sysdep_routines): Add dl-vdso here, ...
13355         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
13356         (sysdep_routines): ... not here.
13357         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
13358         fallback when vDSO is not presented.
13359         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
13360         Define with libc_hidden_proto/libc_hidden_data_def definitions.
13361         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
13362         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
13363         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
13364         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
13365         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
13366         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
13367         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
13368         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
13369         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
13370         fallback configurable symbol when vDSO is not available.
13371         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
13372         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
13373         be able to redefine fallback symbol when vDSO is not available.
13374         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
13375         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
13377 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13379         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
13380         (TLS_INIT_TP): Add tm_capable initialization.
13381         (TLS_DEFINE_INIT_TP): Likewise.
13382         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
13383         TCB.
13384         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
13385         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
13386         calculation.
13387         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
13388         transactoion is lock elision is built and TCB tm_capable is set.
13389         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
13390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13391         (INTERNAL_SYSCALL_NCS): Likewise.
13392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13393         (INTERNAL_SYSCALL_NCS): Likewise.
13394         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
13396         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
13397         for powerpc.
13398         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13399         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
13400         and remove it for 32 bits case.
13401         [pthread_rwlock_t] (__rwelision): New field for lock elision.
13402         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
13403         initialization.
13404         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
13405         Disable lock elision with rdlocks if elision is not available.
13407         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
13408         (sysdep_routines): Add lock elision objects.
13409         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13410         [pthread_mutex_t] (__spins): Rework to add lock elision field.
13411         [pthread_mutex_t] (__elision): Add field.
13412         [__PTHREAD_SPINS]: Adjust to init lock elision field.
13413         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
13414         elision definitions for powerpc.
13415         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
13416         implementation of lock elision for powerpc.
13417         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
13418         implementation of timed lock elision for powerpc.
13419         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
13420         implementation of trylock with lock elision for powerpc.
13421         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
13422         implementaion of unlock for lock elision for powerpc.
13423         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
13424         automatic enable lock elision for mutexes.
13425         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
13426         transaction execution definitions for powerpc.
13427         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
13428         definitions.
13429         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
13430         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
13431         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
13432         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
13433         * NEWS: Update.
13435 2015-01-09  Roland McGrath  <roland@hack.frob.com>
13437         * sysdeps/posix/shm-directory.c: Use <> rather than ""
13438         for #include of <shm-directory.h>.
13440 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
13442         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
13443         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
13445 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
13447         [BZ #17791]
13448         * NEWS: Mention bug fix.
13449         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
13450         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
13451         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
13453 2015-01-09  Torvald Riegel <triegel@redhat.com>
13455         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
13457 2015-01-09  Torvald Riegel <triegel@redhat.com>
13459         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
13461 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
13463         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
13464         pointer and cast to uintptr_t.
13466 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
13468         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
13469         removed.
13470         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
13472 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
13474         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
13475         of 0.
13477 2015-01-08  Roland McGrath  <roland@hack.frob.com>
13479         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
13480         <nptl/pthreadP.h> instead.
13481         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
13483         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
13484         already defined.
13485         [__SIGRTMIN] (init): Function removed.
13486         [__SIGRTMIN] (initialized): Variable removed.
13487         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
13488         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
13489         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
13490         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
13491         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
13492         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
13493         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
13494         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
13495         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
13496         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
13497         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
13498         * sysdeps/nptl/allocrtsig.c: New file.
13499         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
13500         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
13501         * sysdeps/generic/testrtsig.h: File removed.
13503         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
13504         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
13506         * nptl/nptl-init.c (pthread_functions): Conditionalize
13507         .ptr__nptl_setxid initialization on [SIGSETXID].
13509         * sysdeps/nptl/sys/procfs.h: New file.
13510         * nptl_db/Makefile (headers): Add it.
13511         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
13513         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
13514         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
13515         * nptl/pthread_attr_setaffinity.c: Include it.
13516         * nptl/pthread_setattr_default_np.c: Likewise.
13517         * nptl/check-cpuset.h: New file.
13519 2015-01-08  Richard Henderson  <rth@redhat.com>
13521         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
13522         (CFLAGS-tst-execstack-prog.c): Likewise.
13523         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
13525 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
13526             Sandra Loosemore  <sandra@codesourcery.com>
13527             Andrew Jenner  <andrew@codesourcery.com>
13528             Joseph Myers  <joseph@codesourcery.com>
13529             Nathan Sidwell  <nathan@codesourcery.com>
13531         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
13532         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
13533         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
13534         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
13535         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
13536         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
13537         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
13538         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
13539         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
13540         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
13541         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
13542         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
13543         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
13544         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
13545         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
13546         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
13547         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
13549 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13551         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
13552         timespec struct member in syscall macro.
13553         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
13554         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
13555         first timeval struct member in syscall macro.
13556         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
13558 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
13560         [BZ #17748]
13561         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
13562         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
13563         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
13564         __feupdateenv and define as weak alias of __feupdateenv.  Use
13565         libm_hidden_weak.
13566         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
13567         libm_hidden_def.
13568         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
13569         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
13570         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
13571         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
13572         libm_hidden_def.
13573         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
13574         __feupdateenv and define as weak alias of __feupdateenv.  Use
13575         libm_hidden_weak.
13576         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
13577         libm_hidden_def.
13578         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
13579         __feupdateenv and define as weak alias of __feupdateenv.  Use
13580         libm_hidden_weak.
13581         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
13582         libm_hidden_def.
13583         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13584         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
13585         (__feupdateenv): Likewise.
13586         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
13587         __feupdateenv and define as weak alias of __feupdateenv.  Use
13588         libm_hidden_weak.
13589         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
13590         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
13591         libm_hidden_def.
13592         * sysdeps/tile/math_private.h (__feupdateenv): New inline
13593         function.
13594         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
13595         libm_hidden_def.
13596         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
13597         __feupdateenv instead of feupdateenv.
13598         (default_libc_feupdateenv_test): Likewise.
13599         (libc_feresetround_ctx): Likewise.
13601 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13603         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
13604         prototype.
13606 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
13608         * posix/regcomp.c (parse_bracket_exp): Initialize type to
13609         COLL_SYM in a couple of places to avoid uninitialized variable
13610         wanings on tilegx gcc 4.8.2.
13612 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
13614         * sysdeps/aarch64/strcpy.S: New file.
13615         * sysdeps/aarch64/stpcpy.S: New file.
13616         * NEWS: Updated.
13618 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
13620         * sysdeps/aarch64/strrchr.S: New file.
13621         * NEWS: Updated.
13623 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
13625         [BZ #17658]
13626         * stdlib/setenv.c: Fix memory leak when setting large,
13627         duplicate string.
13629 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
13631         [BZ #17273]
13632         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
13633         and tabs from buffer before parsing fstab entry.
13634         * misc/tst-mntent.c (main): Add test for mount entry with
13635         trailing spaces and tabs.
13637 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
13639         [BZ #17748]
13640         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
13641         * math/fesetround.c (fesetround): Rename to __fesetround and
13642         define as weak alias of __fesetround.  Use libm_hidden_weak.
13643         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
13644         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
13645         * sysdeps/arm/fesetround.c (fesetround): Likewise.
13646         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
13647         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
13648         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
13649         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
13650         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
13651         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
13652         __fesetround_inline.
13653         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
13654         __fesetround_inline instead of __fesetround.
13655         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
13656         __fesetround and define as weak alias of __fesetround.  Use
13657         libm_hidden_weak.  Call __fesetround_inline instead of
13658         __fesetround.
13659         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
13660         __fesetround and define as weak alias of __fesetround.  Use
13661         libm_hidden_weak.
13662         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
13663         Likewise.
13664         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
13665         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
13666         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
13667         * sysdeps/tile/math_private.h (__fesetround): New inline function.
13668         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
13669         __fesetround and define as weak alias of __fesetround.  Use
13670         libm_hidden_weak.
13671         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
13672         __fesetround instead of fesetround.
13673         (default_libc_feholdexcept_setround): Likewise.
13674         (libc_feholdsetround_ctx): Likewise.
13675         (libc_feholdsetround_noex_ctx): Likewise.
13677         [BZ #17748]
13678         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
13679         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
13680         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
13681         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
13682         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
13683         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
13684         define as weak alias of __fesetenv.  Use libm_hidden_weak.
13685         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
13686         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
13687         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
13688         define as weak alias of __fesetenv.  Use libm_hidden_weak.
13689         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
13690         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
13691         define as weak alias of __fesetenv.  Use libm_hidden_weak.
13692         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
13693         libm_hidden_def.
13694         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
13695         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
13696         Likewise.
13697         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
13698         define as weak alias of __fesetenv.  Use libm_hidden_weak.
13699         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
13700         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
13701         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
13702         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
13703         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
13704         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
13705         __fesetenv instead of fesetenv.
13706         (libc_feresetround_noex_ctx): Likewise.
13707         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
13708         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
13709         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
13710         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
13711         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
13712         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
13713         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13714         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
13715         (__feupdateenv): Likewise.
13716         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
13717         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
13718         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13719         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
13721 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
13723         [BZ #17806]
13724         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
13725         addresses have been freed.
13727 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
13729         * resolv/res_init.c (__res_vinit): Improve comments about nserv
13730         and nservall.
13732 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
13734         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
13735         Clean up check_pf allocation pattern. addresses
13737 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13739         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
13740         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
13741         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
13742         * nptl/pthread_exit.c (__pthread_exit): Likewise.
13743         * nptl/pthread_join.c (pthread_join): Likewise.
13744         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
13745         * sysdeps/posix/waitid.c (__waitid): Likewise.
13746         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
13747         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
13748         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
13749         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
13750         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
13751         Likewise.
13752         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
13753         (__libc_pread64): Likewise.
13754         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
13755         (__libc_pwrite): Likewise.
13756         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
13757         (__libc_pwrite64): Likewsie.
13758         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
13759         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
13760         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
13761         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
13762         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
13763         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
13764         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
13765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
13766         Likewise.
13767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13768         (__libc_pread64): Likewise.
13769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
13770         Likewise.
13771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
13772         (__libc_pwrite64): Likewise.
13773         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
13774         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
13775         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
13776         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
13777         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
13778         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
13779         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
13780         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
13781         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
13782         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
13783         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
13784         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
13785         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
13786         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
13787         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
13788         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
13789         Likewise.
13791 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
13793         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
13794         (CFLAGS-test-double.c): Likewise.
13795         (CFLAGS-test-ldouble.c): Likewise.
13796         (CPPFLAGS-test-ifloat.c): Likewise.
13797         (CPPFLAGS-test-idouble.c): Likewise.
13798         (CPPFLAGS-test-ildoubl.c): Likewise.
13799         (CFLAGS-test-test-fenv.c): Remove variable.
13800         (CFLAGS-test-misc.c): Likewise.
13802 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
13804         [BZ #17797]
13805         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
13806         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
13807         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
13808         CLOCKS_PER_SEC == 1000000.
13809         * time/clocktest.c (main): Replace %ld with %jd and cast to
13810         intmax_t.
13812 2015-01-05  Roland McGrath  <roland@hack.frob.com>
13814         * sysdeps/generic/unwind-resume.h: New file.
13815         * sysdeps/gnu/unwind-resume.c: Include it.
13816         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
13817         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
13818         argument list.
13819         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
13820         global rather than static.
13821         (_Unwind_Resume): Update user.
13822         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
13823         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
13824         rather than static.  Add __attribute__ ((cold)).
13825         (_Unwind_Resume, __gcc_personality_v0): Update callers.
13826         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
13827         * sysdeps/arm/arm-unwind-resume.S: New file.
13828         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
13829         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
13830         * sysdeps/arm/Makefile [$(subdir) = csu]
13831         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
13832         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
13833         Add rt-arm-unwind-resume.
13834         [$(subdir) = nptl]
13835         (libpthread-sysdep_routines, libpthread-shared-only-routines):
13836         Add pt-arm-unwind-resume.
13837         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
13838         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
13840 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
13842         [BZ #17748]
13843         * include/fenv.h (__feholdexcept): Declare.  Use
13844         libm_hidden_proto.
13845         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
13846         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
13847         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
13848         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
13849         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
13850         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
13851         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
13852         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
13853         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
13854         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
13855         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
13856         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
13857         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
13858         (feholdexcept): Likewise.
13859         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
13860         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
13861         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
13862         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
13863         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
13864         __feholdexcept instead of feholdexcept.
13865         (default_libc_feholdexcept_setround): Likewise.
13867 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
13869         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
13870         to avoid using stl/str to align destination.
13872 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
13874         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
13876 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
13878         [BZ #17796]
13879         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
13880         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
13881         Define as weak alias not strong alias.
13883 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
13885         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
13886         bltzal with addiupc.
13887         (RTLD_START): Ditto.
13889 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
13891         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
13892         for __vdso_* functions in declarations.
13893         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
13894         definitions.
13895         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
13896         INTERNAL_VSYSCALL): Use struct return types to check for error.
13898         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
13899         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
13900         function with cast from llround().
13901         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
13902         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
13903         Define.
13905 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
13907         [BZ #17793]
13908         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
13909         Define as weak alias not strong alias.
13911         [BZ #17635]
13912         * ctype/ctype-c99.c: New file.  isblank implementation moved from
13913         ...
13914         * ctype/ctype-extn.c: ... here.
13915         (__isblank_l): Move to ...
13916         * ctype/ctype-c99_l.c: ... here.  New file.
13917         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
13918         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
13919         Remove variable.
13920         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
13921         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
13922         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
13923         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
13924         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
13926         [BZ #17777]
13927         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
13928         (posix_fadvise64): Define as weak alias not strong alias.
13929         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13930         (posix_fallocate64): Likewise.
13931         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
13932         Remove variable.
13933         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
13934         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
13935         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
13936         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
13937         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
13939 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
13941         [BZ #16191]
13942         * NEWS: Mention bug fix.
13943         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
13944         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
13945         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
13946         (HOST_STACK_END_ADDR): Likewise.
13948 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
13950         [BZ #17748]
13951         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
13952         * math/fegetround.c (fegetround): Rename to __fegetround and
13953         define as weak alias of __fegetround.  Use libm_hidden_weak.
13954         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
13955         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
13956         * sysdeps/arm/fegetround.c (fegetround): Likewise.
13957         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
13958         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
13959         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
13960         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
13961         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
13962         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
13963         Undefine after rather than before function definition; use
13964         parentheses around function name in definition.
13965         (__fegetround): Also undefine macro after function definition.
13966         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
13967         __fegetround and define as weak alias of __fegetround.  Use
13968         libm_hidden_weak.  Do not undefine as macro.
13969         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
13970         Likewise.
13971         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
13972         __fegetround and define as weak alias of __fegetround.  Use
13973         libm_hidden_weak.
13974         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13975         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
13976         * sysdeps/tile/math_private.h (__fegetround): New inline function.
13977         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
13978         __fegetround and define as weak alias of __fegetround.  Use
13979         libm_hidden_weak.
13980         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
13981         __fegetround instead of fegetround.
13983         [BZ #17782]
13984         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
13985         Condition macro definition on [__USE_MISC].
13987         [BZ #17781]
13988         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
13989         (struct sigaction): Change type of sa_flags field to int.
13991         [BZ #17780]
13992         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
13993         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
13994         __glibc_reserved0.
13996         * nptl/version.c (banner): Use single year in copyright notice.
13998         * NEWS: Update copyright dates.
13999         * catgets/gencat.c (print_version): Likewise.
14000         * csu/version.c (banner): Likewise.
14001         * debug/catchsegv.sh: Likewise.
14002         * debug/pcprofiledump.c (print_version): Likewise.
14003         * debug/xtrace.sh (do_version): Likewise.
14004         * elf/ldconfig.c (print_version): Likewise.
14005         * elf/ldd.bash.in: Likewise.
14006         * elf/pldd.c (print_version): Likewise.
14007         * elf/sotruss.sh: Likewise.
14008         * elf/sprof.c (print_version): Likewise.
14009         * iconv/iconv_prog.c (print_version): Likewise.
14010         * iconv/iconvconfig.c (print_version): Likewise.
14011         * locale/programs/locale.c (print_version): Likewise.
14012         * locale/programs/localedef.c (print_version): Likewise.
14013         * login/programs/pt_chown.c (print_version): Likewise.
14014         * malloc/memusage.sh (do_version): Likewise.
14015         * malloc/memusagestat.c (print_version): Likewise.
14016         * malloc/mtrace.pl: Likewise.
14017         * manual/libc.texinfo: Likewise.
14018         * nptl/version.c (banner): Likewise.
14019         * nscd/nscd.c (print_version): Likewise.
14020         * nss/getent.c (print_version): Likewise.
14021         * nss/makedb.c (print_version): Likewise.
14022         * posix/getconf.c (main): Likewise.
14023         * scripts/test-installation.pl: Likewise.
14024         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
14026 2015-01-02  Will Newton  <will.newton@linaro.org>
14028         * sysdeps/arm/armv7/configure: Removed.
14029         * sysdeps/arm/armv7/configure.ac: Likewise.
14031 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
14033         * All files with FSF copyright notices: Update copyright dates
14034         using scripts/update-copyrights.
14035         * intl/plural.c: Regenerated.
14036         * locale/programs/charmap-kw.h: Likewise.
14037         * locale/programs/locfile-kw.h: Likewise.
14039 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14041         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
14043 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
14045         [BZ #17748]
14046         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
14047         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
14048         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
14049         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
14050         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
14051         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
14052         define as weak alias of __fegetenv.  Use libm_hidden_weak.
14053         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
14054         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
14055         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
14056         define as weak alias of __fegetenv.  Use libm_hidden_weak.
14057         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
14058         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
14059         define as weak alias of __fegetenv.  Use libm_hidden_weak.
14060         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
14061         libm_hidden_def.
14062         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
14063         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
14064         Likewise.
14065         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
14066         define as weak alias of __fegetenv.  Use libm_hidden_weak.
14067         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
14068         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
14069         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
14070         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
14071         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
14072         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
14073         __fegetenv instead of fegetenv.
14074         (libc_feholdsetround_noex_ctx): Likewise.
14076 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
14078         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
14079         (Elf_MIPS_ABIFlags_v0): New structure.
14080         (EF_MIPS_FP64): Define.
14081         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
14082         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
14083         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
14084         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
14085         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
14086         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
14087         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
14088         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
14089         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
14090         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
14091         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
14092         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
14093         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
14094         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
14095         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
14096         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
14097         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
14098         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
14099         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
14100         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
14101         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
14102         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
14103         field.
14104         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
14105         EF_MIPS_FP64.
14106         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
14107         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
14108         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
14109         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
14110         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
14111         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
14112         * sysdeps/mips/tst-abi-interlink.c: Likewise.
14113         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
14114         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
14115         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
14116         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
14117         record the current FP ABI extension.
14118         (mips-mode-switch): Define to show if kernel headers support mode
14119         switching.
14120         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
14121         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
14122         supported SYSV ABI version to 3.
14123         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
14124         feature.
14126 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14127             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14129         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
14130         path.
14131         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
14133 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
14135         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
14136         __fegetround and redefine to call __fegetround.  Remove condition
14137         on [!__NO_MATH_INLINES].
14138         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
14139         function.
14140         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
14141         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14142         Remove macro.
14143         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
14144         instead of <fenv_libc.h>.
14145         (__llrintl): Call fegetround instead of __fegetround.
14146         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
14147         instead of <fenv_libc.h>.
14148         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
14149         (__lrintl): Call fegetround instead of __fegetround.
14150         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
14151         instead of <fenv_libc.h>.
14152         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
14153         (__rintl): Call fegetround instead of __fegetround.
14155 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
14157         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
14158         arrays.
14160 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
14162         [BZ #17775]
14163         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
14164         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
14165         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
14167 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
14169         * sysdeps/i386/tls-macros.h: Include <features.h>.
14170         (TLS_LE): Use non-PIC version for GCC >= 5.0.
14171         (TLS_IE): Likewise.
14172         (TLS_LD): Likewise.
14173         (TLS_GD): Likewise.
14174         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
14175         define for GCC >= 5.0.
14177 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
14179         * math/test-fenv.c (test_single_exception, set_single_exc,
14180         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
14181         feexcp_mask_test, feenable_test, fe_single_test): Add
14182         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
14183         case where they are not used.
14184         * math/libm-test.inc: Likewise.
14185         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
14186         unused in the absence of FP rounding/exception support.
14187         * stdio-common/tst-printf-round.c: Likewise.
14188         * stdlib/tst-strtod-round.c: Likewise.
14189         * stdlib/tst-strtod-underflow.c: Likewise.
14191 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
14193         [BZ #17723]
14194         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
14195         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
14196         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
14197         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
14198         libm_hidden_weak.
14199         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
14200         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
14201         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
14202         libm_hidden_def.
14203         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
14204         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
14205         libm_hidden_weak.
14206         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
14207         Likewise.
14208         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
14209         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
14210         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
14211         libm_hidden_weak.
14212         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
14213         libm_hidden_def.
14214         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
14215         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
14216         (__feraiseexcept): Likewise.
14217         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
14218         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
14219         libm_hidden_weak.
14220         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
14221         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
14222         libm_hidden_def.
14223         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
14224         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
14225         Use libm_hidden_def.
14226         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
14227         libm_hidden_def.
14228         (feraiseexcept): Define as weak not strong alias.  Use
14229         libm_hidden_weak.
14230         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
14231         New inline function.  Factored out of ...
14232         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
14233         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
14234         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
14235         feraiseexcept.
14236         * math/w_acos.c (__acos): Likewise.
14237         * math/w_asin.c (__asin): Likewise.
14238         * math/w_ilogb.c (__ilogb): Likewise.
14239         * math/w_j0.c (y0): Likewise.
14240         * math/w_j1.c (y1): Likewise.
14241         * math/w_jn.c (yn): Likewise.
14242         * math/w_log.c (__log): Likewise.
14243         * math/w_log10.c (__log10): Likewise.
14244         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
14245         * sysdeps/aarch64/fpu/math_private.h
14246         (libc_feupdateenv_test_aarch64): Likewise.
14247         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
14248         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
14249         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
14250         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
14251         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
14252         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
14253         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
14254         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
14255         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
14256         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14258 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
14260         [BZ #17732]
14261         * io/test-utime.c (main): Replace %ld with %jd and cast to
14262         intmax_t.
14263         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
14264         * nptl/tst-mutex5.c: Include <stdint.h>.
14265         (do_test): Replace %ld with %jd and cast to intmax_t.
14266         * posix/tst-regex.c (run_test): Likewise.
14267         (run_test_backwards): Likewise.
14268         * rt/tst-clock.c: Include <stdint.h>.
14269         (clock_test): Replace %ld with %jd and cast to intmax_t.
14270         * rt/tst-cpuclock1.c: Include <stdint.h>.
14271         (do_test): Replace %lu with %ju and cast to uintmax_t.
14272         * rt/tst-cpuclock2.c: Include <stdint.h>.
14273         (do_test): Replace %lu with %ju and cast to uintmax_t.
14274         * rt/tst-mqueue1.c: Include <stdint.h>.
14275         (check_attrs): Replace %ld with %jd and cast to intmax_t.
14276         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
14277         intmax_t.
14278         * rt/tst-mqueue4.c (do_test): Likewise.
14279         * rt/tst-timer4.c: Include <stdint.h>.
14280         (check_ts): Replace %ld with %jd and cast to intmax_t.
14281         (do_test): Likewise.
14282         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
14283         and cast to intmax_t.
14284         * sysdeps/pthread/tst-timer.c (main): Likewise.
14285         * time/clocktest.c (main): Likewise.
14286         * time/tst-posixtz.c (do_test): Likewise.
14287         * timezone/tst-timezone.c (main): Likewise.
14289 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
14290             H.J. Lu  <hongjiu.lu@intel.com>
14292         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
14293         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
14294         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
14295         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
14296         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
14297         version if bit_Fast_Unaligned_Load is set.
14298         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14299         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14300         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14301         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14302         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14303         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14304         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14305         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
14306         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
14307         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
14308         to 4.
14309         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
14310         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
14311         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
14312         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
14314 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
14316         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
14317         instead of #if to avoid a Wundef warning.
14318         * stdlib/tst-limits.c (do_test): Likewise.
14320         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
14321         parallel other exception macros.
14322         (fegetenv): Convert from macro to extern inline so that it applies
14323         retroactively to inline functions already seen by the compiler.
14324         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
14326         * posix/Makefile (before-compile): Use $(objpfx) for
14327         posix-conf-vars-def.h.
14329 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14331         * posix/getconf.c (main): Use size_t for type of I.
14332         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
14333         NSPEC.
14335         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
14336         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
14337         * posix/posix-envs.def: Likewise.
14338         * sysdeps/posix/sysconf.c: Likewise.
14339         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
14340         (specs): Remove array.
14341         * scripts/gen-posix-conf-vars.awk: Support generation of specs
14342         array.
14344         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
14345         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
14346         (__sysconf): Use CONF_IS_* macros.
14348         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
14349         ($(objpfx)posix-conf-vars-def.h): New target.
14350         * posix/posix-conf-vars.list: New file.
14351         * posix/posix-conf-vars.h: New file.
14352         * posix/confstr.c: Include posix-conf-vars.h.
14353         (confstr): Use CONF_IS_* macros.
14354         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
14355         CONF_IS_* macros.
14356         * scripts/gen-posix-conf-vars.awk: New file.
14358 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
14360         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
14361         fegetround): Add no-op macros to avoid linknamespace issues.
14363         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
14364         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
14366         * sysdeps/unix/sysv/linux/tile/sysdep.h
14367         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
14368         assembly-specific section to avoid a redefinition warning.
14370         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
14371         long before casting to pointer to avoid a cast warning.
14373 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
14375         * sysdeps/tile/tilegx/Implies: New file.
14377 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
14379         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
14381 2014-12-23  Florian Weimer  <fweimer@redhat.com>
14383         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
14385 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
14387         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
14388         not define.
14389         * sysdeps/unix/sysv/linux/utimes.c: Do not include
14390         <kernel-features.h>.
14391         (__utimes) [__NR_utimes]: Make code unconditional.
14392         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
14393         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14394         (__ASSUME_UTIMES): Do not undefine.
14395         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14396         (__ASSUME_UTIMES): Likewise.
14397         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14398         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
14399         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
14400         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
14402 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
14404         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
14406 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
14408         [BZ #17747]
14409         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
14410         alias to weak alias for j0l, y0l.
14411         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
14412         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
14414         [BZ #17746]
14415         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
14416         conversion.
14418 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
14420         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
14421         to zero if not already defined.
14423 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
14425         [BZ #17724]
14426         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
14427         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
14428         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
14429         (char *) casts added.
14430         * sysdeps/ieee754/k_standardf.c: New file.
14431         * sysdeps/ieee754/k_standardl.c: Likewise.
14432         * math/Makefile (libm-support): Remove k_standard.
14433         (libm-calls): Add k_standard.
14435 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
14437         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
14438         Optimize to avoid an unnecessary FPCR read.
14440 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
14442         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
14443         Optimize to reduce FPCR/FPSR accesses.
14445 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
14447         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
14448         Call libc_fetestexcept_aarch64.
14450 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
14452         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
14453         Call libc_fesetround_aarch64.
14455 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
14457         [BZ #17733]
14458         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
14459         (__bind): Do not define as weak alias.
14460         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
14461         define.
14462         (__getsockname): Do not define as weak alias.
14464 2014-12-22  Will Newton  <will.newton@linaro.org>
14466         * manual/install.texi: Document that we require bison 2.7
14467         or above.
14468         * INSTALL: Regenerate.
14469         * configure.ac: Use AC_CHECK_PROG_VER instead of
14470         AC_PATH_PROG when checking for bison and check for
14471         version 2.7 or above.
14472         * configure: Regenerate.
14474 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
14476         [BZ #17745]
14477         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
14478         * sysdeps/tile/ffsll.c (ffsll): To here.
14480         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
14482 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
14484         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
14485         if not defined.
14486         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
14487         definition.
14488         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
14489         hidden ___tls_get_addr.
14490         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
14491         hidden __tls_get_addr.
14492         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
14493         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
14494         Likewise.
14496 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
14498         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
14499         _dl_init call.
14501 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
14503         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
14504         from "call _dl_init@PLT".
14505         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
14507 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
14509         * manual/search.texi: (Array Sort Function): Clarify stable sorting
14510         guarantees.
14512 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
14514         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
14516 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
14518         [BZ #17744]
14519         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
14520         strnlen.
14522 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
14524         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
14525         of multu on MIPSr6.
14526         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
14527         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
14528         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
14529         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
14530         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
14532 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
14534         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
14535         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
14536         (PTR_SUBU): Use subu for mips32r6/mips64r6.
14537         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
14538         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
14539         mips32r6/mips64r6.
14540         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
14542 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
14544         * string/strncat.c (STRNCAT): Simplify implementation.
14546 2014-12-19  David S. Miller  <davem@davemloft.net>
14548         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
14549         access the quad as both a long double and as a series of 4 words.
14551         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
14552         link_map->l_info array access.
14554 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
14556         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
14558         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
14559         * math/atest-exp2.c (TIMEOUT): Likewise.
14560         * math/atest-sincos.c (TIMEOUT): Likewise.
14562 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
14564         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
14565         -Wno-error with -fno-builtin-lround.
14567 2014-12-19  Torvald Riegel  <triegel@redhat.com>
14569         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
14570         Contains futex constants and functions moved over from ...
14571         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
14572         <lowlevellock-futex.h>.
14573         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
14574         (lll_timedwait_tid): Add comments and parentheses around macro
14575         arguments.
14577 2014-12-19  Torvald Riegel  <triegel@redhat.com>
14579         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
14580         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
14581         (__lll_private_flag): Remove.
14582         (lll_futex_wait): Likewise.
14583         (lll_futex_timed_wait): Likewise.
14584         (lll_futex_wake): Likewise.
14585         (lll_futex_requeue): Likewise.
14586         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
14587         (__lll_timedwait_tid): Spell out argument names.
14588         (lll_timedwait_tid): Add comments and parentheses around macro
14589         arguments.
14590         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
14591         LLL_SHARED and LLL_PRIVATE usable from assembly code.
14593 2014-12-19  Torvald Riegel  <triegel@redhat.com>
14595         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
14596         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
14597         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
14598         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
14599         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
14600         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
14601         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
14602         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
14603         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
14604         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
14605         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
14606         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
14607         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
14608         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
14609         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
14610         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
14611         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
14612         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
14613         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
14615 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
14617         * sysdeps/x86_64/x32/Makefile: New file.
14619 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
14621         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
14622         1L with (mp_limb_t) 1.
14624 2014-12-17  Roland McGrath  <roland@hack.frob.com>
14626         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
14627         * nptl/libc_pthread_init.c: ... here.
14628         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
14629         * nptl/register-atfork.c: ... here.
14631         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
14632         Use pthread_sigmask rather than INTERNAL_SYSCALL.
14633         Use assert_perror to check its return value.
14634         (__gai_create_helper_thread): Likewise.
14636         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
14638         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
14640 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
14642         [BZ #17725]
14643         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
14644         __profil_counter.
14645         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
14646         Likewise.
14647         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
14648         Likewise.
14649         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
14650         Likewise.
14651         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
14652         (profil_counter): Likewise.
14653         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
14654         (profil_counter): Likewise.
14655         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
14656         Likewise.
14657         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
14658         Likewise.
14659         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
14660         (profil_counter): Likewise.
14661         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
14662         Likewise.
14663         [!__profil_counter] (profil_counter): Define as weak alias of
14664         __profil_counter.
14665         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
14666         (profil_counter): Rename to __profil_counter.
14667         [!__profil_counter] (profil_counter): Define as weak alias of
14668         __profil_counter.
14669         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
14670         (profil_counter): Rename to __profil_counter.
14671         [!__profil_counter] (profil_counter): Define as weak alias of
14672         __profil_counter.
14673         * sysdeps/posix/profil.c: Update comment referring to
14674         profil_counter.
14675         (__profil): Use __profil_counter instead of profil_counter.
14676         * sysdeps/posix/sprofil.c (profil_counter): Rename to
14677         __profil_counter.  Use __profil_counter_ushort and
14678         __profil_counter_uint in definitions.
14679         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
14680         instead of profil_counter_uint and profil_counter_ushort.
14682         [BZ #17722]
14683         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
14684         define as weak alias of __inet_makeaddr.
14685         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
14686         as weak alias of __inet_addr.
14687         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
14688         as weak alias of __inet_pton.  Use libc_hidden_weak.
14689         * include/arpa/inet.h (__inet_pton): Declare.  Use
14690         libc_hidden_proto.
14691         (inet_makeaddr): Don't use libc_hidden_proto.
14692         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
14693         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
14694         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
14695         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
14696         Remove variable.
14697         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
14698         (test-xfail-POSIX/time.h/linknamespace): Likewise.
14700 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
14702         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
14704 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
14706         * stdio-common/bug-vfprintf-nargs.c (do_test):
14707         Cast value to intptr_t to avoid format warning
14708         for usage with PRIdPTR printing macro.
14710 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
14712         * libio/tst-widetext.c (do_test):
14713         Use format type %td instead of %Zd for ptrdiff_t
14714         in order to avoid format warning.
14716 2014-12-17  Andreas Schwab  <schwab@suse.de>
14718         * nscd/mem.c (gc): Add size_t cast to match printf format.
14720 2014-12-16  Roland McGrath  <roland@hack.frob.com>
14722         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
14723         (init): Apply PTR_MANGLE to pointers before storing them.
14724         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
14725         before using them.
14727 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
14729         [BZ #17719]
14730         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
14731         define as weak alias of __memrchr.
14732         (__memrchr): Do not define as strong alias of memrchr.
14733         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
14734         Remove variable.
14735         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
14736         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
14737         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
14739         [BZ #17717]
14740         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
14741         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
14742         (if_indextoname): Rename to __if_indextoname and define as weak
14743         alias of __if_indextoname.  Use libc_hidden_weak.
14744         (if_freenameindex): Rename to __if_freenameindex and define as
14745         weak alias of __if_freenameindex.
14746         (if_nameindex): Rename to __if_nameindex and define as weak alias
14747         of __if_nameindex.
14748         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
14749         __if_nametoindex and define as weak alias of __if_nametoindex.
14750         Use libc_hidden_weak.
14751         (if_freenameindex): Rename to __if_freenameindex and define as
14752         weak alias of __if_freenameindex.
14753         (if_nameindex): Rename to __if_nameindex and define as weak alias
14754         of __if_nameindex.
14755         (if_indextoname): Rename to __if_indextoname and define as weak
14756         alias of __if_indextoname.  Use libc_hidden_weak.
14757         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
14758         __if_nametoindex and define as weak alias of __if_nametoindex.
14759         Use libc_hidden_weak.
14760         (if_freenameindex): Rename to __if_freenameindex and define as
14761         weak alias of __if_freenameindex.  Use libc_hidden_weak.
14762         (if_nameindex_netlink): Use __if_freenameindex instead of
14763         if_freenameindex.
14764         (if_nameindex): Rename to __if_nameindex and define as weak alias
14765         of __if_nameindex.  Use libc_hidden_weak.
14766         (if_indextoname): Rename to __if_indextoname and define as weak
14767         alias of __if_indextoname.  Use libc_hidden_weak.
14768         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
14769         libc_hidden_proto.
14770         [!_ISOMAC] (__if_freenameindex): Likewise.
14771         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
14772         if_nametoindex.
14773         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
14774         variable.
14775         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
14776         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
14777         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
14778         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
14779         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
14780         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
14781         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
14783         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
14784         Remove variable.
14785         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
14786         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
14788 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14790         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
14791         subscript above bounds'
14793         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
14794         bounds.
14796 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
14798         * libio/tst-fopenloc.c: Use test-skeleton.c.
14800         * stdlib/tst-bsearch.c: Use test-skeleton.c.
14801         (entry): Rename to ITEM.
14802         (do_test, comp): Adjust.
14804         * stdio-common/tst-fseek.c: Use test-skeleton.c.
14806 2014-12-16  Torvald Riegel  <triegel@redhat.com>
14808         * string/tester.c: Include <libc-internal.h>.
14809         (test_memset): Ignore -Wmemset-transposed-args.
14811 2014-12-16  Torvald Riegel  <triegel@redhat.com>
14813         * misc/tst-mntent2.c (do_test): Fix warning.
14815 2014-12-16  Torvald Riegel  <triegel@redhat.com>
14817         * elf/tst-unique4lib.cc(a): Mark as used.
14819 2014-12-16  Florian Weimer  <fweimer@redhat.com>
14821         [BZ #17630]
14822         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
14823         names.
14825 2014-12-16  Allan McRae  <allan@archlinux.org>
14827         * stdio-common/Makefile (tests): Re-add bug26.
14829 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
14831         [BZ #17657]
14832         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
14833         static array.
14835 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
14837         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
14838         (__lll_lock_wait): Likewise.
14839         (__lll_timedlock_wait): Likewise.
14840         (__lll_timedwait_tid): Likewise.
14841         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
14842         (__lll_robust_timedlock_wait): Likewise.
14843         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
14844         (lll_cond_trylock): Likewise.
14845         (__lll_lock): Likewise.
14846         (__lll_robust_lock): Likewise.
14847         (__lll_cond_lock): Likewise.
14848         (lll_robust_cond_lock): Likewise.
14849         (__lll_timedlock): Likewise.
14850         (__lll_robust_timedlock): Likewise.
14851         (__lll_unlock): Likewise.
14852         (__lll_robust_unlock): Likewise.
14853         (lll_wait_tid): Likewise.
14854         (lll_timedwait_tid): Likewise.
14856 2014-12-15  Torvald Riegel  <triegel@redhat.com>
14858         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
14860 2014-12-15  Torvald Riegel  <triegel@redhat.com>
14862         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
14864 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
14866         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
14867         * stdio-common/tst-sprintf.c: Likewise.
14869 2014-12-15  Torvald Riegel  <triegel@redhat.com>
14871         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
14873 2014-12-15  Jeff Law  <law@redhat.com>
14875         [BZ #16617]
14876         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
14877         on the heap.  (CVE-2012-3406)
14878         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
14879         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
14880         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
14882 2014-12-15  Will Newton  <will.newton@linaro.org>
14884         * manual/install.texi: Bump required version of texinfo
14885         to 4.7 from 4.5.
14886         * INSTALL: Regenerated.
14887         * configure.ac: Check for makeinfo version 4.7 and above.
14888         * configure: Regenerated.
14890 2014-12-12  Roland McGrath  <roland@hack.frob.com>
14892         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
14893         PREFIX, string constant to insert between directory and name.
14894         * sysdeps/posix/shm_open.c: Update caller.
14895         * sysdeps/posix/shm_unlink.c: Likewise.
14896         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
14897         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
14898         (SEM_SHM_PREFIX): New macro.
14899         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
14900         [$(have-thread-library) = no].
14901         * nptl/Makefile (libpthread-routines): Add shm-directory.
14902         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
14903         * sysdeps/nptl/shm-directory.h: New file.
14904         * sysdeps/posix/shm-directory.c
14905         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
14906         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
14907         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
14908         INTERNAL_SYSCALL.
14909         (__where_is_shmfs): Function removed.
14910         (mountpoint, defaultmount, defaultdir, __namedsem_once):
14911         Variables removed.
14912         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
14913         Use SHM_GET_NAME.
14914         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
14916         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
14917         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
14918         unconditional for use inside libpthread.
14919         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
14921 2014-12-12  Roland McGrath  <roland@hack.frob.com>
14923         * nptl/pthread_getaffinity.c: New file.
14924         * nptl/pthread_setaffinity.c: New file.
14925         * nptl/pthread_getname.c: New file.
14926         * nptl/pthread_setname.c: New file.
14928         * nptl/pthread_create.c (START_THREAD_DEFN)
14929         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
14931 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
14932             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14934         * resolv/res_send.c (send_vc): Disable warning resplen may
14935         be used uninitialized.
14937 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
14939         * nptl/tst-mutex6.c
14940         (ATTR_NULL): New define checks ATTR against NULL.
14941         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
14942         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
14944 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
14946         [BZ #17581]
14947         * malloc/hooks.c
14948         (mem2mem_check): Revert my previous change.
14949         (malloc_check_get_size): Revert my previous change.
14950         (mem2chunk_check): Revert my previous change.
14952 2014-12-11  Roland McGrath  <roland@hack.frob.com>
14954         * sysdeps/posix/shm-directory.c: New file.
14955         * sysdeps/posix/shm-directory.h: New file.
14956         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
14957         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
14958         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
14959         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
14960         Transmute EPERM to EACCES.
14961         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
14962         from ...
14963         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
14964         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
14966 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14968         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
14969         pointer and cast to uintptr_t.
14970         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
14971         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
14972         Add cast to avoid warning.
14973         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
14975 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
14977         * nptl/semaphore.h: Move to ...
14978         * sysdeps/pthread/semaphore.h: ... here.
14979         * Makefile (installed-headers): Change nptl/semaphore.h to
14980         sysdeps/pthread/semaphore.h.
14982 2014-12-11  Roland McGrath  <roland@hack.frob.com>
14984         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
14985         generated error format strings.
14987         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
14988         -Wformat-extra-args warnings for scanf formats.
14989         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
14990         test of zero-length format (duh).
14991         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
14992         corner-case scanf format test.
14993         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
14994         generated fprintf format string.
14995         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
14996         corner-case sprintf format tests.
14997         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
14998         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
14999         -Wformat-extra-args warnings throughout.
15000         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
15001         (CFLAGS-scanf4.c): Likewise.
15002         (CFLAGS-scanf7.c): Likewise.
15003         (CFLAGS-tst-sprintf.c): Likewise.
15004         (CFLAGS-tst-printf.c): Likewise.
15005         (CFLAGS-tst-printfsz.c): Likewise.
15007 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
15009         * include/cpio.h: New file.
15010         * include/fmtmsg.h: Likewise.
15012         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
15013         corresponding format argument to size_t.
15014         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
15015         arguments.
15016         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
15017         corresponding format argument to size_t.
15018         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
15019         arguments.
15020         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
15021         corresponding format argument to size_t.
15022         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
15023         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
15024         (CFLAGS-tst-mbswcs2.c): Likewise.
15025         (CFLAGS-tst-mbswcs3.c): Likewise.
15026         (CFLAGS-tst-mbswcs4.c): Likewise.
15027         (CFLAGS-tst-mbswcs5.c): Likewise.
15028         (CFLAGS-tst-trans.c): Likewise
15030 2014-12-11  Roland McGrath  <roland@hack.frob.com>
15032         * posix/regexbug1.c (main): Use "%s" format with regerror results,
15033         rather than assuming they won't contain any '%'s.
15035 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
15037         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
15038         inhibit_loop_to_libcall to avoid recursive calls.
15039         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
15040         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
15042 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
15044         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
15045         prototype.
15047 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
15049         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
15050         integer value instead of boolean.
15052 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
15054         * malloc/malloc.c: Fix powerof2 check.
15056 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
15058         * locale/programs/locfile.h (maybe_swap_uint32):
15059         Remove inline and add unused attribute.
15061 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
15063         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
15064         Truncating assembler expression to a .long expression.
15066 2014-12-11  Andreas Schwab  <schwab@suse.de>
15068         * elf/rtld.c (struct map_args): Constify str member.
15069         (do_preload): Constify fname argument.
15071 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15073         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
15074         constants definition.
15076 2014-12-11  Andreas Schwab  <schwab@suse.de>
15078         [BZ #16657]
15079         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
15080         FORCE_ELISION instead of DO_ELISION.
15081         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
15082         Remove.
15083         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
15084         Likewise.
15086         * iconvdata/gconv-modules: Remove duplicate entry.
15088 2014-12-11  Will Newton  <will.newton@linaro.org>
15090         Merge gettext 0.19.3 into intl/.
15092         This involves a number of cosmetic changes to comments
15093         and ANSI function definitions and prototypes throughout
15094         all the files. The gettext copyright header is used but
15095         with the date ranges taken from the glibc copy.
15097         * NEWS: Add gettext merge to 2.21.
15098         * intl/bindtextdom.c: Switch to gettext copyright.
15099         Use ANSI definitions and prototypes.
15100         Use gl_* locking primitives rather than __libc_* ones.
15101         Use __builtin_expect rather than __glibc_likely/unlikely.
15102         * intl/dcgettext.c: Switch to gettext copyright.
15103         Use ANSI definitions and prototypes.
15104         * intl/dcigettext.c: Switch to gettext copyright.
15105         Use ANSI definitions and prototypes.
15106         (INTDIV0_RAISES_SIGFPE): New define.
15107         Use gl_* locking primitives rather than __libc_* ones.
15108         Include eval-plural.h instead of plural-eval.c.
15109         Use __builtin_expect rather than __glibc_likely/unlikely.
15110         * intl/dcngettext.c: Switch to gettext copyright.
15111         Use ANSI definitions and prototypes.
15112         * intl/dgettext.c: Likewise.
15113         * intl/dngettext.c: Likewise.
15114         * intl/plural-eval.c: Renamed to...
15115         * intl/eval-plural.h: ...this.
15116         * intl/explodename.c: Switch to gettext copyright.
15117         Use ANSI definitions and prototypes.
15118         (_nl_explode_name): Use strchr instead of __rawmemchr.
15119         * intl/finddomain.c: Switch to gettext copyright.
15120         Use ANSI definitions and prototypes.
15121         Use gl_* locking primitives rather than __libc_* ones.
15122         (_nl_find_domain): Use malloc rather than alloca for
15123         allocation of temporary locale name.
15124         * intl/gettext.c: Switch to gettext copyright.
15125         Use ANSI definitions and prototypes.
15126         * intl/gettextP.h: Switch to gettext copyright.
15127         Use ANSI definitions and prototypes.
15128         Use gl_* locking primitives rather than __libc_* ones.
15129         * intl/gmo.h: Switch to gettext copyright.
15130         (struct sysdep_string): Move struct segment_pair outside of
15131         struct definition.
15132         * intl/hash-string.c: Use ANSI definitions and prototypes.
15133         * intl/hash-string.h: Switch to gettext copyright.
15134         Use ANSI definitions and prototypes.
15135         * intl/l10nflist.c: Switch to gettext copyright.
15136         Use ANSI definitions and prototypes.
15137         (_nl_normalize_codeset): Avoid integer overflow.
15138         * intl/loadinfo.h: Switch to gettext copyright.
15139         Use ANSI definitions and prototypes.
15140         (LIBINTL_DLL_EXPORTED): New define.
15141         (PATH_SEPARATOR): New define.
15142         * intl/loadmsgcat.c: Switch to gettext copyright.
15143         * intl/localealias.c: Switch to gettext copyright.
15144         Use ANSI definitions and prototypes.
15145         (_nl_expand_alias): Use PATH_SEPARATOR.
15146         * intl/ngettext.c: Switch to gettext copyright.
15147         Use ANSI definitions and prototypes.
15148         * intl/plural-exp.c: Likewise.
15149         * intl/plural-exp.h: Switch to gettext copyright.
15150         Use ANSI definitions and prototypes.
15151         (struct expression): Move definition of enum operator outside
15152         of struct definition.
15153         * intl/plural.c: Regenerate.
15154         * intl/plural.y: Switch to gettext copyright.
15155         Use ANSI definitions and prototypes.
15156         Port to bison 3.0.
15157         * intl/textdomain.c: Switch to gettext copyright.
15158         Use ANSI definitions and prototypes.
15159         Use gl_* locking primitives rather than __libc_* ones.
15161 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
15163         * debug/warning-nop.c: Add used atrribute.
15165 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
15167         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
15169         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
15170         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
15171         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
15173 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
15174             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15176         [BZ #17634]
15177         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
15178         Undefine after defining function.  Define as weak alias of
15179         __wcschr.  Use libc_hidden_weak.
15180         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
15181         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
15182         (libc_hidden_def): Also define __GI___wcschr alias.
15183         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
15184         __wcschr and define as weak alias of __wcschr.
15185         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
15186         __wcschr.
15187         [!WCSCHR] (DEFAULT_WCSCHR): Define.
15188         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
15189         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
15190         libc_hidden_weak.  Do not use libc_hidden_def.
15191         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
15192         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
15193         __GI___wcschr alias.
15194         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
15195         [IS_IN (libc)] (wcschr): Define as macro expanding to
15196         __redirect_wcschr.
15197         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
15198         [IS_IN (libc)] (__wcschr_power6): Likewise.
15199         [IS_IN (libc)] (__wcschr_power7): Likewise.
15200         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
15201         instead of wcschr.
15202         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
15203         __libc_wcschr.
15204         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
15205         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
15206         __wcschr and define as weak alias of __wcschr.  Use
15207         libc_hidden_builtin_def.
15208         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
15209         as weak alias of __wcschr.  Use libc_hidden_weak.
15210         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
15211         wcschr.
15212         * time/era.c (_nl_init_era_entries): Likewise.
15213         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
15214         variable.
15215         (test-xfail-XPG3/time.h/linknamespace): Likewise.
15216         (test-xfail-XPG4/time.h/linknamespace): Likewise.
15218 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
15220         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
15221         format for long int variable.
15223 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
15225         [BZ #10672]
15226         * manual/search.texi: (Array Sort Function): Remove claim how to make
15227         qsort stable.
15229 2014-12-10  Andreas Schwab  <schwab@suse.de>
15231         [BZ #12847]
15232         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
15233         user-controlled locks.
15235 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
15237         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
15238         register.
15240 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
15242         * configure.ac (--disable-werror): New configure option.
15243         (enable_werror): New AC_SUBST.
15244         * configure: Regenerated.
15245         * config.make.in (enable-werror): New variable.
15246         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
15247         -Wno-error=undef.
15248         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
15249         * manual/install.texi (Configuring and compiling): Document
15250         --disable-werror.
15251         * INSTALL: Regenerated.
15252         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
15253         (CFLAGS-tst-chk2.c): Likewise.
15254         (CFLAGS-tst-chk3.c): Likewise.
15255         (CFLAGS-tst-chk4.cc): Likewise.
15256         (CFLAGS-tst-chk5.cc): Likewise.
15257         (CFLAGS-tst-chk6.cc): Likewise.
15258         (CFLAGS-tst-lfschk1.c): Likewise.
15259         (CFLAGS-tst-lfschk2.c): Likewise.
15260         (CFLAGS-tst-lfschk3.c): Likewise.
15261         (CFLAGS-tst-lfschk4.cc): Likewise.
15262         (CFLAGS-tst-lfschk5.cc): Likewise.
15263         (CFLAGS-tst-lfschk6.cc): Likewise.
15265         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
15266         (main): Disable -Wdeprecated-declarations around calls to
15267         register_printf_function.
15269         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
15270         (do_test): Disable -Wdiv-by-zero around some calls to
15271         fwrite_unlocked and fread_unlocked.
15273         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
15274         (DIAG_POP_NEEDS_COMMENT): Likewise.
15275         (_DIAG_STR1): Likewise.
15276         (_DIAG_STR): Likewise.
15277         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
15278         * stdio-common/bug21.c: Include <libc-internal.h>.
15279         (do_test): Disable -Wformat around call to sscanf.
15280         * stdio-common/scanf14.c: Include <libc-internal.h>.
15281         (main): Disable -Wformat around some calls to scanf functions.
15283 2014-12-09  Torvald Riegel  <triegel@redhat.com>
15285         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
15287 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15289         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
15290         stack variable alignment.
15292 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
15294         [BZ #17682]
15295         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
15296         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
15297         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
15298         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
15299         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
15300         __getrlimit instead of getrlimit.
15301         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
15302         __gettimeofday instead of gettimeofday.
15303         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
15304         Likewise.
15305         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
15306         Likewise.
15307         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
15308         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
15309         Remove variable.
15310         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
15311         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
15313 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15315         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
15316         for wide-character tests.
15318 2014-12-04  Roland McGrath  <roland@hack.frob.com>
15320         * io/openat64.c: #include <libc-internal.h>
15321         (__openat64): Prototypify.  Use ignore_value on MODE.
15322         * io/openat.c: Likewise.
15323         * misc/reboot.c: #include <libc-internal.h>
15324         (reboot): Prototypify.  Use ignore_value on HOWTO.
15325         * misc/ptrace.c: #include <libc-internal.h>
15326         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
15328 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
15330         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
15331         XPG4, UNIX98 and XOPEN2K.
15332         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
15333         Remove variable.
15334         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
15336 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15338         * libio/fileops.c: Use ISO C style for function definitions.
15339         * libio/iofopen.c: Likewise.
15340         * libio/wfileops.c: Likewise.
15342         [BZ #17653]
15343         * libio/fileops.c (_IO_new_file_underflow): Unset cached
15344         offset on EOF.
15345         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
15346         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
15347         (fgets_func): Function pointer to fgets and fgetws.
15348         (do_ftell_test): Add test to verify ftell value after read
15349         EOF.
15350         (do_test): Set fgets_func.
15352         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
15353         O_TRUNC flag for w and w+ modes.
15354         (do_rewind_test): Likewise.
15355         (do_ftell_test): Likewise.
15356         (do_write_test): Likewise.
15358         [BZ #17647]
15359         * libio/fileops.c (do_ftell): Seek only when there are
15360         unflushed writes.
15361         * libio/wfileops.c (do_ftell_wide): Likewise.
15362         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
15363         test case.
15364         (do_one_test): Call it.
15366 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
15368         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
15369         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
15370         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
15371         Remove variable.
15372         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
15373         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
15374         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
15376 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
15378         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
15379         Remove variable.
15380         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
15382         [BZ #17668]
15383         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
15384         as weak alias of __getifaddrs.  Use libc_hidden_weak.
15385         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
15386         __freeifaddrs.  Use libc_hidden_weak.
15387         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
15388         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
15389         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
15390         __freeifaddrs.  Use libc_hidden_weak.
15391         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
15392         __getifaddrs and define as weak alias of __getifaddrs.  Use
15393         libc_hidden_weak.
15394         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
15395         __freeifaddrs.  Use libc_hidden_weak.
15396         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
15397         Remove variable.
15398         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
15399         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
15401 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
15403         [BZ #17601]
15404         * sysdeps/mips/start.S (__start): Use indirect jump to call
15405         __libc_start_main.
15407 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
15409         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
15411         * nptl/tst-mutex1.c: Include <stdbool.h>.
15412         [!ATTR] (ATTR_NULL): New macro.
15413         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
15414         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
15415         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
15417         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
15418         to char *.
15420         [BZ #17665]
15421         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
15422         Change conditional to [__USE_MISC].
15424         [BZ #17664]
15425         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
15426         fgets_unlocked.
15427         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
15428         __fgets_unlocked.
15429         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
15430         fgets_unlocked.
15431         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
15432         Remove variable.
15433         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
15434         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
15435         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
15436         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
15437         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
15438         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
15439         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
15440         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
15441         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
15443         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
15445 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15447         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15448         Remove strpbrk objects.
15449         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15450         (__libc_ifunc_impl_list): Remove strpbrk implementation.
15451         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
15452         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
15453         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
15454         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
15456         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15457         Remove strcspn objects.
15458         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15459         (__libc_ifunc_impl_list): Remove strcspn implementation.
15460         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
15461         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
15462         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
15463         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
15465         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15466         Remove strspn objetcs.
15467         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15468         (__libc_ifunc_impl_list): Remove strspn implementation.
15469         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
15470         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
15471         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
15472         * sysdeps/powerpc/powerpc64/strspn.S: New file.
15474 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
15476         [BZ #17581]
15477         * malloc/hooks.c
15478         (mem2mem_check): Add a terminator to the chain of checking blocks.
15479         (malloc_check_get_size): Use it here.
15480         (mem2chunk_check): Ditto.
15482 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15484         * sysdeps/powerpc/powerpc64/strtok.S: New file.
15485         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
15487 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
15489         * bits/ioctl-types.h: Indent preprocessor directives correctly.
15491         * nptl/nptl-init.c: Include libc-internal.h.
15492         (__pthread_initialize_minimal_internal): Use ROUND_UP.
15494         * elf/ldconfig.c (search_dir): Expand comment.
15496 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
15498         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
15499         variable.
15500         (linknamespace-symlist-stdlibs-tests): Likewise.
15501         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
15502         instead of $(objpfx)symlist-stdlibs.
15503         (linknamespace-libs-isoc): New variable.
15504         (linknamespace-libs): Use $(linknamespace-libs-isoc).
15505         (linknamespace-libs-ISO): New variable.
15506         (linknamespace-libs-ISO99): Likewise.
15507         (linknamespace-libs-ISO11): Likewise.
15508         (linknamespace-libs-XPG3): Likewise.
15509         (linknamespace-libs-XPG4): Likewise.
15510         (linknamespace-libs-POSIX): Likewise.
15511         (linknamespace-libs-UNIX98): Likewise.
15512         (linknamespace-libs-XOPEN2K): Likewise.
15513         (linknamespace-libs-POSIX2008): Likewise.
15514         (linknamespace-libs-XOPEN2K8): Likewise.
15515         ($(objpfx)symlist-stdlibs): Replace by
15516         $(linknamespace-symlist-stdlibs-tests).  Use
15517         $(linknamespace-libs-$*) as set of libraries.
15518         ($(linknamespace-header-tests)): Update dependencies.  Use
15519         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
15520         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
15521         * conform/linknamespace.pl: Remove comment about considering
15522         definitions of symbols from irrelevant libraries.
15524 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
15526         [BZ #13862]
15527         * elf/dl-tls.c: Include <atomic.h>.
15528         (oom): Remove #ifdef SHARED/#endif.
15529         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
15530         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
15531         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
15532         big enough.
15533         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
15534         * nptl/Makefile (tests): Add tst-stack4.
15535         (modules-names): Add tst-stack4mod.
15536         ($(objpfx)tst-stack4): New.
15537         (tst-stack4mod.sos): Likewise.
15538         ($(objpfx)tst-stack4.out): Likewise.
15539         ($(tst-stack4mod.sos)): Likewise.
15540         (clean): Likewise.
15541         * nptl/tst-stack4.c: New file.
15542         * nptl/tst-stack4mod.c: Likewise.
15544 2014-11-27  J. Brown  <jb999@gmx.de>
15546         * sysdeps/x86/bits/string.h: Add recent CPUs.
15548 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
15550         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
15551         sigblock.
15553         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
15554         feof.
15556         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
15557         variable.
15559 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
15561         * nscd/connections.c: Include libc-internal.h because of macro
15562         usage ignore_value.
15564 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15566         * string/bits/string3.h (__warn_memset_zero_len): Don't
15567         declare for gcc newer than 5.0.
15568         (memset): Don't test for zero-length __LEN for gcc newer than
15569         5.0.
15571 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
15573         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
15574         size_t for %zu format.
15576         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
15577         difference, not %ju.
15579 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
15581         * include/libc-internal.h (ignore_value): New macro.
15582         * nscd/connections.c (restart): Wrap calls to setuid and setgid
15583         with ignore_value.
15585         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
15586         definition.
15588         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
15589         pthread_cleanup_push to void *.
15591         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
15592         Undefine.
15594         [BZ #16619]
15595         [BZ #16740]
15596         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
15597         instead of 1L << 52.
15599         * libio/bug-rewind.c (do_test): Check fwscanf return values.
15600         * libio/bug-rewind2.c (do_test): Likewise.
15602         * debug/test-stpcpy_chk-ifunc.c: Remove file.
15603         * debug/test-strcpy_chk-ifunc.c: Likewise.
15604         * wcsmbs/test-wcschr-ifunc.c: Likewise.
15605         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
15606         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
15607         * wcsmbs/test-wcslen-ifunc.c: Likewise.
15608         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
15609         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
15610         * Rules [$(multi-arch) = no] (tests): Do not filter out
15611         $(tests-ifunc).
15612         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
15613         * debug/Makefile (tests-ifunc): Remove variable.
15614         (tests): Do not add $(tests-ifunc).
15615         * wcsmbs/Makefile (tests-ifunc): Remove variable.
15616         (tests): Do not add $(tests-ifunc).
15617         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
15618         [TEST_IFUNC]: Remove conditionals.
15619         * string/test-string.h (TEST_IFUNC): Remove macro.
15620         [TEST_IFUNC]: Remove conditionals.
15622         * string/test-strchr.c [!WIDE] (L): New macro.
15623         [WIDE] (L): Likewise.
15624         (check1): Use CHAR instead of char.  Use L on string and character
15625         constants.
15627 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
15629         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
15630         tests.
15631         * sysdeps/powerpc/bits/atomic.h
15632         (__arch_atomic_exchange_and_add_32_acq): Add definition.
15633         (__arch_atomic_exchange_and_add_32_rel): Likewise.
15634         (atomic_exchange_and_add_acq): Likewise.
15635         (atomic_exchange_and_add_rel): Likewise.
15636         * sysdeps/powerpc/powerpc32/bits/atomic.h
15637         (__arch_atomic_exchange_and_add_64_acq): Add definition.
15638         (__arch_atomic_exchange_and_add_64_rel): Likewise.
15639         * sysdeps/powerpc/powerpc64/bits/atomic.h
15640         (__arch_atomic_exchange_and_add_64_acq): Add definition.
15641         (__arch_atomic_exchange_and_add_64_rel): Likewise.
15643 2014-11-26  Torvald Riegel  <triegel@redhat.com>
15645         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
15646         Change synchronization of __sched_fifo_min_prio and
15647         __sched_fifo_max_prio.
15648         * nptl/pthread_mutexattr_getprioceiling.c
15649         (pthread_mutexattr_getprioceiling): Likewise.
15650         * nptl/pthread_mutexattr_setprioceiling.c
15651         (pthread_mutexattr_setprioceiling): Likewise.
15652         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
15653         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
15654         Likewise.
15656 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
15658         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
15659         void.
15661 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
15663         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
15664         third argument const.
15666 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
15668         fnmatch: work around GCC compiler warning bug with uninit var
15669         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
15670         This works around a bug with x86-64 GCC 4.9.2 and earlier
15671         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
15672         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
15673         used uninitialized in this function [-Wmaybe-uninitialized]".
15675 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
15677         * posix/bug-regex31.c (main): Return RES not 0.
15679 2014-11-25  Anton Blanchard <anton@samba.org>
15681         * sysdeps/powerpc/bits/atomic.h
15682         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
15684 2014-11-24  Sterling Augustine  <saugustine@google.com>
15686         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
15688 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
15690         [BZ #17608]
15691         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
15693 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
15695         [BZ #17633]
15696         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
15697         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
15698         variable.
15699         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
15700         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
15702 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
15704         * string/strncpy.c (strncpy): Improve performance by using memset.
15706 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
15708         * string/strcpy.c (strcpy):
15709         Improve performance by using strlen and memcpy.
15711 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
15713         * string/strcoll_l.c (get_next_seq): __always_inline.
15714         * string/strcoll_l.c (do_compare): __always_inline.
15716 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15718         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
15719         defined.
15720         * include/mqueue.h: Likewise.
15721         * include/stdlib.h: Likewise.
15723         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
15724         (get_null_defines): Adjust.
15725         * sunrpc/Makefile: Adjust comment.
15726         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
15727         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
15728         (CFLAGS-interp.c): Likewise.
15729         (CFLAGS-ldconfig.c): Likewise.
15730         (CPPFLAGS-.os): Likewise.
15731         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
15732         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
15733         * extra-modules.mk (extra-modules.mk): Likewise.
15734         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
15735         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
15736         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
15737         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
15738         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
15739         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
15740         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
15741         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
15742         * iconvdata/Makefile (CPPFLAGS): Likewise.
15743         (cpp-srcs-left): Add libof for all iconvdata routines.
15744         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
15745         * include/assert.h: Likewise.
15746         * include/ctype.h: Likewise.
15747         * include/errno.h: Likewise.
15748         * include/libc-symbols.h: Likewise.
15749         * include/math.h: Likewise.
15750         * include/netdb.h: Likewise.
15751         * include/resolv.h: Likewise.
15752         * include/stdio.h: Likewise.
15753         * include/stdlib.h: Likewise.
15754         * include/string.h: Likewise.
15755         * include/sys/stat.h: Likewise.
15756         * include/wctype.h: Likewise.
15757         * intl/l10nflist.c: Likewise.
15758         * libidn/idn-stub.c: Likewise.
15759         * libio/libioP.h: Likewise.
15760         * nptl/libc_multiple_threads.c: Likewise.
15761         * nptl/pthreadP.h: Likewise.
15762         * posix/regex_internal.h: Likewise.
15763         * resolv/res_hconf.c: Likewise.
15764         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
15765         * sysdeps/arm/memmove.S: Likewise.
15766         * sysdeps/arm/sysdep.h: Likewise.
15767         * sysdeps/generic/_itoa.h: Likewise.
15768         * sysdeps/generic/symbol-hacks.h: Likewise.
15769         * sysdeps/gnu/errlist.awk: Likewise.
15770         * sysdeps/gnu/errlist.c: Likewise.
15771         * sysdeps/i386/i586/memcpy.S: Likewise.
15772         * sysdeps/i386/i586/memset.S: Likewise.
15773         * sysdeps/i386/i686/memcpy.S: Likewise.
15774         * sysdeps/i386/i686/memmove.S: Likewise.
15775         * sysdeps/i386/i686/mempcpy.S: Likewise.
15776         * sysdeps/i386/i686/memset.S: Likewise.
15777         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
15778         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15779         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
15780         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
15781         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15782         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15783         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
15784         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15785         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
15786         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15787         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15788         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15789         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15790         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15791         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15792         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15793         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
15794         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
15795         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
15796         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15797         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15798         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15799         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15800         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15801         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15802         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15803         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
15804         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15805         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
15806         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
15807         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15808         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15809         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15810         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15811         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15812         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
15813         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15814         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15815         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15816         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15817         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15818         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15819         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15820         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
15821         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15822         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15823         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
15824         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
15825         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15826         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
15827         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15828         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
15829         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
15830         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15831         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
15832         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
15833         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15834         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
15835         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
15836         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15837         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
15838         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15839         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
15840         * sysdeps/nptl/bits/libc-lock.h: Likewise.
15841         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
15842         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
15843         * sysdeps/posix/closedir.c: Likewise.
15844         * sysdeps/posix/opendir.c: Likewise.
15845         * sysdeps/posix/readdir.c: Likewise.
15846         * sysdeps/posix/rewinddir.c: Likewise.
15847         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
15848         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
15849         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
15850         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15851         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15852         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
15853         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
15854         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
15855         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
15856         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
15857         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
15858         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
15859         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
15860         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
15861         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
15862         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
15863         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
15864         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
15865         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
15866         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
15867         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
15868         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
15869         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
15870         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
15871         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
15872         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
15873         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
15874         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
15875         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
15876         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
15877         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
15878         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
15879         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
15880         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
15881         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
15882         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
15883         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15884         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15885         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
15886         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
15887         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
15888         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
15889         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
15890         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
15891         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
15892         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
15893         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
15894         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
15895         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
15896         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
15897         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
15898         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
15899         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
15900         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
15901         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
15902         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
15903         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
15904         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
15905         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
15906         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
15907         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
15908         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
15909         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
15910         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
15911         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
15912         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
15913         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
15914         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
15915         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
15916         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
15917         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
15918         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
15919         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
15920         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
15921         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
15922         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
15923         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
15924         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
15925         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
15926         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
15927         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
15928         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
15929         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
15930         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
15931         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
15932         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
15933         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
15934         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
15935         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
15936         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15937         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
15938         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
15939         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
15940         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
15941         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15942         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
15943         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
15944         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15945         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
15946         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
15947         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15948         * sysdeps/unix/alpha/sysdep.S: Likewise.
15949         * sysdeps/unix/alpha/sysdep.h: Likewise.
15950         * sysdeps/unix/make-syscalls.sh: Likewise.
15951         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
15952         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
15953         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
15954         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
15955         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
15956         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
15957         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
15958         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
15959         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
15960         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
15961         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
15962         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
15963         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15964         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
15965         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
15966         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
15967         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
15968         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
15969         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
15970         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
15971         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
15972         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
15973         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
15974         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
15975         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
15976         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
15977         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
15978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
15979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
15980         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
15981         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
15982         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
15983         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
15984         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15985         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
15986         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
15987         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
15988         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15989         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
15990         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
15991         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
15992         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
15993         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15994         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
15995         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
15996         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
15997         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15998         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15999         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
16000         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16001         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
16002         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
16003         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
16004         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
16005         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
16006         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
16007         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
16008         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16009         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
16010         * sysdeps/x86_64/memcpy.S: Likewise.
16011         * sysdeps/x86_64/memmove.c: Likewise.
16012         * sysdeps/x86_64/memset.S: Likewise.
16013         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
16014         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16015         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
16016         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
16017         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
16018         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16019         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16020         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16021         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16022         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16023         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16024         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16025         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
16026         * sysdeps/x86_64/multiarch/memset.S: Likewise.
16027         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16028         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
16029         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16030         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
16031         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
16032         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
16033         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
16034         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16035         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16036         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
16037         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
16038         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
16039         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16040         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
16041         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
16042         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
16043         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
16044         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
16045         * sysdeps/x86_64/strcmp.S: Likewise.
16047         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
16049         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
16050         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
16051         * elf/rtld-Rules: Likewise.
16052         * elf/setup-vdso.h: Likewise.
16053         * include/assert.h: Likewise.
16054         * include/bits/stdlib-float.h: Likewise.
16055         * include/errno.h: Likewise.
16056         * include/sys/stat.h: Likewise.
16057         * include/unistd.h: Likewise.
16058         * sysdeps/aarch64/setjmp.S: Likewise.
16059         * sysdeps/alpha/setjmp.S: Likewise.
16060         * sysdeps/arm/__longjmp.S: Likewise.
16061         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
16062         * sysdeps/arm/setjmp.S: Likewise.
16063         * sysdeps/arm/sysdep.h: Likewise.
16064         * sysdeps/generic/_itoa.h: Likewise.
16065         * sysdeps/generic/dl-sysdep.h: Likewise.
16066         * sysdeps/generic/ldsodefs.h: Likewise.
16067         * sysdeps/i386/dl-tls.h: Likewise.
16068         * sysdeps/i386/setjmp.S: Likewise.
16069         * sysdeps/m68k/setjmp.c: Likewise.
16070         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
16071         * sysdeps/mach/hurd/opendir.c: Likewise.
16072         * sysdeps/posix/getcwd.c: Likewise.
16073         * sysdeps/posix/opendir.c: Likewise.
16074         * sysdeps/posix/profil.c: Likewise.
16075         * sysdeps/powerpc/dl-procinfo.h: Likewise.
16076         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16077         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
16078         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
16079         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
16080         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
16081         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
16082         * sysdeps/s390/dl-tls.h: Likewise.
16083         * sysdeps/s390/s390-32/setjmp.S: Likewise.
16084         * sysdeps/s390/s390-64/setjmp.S: Likewise.
16085         * sysdeps/sh/sh3/setjmp.S: Likewise.
16086         * sysdeps/sh/sh4/setjmp.S: Likewise.
16087         * sysdeps/unix/alpha/sysdep.h: Likewise.
16088         * sysdeps/unix/arm/sysdep.S: Likewise.
16089         * sysdeps/unix/i386/sysdep.S: Likewise.
16090         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
16091         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
16092         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
16093         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
16094         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16095         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
16096         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
16097         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
16098         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
16099         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
16100         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
16101         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
16102         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
16103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16105         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
16106         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16107         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16108         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16109         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16110         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
16111         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16112         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16113         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
16114         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
16115         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
16116         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16117         * sysdeps/unix/x86_64/sysdep.S: Likewise.
16118         * sysdeps/x86_64/setjmp.S: Likewise.
16120         * include/math.h: Use IS_IN instead of IS_IN_libm.
16121         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
16122         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16123         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
16124         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
16125         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16126         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
16127         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
16128         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16129         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16130         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
16131         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
16132         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
16133         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
16134         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
16135         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
16136         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
16137         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
16138         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
16139         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
16140         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
16141         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
16142         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
16143         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
16144         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
16145         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
16146         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
16147         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
16148         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
16149         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
16150         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
16151         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
16152         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16153         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
16154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
16155         Likewise.
16156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
16157         Likewise.
16158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
16159         Likewise.
16160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
16161         Likewise.
16162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
16163         Likewise.
16164         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16165         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
16166         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16167         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16168         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16169         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16170         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
16171         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
16172         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
16173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
16174         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
16175         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
16176         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
16177         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
16178         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
16179         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
16180         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
16181         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
16182         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
16183         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16184         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
16185         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
16186         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
16187         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
16188         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
16189         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
16190         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
16192         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
16193         * nptl/pthreadP.h: Likewise.
16194         * nptl_db/structs.def: Likewise.
16195         * sysdeps/arm/sysdep.h: Likewise.
16196         * sysdeps/nptl/bits/libc-lock.h: Likewise.
16197         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
16198         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
16199         * sysdeps/unix/alpha/sysdep.h: Likewise.
16200         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
16201         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
16202         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
16203         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
16204         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
16205         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
16206         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16207         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
16208         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
16209         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
16210         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
16211         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
16212         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
16213         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
16214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
16215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
16216         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
16217         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
16218         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
16219         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
16220         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
16221         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
16222         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
16223         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
16224         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
16225         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
16227         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
16228         * nptl/pthreadP.h: Likewise.
16229         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
16230         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
16231         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
16232         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
16233         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
16234         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
16235         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
16236         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
16237         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
16238         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
16239         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
16240         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
16241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
16242         Likewise.
16243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
16244         Likewise.
16245         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
16246         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
16247         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
16248         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
16249         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
16250         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
16251         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
16252         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
16254         * dlfcn/dladdr.c: Use IS_IN.
16255         * dlfcn/dladdr1.c: Likewise.
16256         * dlfcn/dlclose.c: Likewise.
16257         * dlfcn/dlerror.c: Likewise.
16258         * dlfcn/dlinfo.c: Likewise.
16259         * dlfcn/dlmopen.c: Likewise.
16260         * dlfcn/dlopen.c: Likewise.
16261         * dlfcn/dlsym.c: Likewise.
16262         * dlfcn/dlvsym.c: Likewise.
16264         * include/ifaddrs.h: Use IS_IN.
16265         * inet/check_pf.c: Likewise.
16266         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16267         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
16269         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
16270         IS_IN_ldconfig.
16271         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
16272         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
16274         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
16275         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
16276         IS_IN (libc).
16278         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
16280         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
16281         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
16282         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
16283         * include/libc-symbols.h (IS_IN_LIB): New macro.
16284         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
16285         * include/netdb.h: Likewise.
16286         * include/stap-probe.h: Remove all uses of IN_LIB.
16288         * Makeconfig (module-cppflags-real): Define MODULE_NAME
16289         instead of IN_MODULE.
16290         * include/libc-symbols.h (IN_MODULE): Define using
16291         MODULE_NAME.
16292         (PASTE_NAME, PASTE_NAME1): New macros.
16293         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
16294         of IN_LIB.
16295         (STAP_PROBE_ASM): Likewise.
16297 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16299         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
16300         __mach_init in dlopened libc.
16302 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
16304         * sysdeps/arm/preconfigure.ac: Delete EABI check.
16305         * sysdeps/arm/preconfigure: Regenerate.
16307 2014-11-21  Roland McGrath  <roland@hack.frob.com>
16309         * nptl/pthread_create.c (__pthread_create_2_1): Set
16310         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
16311         when copying values from IATTR into PD.
16313 2014-11-21  Will Newton  <will.newton@linaro.org>
16314             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
16316         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
16317         Refactor inline-asm.  Also add comment.
16319         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
16320         ElfW macro instead of hardcoded Elf64 types.
16321         (la_aarch64_gnu_pltenter): Likewise.
16322         * sysdeps/aarch64/dl-machine.h
16323         (elf_machine_runtime_setup): Use ElfW(Addr).
16325         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
16326         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
16327         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
16328         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
16329         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
16330         (R_AARCH64_TLS_DTPMOD64): Rename to ..
16331         (R_AARCH64_TLS_DTPMOD): This.
16332         (R_AARCH64_TLS_DTPREL64): Rename to ...
16333         (R_AARCH64_TLS_DTPREL): This.
16334         (R_AARCH64_TLS_TPREL64): Rename to ...
16335         (R_AARCH64_TLS_TPREL): This.
16336         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
16337         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
16338         R_AARCH64_TLS_TPREL64.
16339         (elf_machine_rela): Likewise.
16341 2014-11-21  Torvald Riegel  <triegel@redhat.com>
16343         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
16344         by setting it to 0.  64b atomics are not supported currently.
16346 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
16348         [BZ #16469]
16349         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
16350         search domain names.
16352 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
16354         [BZ #16469]
16355         * NEWS: Update.
16356         * resolv/res_query.c (__libc_res_nquerydomain): Retain
16357         trailing dot.
16358         * posix/tst-getaddrinfo5.c: New.
16359         * posix/Makefile (tests): Add it.
16361 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
16363         [BZ #14498]
16364         * NEWS: Fixed.
16365         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
16366         after parsing line but before break_if_match.
16367         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
16368         if there is a protocol mismatch.
16370 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
16372         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
16373         because the potential race is on the user-supplied stream.
16375 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
16377         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
16378         string literal if not passed a buffer.
16379         * manual/job.texi (ctermid): Update reasoning, note deviation
16380         from posix, suggest mtasurace when not passed a buffer, for
16381         future non-preliminary safety notes.
16383 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
16385         * manual/users.texi (cuserid): Fix MT-Safety note for the case
16386         of not passing it a buffer.
16387         Reported by Peng Haitao.
16389 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
16391         * manual/Makefile ($(objpfx)stamp-summary): Require
16392         check-safety.sh to pass.
16393         * manual/check-safety.sh: Wish for verification that every
16394         @deftypefn and @deftypefun is followed by a @safety remark.
16396 2014-11-20  Roland McGrath  <roland@hack.frob.com>
16398         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
16400         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
16401         PTHREAD_CANCEL_ASYNCHRONOUS.
16402         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
16403         send SIGCANCEL.
16405         * nptl/default-sched.h: New file.
16406         * sysdeps/unix/sysv/linux/default-sched.h: New file.
16407         * nptl/pthread_create.c: Include it.
16408         (__pthread_create_2_1): Use collect_default_sched instead of making
16409         Linux syscalls here directly.
16411 2014-11-20  Torvald Riegel  <triegel@redhat.com>
16413         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
16414         __pthread_once): Use C11 atomics.
16416 2014-11-20  Torvald Riegel  <triegel@redhat.com>
16418         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
16420 2014-11-20  Torvald Riegel  <triegel@redhat.com>
16422         * include/atomic.h (__atomic_link_error, __atomic_check_size,
16423         atomic_thread_fence_acquire, atomic_thread_fence_release,
16424         atomic_thread_fence_seq_cst, atomic_load_relaxed,
16425         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
16426         atomic_compare_exchange_weak_relaxed,
16427         atomic_compare_exchange_weak_acquire,
16428         atomic_compare_exchange_weak_release,
16429         atomic_exchange_acquire, atomic_exchange_release,
16430         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
16431         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
16432         atomic_fetch_and_acquire,
16433         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
16435 2014-11-20  Torvald Riegel  <triegel@redhat.com>
16437         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
16438         USE_ATOMIC_COMPILER_BUILTINS): Define.
16439         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
16440         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16441         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
16442         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16443         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
16444         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16445         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
16446         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16447         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
16448         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16449         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
16450         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16451         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
16452         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16453         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
16454         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16455         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
16456         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16457         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
16458         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16459         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
16460         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16461         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
16462         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16463         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
16464         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16465         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
16466         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16467         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
16468         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16469         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
16470         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16471         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
16472         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16473         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
16474         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16475         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
16476         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16477         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
16478         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16480 2014-11-19  Roland McGrath  <roland@hack.frob.com>
16482         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
16483         the sched_priority value here.  It was already checked when the user
16484         called pthread_attr_setschedparam.
16486         * nptl/tst-bad-schedattr.c: New file.
16487         * nptl/Makefile (tests): Add it.
16489 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
16490             Florian Weimer  <fweimer@redhat.com>
16491             Joseph Myers  <joseph@codesourcery.com>
16492             Adam Conrad  <adconrad@0c3.net>
16493             Andreas Schwab  <schwab@suse.de>
16494             Brooks  <bmoses@google.com>
16496         [BZ #17625]
16497         * wordexp-test.c (__dso_handle): Add prototype.
16498         (__register_atfork): Likewise.
16499         (__app_register_atfork): New function.
16500         (registered_forks): New global.
16501         (register_fork): New function.
16502         (test_case): Add 3 new tests for WRDE_CMDSUB.
16503         (main): Call __app_register_atfork.
16504         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
16505         fork count is non-zero fail the test.
16506         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
16507         is set.
16508         (parse_dollars): Remove check for WRDE_NOCMD.
16509         (parse_dquote): Likewise.
16511 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16513         * Makeconfig (built-modules): List non-library modules to be
16514         built.
16515         (module-cppflags): Include libc-modules.h for
16516         everything except shlib-versions.v.i.
16517         (CPPFLAGS): Use it.
16518         (before-compile): Add libc-modules.h.
16519         ($(common-objpfx)libc-modules.h,
16520         $(common-objpfx)libc-modules.stmp): New targets.
16521         (common-generated): Add libc-modules.h and libc-modules.stmp.
16522         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
16523         * include/libc-symbols.h: Don't include libc-modules.h.
16524         * include/libc-modules.h: Remove file.
16525         * scripts/gen-libc-modules.awk: New script to generate
16526         libc-modules.h.
16527         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
16528         Depend on libc-modules.stmp.
16530         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
16532         * Makeconfig (in-module): Get value of libof set for the
16533         translation unit.
16534         (CPPFLAGS): Use $(in-module).
16535         * Makerules: Don't suffix routine names for nonlib.
16536         * include/libc-modules.h: New file.
16537         * include/libc-symbols.h: Include libc-modules.h
16538         (IS_IN): New macro to replace IS_IN_* macros.
16539         * elf/Makefile: Set libof-* for each routine.
16540         * elf/rtld-Rules: Likewise.
16541         * extra-modules.mk: Likewise.
16542         * iconv/Makefile: Likewise.
16543         * iconvdata/Makefile: Likewise.
16544         * locale/Makefile: Likewise.
16545         * malloc/Makefile: Likewise.
16546         * nss/Makefile: Likewise.
16547         * sysdeps/gnu/Makefile: Likewise.
16548         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
16549         * sysdeps/unix/sysv/linux/Makefile: Likewise.
16550         * sysdeps/s390/s390-64/Makefile: Likewise.
16551         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
16552         CPPFLAGS for nscd instead of nonlib.
16554 2014-11-18  Roland McGrath  <roland@hack.frob.com>
16556         * nptl/createthread.c: New file.
16558         * nptl/createthread.c: Moved ...
16559         * sysdeps/unix/sysv/linux/createthread.c: ... here.
16561         * nptl/createthread.c: Add proper top-line comment.
16562         (do_clone): Folded into ...
16563         (create_thread): ... here.  Take new arguments STOPPED_START and
16564         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
16565         increment __nptl_threads, do event-reporting logic, do
16566         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
16567         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
16568         resource cleanup if sched_setaffinity or sched_setscheduler fails,
16569         just send SIGCANCEL.
16570         * nptl/pthread_create.c: Forward-declare create_thread before
16571         including createthread.c.
16572         (start_thread): Use new macro START_THREAD_DEFN to replace defining
16573         declaration, and new macro START_THREAD_SELF to replace argument.
16574         Remove return statement.
16575         (report_thread_creation): New function.
16576         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
16577         synchronization logic, and __nptl_nthreads increment here, around
16578         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
16579         PD->parent_cancelhandling here, before create_thread.  When
16580         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
16581         __deallocate_stack, and ENOMEM translation here.
16583 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
16585         [BZ #17616]
16586         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
16587         (mptwo): Rename to __mptwo.
16588         (__inv): Use __mptwo instead of mptwo.
16589         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
16590         (mptwo): Rename to __mptwo.
16591         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
16592         of mpone and __mptwo instead of mptwo.
16593         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
16594         instead of mpone.
16595         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16596         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
16597         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
16598         of mpone and __mptwo instead of mptwo.
16599         (__mpranred): Use __mpone instead of mpone.
16600         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
16601         variable.
16602         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
16603         (test-xfail-ISO99/math.h/linknamespace): Likewise.
16604         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
16605         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
16606         (test-xfail-ISO11/math.h/linknamespace): Likewise.
16607         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
16608         (test-xfail-XPG3/math.h/linknamespace): Likewise.
16609         (test-xfail-XPG4/math.h/linknamespace): Likewise.
16610         (test-xfail-POSIX/math.h/linknamespace): Likewise.
16611         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
16612         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
16613         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
16614         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
16615         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
16616         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
16617         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
16618         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
16619         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
16620         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
16622 2014-11-18  Tom de Vries  <tom@codesoucery.com>
16624         * manual/signal.texi (Primitives Interrupted by Signals): In section,
16625         replace BSD Handler xref with BSD Signal Handling.
16627 2014-11-17  Richard Henderson  <rth@redhat.com>
16629         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
16630         (_FP_PACK_RAW_2): Remove.
16631         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
16632         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
16633         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
16634         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
16635         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
16636         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
16637         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
16638         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
16639         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
16640         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
16641         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
16642         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
16643         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
16644         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
16645         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
16646         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
16648 2014-11-14  Roland McGrath  <roland@hack.frob.com>
16650         * signal/signal.h [__USE_MISC]
16651         (struct sigvec): Remove type.
16652         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
16653         (sigvec): Remove declaration.
16654         * sysdeps/posix/sigvec.c: Moved ...
16655         * signal/sigvec.c: ... here, replacing old file.
16656         (struct sigvec): New type, copied from old signal.h definition.
16657         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
16658         (__sigvec): Convert definition to prototype.
16659         (sigvec): Replace weak_alias with compat_symbol.
16660         * signal/Versions (libc: GLIBC_2.21): New version set.
16661         * include/signal.h: Remove __sigvec declaration.
16662         * sysdeps/unix/bsd/sigvec.c: Remove file.
16663         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
16664         * manual/signal.texi (BSD Handler): Remove subsection.
16665         Move siginterrupt up to ...
16666         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
16667         (Blocking in BSD): Fold subsection into its parent.
16668         * NEWS: Mention sigvec removal.
16670 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
16672         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
16673         (DLA_FMS): Make definition conditional only on [__FMA4__].
16674         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
16675         definition.
16677         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
16678         Make definition conditional only on [PROF].
16679         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
16680         definition.
16681         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
16682         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
16684         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
16685         !__GNUC__].
16686         * include/signal.h (__sigpause): Move declaration above call to
16687         libc_hidden_proto.
16688         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
16689         variable.
16690         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
16691         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
16693 2014-11-14  David S. Miller  <davem@davemloft.net>
16695         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
16696         Define before including <string/memcpy.c> and <string/mempcpy.c>.
16698 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
16700         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
16701         * configure: Regenerated.
16702         * manual/install.texi (Tools for Compilation): Document a
16703         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
16704         compiler verified to work.
16705         * INSTALL: Regenerated.
16707         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
16708         redeclare with asm name.
16709         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
16710         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
16711         including <string.h>.
16712         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
16713         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
16714         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
16715         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
16716         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
16717         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
16718         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
16720 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
16722         * stdlib/strtol.c (__strtol): Use prototype definition.
16724         [BZ #17594]
16725         * stdlib/strtol.c (SYM__): New macro.
16726         (SYM__1): Likewise.
16727         (__strtol): Likewise.
16728         (strtol): Rename to __strtol and define as weak alias of
16729         __strtol.  Use libc_hidden_weak.
16731 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16733         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
16734         Use numbered labels in inline assembly.
16736 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16738         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
16739         Add setjmp LIBC_PROBE.
16740         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
16741         Likewise.
16742         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
16743         Add longjmp, longjmp_target LIBC_PROBE.
16744         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
16745         Likewise.
16747 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16749         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16750         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
16751         to get rid of unused variable warning.
16753 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16755         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
16756         Check for unwind_backtrace ==  NULL only in SHARED case.
16757         (__backchain_backtrace): Compile only in SHARED case.
16758         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
16759         Likewise.
16760         (__backchain_backtrace): Declare as static.
16762 2014-11-12  Roland McGrath  <roland@hack.frob.com>
16764         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
16765         (__libc_multiple_threads_ptr): Variable moved ...
16766         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
16768 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
16770         * conform/GlibcConform.pm: New file.
16771         * conform/conformtest.pl: Use GlibcConform module.
16772         * conform/linknamespace.pl: New file.
16773         * conform/list-header-symbols.pl: Likewise.
16774         * conform/Makefile (linknamespace-symlists-base): New variable.
16775         (linknamespace-symlists-tests): Likewise.
16776         (linknamespace-header-base): Likewise.
16777         (linknamespace-header-tests): Likewise.
16778         (tests-special): Add new tests.
16779         ($(linknamespace-symlists-tests)): New rule.
16780         (linknamespace-libs): New variable.
16781         ($(objpfx)symlist-stdlibs): New rule.
16782         ($(linknamespace-header-tests)): Likewise.
16783         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
16784         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
16785         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
16786         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
16787         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
16788         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
16789         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
16790         (test-xfail-ISO/math.h/linknamespace): Likewise.
16791         (test-xfail-ISO/signal.h/linknamespace): Likewise.
16792         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
16793         (test-xfail-ISO/time.h/linknamespace): Likewise.
16794         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
16795         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
16796         (test-xfail-ISO99/math.h/linknamespace): Likewise.
16797         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
16798         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
16799         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
16800         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
16801         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
16802         (test-xfail-ISO11/math.h/linknamespace): Likewise.
16803         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
16804         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
16805         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
16806         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
16807         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
16808         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
16809         (test-xfail-XPG3/math.h/linknamespace): Likewise.
16810         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
16811         (test-xfail-XPG3/search.h/linknamespace): Likewise.
16812         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
16813         (test-xfail-XPG3/time.h/linknamespace): Likewise.
16814         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
16815         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
16816         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
16817         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
16818         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
16819         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
16820         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
16821         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
16822         (test-xfail-XPG4/math.h/linknamespace): Likewise.
16823         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
16824         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
16825         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
16826         (test-xfail-XPG4/search.h/linknamespace): Likewise.
16827         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
16828         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
16829         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
16830         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
16831         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
16832         (test-xfail-XPG4/time.h/linknamespace): Likewise.
16833         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
16834         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
16835         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
16836         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
16837         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
16838         (test-xfail-POSIX/math.h/linknamespace): Likewise.
16839         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
16840         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
16841         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
16842         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
16843         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
16844         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
16845         (test-xfail-POSIX/time.h/linknamespace): Likewise.
16846         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
16847         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
16848         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
16849         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
16850         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
16851         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
16852         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
16853         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
16854         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
16855         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
16856         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
16857         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
16858         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
16859         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
16860         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
16861         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
16862         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
16863         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
16864         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
16865         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
16866         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
16867         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
16868         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
16869         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
16870         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
16871         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
16872         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
16873         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
16874         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
16875         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
16876         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
16877         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
16878         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
16879         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
16880         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
16881         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
16882         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
16883         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
16884         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
16885         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
16886         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
16887         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
16888         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
16889         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
16890         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
16891         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
16892         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
16893         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
16894         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
16895         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
16896         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
16897         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
16898         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
16899         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
16900         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
16901         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
16902         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
16903         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
16904         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
16905         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
16906         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
16907         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
16908         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
16909         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
16910         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
16911         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
16912         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
16913         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
16914         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
16915         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
16916         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
16917         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
16918         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
16919         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
16920         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
16921         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
16922         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
16923         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
16924         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
16925         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
16926         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
16927         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
16928         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
16929         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
16930         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
16931         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
16932         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
16933         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
16934         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
16935         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
16936         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
16937         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
16938         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
16939         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
16940         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
16941         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
16942         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
16943         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
16945         [BZ #17589]
16946         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
16947         of fgets_unlocked.
16949         [BZ #17585]
16950         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
16951         (memmem): Rename to __memmem and define as weak alias of
16952         __memmem.  Use libc_hidden_weak.
16953         (__memmem): Use libc_hidden_def.
16954         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
16955         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
16956         memmem.
16958         [BZ #17582]
16959         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
16960         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
16961         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
16962         and define as weak alias of __fgets_unlocked.  Use
16963         libc_hidden_weak.
16964         (__fgets_unlocked): Use libc_hidden_def.
16965         * include/stdio.h (__fgets_unlocked): Declare.  Use
16966         libc_hidden_proto.
16967         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
16968         __fgets_unlocked instead of fgets_unlocked.
16969         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
16970         (GET_NPROCS_CONF_PARSER): Likewise.
16971         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
16972         (GET_NPROCS_CONF_PARSER): Likewise.
16974         [BZ #17574]
16975         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
16976         weak alias of __wmemset.  Use libc_hidden_weak.
16977         (__wmemset): Use libc_hidden_def.
16978         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
16979         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
16980         of wmemset.
16982         [BZ #17573]
16983         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
16984         with asm name __mempcpy.
16985         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
16987         [BZ #17572]
16988         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
16989         and define as weak alias of __rawmemchr.
16990         (__rawmemchr): Do not define as strong alias of rawmemchr.
16992         [BZ #17571]
16993         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
16994         alias of __qsort_r.
16995         (qsort): Call __qsort_r instead of qsort_r.
16996         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
16997         (__qsort_r): Declare.  Call libc_hidden_proto.
16998         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
16999         instead of qsort_r.
17000         * nscd/gai.c (__qsort_r): Define to qsort_r.
17001         * posix/tst-rfc3484.c (__qsort_r): Likewise.
17002         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
17003         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
17005         [BZ #17570]
17006         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
17007         define as weak alias of __malloc_info.
17009         [BZ #17584]
17010         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
17011         as weak alias of __rewinddir.  Don't use libc_hidden_def.
17012         (__rewinddir): Use libc_hidden_def.
17013         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
17014         as weak alias of __rewinddir.  Don't use libc_hidden_def.
17015         (__rewinddir): Use libc_hidden_def.
17016         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
17017         weak alias of __rewinddir.  Don't use libc_hidden_def.
17018         (__rewinddir): Use libc_hidden_def.
17019         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
17020         (__rewinddir): Use libc_hidden_proto.
17021         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
17022         rewinddir.
17023         (__getcwd): Use __rewinddir instead of rewinddir.
17025         [BZ #17583]
17026         * libio/fileno.c (fileno): Rename to __fileno and define as weak
17027         alias of __fileno.  Use libc_hidden_weak.
17028         (__fileno): Use libc_hidden_def.
17029         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
17030         * libio/ftello.c (ftello): Rename to __ftello and define as weak
17031         alias of __ftello.
17032         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
17033         __ftello.
17034         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
17035         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
17036         libc_hidden_def.
17037         (fread_unlocked): Don't use libc_hidden_ver.
17038         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
17039         and define as weak alias of __fread_unlocked.  Don't use
17040         libc_hidden_def.
17041         (__fread_unlocked): Use libc_hidden_def.
17042         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
17043         (ftello): Don't use libc_hidden_proto.
17044         (__ftello): Declare.  Use libc_hidden_proto.
17045         (fread_unlocked): Don't use libc_hidden_proto.
17046         (__fread_unlocked): Declare.  Use libc_hidden_proto.
17047         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
17048         and __ftello instead of fileno, fread_unlocked and ftello.
17050 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
17052         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
17053         GOT12.
17054         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
17055         Likewise.
17056         (_dl_start_user): Likewise.
17057         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
17059 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
17060             Siddhesh Poyarekar  <siddhesh@redhat.com>
17062         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
17063         Move argv and envp down instead of moving argc up.
17064         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
17066 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
17068         [BZ #17506]
17069         * test-skeleton.c (main): Return successful if one of
17070         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
17071         * string/tst-strcoll-overflow.c: Define expected status.
17073 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
17075         [BZ #17475]
17076         * locale/iso-639.def: Define Bhili and Tulu language codes.
17078 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
17080         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
17082 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
17084         [BZ #17555]
17085         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
17087 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
17089         * configure.ac: Updated check of minimal required version to
17090         2.22.
17091         * manual/install.texi (Tools for Compilation): Updated version
17092         number.
17093         * configure: Regenerated.
17094         * INSTALL: Likewise.
17096 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
17098         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
17099         __tls_get_addr.
17101 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
17103         * include/sys/wait.h (__libc_waitpid): Remove declaration.
17104         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
17105         (__waitpid): Don't define as alias.  Use libc_hidden_def not
17106         libc_hidden_weak.
17107         (waitpid): Define as alias of __waitpid.
17108         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
17109         __waitpid.
17110         (__waitpid): Don't define as alias.  Use libc_hidden_def not
17111         libc_hidden_weak.
17112         (waitpid): Define as alias of __waitpid.
17113         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
17114         __libc_waitpid alias.
17115         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
17116         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
17117         Likewise.
17118         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
17119         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
17120         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
17121         alias.
17122         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
17123         __waitpid.
17124         (__waitpid): Don't define as alias.  Use libc_hidden_def not
17125         libc_hidden_weak.
17126         (waitpid): Define as alias of __waitpid.
17128 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
17130         * manual/llio.texi: Add comment that write safety has been
17131         fixed in Linux.
17133         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
17134         (localplt-build-dso): Add elf/ld.so.
17135         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
17136         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
17137         and free for ld.so.
17138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
17139         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
17140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
17141         Likewise.
17142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
17143         Likewise.
17144         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
17145         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
17146         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
17147         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
17148         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
17149         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
17150         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
17151         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
17152         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
17153         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
17154         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
17156 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
17158         [BZ #14132]
17159         * include/libc-symbols.h (INTUSE): Remove macro.
17160         (INTDEF): Likewise.
17161         (INTVARDEF): Likewise.
17162         (_INTVARDEF): Likewise.
17163         (INTDEF2): Likewise.
17164         (INTVARDEF2): Likewise.
17165         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
17166         rtld_hidden_def instead of INTVARDEF.
17167         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
17168         (_dl_starting_up_internal): Remove declaration.
17169         (_dl_starting_up): Use rtld_hidden_proto.
17170         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
17171         declaration.
17172         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
17173         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
17174         _dl_starting_up.
17175         * elf/dl-writev.h (_dl_writev): Likewise.
17176         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
17177         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
17178         _dl_starting_up_internal.
17180 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17182         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
17183         test-skeleton.c.
17185 2014-11-05  Will Newton  <will.newton@linaro.org>
17187         * benchtests/Makefile: (bench-malloc): Add malloc thread
17188         scalability benchmark.
17189         * benchtests/bench-malloc-threads.c: New file.
17191 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
17193         * sysdeps/aarch64/strchrnul.S: New file.
17195 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17197         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
17198         definition.
17199         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
17200         Likwise.
17201         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
17202         Likewise.
17203         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
17204         Likewise.
17205         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
17206         Likewise.
17207         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
17208         Likewise.
17210 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
17212         * catgets/test-gencat.c: Use test-skeleton.c.
17213         * catgets/tst-catgets.c: Likewise.
17214         * csu/tst-empty.c: Likewise.
17215         * elf/tst-audit2.c: Likewise.
17216         * elf/tst-global1.c: Likewise.
17217         * elf/tst-pathopt.c: Likewise.
17218         * elf/tst-piemod1.c: Likewise.
17219         * elf/tst-tls10.c: Likewise.
17220         * elf/tst-tls11.c: Likewise.
17221         * elf/tst-tls12.c: Likewise.
17222         * gnulib/tst-gcc.c: Likewise.
17223         * iconvdata/tst-e2big.c: Likewise.
17224         * iconvdata/tst-loading.c: Likewise.
17225         * iconv/tst-iconv1.c: Likewise.
17226         * iconv/tst-iconv2.c: Likewise.
17227         * inet/test-inet6_opt.c: Likewise.
17228         * inet/tst-gethnm.c: Likewise.
17229         * inet/tst-network.c: Likewise.
17230         * inet/tst-ntoa.c: Likewise.
17231         * intl/tst-codeset.c: Likewise.
17232         * intl/tst-gettext2.c: Likewise.
17233         * intl/tst-gettext3.c: Likewise.
17234         * intl/tst-ngettext.c: Likewise.
17235         * intl/tst-translit.c: Likewise.
17236         * io/test-stat.c: Likewise.
17237         * libio/test-fmemopen.c: Likewise.
17238         * libio/tst-freopen.c: Likewise.
17239         * libio/tst-sscanf.c: Likewise.
17240         * libio/tst-ungetwc1.c: Likewise.
17241         * libio/tst-ungetwc2.c: Likewise.
17242         * libio/tst-widetext.c: Likewise.
17243         * localedata/tst-ctype.c: Likewise.
17244         * localedata/tst-digits.c: Likewise.
17245         * localedata/tst-leaks.c: Likewise.
17246         * localedata/tst-mbswcs1.c: Likewise.
17247         * localedata/tst-mbswcs2.c: Likewise.
17248         * localedata/tst-mbswcs3.c: Likewise.
17249         * localedata/tst-mbswcs4.c: Likewise.
17250         * localedata/tst-mbswcs5.c: Likewise.
17251         * localedata/tst-setlocale.c: Likewise.
17252         * localedata/tst-trans.c: Likewise.
17253         * localedata/tst-wctype.c: Likewise.
17254         * localedata/tst-xlocale1.c: Likewise.
17255         * login/tst-grantpt.c: Likewise.
17256         * malloc/tst-calloc.c: Likewise.
17257         * malloc/tst-malloc.c: Likewise.
17258         * malloc/tst-mallocstate.c: Likewise.
17259         * malloc/tst-mcheck.c: Likewise.
17260         * malloc/tst-mtrace.c: Likewise.
17261         * malloc/tst-obstack.c: Likewise.
17262         * math/atest-exp2.c: Likewise.
17263         * math/atest-exp.c: Likewise.
17264         * math/atest-sincos.c: Likewise.
17265         * math/test-matherr.c: Likewise.
17266         * math/test-misc.c: Likewise.
17267         * math/test-powl.c: Likewise.
17268         * math/tst-definitions.c: Likewise.
17269         * misc/tst-dirname.c: Likewise.
17270         * misc/tst-efgcvt.c: Likewise.
17271         * misc/tst-fdset.c: Likewise.
17272         * misc/tst-hsearch.c: Likewise.
17273         * misc/tst-mntent2.c: Likewise.
17274         * nptl/tst-sem7.c: Likewise.
17275         * nptl/tst-sem8.c: Likewise.
17276         * nptl/tst-sem9.c: Likewise.
17277         * nss/test-netdb.c: Likewise.
17278         * posix/tst-fnmatch.c: Likewise.
17279         * posix/tst-getlogin.c: Likewise.
17280         * posix/tst-gnuglob.c: Likewise.
17281         * posix/tst-mmap.c: Likewise.
17282         * pwd/tst-getpw.c: Likewise.
17283         * resolv/tst-inet_ntop.c: Likewise.
17284         * rt/tst-timer.c: Likewise.
17285         * stdio-common/test-fseek.c: Likewise.
17286         * stdio-common/test-popen.c: Likewise.
17287         * stdio-common/test-vfprintf.c: Likewise.
17288         * stdio-common/tst-cookie.c: Likewise.
17289         * stdio-common/tst-fileno.c: Likewise.
17290         * stdio-common/tst-gets.c: Likewise.
17291         * stdio-common/tst-obprintf.c: Likewise.
17292         * stdio-common/tst-perror.c: Likewise.
17293         * stdio-common/tst-sprintf2.c: Likewise.
17294         * stdio-common/tst-sprintf3.c: Likewise.
17295         * stdio-common/tst-sprintf.c: Likewise.
17296         * stdio-common/tst-swprintf.c: Likewise.
17297         * stdio-common/tst-tmpnam.c: Likewise.
17298         * stdio-common/tst-unbputc.c: Likewise.
17299         * stdio-common/tst-wc-printf.c: Likewise.
17300         * stdlib/tst-environ.c: Likewise.
17301         * stdlib/tst-fmtmsg.c: Likewise.
17302         * stdlib/tst-limits.c: Likewise.
17303         * stdlib/tst-rand48-2.c: Likewise.
17304         * stdlib/tst-rand48.c: Likewise.
17305         * stdlib/tst-random2.c: Likewise.
17306         * stdlib/tst-random.c: Likewise.
17307         * stdlib/tst-strtol.c: Likewise.
17308         * stdlib/tst-strtoll.c: Likewise.
17309         * stdlib/tst-tls-atexit.c: Likewise.
17310         * stdlib/tst-xpg-basename.c: Likewise.
17311         * string/test-ffs.c: Likewise.
17312         * string/tst-bswap.c: Likewise.
17313         * string/tst-inlcall.c: Likewise.
17314         * string/tst-strtok.c: Likewise.
17315         * string/tst-strxfrm.c: Likewise.
17316         * sysdeps/x86_64/tst-audit10.c: Likewise.
17317         * sysdeps/x86_64/tst-audit3.c: Likewise.
17318         * sysdeps/x86_64/tst-audit4.c: Likewise.
17319         * sysdeps/x86_64/tst-audit5.c: Likewise.
17320         * time/tst-ftime_l.c: Likewise.
17321         * time/tst-getdate.c: Likewise.
17322         * time/tst-mktime3.c: Likewise.
17323         * time/tst-mktime.c: Likewise.
17324         * time/tst-posixtz.c: Likewise.
17325         * time/tst-strptime2.c: Likewise.
17326         * time/tst-strptime3.c: Likewise.
17327         * wcsmbs/tst-btowc.c: Likewise.
17328         * wcsmbs/tst-mbrtowc.c: Likewise.
17329         * wcsmbs/tst-mbsrtowcs.c: Likewise.
17330         * wcsmbs/tst-wchar-h.c: Likewise.
17331         * wcsmbs/tst-wcpncpy.c: Likewise.
17332         * wcsmbs/tst-wcrtomb.c: Likewise.
17333         * wcsmbs/tst-wcsnlen.c: Likewise.
17334         * wcsmbs/tst-wcstof.c: Likewise.
17336 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
17338         [BZ #14132]
17339         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
17340         INTDEF.
17341         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
17342         declaration.
17343         (_dl_mcount): Use rtld_hidden_proto.
17344         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
17345         _dl_mcount.
17346         * elf/rtld.c (_rtld_global_ro): Likewise.
17348         [BZ #14132]
17349         * elf/dl-init.c (_dl_init): Don't use INTDEF.
17350         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
17351         of _dl_init_internal.
17352         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
17353         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
17354         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
17355         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
17356         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
17357         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
17358         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
17359         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
17360         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
17361         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
17362         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
17363         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
17364         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
17365         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
17366         * sysdeps/tile/dl-start.S (_start): Likewise.
17367         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
17368         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
17370         [BZ #14132]
17371         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
17372         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
17373         (rtld_progname): Make macro definition unconditional.
17374         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
17375         INTDEF.
17376         (dlmopen_doit): Do not use INTUSE with _dl_argv.
17377         (dl_main): Likewise.
17378         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
17379         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
17380         instead of _dl_argv_internal.
17381         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
17382         __GI__dl_argv instead of INTUSE(_dl_argv).
17383         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
17384         __GI__dl_argv instead of _dl_argv_internal.
17386         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
17387         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
17388         macro.
17389         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
17390         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
17391         New macro.
17392         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
17393         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
17394         macro.
17395         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
17396         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
17398 2014-11-04  Andreas Schwab  <schwab@suse.de>
17400         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
17402 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17404         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
17405         mtvsrd instruction in binary form.
17407 2014-11-03  Andreas Schwab  <schwab@suse.de>
17409         [BZ #17522]
17410         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
17411         for less than MB_LEN_MAX use a local buffer of that size.
17412         * libio/tst-fputws.c: New file.
17413         * libio/Makefile (tests): Add tst-fputws.
17415 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
17417         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
17418         the size of the fpu_fr.fpu_dregs[] array.
17420 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
17422         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
17423         (__nanosleep): Do not define as alias.
17424         (nanosleep): Define as alias of __nanosleep.
17425         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
17426         __libc_nanosleep name.
17428 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
17430         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
17431         install.texi in comment.
17433 2014-10-31  Torvald Riegel  <triegel@redhat.com>
17435         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
17436         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
17437         ... add here and use lwsync or sync ...
17438         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
17439         ... and add here using lwsync.
17441 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
17443         * elf/dl-machine-reject-phdr.h: New file.
17444         * elf/dl-load.c: #include that.
17445         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
17446         if that returned true.
17448 2014-10-31  Roland McGrath  <roland@hack.frob.com>
17450         [BZ #17496]
17451         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
17452         gen-as-const-headers chunk.  Add a big scare comment after the last
17453         safe place to touch before-compile.
17455 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
17457         * manual/install.texi (Tools for Compilation): Update autoconf
17458         version requirements.
17459         * INSTALL: Regenerated.
17461         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
17462         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
17463         (__libc_pselect): Likewise.
17465         [BZ #14138]
17466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
17467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17471 2014-10-31  Torvald Riegel  <triegel@redhat.com>
17473         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
17474         correct barrier instruction.
17475         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
17476         Likewise.
17477         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
17478         Likewise.
17480 2014-10-30  Roland McGrath  <roland@hack.frob.com>
17482         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
17483         after defining inlines.  Instead, just use parens to defeat macro
17484         expansion of __isctype in its declaration.
17486 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
17488         * include/sys/uio.h (__libc_readv): Remove declaration.
17489         (__libc_writev): Likewise.
17490         * misc/readv.c (__libc_readv): Rename to __readv.
17491         (__readv): Do not define as alias.
17492         (readv): Define as alias of __readv.
17493         * misc/writev.c (__libc_writev): Rename to __writev.
17494         (__writev): Do not define as alias.
17495         (writev): Define as alias of __writev.
17496         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
17497         (__readv): Do not define as alias.
17498         (readv): Define unconditionally as alias of __readv.
17499         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
17500         (__writev): Do not define as alias.
17501         (writev): Define unconditionally as alias of __writev.
17502         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
17503         name.
17504         (writev): Do not define __libc_writev name.
17506 2014-10-30  Roland McGrath  <roland@hack.frob.com>
17508         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
17509         (convert_charseq): New function, broken out of ...
17510         (use_from_charmap): ... here.  Call it.
17511         (use_to_charmap): Use convert_charseq and free instead of duplicating
17512         its code with a variable-length stack struct.
17514 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
17516         * include/fcntl.h (__libc_creat): Remove declaration.
17517         * io/creat.c (__libc_creat): Rename to creat.
17518         (creat): Do not define as alias.
17519         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
17520         of creat instead of __libc_creat.
17521         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
17522         to creat.
17523         (creat): Do not define as alias.
17524         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
17525         __libc_creat.
17526         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
17527         __libc_creat name.
17528         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
17529         Likewise.
17531 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
17533         * manual/llio.texi: Add comments discussing why write() may be
17534         considered MT-unsafe on Linux.
17536 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
17538         * dl-load.c (local_strdup): Remove.
17539         (expand_dynamic_string_token): Use __strdup.
17540         (decompose_rpath): Likewise.
17541         (_dl_map_object): Likewise.
17543 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
17545         [BZ #14132]
17546         * sysdeps/generic/unwind-dw2-fde.c
17547         (__register_frame_info_bases_internal): Do not declare.
17548         (__register_frame_info_table_bases_internal): Likewise.
17549         (__deregister_frame_info_bases_internal): Likewise.
17550         (__register_frame_info_bases): Declare and use hidden_proto before
17551         definition.  Use hidden_def instead of INTDEF.
17552         (__register_frame_info_table_bases): Likewise.
17553         (__deregister_frame_info_bases): Likewise.
17554         (__register_frame_info): Do not use INTUSE.
17555         (__register_frame): Likewise.
17556         (__register_frame_info_table): Likewise.
17557         (__register_frame_table): Likewise.
17558         (__deregister_frame_info): Likewise.
17559         (__deregister_frame): Likewise.
17561 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
17563         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17564         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
17565         not undefine.
17566         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
17567         Likewise.
17568         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
17569         Likewise.
17571 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
17573         [BZ #14138]
17574         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
17575         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
17576         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
17577         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
17578         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
17579         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
17580         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
17581         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
17582         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
17583         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
17584         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
17585         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
17586         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
17587         syscall.
17588         (setfsuid): Likewise.
17589         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
17590         (setfsuid): Likewise.
17591         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
17592         (setfsuid): Likewise.
17593         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
17594         Likewise.
17595         (setfsuid): Likewise.
17596         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
17597         (setfsuid): Likewise.
17598         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
17599         Likewise.
17600         (setfsuid): Likewise.
17602 2014-10-27  Andreas Schwab  <schwab@suse.de>
17604         [BZ #17501]
17605         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
17606         check for Slow_SSE4_2 feature bit.
17607         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
17608         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17609         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
17610         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
17612 2014-10-24  Roland McGrath  <roland@hack.frob.com>
17614         * configure.ac: Validate compiler version with a empirical test of
17615         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
17616         $CC -v output.
17617         * configure: Regenerated.
17619         * inet/htons.c (htons): Prototypify.
17620         * inet/htonl.c (htonl): Likewise.
17622 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
17624         * string/strncat.c (strncat): Improve performance by using strlen.
17626 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
17628         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
17630 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
17632         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
17633         Call libc_fetestexcept_aarch64.
17635 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
17637         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
17638         Call libc_feholdexcept_aarch64.
17640 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
17642         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
17643         Call get_rounding_mode.
17645 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
17647         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
17648         Simplify logic.
17650 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
17652         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
17653         Simplify logic.
17655 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
17657         [BZ #14138]
17658         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
17659         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
17660         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
17661         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
17662         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
17663         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
17664         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
17665         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
17666         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
17667         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
17668         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
17669         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
17670         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
17671         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
17672         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
17673         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
17674         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
17675         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
17676         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
17677         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
17678         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
17679         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
17680         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
17681         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
17682         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
17683         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
17684         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
17685         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
17686         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
17687         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
17688         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
17689         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
17690         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
17691         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
17692         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
17693         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
17694         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
17695         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
17696         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
17697         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
17698         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
17699         syscall.
17700         (geteuid): Likewise.
17701         (getgid): Likewise.
17702         (getuid): Likewise.
17703         (getresgid): Likewise.
17704         (getresuid): Likewise.
17705         (getgroups): Likewise.
17706         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
17707         (geteuid): Likewise.
17708         (getgid): Likewise.
17709         (getuid): Likewise.
17710         (getresgid): Likewise.
17711         (getresuid): Likewise.
17712         (getgroups): Likewise.
17713         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
17714         (geteuid): Likewise.
17715         (getgid): Likewise.
17716         (getuid): Likewise.
17717         (getresgid): Likewise.
17718         (getresuid): Likewise.
17719         (getgroups): Likewise.
17720         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
17721         Likewise.
17722         (geteuid): Likewise.
17723         (getgid): Likewise.
17724         (getuid): Likewise.
17725         (getresgid): Likewise.
17726         (getresuid): Likewise.
17727         (getgroups): Likewise.
17728         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
17729         (geteuid): Likewise.
17730         (getgid): Likewise.
17731         (getuid): Likewise.
17732         (getresgid): Likewise.
17733         (getresuid): Likewise.
17734         (getgroups): Likewise.
17735         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
17736         Likewise.
17737         (geteuid): Likewise.
17738         (getgid): Likewise.
17739         (getuid): Likewise.
17740         (getgroups): Likewise.
17742         [BZ #14138]
17743         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
17744         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
17745         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
17746         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17747         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
17748         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
17749         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
17750         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
17751         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
17752         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
17753         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
17754         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
17755         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
17756         __chown.
17757         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
17758         (lchown): Likewise.
17759         (fchown): Likewise.
17760         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
17761         Likewise.
17762         (lchown): Likewise.
17763         (fchown): Likewise.
17764         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
17765         (lchown): Likewise.
17766         (fchown): Likewise.
17767         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
17768         Likewise.
17769         (lchown): Likewise.
17770         (fchown): Likewise.
17772 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
17774         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
17775         Simplify logic.
17777 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
17779         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
17780         Cleanup logic.
17782 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
17784         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
17785         Remove unused include.
17787 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
17789         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
17790         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
17791         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
17792         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
17794 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
17795             Helge Deller <deller@gmx.de>
17797         [BZ #17508]
17798         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
17799         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
17800         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
17802 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
17804         [BZ #14132]
17805         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
17806         Remove macro definition.
17807         (__ashrdi3_v_glibc20): Likewise.
17808         (__lshrdi3_v_glibc20): Likewise.
17809         (__cmpdi2_v_glibc20): Likewise.
17810         (__ucmpdi2_v_glibc20): Likewise.
17811         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
17812         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
17813         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
17814         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
17815         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
17816         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
17818 2014-10-22  Roland McGrath  <roland@hack.frob.com>
17820         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
17821         old GNU extension [0] syntax.
17822         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
17823         alloca rather than an array member with variable length.
17824         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
17825         * nscd/nscd.c (invalidate_db): New function, broken out of ...
17826         (parse_opt): ... here.  Likewise use alloca there.
17827         Validate the -i argument before checking for rootness.
17828         (send_shutdown): New function, broken out of ...
17829         (parse_opt): ... here.
17831 2014-10-22  Roland McGrath  <roland@hack.frob.com>
17833         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
17834         macro to get at the _rt_local_ro field.
17835         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
17836         ([PIC] case) or _dl_hwcap ([!PIC] case).
17837         * sysdeps/arm/setjmp.S: Likewise.
17839         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
17840         * sysdeps/arm/configure.ac: New check to define it.
17841         * sysdeps/arm/configure: Regenerated.
17842         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
17843         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
17844         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
17845         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
17846         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
17847         Use move/movt pair instead of a load.
17848         (LDST_GLOBAL): Macro removed.
17849         (LDR_GLOBAL): New macro replaces it.
17850         (LDR_HIDDEN): New macro.
17851         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
17852         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
17854         * setjmp/tst-setjmp-static.c: New file.
17855         * setjmp/Makefile (tests): Add it.
17856         (tests-static): New variable.
17858 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
17860         [BZ #17485]
17861         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
17863 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
17865         [BZ #14132]
17866         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
17868 2014-10-21  Roland McGrath  <roland@hack.frob.com>
17870         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
17872 2014-10-20  Roland McGrath  <roland@hack.frob.com>
17874         * io/fts.c (dirent_not_directory): New function.
17875         (fts_build): Call it.
17877 2014-10-20  Roland McGrath  <roland@hack.frob.com>
17879         * nptl/version.c (__nptl_main): Use normal __write rather than
17880         INTERNAL_SYSCALL.
17881         (banner): Update copyright years.
17883         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
17884         gettimeofday.
17885         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
17886         * nptl/pthread_cond_timedwait.c: Likewise.
17887         * nptl/pthread_mutex_timedlock.c: Likewise.
17888         * nptl/sem_timedwait.c: Likewise.
17890         * sysdeps/nptl/bits/libc-lock.h
17891         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
17892         (__libc_lock_init_recursive): Return void, not 0.
17893         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
17894         (__libc_rwlock_init): Likewise.
17895         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
17897 2014-10-20  Torvald Riegel  <triegel@redhat.com>
17899         [BZ #15215]
17900         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
17901         (__pthread_once_slow): ... here.
17902         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
17903         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
17905 2014-10-20  Torvald Riegel  <triegel@redhat.com>
17907         [BZ #15215]
17908         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
17909         __PTHREAD_ONCE_FORK_GEN_INCR): New.
17910         * sysdeps/nptl/fork.c (__libc_fork): Use them.
17911         * nptl/pthread_once.c (__pthread_once): Likewise.
17912         Update comments.
17914 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
17916         [BZ #14138]
17917         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
17918         name.
17919         (writev): Use __libc_writev as strong name.
17920         * sysdeps/unix/sysv/linux/readv.c: Remove file.
17921         * sysdeps/unix/sysv/linux/writev.c: Likewise.
17923 2014-10-17  Roland McGrath  <roland@hack.frob.com>
17925         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
17927         * sysdeps/i386/nptl/tls.h
17928         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
17929         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
17930         New macros.
17931         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
17932         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
17933         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
17934         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
17935         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
17936         Call CHECK_THREAD_SYSINFO instead of doing an assert.
17938         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
17939         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
17940         on [__NR_futex].
17941         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
17942         broken out of ...
17943         (__pthread_mutex_init): ... here.  Call it.
17944         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
17945         Conditionalize PI cases on [__NR_futex].
17946         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
17947         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
17948         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
17950         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
17951         conditional on [SIGSETXID].
17952         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
17953         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
17954         is defined.  Likewise for SIGSETXID.
17955         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
17956         Conditionalize definitions on [SIGSETXID].
17957         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
17958         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
17959         unblocking on [SIGCANCEL].
17961         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
17962         [__NR_set_robust_list].
17964 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
17966         * string/strcoll_l.c (get_next_seq): Fix up formatting.
17967         (do_compare): Likewise.
17969 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
17971         [BZ #15884]
17972         * string/strcoll_l.c: Don't include stdio.h.
17973         (coll_seq): Remove members idxarr and rulearr.
17974         (get_next_seq_cached): Remove function.
17975         (get_next_seq): Likewise.
17976         (get_next_seq_nocache): Rename to get_next_seq.
17977         (do_compare): Remove function.
17978         (do_compare_nocache): Rename to do_compare.
17979         (STRCOLL): Remove weight and rules cache.
17981 2014-10-16  Roland McGrath  <roland@hack.frob.com>
17983         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
17984         * sysdeps/arm/sfp-machine.h: ... to here.
17985         * sysdeps/arm/Implies: Remove arm/soft-fp.
17987 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
17989         * conform/data/sys/utsname.h-data (*_t): Allow.
17990         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
17991         [POSIX] (WEXITED): Do not expect constant.
17992         [POSIX] (WSTOPPED): Likewise.
17993         [POSIX] (WNOHANG): Likewise.
17994         [POSIX] (WNOWAIT): Likewise.
17995         [POSIX] (siginfo_t): Do not expect type or elements.
17996         [POSIX] (pid_t): Do not expect type.
17997         [POSIX] (signal.h): Do not allow header.
17998         [POSIX] (sys/resource.h): Likewise.
17999         [POSIX] (si_*): Do not allow pattern.
18000         [POSIX] (W*): Likewise.
18001         [POSIX] (P_*): Likewise.
18002         [POSIX] (BUS_*): Likewise.
18003         [POSIX] (CLD_*): Likewise.
18004         [POSIX] (FPE_*): Likewise.
18005         [POSIX] (ILL_*): Likewise.
18006         [POSIX] (POLL_*): Likewise.
18007         [POSIX] (SEGV_*): Likewise.
18008         [POSIX] (SI_*): Likewise.
18009         [POSIX] (TRAP_*): Likewise.
18010         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
18011         variable.
18013 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
18015         [BZ #12926]
18016         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
18017         infinite loop when __recvmsg returns 0.
18019 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
18021         * CANCEL-FCT-WAIVE: Remove file.
18022         * CANCEL-FILE-WAIVE: Likewise.
18024         [BZ #14132]
18025         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
18026         instead of INTVARDEF.
18027         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
18028         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
18029         rtld_hidden_data_def instead of INTVARDEF.
18030         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
18031         * elf/dl-deps.c (expand_dst): Likewise.
18032         * elf/dl-load.c (_dl_dst_count): Likewise.
18033         (_dl_dst_substitute): Likewise.
18034         (decompose_rpath): Likewise.
18035         (_dl_init_paths): Likewise.
18036         (open_path): Likewise.
18037         (_dl_map_object): Likewise.
18038         * elf/rtld.c (dl_main): Likewise.
18039         (process_dl_audit): Likewise.
18040         (process_envvars): Likewise.
18041         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
18042         Remove declaration.
18043         (__libc_enable_secure): Use rtld_hidden_proto.
18045 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18047         * elf/dl-load.c
18048         (add_path): New function broken out of _dl_rtld_di_serinfo.
18049         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
18051 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
18053         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
18054         parentheses around macro arguments.
18055         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
18056         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
18057         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
18058         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
18059         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
18060         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
18061         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
18062         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
18063         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
18064         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
18065         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
18066         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
18067         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
18068         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
18069         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
18070         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
18071         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
18072         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
18073         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
18074         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
18075         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
18076         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
18077         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
18078         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
18079         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
18080         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
18081         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
18082         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
18083         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
18084         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
18085         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
18086         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
18087         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
18088         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
18089         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
18090         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
18091         Likewise.
18092         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
18093         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
18094         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
18095         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
18096         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
18097         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
18098         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
18099         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
18100         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
18101         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
18102         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
18103         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
18104         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
18105         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
18106         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
18107         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
18108         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
18109         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
18110         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
18111         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
18112         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
18113         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
18114         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
18115         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
18116         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
18117         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
18118         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
18119         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
18120         (_FP_FRAC_SRS_1): Likewise.
18121         (_FP_FRAC_CLZ_1): Likewise.
18122         (_FP_MUL_MEAT_1_imm): Likewise.
18123         (_FP_MUL_MEAT_1_wide): Likewise.
18124         (_FP_MUL_MEAT_1_hard): Likewise.
18125         (_FP_SQRT_MEAT_1): Likewise.
18126         (_FP_FRAC_ASSEMBLE_1): Likewise.
18127         (_FP_FRAC_DISASSEMBLE_1): Likewise.
18128         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
18129         (__FP_CLZ_2): Likewise.
18130         (_FP_MUL_MEAT_2_wide): Likewise.
18131         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
18132         (_FP_MUL_MEAT_2_gmp): Likewise.
18133         (_FP_MUL_MEAT_2_120_240_double): Likewise.
18134         (_FP_SQRT_MEAT_2): Likewise.
18135         (_FP_FRAC_ASSEMBLE_2): Likewise.
18136         (_FP_FRAC_DISASSEMBLE_2): Likewise.
18137         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
18138         (_FP_FRAC_CLZ_4): Likewise.
18139         (_FP_MUL_MEAT_4_wide): Likewise.
18140         (_FP_MUL_MEAT_4_gmp): Likewise.
18141         (_FP_SQRT_MEAT_4): Likewise.
18142         (_FP_FRAC_ASSEMBLE_4): Likewise.
18143         (_FP_FRAC_DISASSEMBLE_4): Likewise.
18144         * soft-fp/op-common.h (_FP_CMP): Likewise.
18145         (_FP_CMP_EQ): Likewise.
18146         (_FP_CMP_UNORD): Likewise.
18147         (_FP_TO_INT): Likewise.
18148         (_FP_FROM_INT): Likewise.
18149         [!__FP_CLZ] (__FP_CLZ): Likewise.
18150         (_FP_DIV_HELP_imm): Likewise.
18151         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
18152         Likewise.
18153         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
18154         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
18155         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
18156         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
18157         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
18158         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
18159         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
18160         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
18161         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
18162         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
18163         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
18164         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
18165         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
18166         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
18167         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
18168         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
18169         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
18170         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
18171         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
18172         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
18173         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
18174         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
18175         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
18176         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
18177         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
18178         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
18179         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
18180         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
18181         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
18182         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
18183         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
18184         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
18185         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
18186         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
18187         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
18188         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
18189         (FP_UNPACK_RAW_SP): Likewise.
18190         (FP_PACK_RAW_S): Likewise.
18191         (FP_PACK_RAW_SP): Likewise.
18192         (FP_UNPACK_S): Likewise.
18193         (FP_UNPACK_SP): Likewise.
18194         (FP_UNPACK_SEMIRAW_S): Likewise.
18195         (FP_UNPACK_SEMIRAW_SP): Likewise.
18196         (FP_PACK_S): Likewise.
18197         (FP_PACK_SP): Likewise.
18198         (FP_PACK_SEMIRAW_S): Likewise.
18199         (FP_PACK_SEMIRAW_SP): Likewise.
18200         (_FP_SQRT_MEAT_S): Likewise.
18201         (FP_CMP_S): Likewise.
18202         (FP_CMP_EQ_S): Likewise.
18203         (FP_CMP_UNORD_S): Likewise.
18204         (FP_TO_INT_S): Likewise.
18205         (FP_FROM_INT_S): Likewise.
18207         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
18209         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
18210         (FP_EX_INVALID_IMZ): Likewise.
18211         (FP_EX_INVALID_IMZ_FMA): Likewise.
18212         (FP_EX_INVALID_ISI): Likewise.
18213         (FP_EX_INVALID_ZDZ): Likewise.
18214         (FP_EX_INVALID_IDI): Likewise.
18215         (FP_EX_INVALID_SQRT): Likewise.
18216         (FP_EX_INVALID_CVI): Likewise.
18217         (FP_EX_INVALID_VC): Likewise.
18218         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
18219         "invalid" exceptions.
18220         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
18221         (_FP_ADD_INTERNAL): Likewise.
18222         (_FP_MUL): Likewise.
18223         (_FP_FMA): Likewise.
18224         (_FP_DIV): Likewise.
18225         (_FP_CMP_CHECK_NAN): Likewise.
18226         (_FP_SQRT): Likewise.
18227         (_FP_TO_INT): Likewise.
18228         (FP_EXTEND): Likewise.
18230 2014-10-09  Allan McRae  <allan@archlinux.org>
18232         * po/fr.po: Update French translation from translation project.
18234 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
18236         [BZ #14132]
18237         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
18238         of INTDEF.
18239         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
18240         (__cxa_atexit): Use libc_hidden_proto.
18241         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
18243         [BZ #14132]
18244         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
18245         declaration.
18246         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
18247         [!_ISOMAC] (__iswspace_l_internal): Likewise.
18248         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
18249         [!_ISOMAC] (__iswctype_internal): Likewise.
18250         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
18251         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
18252         alias.
18253         (fcntl): Remove __fcntl_internal alias.
18254         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
18255         __connect_internal alias.
18256         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
18257         Likewise.
18259         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
18260         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
18261         FP_DENORM_ZERO.
18262         (_FP_CHECK_FLUSH_ZERO): New macro.
18263         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
18264         (_FP_CMP): Likewise.
18265         (_FP_CMP_EQ): Likewise.
18266         (_FP_TO_INT): Do not set inexact for subnormal arguments if
18267         FP_DENORM_ZERO.
18268         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
18269         (FP_TRUNC): Likewise.
18271         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
18272         treated as invalid conversion, not as normal exponent.
18274         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
18275         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
18276         (_FP_CMP_EQ): Likewise.
18277         (_FP_CMP_UNORD): Likewise.
18278         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
18279         (FP_CMP_EQ_D): Likewise.
18280         (FP_CMP_UNORD_D): Likewise.
18281         * soft-fp/extended.h (FP_CMP_E): Likewise.
18282         (FP_CMP_EQ_E): Likewise.
18283         (FP_CMP_UNORD_E): Likewise.
18284         * soft-fp/quad.h (FP_CMP_Q): Likewise.
18285         (FP_CMP_EQ_Q): Likewise.
18286         (FP_CMP_UNORD_Q): Likewise.
18287         * soft-fp/single.h (FP_CMP_S): Likewise.
18288         (FP_CMP_EQ_S): Likewise.
18289         (FP_CMP_UNORD_S): Likewise.
18290         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
18291         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
18292         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
18293         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
18294         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
18295         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
18296         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
18297         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
18298         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
18299         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
18300         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
18301         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
18302         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
18303         to FP_CMP_Q.
18304         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
18305         FP_CMP_Q.
18306         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
18307         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
18308         FP_CMP_EQ_Q.
18309         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
18310         FP_CMP_Q.
18311         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
18312         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
18313         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
18314         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
18315         FP_CMP_EQ_Q.
18316         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
18317         FP_CMP_Q.
18318         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
18319         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
18320         FP_CMP_EQ_Q.
18321         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
18322         FP_CMP_Q.
18323         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
18324         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
18325         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
18326         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
18327         FP_CMP_EQ_Q.
18329         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
18330         a subnormal result, set the underflow exception if trapping on
18331         underflow is enabled.
18332         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
18333         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
18334         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
18335         redefine to 0.
18336         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
18337         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
18338         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
18339         * soft-fp/extendxftf2.c (__extendxftf2): Use
18340         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
18342         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
18343         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
18344         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
18345         FP_HANDLE_EXCEPTIONS.
18346         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
18347         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
18348         FP_HANDLE_EXCEPTIONS.
18349         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
18350         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
18351         FP_HANDLE_EXCEPTIONS.
18352         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
18353         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
18354         FP_HANDLE_EXCEPTIONS.
18356 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
18358         [BZ #14132]
18359         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
18360         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
18361         use INTUSE.
18362         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
18363         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
18364         Remove alias.
18365         (__adjtimex): Define using libc_hidden_ver.
18366         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
18367         Remove declaration.
18368         (ntp_gettime): Call __adjtimex directly.
18369         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
18370         Remove declaration.
18371         (ntp_gettimex): Call __adjtimex directly.
18372         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
18373         __adjtimex_internal alias.
18375 2014-10-08  Roland McGrath  <roland@hack.frob.com>
18377         [BZ #17460]
18378         * nscd/nscd.c (more_help): Rewrite list of tables collection
18379         using xstrdup and asprintf.
18381         * nscd/nscd_conf.c: Remove local xstrdup declaration.
18383 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18384             Roland McGrath  <roland@hack.frob.com>
18386         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
18387         (do_lookup_unique): ... local function 'enter' here; update callers.
18389 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
18391         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
18392         compat_symbol calls on [SHARED].
18393         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
18394         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
18395         Remove.
18396         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
18397         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
18398         (oldsetrlimit): Remove.
18399         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
18400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
18401         (lchown): New syscall entry.
18402         (oldsetrlimit): Remove.
18403         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
18404         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
18405         (oldsetrlimit): Remove.
18406         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
18408         [BZ #14138]
18409         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
18410         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
18411         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
18412         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
18413         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
18414         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
18415         (fchown): Likewise.
18416         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
18417         (fchown): Likewise.
18418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
18419         Likewise.
18421 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18423         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
18424         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
18425         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
18426         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
18427         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
18428         Likewise.
18429         (__old_sem_post): Likewise.
18431 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
18433         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
18434         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
18435         HAVE_CLOCK_GETTIME_VSYSCALL macros.
18436         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
18437         Use INLINE_VSYSCALL macro.
18438         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
18439         __vdso_clock_gettime.
18440         * sysdeps/unix/sysv/linux/tile/init-first.c
18441         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
18442         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
18443         __vdso_clock_gettime.
18445         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
18446         to set up frame more cleanly.
18448         * sysdeps/tile/memcmp.c: New file.
18450         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
18452         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
18453         * sysdeps/tile/tilegx/strcasestr.c: New file.
18454         * sysdeps/tile/tilegx/strnlen.c: New file.
18455         * sysdeps/tile/tilegx/strstr.c: New file.
18457         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
18459 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
18461         * nptl/tst-setuid3.c: Write errors to stdout.
18463 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18465         * elf/dl-deps.c
18466         (preload): New functions broken out of _dl_map_object_deps.
18467         (_dl_map_object_deps):  Remove a nested function. Update call sites.
18469 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
18471         [BZ #14138]
18472         * sysdeps/unix/sysv/linux/execve.c: Remove file.
18473         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
18475 2014-10-01  Steve Ellcey  <sellcey@mips.com>
18477         * sysdeps/mips/strcmp.S: New.
18479 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
18481         [BZ #14138]
18482         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
18483         (linkat): Likewise.
18484         (mkdirat): Likewise.
18485         (readlinkat): Likewise.
18486         (renameat): Likewise.
18487         (symlinkat): Likewise.
18488         (unlinkat): Likewise.
18489         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
18490         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
18491         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
18492         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
18493         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
18494         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
18495         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
18497 2014-09-30  Will Newton  <will.newton@linaro.org>
18499         * math/math.h: Define long double math functions if
18500         _LIBC_TEST is defined.
18501         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
18503         * localedata/Makefile: Move assignment to tests-special
18504         into an ifdef testing run-built-tests.
18505         * timezone/Makefile: Likewise.
18507 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
18509         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
18510         with $(BASH) not $(SHELL).
18512 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
18513             Matthew LeGendre  <legendre1@llnl.gov>
18515         [BZ #17411]
18516         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
18517         l_reloc_result.
18519 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18521         * stdio-common/printf_fp.c
18522         (hack_digit): New function, broken out of ...
18523         (__printf_fp): ... local function here.  Update call sites.
18524         hack_digit now takes an additional parameter that is a pointer
18525         to a struct of the referenced locals.  Those locals moved inside
18526         the struct and references updated.
18528 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
18530         * aclocal.m4: Require autoconf 2.69.
18531         * configure: Regenerated.
18532         * sysdeps/aarch64/configure: Likewise.
18533         * sysdeps/alpha/configure: Likewise.
18534         * sysdeps/arm/armv7/configure: Likewise.
18535         * sysdeps/arm/configure: Likewise.
18536         * sysdeps/ia64/configure: Likewise.
18537         * sysdeps/mach/configure: Likewise.
18538         * sysdeps/mips/configure: Likewise.
18539         * sysdeps/s390/configure: Likewise.
18540         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
18541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
18543         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
18544         file.
18545         * sysdeps/ia64/configure.ac: Likewise.
18547 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
18549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
18550         specify symbol version for ld.so.  Do not include entry for
18551         libpthread.
18552         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
18553         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
18554         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
18556         [BZ #14171]
18557         * Makeconfig [$(build-shared) = yes]
18558         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
18559         makefiles.
18560         [$(build-shared) = yes && $(soversions.mk-done) = t]
18561         ($(common-objpfx)gnu/lib-names.h): Remove rule.
18562         [$(build-shared) = yes && $(soversions.mk-done) = t]
18563         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
18564         to Makerules.
18565         [$(build-shared) = yes && $(soversions.mk-done) = t]
18566         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
18567         here.
18568         [$(build-shared) = yes && $(soversions.mk-done) = t]
18569         (common-generated): Don't append gnu/lib-names.h and
18570         gnu/lib-names.stmp here.
18571         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
18572         (lib-names-h-abi): New variable.
18573         [$(build-shared) = yes && $(soversions.mk-done) = t]
18574         (lib-names-stmp-abi): Likewise.
18575         [$(build-shared) = yes && $(soversions.mk-done) = t &&
18576         abi-variants] (before-compile): Append
18577         $(common-objpfx)$(lib-names-h-abi).
18578         [$(build-shared) = yes && $(soversions.mk-done) = t &&
18579         abi-variants] (common-generated): Append gnu/lib-names.h.
18580         [$(build-shared) = yes && $(soversions.mk-done) = t &&
18581         abi-variants] (install-others-nosubdir): Depend on
18582         $(inst_includedir)/$(lib-names-h-abi).
18583         [$(build-shared) = yes && $(soversions.mk-done) = t &&
18584         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
18585         [$(build-shared) = yes && $(soversions.mk-done) = t]
18586         ($(common-objpfx)$(lib-names-h-abi)): New rule.
18587         [$(build-shared) = yes && $(soversions.mk-done) = t]
18588         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
18589         [$(build-shared) = yes && $(soversions.mk-done) = t]
18590         (common-generated): Append $(lib-names-h-abi) and
18591         $(lib-names-stmp-abi).
18592         * scripts/lib-names.awk: Do not handle multi being set.
18593         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
18594         Remove variable.
18595         (abi-lp64_be-ld-soname): Likewise.
18596         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
18597         Likewise.
18598         (abi-hard-ld-soname): Likewise.
18599         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
18600         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
18601         Remove variable.
18602         (abi-o32_hard-ld-soname): Likewise.
18603         (abi-o32_soft_2008-ld-soname): Likewise.
18604         (abi-o32_hard_2008-ld-soname): Likewise.
18605         (abi-n32_soft-ld-soname): Likewise.
18606         (abi-n32_hard-ld-soname): Likewise.
18607         (abi-n32_soft_2008-ld-soname): Likewise.
18608         (abi-n32_hard_2008-ld-soname): Likewise.
18609         (abi-n64_soft-ld-soname): Likewise.
18610         (abi-n64_hard-ld-soname): Likewise.
18611         (abi-n64_soft_2008-ld-soname): Likewise.
18612         (abi-n64_hard_2008-ld-soname): Likewise.
18613         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
18614         Likewise.
18615         (abi-64-v2-ld-soname): Likewise.
18616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
18617         ld.so entries.
18618         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
18619         variable.
18620         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
18621         entry.
18622         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
18623         variable.
18624         (abi-64-ld-soname): Likewise.
18625         (abi-x32-ld-soname): Likewise.
18626         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
18627         entry.
18628         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
18630 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
18632         [BZ #14138]
18633         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
18634         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
18635         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
18636         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
18637         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
18638         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
18639         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
18640         syscall entry for GLIBC_2.2 symbol version.
18641         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
18642         Likewise.
18643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
18644         (setrlimit): Likewise.
18645         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
18646         Likewise.
18648 2014-09-23  Will Newton  <will.newton@linaro.org>
18650         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
18651         _LINUX_ARM_SYSDEP_H include guard too.
18652         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
18653         define.
18655 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
18657         * sysdeps/unix/sysv/linux/eventfd.c:
18658         Make first argument unsigned.
18659         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
18660         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
18662 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
18664         * socket/recvmmsg.c (recvmmsg): Drop const argument.
18665         * socket/sys/socket.h: Likewise
18666         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
18668 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18670         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
18672 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
18674         * time/tst-ftime.c: New test.
18675         * time/Makefile (tests): Add tst-ftime.
18677 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
18679         * soft-fp/extended.h: Fix comment formatting.
18680         * soft-fp/op-1.h: Likewise.
18681         * soft-fp/op-2.h: Likewise.
18682         * soft-fp/op-4.h: Likewise.
18683         * soft-fp/op-8.h: Likewise.
18684         * soft-fp/op-common.h: Likewise.
18685         * soft-fp/soft-fp.h: Likewise.
18687         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
18689 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
18691         [BZ #6652]
18692         * Makeconfig (soversions-default-setname): Remove variable.
18693         ($(common-objpfx)soversions.i): Don't pass default_setname to
18694         soversions.awk.
18695         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
18696         oldest_abi to abi-versions.awk.
18697         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
18698         * config.make.in (oldest-abi): Remove variable.
18699         * configure.ac (--enable-oldest-abi): Remove configure option.
18700         * configure: Regenerated.
18701         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
18702         text.
18703         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
18704         * scripts/soversions.awk: Do not handle default_setname variable.
18705         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
18706         variable.
18707         * sysdeps/mach/hurd/configure: Regenerated.
18708         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
18709         variable.
18710         * sysdeps/unix/sysv/linux/configure: Regenerated.
18712 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18714         * elf/Makefile (CFLAGS-interp.c): Remove.
18715         ($(elf-objpfx)runtime-linker.h): Generate header with linker
18716         path string.
18717         * elf/interp.c: Include generated runtime-linker.h
18719         * Makerules (lib%.so): Don't include $(+interp) in
18720         prerequisites.
18721         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
18722         * dlfcn/eval.c: Remove file.
18724         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
18725         macros.
18727         [BZ #17266]
18728         * misc/sys/cdefs.h: Define __extern_always_inline for clang
18729         4.2 and newer.
18731         [BZ #17370]
18732         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
18734 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18735             Jakub Jelinek  <jakub@redhat.com>
18737         [BZ #17266]
18738         * libio/stdio.h: Check definition of __fortify_function
18739         instead of __extern_always_inline to include bits/stdio2.h.
18740         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
18741         check if __extern_always_inline is defined.
18742         [__USE_MISC || __USE_XOPEN]: Likewise.
18743         [__USE_ISOC99] Likewise.
18744         * misc/sys/cdefs.h (__fortify_function): Define only if
18745         __extern_always_inline is defined.
18746         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
18747         __extern_always_inline and __extern_inline only for g++-4.3
18748         and newer or a compatible gcc.
18750 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
18752         [BZ #17371]
18753         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
18754         last change to handle zero prefix length.
18756 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18758         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
18759         _SC_REGEX_VERSION.
18761         * posix/getconf.c (vars): Add _POSIX_IPV6 and
18762         _POSIX_RAW_SOCKETS.
18764 2014-09-13  Allan McRae  <allan@archlinux.org>
18766         * po/ru.po: Update Russian translation from translation project.
18768 2014-09-12  Roland McGrath  <roland@hack.frob.com>
18770         * locale/programs/locale.c (show_locale_vars): Inline local function
18771         into its sole call site.  Clean up some style nits.
18772         (print_item): New function, broken out of ...
18773         (show_info): ... local function here.  Clean up style nits.
18775         * locale/programs/ld-ctype.c (set_one_default): New function, broken
18776         out of ...
18777         (set_class_defaults): ... local function set_default here.
18778         Define set_default as a macro locally to pass constant parameters.
18779         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
18780         rather than a shared local.
18782         * stdlib/rpmatch.c (try): New function, broken out of ...
18783         (rpmatch): ... local function here.  Also, prototypify definition.
18785 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
18787         * scripts/soversions.awk: Do not handle configuration names.
18788         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
18789         vendor and os variables to soversions.awk.
18790         * configure.ac: Do not modify gnu-* host_os.
18791         * configure: Regenerated
18792         * shlib-versions: Remove first column with configuration names.
18793         * nptl/shlib-versions: Likewise.
18794         * nptl_db/shlib-versions: Likewise.
18795         * sysdeps/hppa/shlib-versions: Likewise.
18796         * sysdeps/m68k/shlib-versions: Likewise.
18797         * sysdeps/mach/hurd/shlib-versions: Likewise.
18798         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
18799         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
18800         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
18801         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
18802         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
18803         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
18804         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
18805         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
18806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
18807         Likewise.
18808         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
18809         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
18810         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
18811         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
18812         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
18813         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
18814         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
18815         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
18817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
18818         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
18819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
18820         Regenerated.
18821         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
18822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
18823         Condition symbol version definitions on [HAVE_ELFV2_ABI].
18825         * shlib-versions: Remove OS-specific entries.  Moved to files in
18826         sysdeps.
18827         * sysdeps/mach/hurd/shlib-versions: New file.
18828         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
18830         * nptl/shlib-versions: Remove architecture-specific entries.
18831         Moved to files in sysdeps.
18832         * shlib-versions: Likewise.
18833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
18834         file.
18835         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
18836         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
18837         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
18838         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
18840         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
18841         (UDP_NO_CHECK6_RX): Likewise.
18843 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18845         * sysdeps/posix/sysconf.c (__sysconf): Spell
18846         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
18848 2014-08-12  Florian Weimer  <fweimer@redhat.com>
18850         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
18851         loading.
18852         * iconv/Versions (__gconv_transliterate): Export for use from
18853         gconv modules.
18854         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
18855         (struct __gconv_trans_data, __gconv_trans_fct,
18856         __gconv_trans_context_fct, __gconv_trans_query_fct,
18857         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
18858         definitions.
18859         (struct __gconv_step_data): Remove __trans member.
18860         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
18861         longer hidden.  Remove unused trans_data argument.
18862         * iconv/gconv_int.h (struct trans_struct): Remove definition.
18863         (__gconv_translit_find): Remove declaration.
18864         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
18865         prototype.
18866         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
18867         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
18868         trans_data argument.  Add hidden definition.
18869         (__gconv_translit_find): Remove.
18870         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
18871         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
18872         * iconv/skeleton.c: Remove transliteration initialization.
18873         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
18874         __gconv_step_data initialization.
18875         * libio/iofwide.c (__libio_translit_): Remove.
18876         (_IO_fwide): Adjust struct __gconv_step_data initialization.
18877         * wcsmbs/btowc.c (__btowc): Likewise.
18878         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
18879         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
18880         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
18881         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
18882         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
18883         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
18884         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
18885         * wcsmbs/wctob.c (wctob): Likewise.
18887 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18889         [BZ #16194]
18890         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
18891         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
18892         register usage.
18893         * sysdeps/x86/Makefile: Adjust.
18895 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18896             Roland McGrath  <roland@hack.frob.com>
18898         * locale/weight.h: Add include guard.
18899         (findidx): Make static rather than auto; take new parameters
18900         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
18901         * locale/weightwc.h: Likewise.
18902         * posix/fnmatch_loop.c
18903         (FCT): Change type of EXTRA from int32_t to wint_t.
18904         Don't include either header inside the function.
18905         Call FINDIDX rather than findidx, and pass new arguments.
18906         #undef FINDIDX at the end of the file.
18907         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
18908         FINDIDX before including fnmatch_loop.c for the non-wide version.
18909         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
18910         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
18911         for the wide version.
18912         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
18913         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
18914         Pass new arguments to findidx.
18915         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
18916         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
18917         Don't #include it inside the function.  Pass new arguments to findidx.
18918         * posix/regex_internal.h
18919         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
18920         (re_string_elem_size_at): Don't #include it inside the function.
18921         Pass new arguments to findidx.
18922         * string/strcoll_l.c: #include WEIGHT_H at top level.
18923         (get_next_seq): Don't #include it inside the function.
18924         Pass new arguments to findidx.
18925         (get_next_seq_nocache): Likewise.
18926         * string/strxfrm_l.c: #include WEIGHT_H at top level.
18927         (STRXFRM): Don't #include it inside the function.
18928         Pass new arguments to findidx.
18930 2014-09-11  Florian Weimer  <fweimer@redhat.com>
18932         [BZ #17344]
18933         * malloc/malloc.c (unlink): Turn asserts into a call to
18934         malloc_printerr.
18936 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
18938         [BZ #17370]
18939         * libio/wfileops (do_ftell_wide): Free OUT.
18941 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
18943         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
18945 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18947         [BZ #17363]
18948         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
18949         group if the current group is empty.
18951 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18953         * benchtests/bench-memset.c (test_main): Add more test from size
18954         from 32 to 512 bytes.
18955         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18956         Add POWER8 memset object.
18957         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18958         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
18959         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
18960         implementation.
18961         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
18962         Likewise.
18963         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
18964         multiarch POWER8 memset optimization.
18965         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
18966         POWER8 memset optimization.
18968         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18969         Remove bzero multiarch objects.
18970         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
18971         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
18972         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
18973         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
18974         Remove define.
18975         [__bzero]: Redefine to specific name.
18976         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
18977         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
18978         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
18979         define.
18980         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18981         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
18983 2014-09-10  Florian Weimer  <fweimer@redhat.com>
18985         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
18986         warnings into errors.
18988         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
18989         __cxa_thread_atexit_impl prototype.
18991 2014-09-09  Steve Ellcey  <sellcey@mips.com>
18993         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
18994         Fix capitalization of error message.
18996 2014-09-09  Steve Ellcey  <sellcey@mips.com>
18998         * sysdeps/mips/preconfigure: Modify ABI tests.
19000 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
19002         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
19004 2014-09-07  Roland McGrath  <roland@hack.frob.com>
19005             Carlos O'Donell  <carlos@systemhalted.org>
19007         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
19008         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
19009         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
19010         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
19011         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
19012         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
19013         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
19014         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
19015         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
19016         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
19017         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
19018         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
19019         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
19020         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
19021         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
19022         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
19023         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
19024         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
19025         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
19026         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
19027         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
19028         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
19029         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
19030         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
19031         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
19032         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
19033         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
19034         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
19035         Deconditionalize the code that was previously under [RESET_PID].
19036         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
19037         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
19038         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
19039         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
19040         include sysdep.h.
19042 2014-09-08  Allan McRae  <allan@archlinux.org>
19044         * version.h (RELEASE): Set to "development".
19045         (VERSION): Set to "2.20.90"
19047 2014-09-07  Allan McRae  <allan@archlinux.org
19049         * version.h (RELEASE): Set to "stable".
19050         (VERSION): Set to "2.20"
19051         * include/features.h (__GLIBC_MINOR__): Set to 20.
19053         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
19054         Liebler.
19056         * po/ko.po: Update Korean translation from translation project.
19058 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
19060         [BZ #17354]
19061         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
19062         macro for handling signed relocations.
19064 2014-09-03  Florian Weimer  <fweimer@redhat.com>
19066         [BZ #17325]
19067         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
19068         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
19069         assert.
19070         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
19071         * iconvdata/ibm935.c (BODY): Likewise.
19072         * iconvdata/ibm937.c (BODY): Likewise.
19073         * iconvdata/ibm939.c (BODY): Likewise.
19074         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
19075         assert.
19076         * iconvdata/Makefile (iconv-test.out): Pass module list to test
19077         script.
19078         * iconvdata/run-iconv-test.sh: New test loop for checking for
19079         decoder crashers.
19081 2014-09-02  Khem Raj  <raj.khem@gmail.com>
19083         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
19084         libm_hidden_ver.
19086 2014-09-01  Allan McRae  <allan@archlinux.org>
19088         * po/eo.po: Update Esperanto translation from translation project.
19090         * po/ca.po: Update Catalan translation from translation project.
19092 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19094         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
19095         __proc_dostop call.
19097 2014-08-27  Mark Wielaard  <mjw@redhat.com>
19099         [BZ #17319]
19100         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
19101         to call set_thread_area instead of hand written asm.
19102         (__NR_set_thread_area): Removed define.
19103         (TLS_FLAG_WRITABLE): Likewise.
19104         (__ASSUME_SET_THREAD_AREA): Remove check.
19105         (TLS_EBX_ARG): Remove define.
19106         (TLS_LOAD_EBX): Likewise.
19108 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19110         Simplify atomicity of socket creation in bind.
19112         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
19113         looking up the name after linking the file.
19115 2014-08-27  Allan McRae  <allan@archlinux.org>
19117         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
19119 2014-08-26  Florian Weimer  <fweimer@redhat.com>
19121         [BZ #17187]
19122         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
19123         trans_compare, open_translit, __gconv_translit_find):
19124         Remove module loading code.
19126 2014-08-26  Allan McRae  <allan@archlinux.org>
19128         * po/vi.po: Update Vietnamese translation from translation project.
19130         * po/uk.po: Update Ukrainian translation from translation project.
19132         * po/fr.po: Update French translation from translation project.
19134         * po/ru.po: Update Russian translation from translation project.
19136         * po/pl.po: Update Polish translation from translation project.
19138         * po/cs.po: Update Czech translation from translation project.
19140         * po/de.po: Update German translation from translation project.
19142         * po/bg.po: Update Bulgarian translation from translation project.
19144         * po/sv.po: Update Sweedish translation from translation project.
19146         * po/nl.po: Update Dutch translation from translation project.
19148         * po/es.po: Update Spanish translation from translation project.
19150 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19152         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
19154         * catgets/Makefile (CPPFLAGS-gencat): Remove.
19155         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
19156         (CPPFLAGS-iconvconfig): Likewise.
19157         * timezone/Makefile (CPPFLAGS-zic): Likewise.
19159         * include/libc-symbols.h: Remove unnecessary check for
19160         NOT_IN_libc.
19161         * nptl/pthreadP.h: Likewise.
19162         * sysdeps/aarch64/setjmp.S: Likewise.
19163         * sysdeps/alpha/setjmp.S: Likewise.
19164         * sysdeps/arm/sysdep.h: Likewise.
19165         * sysdeps/i386/setjmp.S: Likewise.
19166         * sysdeps/m68k/setjmp.c: Likewise.
19167         * sysdeps/posix/getcwd.c: Likewise.
19168         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
19169         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
19170         * sysdeps/s390/s390-32/setjmp.S: Likewise.
19171         * sysdeps/s390/s390-64/setjmp.S: Likewise.
19172         * sysdeps/sh/sh3/setjmp.S: Likewise.
19173         * sysdeps/sh/sh4/setjmp.S: Likewise.
19174         * sysdeps/unix/alpha/sysdep.h: Likewise.
19175         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
19176         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19177         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
19178         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19181         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19182         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19183         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19184         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19185         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19186         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
19187         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19188         * sysdeps/x86_64/setjmp.S: Likewise.
19190 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
19192         [BZ #17263]
19193         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
19194         <stdint.h>.
19195         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
19196         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
19198 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
19200         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
19202         [BZ #17262]
19203         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
19204         and __x86_64__ when disabling x87 inline functions.
19206 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
19208         [BZ #17259]
19209         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
19210         asm statement with __cpuid_count.
19212 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
19214         * configure.ac: Change __ehdr_start code to dereference the struct.
19215         Run readelf on the output to look for relocations.
19216         * configure: Regenerated.
19218 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
19220         [BZ #17261]
19221         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
19222         value to 0.
19223         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
19225 2014-08-12  Roland McGrath  <roland@hack.frob.com>
19227         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
19229 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
19231         [BZ #16892]
19232         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
19233         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
19235 2014-08-12  Sean Anderson  <seanga2@gmail.com>
19237         * malloc/malloc.c: Fix typo in comment.
19239 2014-08-09  Allan McRae  <allan@archlinux.org>
19241         * Regenerate libc.po.
19243 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
19245         * intl/tst-gettext2.sh: Check every lang file for creation.
19247 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
19249         * sysdeps/aarch64/fpu/math_private.h
19250         (libc_feholdsetround_noex_aarch64_ctx): New function.
19252 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
19254         * sysdeps/arm/armv6/strcpy.S (strcpy):
19255         Fix performance issue in misaligned cases.
19257 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19259         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
19260         Move definition from termios.h.
19261         (struct termio): Likewise.
19262         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
19263         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
19264         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
19265         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
19266         Likewise.
19267         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
19268         Move definition to ioctl-types.h
19269         (struct termio): Likewise.
19270         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
19271         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
19272         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
19273         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
19274         Likewise.
19276 2014-08-05  Richard Henderson  <rth@redhat.com>
19278         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
19279         exceptions.
19280         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
19281         Add fraiseexcpt.
19282         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
19283         Use __feraiseexcept.
19284         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
19285         Protect libm symbols with IS_IN_libm.
19287         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
19289 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
19291         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
19293 2014-08-04  Will Newton  <will.newton@linaro.org>
19295         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
19296         file.
19298 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
19300         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
19301         variants for each function.
19303 2014-08-04  Roland McGrath  <roland@hack.frob.com>
19305         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
19306         appended ...
19307         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
19308         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
19309         appended ...
19310         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
19311         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
19312         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
19313         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
19314         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
19315         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
19316         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
19317         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
19318         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
19319         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
19320         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
19321         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
19322         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
19323         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
19324         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
19325         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
19326         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
19327         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
19328         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
19329         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
19330         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
19331         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
19332         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
19333         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
19334         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
19335         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
19336         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
19337         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
19338         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
19339         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
19340         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
19341         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
19342         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
19343         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
19344         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
19345         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
19346         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
19347         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
19348         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
19349         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
19350         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
19351         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
19352         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
19353         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
19354         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
19355         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
19356         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
19357         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
19358         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
19359         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
19360         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
19361         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
19362         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
19363         Update #include.
19364         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
19365         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
19367 2014-08-04  Roland McGrath  <roland@hack.frob.com>
19369         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
19370         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
19371         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
19372         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
19373         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
19374         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
19376 2014-08-04  Roland McGrath  <roland@hack.frob.com>
19378         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
19379         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
19380         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19381         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
19383 2014-08-04  Roland McGrath  <roland@hack.frob.com>
19385         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
19386         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
19387         (__libc_vfork): Define function under this name.
19388         (__vfork): Define as an alias.
19389         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
19390         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
19392 2014-08-04  Roland McGrath  <roland@hack.frob.com>
19394         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
19395         that was previously under [RESET_PID].
19396         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
19398 2014-08-04  Andreas Schwab  <schwab@suse.de>
19400         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
19402 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
19404         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
19405         (main): Likewise.
19407 2014-08-01  Roland McGrath  <roland@hack.frob.com>
19409         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
19411 2014-08-01  Richard Henderon  <rth@redhat.com>
19413         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
19414         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
19415         typo in exact zero test.
19416         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19417         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19418         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19420 2014-08-01  Roland McGrath  <roland@hack.frob.com>
19422         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
19423         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
19424         * sysdeps/arm/sysdep.h: ... here.
19425         [!__ASSEMBLER__]: Include <stdint.h>.
19427 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
19429         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
19430         (HAVE_WCTYPE_H): Likewise.
19431         (HAVE_ISWCTYPE): Likewise.
19432         (ENABLE_NLS): Likewise.
19433         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
19434         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
19436         * posix/regex_internal.c: Check if DEBUG is defined and is
19437         set.
19439         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
19440         (HAVE_MBSRTOWCS): Likewise.
19441         * posix/fnmatch.c: Include string.h unconditionally.
19443 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
19445         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
19446         reversal.
19448 2014-07-31  Roland McGrath  <roland@hack.frob.com>
19450         * sysdeps/generic/safe-fatal.h: New file.
19451         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
19452         * nptl/forward.c: Include it.
19453         (__pthread_unwind): Use __safe_fatal as default action, rather
19454         than a bogus use of INTERNAL_SYSCALL that could never work.
19456         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
19457         * configure.ac (libc_cv_builtin_trap): New test.
19458         * configure: Regenerated.
19459         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
19460         (ABORT_INSTRUCTION): Define using __builtin_trap.
19462         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
19463         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
19464         * sysdeps/nptl/nptl-signals.h: New file.
19465         * nptl/pthreadP.h: Include <nptl-signals.h>.
19467 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
19469         * sysdeps/s390/s390-64/utf16-utf32-z9.c
19470         (ONE_DIRECTION): Define.
19471         * sysdeps/s390/s390-64/utf8-utf16-z9.c
19472         (ONE_DIRECTION): Define.
19473         * sysdeps/s390/s390-64/utf8-utf32-z9.c
19474         (ONE_DIRECTION): Define.
19476 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
19478         * sysdeps/s390/Makefile: Delete file.
19479         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
19480         * sysdeps/s390/__longjmp.c: Delete file.
19481         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
19482         Remove fields __flags and __reserved.
19483         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
19484         and add versioning.
19485         * sysdeps/s390/rtld-__longjmp.c: Delete file.
19486         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
19487         * sysdeps/s390/rtld-setjmp.S: Likewise.
19488         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
19489         * sysdeps/s390/s390-32/__longjmp.c: ... here.
19490         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
19491         * sysdeps/s390/s390-32/setjmp.S: ... here.
19492         Add versioning.
19493         (__sigsetjmp): Remove setting __flags field.
19494         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
19495         * sysdeps/s390/s390-64/__longjmp.c: ... here.
19496         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
19497         * sysdeps/s390/s390-64/setjmp.S: ... here.
19498         Add versioning.
19499         (__sigsetjmp): Remove setting __flags field.
19500         * sysdeps/s390/setjmp.S: Delete file.
19501         * sysdeps/s390/sigjmp.c: Likewise.
19502         * sysdeps/s390/v1-longjmp.c: Likewise.
19503         * sysdeps/s390/v1-setjmp.h: Likewise.
19504         * sysdeps/s390/v1-sigjmp.c: Likewise.
19505         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
19506         Remove v1-longjmp_chk.
19507         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
19508         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
19509         Include debug/longjmp_chk.c and add versioning.
19510         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
19511         Include nptl/pt-longjmp.c and add versioning.
19512         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
19513         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
19514         Include __longjmp.c.
19515         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
19516         Move to ...
19517         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
19518         (__getcontext): Remove setting __flags field.
19519         Add versioning.
19520         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
19521         Don't restore upper high grps.
19522         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
19523         Likewise.
19524         (__swapcontext): Remove setting uc_flags field.
19525         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
19526         Delete file.
19527         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
19528         Include __longjmp.c.
19529         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
19530         Move to ...
19531         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
19532         (__getcontext): Remove setting __flags field.
19533         Add versioning.
19534         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
19535         (__swapcontext): Remove setting uc_flags field.
19536         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
19537         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
19538         Remove fields uc_high_gprs and __reserved.
19539         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
19540         New file with reverted content.
19541         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
19542         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
19543         Regenerated.
19544         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
19545         Regenerated.
19547 2014-07-31  Andreas Schwab  <schwab@suse.de>
19549         * config.h.in (HAVE_IFUNC): Define to 0.
19550         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
19551         definedness.
19553 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
19555         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19556         memmove-avx-unaligned, memcpy-avx-unaligned and
19557         mempcpy-avx-unaligned.
19558         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19559         Add tests for AVX memcpy functions.
19560         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
19561         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
19562         memcpy_chk.
19563         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
19564         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
19565         memmove_chk.
19566         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
19567         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
19568         mempcpy_chk.
19569         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
19570         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
19571         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
19573 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19575         [BZ #17213]
19576         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
19577         powerpc64le.
19579 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
19581         [BZ #16839]
19582         * manual/llio.texi: Add section about open file description locks.
19583         * manual/examples/ofdlocks.c: Example of open file description
19584         lock usage.
19585         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
19586         F_OFD_SETLK, and F_OFD_SETLKW.
19588 2014-07-23  Allan McRae  <allan@archlinux.org>
19590         * po/es.po: Update Spanish translation from translation project.
19592 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
19594         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
19596 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
19598         [BZ #17078]
19599         * sysdeps/arm/dl-machine.h (elf_machine_rela)
19600         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
19601         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
19603 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
19605         [BZ #17088]
19606         * math/fesetenv.c (__fesetenv)
19607         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
19608         * math/feupdateenv.c (__feupdateenv)
19609         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
19611         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
19612         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
19613         (__ASSUME_SOCKETCALL): Do not define.
19615         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
19616         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
19617         (__ASSUME_SOCKETCALL): Do not define.
19618         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
19619         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
19620         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
19621         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
19622         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19623         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
19624         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19625         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19627         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
19628         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
19629         (__ASSUME_SOCKETCALL): Do not define.
19630         (__ASSUME_IPC64): Define unconditionally.
19631         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
19632         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
19633         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
19634         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19635         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
19636         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19637         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
19638         Likewise.
19640         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
19641         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
19642         (__ASSUME_SOCKETCALL): Do not define.
19643         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
19644         (__ASSUME_FUTEX_LOCK_PI): Likewise.
19645         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
19646         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
19647         (__ASSUME_REQUEUE_PI): Define unconditionally.
19648         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
19649         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
19650         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19651         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
19652         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19653         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19655         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
19656         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
19657         (__ASSUME_SOCKETCALL): Do not define.
19658         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
19659         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19660         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19661         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
19662         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19663         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19665         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
19666         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
19667         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
19668         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
19669         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19670         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
19671         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19672         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
19673         (__ASSUME_GETCPU_SYSCALL): Likewise.
19675         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
19676         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
19677         cases for individual architectures.
19678         * sysdeps/gnu/configure: Regenerated.
19679         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
19680         LIBC_SLIBDIR_RTLDDIR.
19681         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
19682         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
19683         LIBC_SLIBDIR_RTLDDIR.
19684         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
19685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
19686         LIBC_SLIBDIR_RTLDDIR.
19687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
19688         Regenerated.
19689         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
19690         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
19691         file.
19692         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
19693         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
19694         file.
19695         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
19696         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
19697         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
19698         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
19700         * sysdeps/aarch64/shlib-versions: Move to ...
19701         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
19702         * sysdeps/alpha/shlib-versions: Move to ...
19703         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
19704         * sysdeps/arm/shlib-versions: Move to ...
19705         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
19706         * sysdeps/hppa/shlib-versions: Move all contents except for
19707         libgcc_s entry to ...
19708         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
19709         entry from ...
19710         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
19711         * sysdeps/ia64/shlib-versions: Move to ...
19712         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
19713         entry from ...
19714         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
19715         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
19716         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
19717         * sysdeps/microblaze/shlib-versions: Move to ...
19718         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
19719         * sysdeps/mips/shlib-versions: Move to ...
19720         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
19721         entry from ...
19722         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
19723         * sysdeps/tile/shlib-versions: Move to ...
19724         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
19725         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
19726         from ...
19727         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
19728         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
19729         entry from ...
19730         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
19732 2014-07-17  Will Newton  <will.newton@linaro.org>
19734         * sysdeps/arm/bits/atomic.h
19735         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
19736         (__arch_compare_and_exchange_bool_16_int): Likewise.
19737         (__arch_compare_and_exchange_bool_64_int): Likewise.
19739         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
19740         into an #else block.
19742 2014-07-16  Roland McGrath  <roland@hack.frob.com>
19744         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
19745         just Linux configurations.  Test empirically that the compiler sets
19746         __ARM_EABI__, rather than using the tuple to decide.
19747         * sysdeps/arm/preconfigure: Regenerated.
19748         * sysdeps/unix/sysv/linux/arm/configure: File removed.
19749         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
19750         contents appended ...
19751         * sysdeps/arm/configure.ac: ... here.
19752         * sysdeps/arm/configure: Regenerated.
19754 2014-07-15  Roland McGrath  <roland@hack.frob.com>
19756         * nptl/pthread_kill.c: New file.
19757         * nptl/pthread_sigmask.c: New file.
19758         * nptl/pthread_sigqueue.c: New file.
19760         * sysdeps/nptl/lowlevellock.h: New file.
19761         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
19762         * sysdeps/nptl/lowlevellock-futex.h: New file.
19764         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
19765         Remove dead declarations.
19767 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
19769         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
19770         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
19771         config-cflags-avx2.
19772         * sysdeps/x86_64/configure.ac: Likewise.
19773         * sysdeps/i386/configure: Regenerated.
19774         * sysdeps/x86_64/configure: Likewise.
19775         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19776         memset-avx2 only if config-cflags-avx2 is yes.
19777         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19778         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
19779         defined.
19780         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
19781         only if HAVE_AVX2_SUPPORT is defined.
19782         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19784 2014-07-14  Alan Modra  <amodra@gmail.com>
19786         [BZ #17153]
19787         * elf/elf.h (DT_PPC64_NUM): Correct value.
19788         * NEWS: Add to fixed bug list.
19790 2014-07-13  Jim Meyering  <meyering@fb.com>
19792         [BZ 17150]
19793         regex: don't deref NULL upon heap allocation failure
19794         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
19795         failure in one more place.
19796         To trigger the segfault, configure grep -with-included-regex,
19797         build it, and run these commands:
19798         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
19800 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
19802         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
19804 2014-07-11  Richard Henderson  <rth@redhat.com>
19806         * sysdeps/aarch64/libm-test-ulps: Update.
19808 2014-07-10  Florian Weimer  <fweimer@redhat.com>
19810         [BZ #17135]
19811         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
19812         * nptl/allocatestack.c (__nptl_setxid_error): New function.
19813         (__nptl_setxid): Initialize error member.  Call
19814         __nptl_setxid_error.
19815         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
19816         * nptl/descr.h (struct xid_command): Add error member.
19817         * nptl/tst-setuid3.c: New file.
19818         * nptl/Makefile (tests): Add it.
19820 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19822         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
19823         New define.
19824         (__lll_trylock): Use __lll_base_trylock.
19825         (__lll_cond_trylock): Likewise.
19827 2014-07-10  Roland McGrath  <roland@hack.frob.com>
19829         * nptl/pthread_create.c (start_thread): Use atomic_or and
19830         lll_futex_wake directly rather than lll_robust_dead.
19831         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
19832         (lll_robust_dead): Macro removed.
19833         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
19834         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
19835         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
19836         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
19837         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
19838         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
19839         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
19840         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
19841         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
19842         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
19843         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
19844         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
19845         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
19846         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
19847         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
19849         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
19850         Use atomic_compare_and_exchange_val_acq directly rather than
19851         lll_robust_trylock.
19852         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
19853         (__lll_robust_trylock, lll_robust_trylock): Removed.
19854         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
19855         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
19856         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
19857         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
19858         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
19859         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
19860         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
19861         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
19862         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
19863         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
19864         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
19865         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
19866         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
19867         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
19869 2014-07-02  Florian Weimer  <fweimer@redhat.com>
19871         * manual/locale.texi (Locale Names): New section documenting
19872         locale name syntax.  Adjust menu and node chaining accordingly.
19873         (Choosing Locale): Reference Locale Names, Locale Categories.
19874         Mention setting LC_ALL=C.  Reflect that name syntax is now
19875         documented.
19876         (Locale Categories): New section title.  Reference Locale Names.
19877         LC_ALL is an environment variable, but not a category.
19878         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
19879         description, now in Locale Name.  Reference that section.  Locale
19880         name syntax is now documented.
19882 2014-07-02  Florian Weimer  <fweimer@redhat.com>
19884         [BZ #17137]
19885         * locale/findlocale.c (name_present, valid_locale_name): New
19886         functions.
19887         (_nl_find_locale): Use the loc_name variable to store name
19888         candidates.  Call name_present and valid_locale_name to check and
19889         validate locale names.  Return an error if the locale is invalid.
19891 2014-07-02  Florian Weimer  <fweimer@redhat.com>
19893         * locale/setlocale.c (setlocale): Use strdup for allocating
19894         composite name copy.
19896 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19898         Sync up with gnulib.
19899         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
19900         [!_LIBC && ENABLE_NLS]: Include gettext.h.
19901         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
19902         and _GL_ARG_NONNULL.
19903         [USE_UNLOCKED_IO]: Include unlocked-io.h.
19904         [!_LIBC]: Include code for Windows and Cygwin.
19905         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
19906         Include prototype for int strerror_r.
19907         [!_LIBC] (is_open): New function.
19908         (flush_stdout): New function.
19909         (print_errno_message): Use it.
19910         (error): Likewise.
19911         (error_at_line): Likewise.
19912         (error_tail) Add function attribute macros.  Use
19913         __builtin_expect.
19915         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
19917         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
19919         * io/ftw.c: Include sys/param.h unconditionally.
19921         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
19923         [BZ #17125]
19924         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
19925         libc_freeres_ptr.
19926         (freecache): New function to free CACHE on exit.
19928         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
19929         initialization.
19931 2014-07-09  David S. Miller  <davem@davemloft.net>
19933         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19935         * sysdeps/sparc/nptl/internaltypes.h: Delete.
19936         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
19937         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
19938         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
19939         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
19940         * sysdeps/sparc/nptl/sem_init.c: Likewise.
19941         * sysdeps/sparc/nptl/sem_post.c: Likewise.
19942         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
19943         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
19944         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
19945         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
19946         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
19947         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
19949 2014-07-09  Andreas Schwab  <schwab@suse.de>
19951         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
19952         output.
19953         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
19954         (do_test): Likewise.
19956         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
19958 2014-07-09  Will Newton  <will.newton@linaro.org>
19960         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
19961         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
19962         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
19963         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
19964         * sysdeps/hppa/start.S (_start): Likewise.
19966 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
19968         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
19970         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
19971         defined.
19973 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
19975         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
19976         after checking that it is non-NULL.
19978         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
19980 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19982         * sysdeps/powerpc/memmove.c: Remove file.
19983         * sysdeps/powerpc/powerpc32/power4/memcopy.h
19984         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
19985         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
19986         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
19987         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
19988         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
19989         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
19990         string memmove instead of removed powerpc one.
19992         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
19993         [weak_alias]: Fix compiler warning due trailing data.
19994         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
19995         [weak_alias]: Likewise.
19996         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
19997         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
19999         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20000         (__libc_ifunc_impl_list): Add memmove functions.
20002 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
20004         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
20005         Remove code.
20006         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
20007         Likewise
20008         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
20009         Likewise
20010         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
20011         Likewise
20012         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
20013         Likewise
20014         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
20015         Likewise
20016         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
20017         Likewise
20018         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
20019         Likewise
20020         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
20021         Likewise
20022         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
20023         Likewise
20024         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
20025         Likewise
20026         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
20027         Likewise
20028         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
20029         Likewise
20030         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
20031         Likewise
20032         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
20033         Likewise
20034         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
20035         Likewise
20036         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
20037         Likewise
20039 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20041         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
20042         to avoid alignment traps in non-cacheable memory.
20043         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
20045         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
20046         multiarch objects.
20047         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
20048         file: multiarch power7 memmove.
20049         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
20050         multiarch default memmove.
20051         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
20052         multiarch memove for powerpc32/power4.
20054         * string/bcopy.c: Use full path to include memmove.c.
20055         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
20056         multiarch objects.
20057         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
20058         bcopy for powerpc64.
20059         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
20060         bcopy for powerpc64.
20061         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
20062         and memmove implementations.
20063         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
20064         optimized multiarch memmove for POWER7/powerpc64.
20065         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
20066         default multiarch memmove for powerpc64.
20067         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
20068         multiarch for powerpc64.
20069         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
20070         for POWER7/powerpc64.
20071         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
20072         memmove for POWER7/powerpc64.
20074         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
20075         glibc default one.
20077         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
20078         __ELF_NATIVE_CLASS equal to 64.
20080 2014-07-07  Roland McGrath  <roland@hack.frob.com>
20082         * sysdeps/nptl/lowlevellock.h: File removed.
20084         * NEWS: NPTL is no longer an add-on!
20085         * nptl/internaltypes.h: Moved ...
20086         * sysdeps/nptl/internaltypes.h: ... here.
20087         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
20088         * sysdeps/nptl/fork.c: Likewise.
20089         * sysdeps/nptl/gai_misc.h: Likewise.
20090         * sysdeps/nptl/librt-cancellation.c: Likewise.
20091         * sysdeps/nptl/jmp-unwind.c: Likewise.
20092         * sysdeps/nptl/setxid.h: Likewise.
20093         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
20094         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
20095         * sysdeps/unix/sysv/linux/arm/Implies: New file.
20096         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
20097         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
20098         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
20099         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
20100         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
20101         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
20102         * sysdeps/unix/sysv/linux/mips/Implies: New file.
20103         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
20104         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
20105         * sysdeps/unix/sysv/linux/sh/Implies: New file.
20106         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
20107         * sysdeps/unix/sysv/linux/tile/Implies: New file.
20108         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
20109         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
20110         * nptl/Makeconfig: Moved ...
20111         * sysdeps/nptl/Makeconfig: ... here.
20112         * nptl/configure: File removed.
20113         * nptl/ANNOUNCE: File removed.
20114         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
20115         * sysdeps/unix/sysv/linux/configure: Regenerated.
20117         * nptl/Makefile (routines): Add libc_pthread_init,
20118         libc_multiple_threads, register-atfork and unregister-atfork.
20119         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
20120         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
20121         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
20122         pthread-pi-defines.sym, structsem.sym.
20123         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
20124         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
20125         [$(subdir) = nptl] (tests): Add tst-setgetname.
20126         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
20127         * sysdeps/unix/sysv/linux/sigaction.c: Just include
20128         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
20129         [!LIBC_SIGACTION]: Remove aliases.
20130         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
20131         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
20132         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
20133         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
20134         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
20135         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
20136         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
20137         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
20138         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
20139         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
20140         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
20141         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
20142         __libc_allocate_rtsig_private.
20143         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
20144         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
20145         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
20146         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
20147         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
20148         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
20149         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
20150         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
20151         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
20152         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
20153         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
20154         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
20155         * nptl/internaltypes.h: ... here.
20156         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
20157         * sysdeps/nptl/jmp-unwind.c: ... here.
20158         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
20159         * nptl/libc-lowlevellock.c: ... here.
20160         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
20161         * nptl/libc_multiple_threads.c: ... here.
20162         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
20163         * nptl/libc_pthread_init.c: ... here.
20164         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
20165         * nptl/lowlevelbarrier.sym: ... here.
20166         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
20167         * nptl/lowlevelcond.sym: ... here.
20168         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
20169         * nptl/lowlevellock.c: ... here.
20170         * nptl/lowlevellock.h: Moved ...
20171         * sysdeps/nptl/lowlevellock.h: ... here.
20172         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
20173         * nptl/lowlevelrobustlock.c: ... here.
20174         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
20175         * nptl/lowlevelrobustlock.sym: ... here.
20176         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
20177         * nptl/lowlevelrwlock.sym: ... here.
20178         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
20179         * nptl/pt-fork.c: ... here.
20180         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
20181         * nptl/pthread-pi-defines.sym: ... here.
20182         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
20183         * nptl/pthread_attr_getaffinity.c: ... here.
20184         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
20185         * nptl/pthread_attr_setaffinity.c: ... here.
20186         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
20187         * nptl/pthread_mutex_cond_lock.c: ... here.
20188         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
20189         Update #include.
20190         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
20191         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
20192         * nptl/pthread_once.c: ... here, replacing old file.
20193         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
20194         * nptl/pthread_yield.c: ... here.
20195         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
20196         * nptl/register-atfork.c: ... here.
20197         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
20198         * nptl/sem_post.c: ... here.
20199         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
20200         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
20201         * nptl/sem_timedwait.c: ... here.
20202         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
20203         * nptl/sem_trywait.c: ... here.
20204         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
20205         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
20206         * nptl/sem_wait.c: ... here.
20207         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
20208         * nptl/structsem.sym: ... here.
20209         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
20210         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
20211         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
20212         * nptl/unregister-atfork.c: ... here.
20213         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
20214         * nptl/unwindbuf.sym: ... here.
20215         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
20216         * sysdeps/nptl/fork.c: ... here.
20217         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
20218         * sysdeps/nptl/fork.h: ... here.
20219         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
20220         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
20221         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
20222         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
20223         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
20224         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
20225         * sysdeps/unix/sysv/linux/getpid.c: ... here.
20226         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
20227         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
20228         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
20229         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
20230         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
20231         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
20232         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
20233         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
20234         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
20235         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
20236         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
20237         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
20238         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
20239         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
20240         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
20241         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
20242         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
20243         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
20244         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
20245         * sysdeps/unix/sysv/linux/raise.c: ... here.
20246         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
20247         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
20248         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
20249         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
20250         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
20251         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
20252         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
20253         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
20254         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
20255         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
20256         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
20257         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
20258         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
20259         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
20260         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
20262 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20264         * sysdeps/generic/memcopy.h: Add comment for
20265         MEMCPY_OK_FOR_FWD_MEMMOVE.
20267 2014-07-04  Will Newton  <will.newton@linaro.org>
20269         * string/memchr.c: Merge from gnulib.
20270         [_LIBC]: Remove conditionals.
20271         (__ptr_t): Remove define.
20272         (LONG_MAX_32_BITS): Likewise.
20273         (LONG_MAX): Likewise.
20274         (MEMCHR): Use ANSI prototype and optimize algorithm.
20276         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
20278 2014-07-03  Roland McGrath  <roland@hack.frob.com>
20280         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
20281         (lll_futex_timed_wait_bitset): Fix syscall argument count.
20283         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
20284         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
20285         in a bare environment with no <stdlib.h> installed.
20286         * sysdeps/nptl/configure: Regenerated.
20288         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
20290         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
20291         AC_EGREP_CPP for kernel header checks, so they only succeed if
20292         including <linux/version.h> actually works right.
20293         * sysdeps/unix/sysv/linux/configure: Regenerated.
20295         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
20296         value so it's not diagnosed as unused.
20298         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
20299         thing) with "ifeq ($(subdir),rt)".
20301 2014-07-03  Richard Henderson  <rth@redhat.com>
20303         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
20304         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
20305         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
20307         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
20308         (math_force_eval): New.
20310         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
20311         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
20313         * sysdeps/alpha/fpu/s_round.c: Remove file.
20314         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
20316         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
20317         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
20318         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
20319         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
20320         (_dl_start, print_statistics): Likewise.
20321         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
20322         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
20324         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20325         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20326         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20327         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20328         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
20329         (HP_SMALL_TIMING_AVAIL): Define.
20330         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20331         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
20332         (HP_SMALL_TIMING_AVAIL): Define.
20333         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20334         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20336         * sysdeps/aarch64/hp-timing.h: New file.
20338         * sysdeps/generic/hp-timing.h: Remove dead comment.
20339         * sysdeps/generic/hp-timing-common.h: New file.
20340         * sysdeps/alpha/hp-timing.h: Include it.
20341         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
20342         * sysdeps/i386/i686/hp-timing.h: Likewise.
20343         * sysdeps/ia64/hp-timing.h: Likewise.
20344         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20345         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20346         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
20347         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
20348         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
20349         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
20350         (hp_timing_t): New.
20352         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
20353         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
20354         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
20355         * elf/rtld.c (_dl_start_final): Likewise.
20356         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
20357         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
20358         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
20359         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
20360         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
20361         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
20362         (HP_TIMING_DIFF_INIT): Remove.
20363         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
20364         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
20365         (HP_TIMING_DIFF_INIT): Remove.
20366         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
20367         * sysdeps/i386/i686/hp-timing.c: Remove file.
20368         * sysdeps/x86_64/hp-timing.c: Remove file.
20369         * sysdeps/ia64/hp-timing.c: Remove file.
20370         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
20371         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
20372         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
20373         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
20375         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
20376         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
20377         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
20378         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
20379         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
20380         (HP_TIMING_ACCUM): Remove.
20381         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
20382         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
20383         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
20385         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
20386         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
20387         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
20388         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
20389         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
20390         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
20391         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
20392         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
20394         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
20396 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
20398         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
20400 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20402         Sync up with gettext.
20403         * intl/loadmsgcat.c: Define O_BINARY if not defined.
20404         [_MSC_VER]: Include malloc.h
20405         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
20406         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
20407         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
20408         TEMP_FAILURE_RETRY.  Cast return of alloca.
20409         [!_LIBC] Call gl_rwlock_init.
20410         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
20412 2014-07-02  Roland McGrath  <roland@hack.frob.com>
20414         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
20415         before checking its value.
20417 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20419         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
20421         * debug/memcpy_chk.c: Don't include pagecopy.h.
20422         * debug/mempcpy_chk.c: Likewise.
20423         * string/memcpy.c: Likewise.
20424         * string/memmove.c: Likewise.
20425         * sysdeps/powerpc/memmove.c: Likewise.
20426         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
20427         definition of PAGE_COPY_FWD_MAYBE here...
20428         * sysdeps/generic/pagecopy.h: ... from here.
20429         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
20431 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20432             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20434         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
20435         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
20436         optimizations.
20437         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20438         (__libc_ifunc_impl_list): Likewise.
20439         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
20440         multiarch strcat for PPC64.
20441         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
20442         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
20444 2014-07-02  Roland McGrath  <roland@hack.frob.com>
20446         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
20448 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20450         * intl/loadmsgcat.c: Remove declaration of
20451         get_sysdep_segment_value.
20452         (get_sysdep_segment_value): Use ISO C style.
20453         (_nl_load_domain): Use ISO C style.  Get rid of redundant
20454         semicolon.  Fix typo and formatting in comment.
20455         (_nl_unload_domain): Use ISO C style.
20457         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
20459 2014-07-02  Will Newton  <will.newton@linaro.org>
20461         * malloc/obstack.c: Merge from gnulib master.
20462         [HAVE_CONFIG_H]: Remove conditional code.
20463         [!_LIBC]: Include config.h.
20464         [!ELIDE_CODE]: Don't include inttypes.h, include
20465         stdint.h unconditionally.
20466         (print_and_abort): Mark as _Noreturn.
20467         (_obstack_allocated_p): Mark as __attribute_pure__.
20468         (obstack_free): Rename to __obstack_free.
20469         [!__attribute__]: Remove conditional code.
20470         * malloc/obstack.h: Merge from gnulib master.
20471         [__cplusplus]: Move conditional down.
20472         [!__attribute_pure__]: Define __attribute_pure__ here
20473         if it is not already defined.
20474         (_obstack_memory_used): Mark as __attribute_pure__.
20475         [!__obstack_free]: Define as obstack_free.
20476         [__GNUC__]: Remove check for ancient NeXT gcc.
20478 2014-07-02  Will Newton  <will.newton@linaro.org>
20479             Paul Eggert  <eggert@cs.ucla.edu>
20481         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
20483 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20485         * resolv/gethnamaddr.c: Add comment warning that the file is
20486         not maintained.
20488 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
20490         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
20491         entries.
20493         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
20494         entry for aio_cancel and aio_cancel64.
20495         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
20496         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
20497         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
20498         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
20499         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
20500         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
20501         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
20502         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
20503         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
20504         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
20505         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
20506         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
20507         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
20509 2014-07-01  Roland McGrath  <roland@hack.frob.com>
20511         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
20512         * nptl/pthread_mutex_lock.c: Likewise.
20513         * nptl/pthread_mutex_timedlock.c: Likewise.
20514         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
20516 2014-07-01  Richard henderson  <rth@redhat.com>
20518         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
20519         (__isnan, __isnanl): Remove.
20520         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
20522         * sysdeps/alpha/fpu/libm-test-ulps: Update.
20524 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
20526         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20528 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
20530         * resolv/nss_dns/dns-host.c (getanswer_r)
20531         [MULTI_PTRS_ARE_ALIASES]: Remove code.
20533 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
20535         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20536         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
20537         undefine.
20538         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
20539         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
20541 2014-07-01  Roland McGrath <roland@hack.frob.com>
20543         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
20544         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
20546         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
20547         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
20549         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
20550         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
20551         ... here.
20552         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
20553         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
20555         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
20556         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
20557         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
20558         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
20560         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
20561         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
20562         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
20563         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
20564         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
20565         Moved ...
20566         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
20567         ... here.
20568         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
20569         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
20570         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
20571         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
20572         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
20573         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
20574         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
20575         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
20576         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
20577         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
20578         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
20579         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
20580         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
20581         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
20582         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
20583         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
20584         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
20585         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
20586         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
20587         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
20588         ... here.
20589         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
20590         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
20591         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
20592         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
20593         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
20594         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
20595         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
20596         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
20598 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
20600         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
20601         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
20602         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
20603         Add sysdep.
20605 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20607         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20609 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
20611         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
20612         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20614         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20616         * sysdeps/arm/libm-test-ulps: Regenerated.
20618 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
20619             Roland McGrath <roland@hack.frob.com>
20621         * test-skeleton.c (signal_handler): Kill the whole process group
20622         before killing the child individually.
20623         (main): Report any failure on `setpgid'.
20625 2014-06-30  Roland McGrath  <roland@hack.frob.com>
20627         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
20628         from _TLS_H to _ARM_NPTL_TLS_H.
20629         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
20630         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
20632 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
20634         [BZ #16539]
20635         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
20636         (__expm1l): Return argument unchanged when small but not
20637         subnormal.
20639         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
20640         include macro name.
20641         (_FP_UNPACK_RAW_1_P): Likewise.
20642         (_FP_PACK_RAW_1): Likewise.
20643         (_FP_PACK_RAW_1_P): Likewise.
20644         (_FP_MUL_MEAT_1_wide): Likewise.
20645         (_FP_MUL_MEAT_DW_1_hard): Likewise.
20646         (_FP_MUL_MEAT_1_hard): Likewise.
20647         (_FP_DIV_MEAT_1_imm): Likewise.
20648         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
20649         (_FP_DIV_MEAT_1_udiv): Likewise.
20650         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
20651         (_FP_UNPACK_RAW_2): Likewise.
20652         (_FP_UNPACK_RAW_2_P): Likewise.
20653         (_FP_PACK_RAW_2): Likewise.
20654         (_FP_PACK_RAW_2_P): Likewise.
20655         (_FP_MUL_MEAT_DW_2_wide): Likewise.
20656         (_FP_MUL_MEAT_2_wide): Likewise.
20657         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
20658         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
20659         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
20660         (_FP_MUL_MEAT_2_gmp): Likewise.
20661         (_FP_DIV_MEAT_2_udiv): Likewise.
20662         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
20663         (_FP_FRAC_SRL_4): Likewise.
20664         (_FP_FRAC_SRST_4): Likewise.
20665         (_FP_FRAC_SRS_4): Likewise.
20666         (_FP_UNPACK_RAW_4): Likewise.
20667         (_FP_UNPACK_RAW_4_P): Likewise.
20668         (_FP_PACK_RAW_4): Likewise.
20669         (_FP_PACK_RAW_4_P): Likewise.
20670         (_FP_MUL_MEAT_DW_4_wide): Likewise.
20671         (_FP_MUL_MEAT_4_wide): Likewise.
20672         (_FP_MUL_MEAT_4_gmp): Likewise.
20673         (umul_ppppmnnn): Likewise.
20674         (_FP_DIV_MEAT_4_udiv): Likewise.
20675         (__FP_FRAC_ADD_4): Likewise.
20676         (__FP_FRAC_SUB_3): Likewise.
20677         (__FP_FRAC_SUB_4): Likewise.
20678         (__FP_FRAC_DEC_3): Likewise.
20679         (__FP_FRAC_DEC_4): Likewise.
20680         (__FP_FRAC_ADDI_4): Likewise.
20681         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
20682         (_FP_FRAC_SRL_8): Likewise.
20683         (_FP_FRAC_SRS_8): Likewise.
20685         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
20686         include macro name.
20687         (FP_UNPACK_RAW_EP): Likewise.
20688         (FP_PACK_RAW_E): Likewise.
20689         (FP_PACK_RAW_EP): Likewise.
20690         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
20691         (_FP_ISSIGNAN): Likewise.
20692         (_FP_ADD_INTERNAL): Likewise.
20693         (_FP_FMA): Likewise.
20694         (_FP_CMP): Likewise.
20695         (_FP_SQRT): Likewise.
20696         (_FP_TO_INT): Likewise.
20697         (_FP_FROM_INT): Likewise.
20698         (FP_EXTEND): Likewise.
20699         (_FP_DIV_MEAT_N_loop): Likewise.
20701 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
20703         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
20704         throughout.
20706 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
20708         [BZ #17097]
20709         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
20710         result with correct sign in case of exponents that produce
20711         overflow except for X very close to 1.
20713 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
20715         mktime: merge #if/#ifdef usage from glibc
20716         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
20717         as that works with both Glibc's and Gnulib's style.
20718         See thread starting at Siddhesh Poyarekar's bug report at:
20719         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
20721 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20723         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
20724         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
20725         * sysdeps/tile/tilegx/memmove.c: Remove file.
20727 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
20729         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
20730         abi-name definition.
20731         * scripts/soversions.awk: Do not handle or generate ABI lines.
20732         * shlib-versions: Remove ABI entries.
20733         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
20734         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
20736 2014-06-27  Roland McGrath  <roland@hack.frob.com>
20738         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
20739         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
20740         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
20741         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
20742         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
20743         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
20744         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
20745         Moved ...
20746         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
20747         ... here.
20748         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
20749         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
20750         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
20751         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
20752         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
20753         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
20754         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
20755         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
20756         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
20757         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
20758         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
20759         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
20760         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
20761         Moved ...
20762         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
20763         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
20764         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
20765         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
20766         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
20767         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
20768         Moved ...
20769         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
20770         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
20771         Moved ...
20772         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
20773         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
20774         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
20775         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
20776         Moved ...
20777         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
20778         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
20779         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
20780         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
20781         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
20782         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
20783         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
20784         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
20785         Moved ...
20786         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
20787         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
20788         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
20789         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
20790         Moved ...
20791         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
20792         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
20793         Moved ...
20794         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
20795         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
20796         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
20797         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
20798         Moved ...
20799         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
20800         ... here.
20801         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
20802         Identical file removed.
20803         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
20804         Moved ...
20805         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
20806         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
20807         Identical file removed.
20808         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
20809         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
20810         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
20811         Moved ...
20812         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
20813         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
20814         Identical file removed.
20815         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
20816         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
20817         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
20818         Identical file removed.
20819         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
20820         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
20821         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
20822         Identical file removed.
20823         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
20824         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
20825         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
20826         Identical file removed.
20827         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
20828         Moved ...
20829         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
20830         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
20831         Identical file removed.
20832         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
20833         Moved ...
20834         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
20835         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
20836         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
20837         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
20838         Identical file removed.
20839         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
20840         Moved ...
20841         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
20842         ... here.
20843         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
20844         Identical file removed.
20845         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
20846         Moved ...
20847         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
20848         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
20849         Identical file removed.
20850         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
20851         Moved ...
20852         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
20853         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
20854         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
20855         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
20856         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
20857         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
20858         Moved ...
20859         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
20860         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
20861         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
20863         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
20864         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
20865         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
20866         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
20867         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
20869 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
20871         [BZ #17092]
20872         * nscd/nscd.c (monitor_child): Return exit status of child
20873         instead of return value from wait syscall.
20875 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
20877         * configure.ac (libc_commonpagesize): Remove variable.
20878         (libc_relro_required): Likewise.
20879         (libc_cv_z_relro): Remove configure test.
20880         * configure: Regenerated.
20881         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
20882         variable.
20883         (libc_relro_required): Likewise.
20884         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
20885         (libc_relro_required): Likewise.
20886         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
20887         (libc_relro_required): Likewise.
20888         * sysdeps/arm/preconfigure: Regenerated.
20889         * sysdeps/ia64/preconfigure: Remove file.
20890         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
20891         variable.
20892         (libc_relro_required): Likewise.
20894         [BZ #16561]
20895         [BZ #16562]
20896         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
20897         (__ieee754_yn): Set FE_TONEAREST mode internally and then
20898         recompute overflowing results in original rounding mode.
20899         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
20900         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
20901         recompute overflowing results in original rounding mode.
20902         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
20903         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
20904         recompute overflowing results in original rounding mode.
20905         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
20906         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
20907         recompute overflowing results in original rounding mode.
20908         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
20909         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
20910         recompute overflowing results in original rounding mode.
20911         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
20912         (libc_feholdsetround_ctx): New macro.
20913         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
20914         * sysdeps/i386/fpu/libm-test-ulps: Update.
20915         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
20917 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
20919         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
20920         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
20921         corresponding .cpsetup call.
20923 2014-06-26  Roland McGrath  <roland@hack.frob.com>
20925         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
20926         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
20927         * sysdeps/arm/Makefile [$(subdir) = csu]
20928         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
20929         (static-only-routines): Add aeabi_read_tp here.
20930         (shared-only-routines): Add libc-aeabi_read_tp here.
20931         (CFLAGS-libc-start.c): Add -fexceptions here.
20932         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
20933         (sysdep_routines, static-only-routines, shared-only-routines):
20934         Don't add to these here.
20935         (CFLAGS-libc-start.c): Likewise.
20937         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
20938         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
20939         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
20940         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
20941         * sysdeps/arm/Makefile [$(subdir) = rt]
20942         (librt-sysdep_routines, librt-shared-only-routines):
20943         Append rt-aeabi_unwind_cpp_pr1 here.
20944         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
20945         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
20946         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
20947         (libpthread-sysdep_routines, libpthread-shared-only-routines):
20948         Append nptl-aeabi_unwind_cpp_pr1 here.
20949         (tests): Filter out tst-cleanupx4 here.
20950         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
20951         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
20952         Don't do those here.
20954 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
20956         * scripts/list-sources.sh: Do not handle ports specially.
20958 2014-06-26  Roland McGrath  <roland@hack.frob.com>
20960         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
20961         * sysdeps/arm/feupdateenv.c: Likewise.
20963         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
20965 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
20967         * manual/texinfo.tex: Update to version 2014-05-05.10 with
20968         trailing whitespace removed.
20969         * scripts/config.guess: Update to version 2014-03-23.
20970         * scripts/config.sub: Update to version 2014-05-01
20971         * scripts/install-sh: Update to version 2013-12-25.23.
20972         * scripts/move-if-change: Update from gnulib.
20974 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20976         * debug/memmove_chk.c: Remove pagecopy.h include.
20978 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
20980         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
20981         identical to gnulib mktime.
20983 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
20985         * configure.ac: Do not test for machine being rs6000.  Do not test
20986         for powerpc*-*soft.
20987         * configure: Regenerated.
20989         [BZ #11505]
20990         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
20991         test.
20992         * configure: Regenerated.
20993         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
20994         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
20995         Remove configure test.
20996         * sysdeps/arm/configure: Regenerated.
20997         * sysdeps/nptl/configure.ac: Do not check
20998         libc_cv_asm_cfi_directives.
20999         * sysdeps/nptl/configure: Regenerated.
21000         * sysdeps/x86_64/nptl/configure.ac: Remove file.
21001         * sysdeps/x86_64/nptl/configure: Remove generated file.
21002         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
21003         unconditional.
21004         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
21006 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21008         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
21009         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
21010         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
21011         it is defined.
21013         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
21014         instead of whether it is defined.
21015         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
21016         * sysdeps/hppa/dl-machine.h: Likewise.
21017         * sysdeps/ia64/dl-machine.h: Likewise.
21018         * sysdeps/m68k/dl-machine.h: Likewise.
21019         * sysdeps/microblaze/dl-machine.h: Likewise.
21020         * sysdeps/mips/dl-machine.: Likewise.
21021         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
21022         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21023         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
21024         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
21025         * sysdeps/sh/dl-machine.h: Likewise.
21026         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
21027         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21028         * sysdeps/tile/dl-machine.h: Likewise.
21029         * sysdeps/x86_64/dl-machine.h: Likewise.
21031         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
21032         code.
21033         (verify_persistent_db): Likewise.
21035 2014-06-26  Roland McGrath  <roland@hack.frob.com>
21037         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
21038         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
21039         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
21040         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
21041         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
21042         Moved ...
21043         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
21044         ... here.
21045         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
21046         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
21047         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
21048         Identical file removed.
21049         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
21050         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
21051         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
21052         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
21053         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
21054         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
21055         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
21056         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
21057         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
21058         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
21059         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21060         Moved ...
21061         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
21062         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
21063         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
21064         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
21065         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
21066         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
21067         Moved ...
21068         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
21069         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
21070         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
21071         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
21072         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
21073         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21074         Identical file removed.
21075         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
21076         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
21077         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
21078         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
21079         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
21080         Moved ...
21081         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
21082         ... here.
21083         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
21084         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
21085         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
21086         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
21087         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
21088         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
21089         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
21090         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
21091         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
21092         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
21093         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21094         Moved ...
21095         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
21096         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
21097         Moved ...
21098         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
21099         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
21100         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
21101         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
21102         Moved ...
21103         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
21104         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
21105         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
21107         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
21108         folded into ...
21109         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
21110         * sysdeps/unix/sysv/linux/s390/Versions
21111         (libpthread: GLIBC_2.19): New version set.
21112         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
21113         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
21114         (librt: GLIBC_2.3.3): New version set.
21115         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
21116         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
21117         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
21118         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
21119         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
21120         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
21121         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
21122         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
21123         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
21124         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
21125         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
21126         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
21127         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
21128         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
21129         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
21130         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
21131         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
21132         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
21133         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
21134         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
21135         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
21136         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
21137         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
21138         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
21139         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
21140         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
21141         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
21142         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
21143         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
21144         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
21145         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
21146         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
21147         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
21148         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
21149         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
21150         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
21151         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
21152         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
21153         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
21154         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
21155         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
21156         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
21157         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
21158         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
21159         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
21161         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
21162         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
21163         (__libc_vfork): Define the function under this name.
21164         [!NOT_IN_libc] (__vfork): Make this an alias.
21165         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
21166         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
21167         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
21168         (__libc_vfork): Define the function under this name.
21169         [!NOT_IN_libc] (__vfork): Make this an alias.
21170         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
21171         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
21172         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
21173         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
21174         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
21175         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
21177         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
21178         code that was previously under [RESET_PID].
21179         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
21180         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
21181         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
21183         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
21184         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
21185         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
21186         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
21187         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
21188         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
21189         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
21190         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
21191         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
21192         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
21193         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
21194         Moved ...
21195         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
21196         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
21197         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
21198         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
21199         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
21200         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
21201         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
21202         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
21203         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
21204         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
21205         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
21206         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
21207         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
21208         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
21209         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
21210         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
21211         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
21212         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
21213         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
21214         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
21215         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
21216         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
21217         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
21218         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
21219         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
21220         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
21221         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
21222         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
21223         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
21225 2014-06-25  Roland McGrath  <roland@hack.frob.com>
21227         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
21228         that was previously under [RESET_PID].
21229         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
21231 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
21233         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
21234         not undefine and redefine.
21235         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
21236         [O_CLOEXEC]: Make code unconditional.
21237         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
21238         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
21239         <kernel-features.h>.
21240         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
21241         conditional variable definition.
21242         (shm_open) [O_CLOEXEC]: Make code unconditional.
21243         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
21244         code.
21246         * configure.ac (USE_REGPARMS): Don't define here.
21247         * configure: Regenerated.
21248         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
21249         * sysdeps/i386/configure: Regenerated.
21251         * nptl/createthread.c: Don't include kernel-features.h.
21252         * nptl/pthread_cancel.c: Likewise.
21253         * nptl/pthread_condattr_setclock.c: Likewise.
21254         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
21255         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
21256         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
21257         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
21258         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
21259         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
21260         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
21261         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
21262         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
21263         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
21264         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
21265         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
21266         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
21267         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
21268         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
21269         * nscd/gai.c: Likewise.
21270         * nss/nss_db/db-open.c: Likewise.
21271         * sysdeps/generic/ldsodefs.h: Likewise.
21272         * sysdeps/sh/nptl/tls.h: Likewise.
21273         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
21274         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
21275         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
21276         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
21277         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
21278         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
21279         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
21280         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21281         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
21282         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
21283         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
21284         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
21285         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
21286         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
21287         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
21288         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
21289         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
21290         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
21291         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
21292         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
21293         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
21294         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
21295         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
21296         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
21297         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
21298         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
21299         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
21300         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
21301         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
21302         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
21303         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
21304         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
21305         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
21306         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
21307         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21308         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
21309         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
21310         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
21311         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
21312         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
21313         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
21314         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
21315         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
21316         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21317         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
21318         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
21319         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
21320         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
21321         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
21322         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
21323         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
21324         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
21325         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
21326         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
21327         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
21328         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
21329         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
21330         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
21331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
21332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
21333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
21334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
21335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
21336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
21337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
21338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
21339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
21340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
21341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
21342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
21343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
21344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
21345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
21346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
21347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
21348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
21349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
21350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
21351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
21352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
21353         * sysdeps/unix/sysv/linux/pread.c: Likewise.
21354         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
21355         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
21356         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
21357         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
21358         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
21359         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
21360         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
21361         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
21362         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
21363         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
21364         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
21365         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
21366         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
21367         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
21368         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
21369         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
21370         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
21371         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
21372         * sysdeps/unix/sysv/linux/system.c: Likewise.
21373         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
21374         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
21375         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21376         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21377         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
21378         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
21379         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
21381         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
21382         * configure: Regenerated.
21383         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
21385         * configure.ac (base_machine): Do not set specially for particular
21386         machines here.
21387         * configure: Regenerated.
21388         * sysdeps/powerpc/preconfigure: Move machine and base_machine
21389         settings from configure.ac.
21390         * sysdeps/i386/preconfigure: New file.
21391         * sysdeps/s390/preconfigure: Likewise.
21392         * sysdeps/sh/preconfigure: Likewise.
21393         * sysdeps/sparc/preconfigure: Likewise.
21395 2014-06-25  Roland McGrath  <roland@hack.frob.com>
21397         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
21398         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
21399         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
21400         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
21401         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
21402         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
21403         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
21404         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
21405         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
21406         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
21407         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
21408         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
21409         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
21410         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
21411         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
21412         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
21413         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
21414         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
21415         * sysdeps/sparc/sparc64/Makefile: ... appended here.
21417         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
21418         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
21419         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
21420         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
21421         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
21422         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
21423         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
21424         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
21425         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
21426         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
21427         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
21428         * sysdeps/sparc/sparc32/sem_post.c: ... here.
21429         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
21430         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
21431         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
21432         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
21433         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
21434         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
21435         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
21436         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
21437         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
21438         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
21439         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
21440         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
21441         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
21442         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
21443         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
21444         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
21445         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
21446         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
21447         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
21448         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
21449         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
21450         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
21451         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
21452         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
21453         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
21454         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
21456         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
21457         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
21458         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
21459         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
21460         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
21461         Moved ...
21462         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
21463         ... here.
21464         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
21465         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
21466         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
21467         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
21468         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
21469         Moved ...
21470         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
21471         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
21472         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
21473         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
21474         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
21475         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
21476         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
21477         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21478         Moved ...
21479         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
21480         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
21481         Moved ...
21482         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
21483         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
21484         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
21485         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
21486         Moved ...
21487         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
21488         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
21489         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
21490         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
21491         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
21492         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
21493         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
21494         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
21495         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
21496         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
21497         Moved ...
21498         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
21499         ... here.
21500         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
21501         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
21502         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
21503         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
21504         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
21505         Moved ...
21506         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
21507         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
21508         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
21509         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
21510         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
21511         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
21512         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
21513         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21514         Moved ...
21515         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
21516         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
21517         Moved ...
21518         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
21519         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
21520         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
21521         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
21522         Moved ...
21523         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
21524         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
21525         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
21526         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
21527         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
21529 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
21531         * timezone/checktab.awk: Update from tzcode 2014e.
21532         * timezone/private.h: Likewise.
21533         * timezone/tzfile.h: Likewise.
21534         * timezone/zdump.c: Likewise.
21535         * timezone/zic.c: Likewise.
21537         * sysdeps/unix/sysv/linux/kernel-features.h
21538         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
21539         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
21540         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
21541         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
21542         Remove conditional code.
21544 2014-06-25  Will Newton  <will.newton@linaro.org>
21546         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
21547         (_dl_arm_cap_flags): Add HWCAP2 values.
21548         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
21549         (_DL_HWCAP_COUNT): Increase to 37.
21550         (_DL_HWCAP_LAST): New define.
21551         (_DL_HWCAP2_LAST): New define.
21552         (_dl_procinfo): Add support for printing
21553         AT_HWCAP2 entries.
21554         (_dl_string_hwcap): Use _dl_hwcap_string.
21556 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21558         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21560 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
21562         * README: Do not mention ports directory.
21564         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
21565         Remove macro.
21566         * sysdeps/unix/sysv/linux/futimes.c: Do not include
21567         <kernel-features.h>.
21568         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
21569         conditional variable definition.
21570         (__futimes): Update comment.
21571         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
21572         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
21574         [BZ #16560]
21575         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
21576         arguments close to 0.
21577         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
21578         Likewise.
21579         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
21580         Likewise.
21581         * math/auto-libm-test-in: Add more tests of exp10.
21582         * math/auto-libm-test-out: Regenerated.
21583         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21585         * sysdeps/unix/sysv/linux/kernel-features.h
21586         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
21587         * sysdeps/unix/sysv/linux/readv.c: Do not include
21588         <kernel-features.h>.
21589         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
21590         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
21591         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
21592         unconditional.
21593         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
21594         conditional code.
21595         * sysdeps/unix/sysv/linux/writev.c: Do not include
21596         <kernel-features.h>.
21597         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
21598         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
21599         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
21600         unconditional.
21601         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
21602         conditional code.
21604 2014-06-25  Will Newton  <will.newton@linaro.org>
21606         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
21607         comment changes throughout the file.  Remove checks
21608         for HAVE_*_H definitions that are not required.
21609         (__gen_tempname): Call abort if an unknown kind value is
21610         passed.
21612 2014-06-25  Andreas Schwab  <schwab@suse.de>
21614         [BZ #17086]
21615         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
21616         scalbln, scalblnf, scalblnl in libc.
21618 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
21620         [BZ #17086]
21621         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
21622         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
21623         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
21625 2014-06-24  Roland McGrath  <roland@hack.frob.com>
21627         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
21628         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
21629         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
21630         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
21631         Update #include.
21632         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
21633         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
21634         Update #include.
21635         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
21636         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
21637         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
21638         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
21639         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
21640         * sysdeps/x86/bits/pthreadtypes.h: ... here.
21641         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
21642         * sysdeps/x86/bits/semaphore.h: ... here.
21643         * sysdeps/x86/nptl/elide.h: Moved ...
21644         * sysdeps/x86/elide.h: ... here.
21645         * sysdeps/x86_64/nptl/Implies: File removed.
21646         * sysdeps/i386/nptl/Implies: File removed.
21648 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
21650         [BZ #16539]
21651         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
21652         return the argument for normal arguments with exponent below -64.
21653         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
21654         Likewise.
21655         * math/auto-libm-test-in: Add another test of expm1.
21656         * math/auto-libm-test-out: Regenerated.
21658         [BZ #16287]
21659         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
21660         calling __erfcl for arguments at least 16.
21661         * math/auto-libm-test-in: Add more tests of erf.
21662         * math/auto-libm-test-out: Regenerated.
21664         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
21665         individual architectures.
21666         * sysdeps/unix/sysv/linux/configure: Regenerated.
21667         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
21668         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
21669         * sysdeps/unix/sysv/linux/powerpc/configure.ac
21670         (ldd_rewrite_script): Define variable.
21671         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
21672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
21673         file.
21674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
21675         generated file.
21676         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
21677         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
21678         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
21679         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
21680         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
21681         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
21682         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
21683         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
21685 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21687         [BZ #17084]
21688         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
21689         Rename member __data.d to __data.__elision_data.
21691 2014-06-24  Wilco  <wdijkstr@arm.com>
21693         * NEWS: Add 16918 to fixed bug list.
21695 2014-06-24  Wilco  <wdijkstr@arm.com>
21697         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
21699 2014-06-24  Wilco  <wdijkstr@arm.com>
21701         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
21702         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
21703         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
21704         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
21705         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
21706         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
21707         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
21708         Use _FPU_MASK_RM.
21710 2014-06-24  Wilco  <wdijkstr@arm.com>
21712         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
21714 2014-06-24  Wilco  <wdijkstr@arm.com>
21716         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
21717         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
21718         * sysdeps/arm/fesetround.c (fesetround): Remove space.
21719         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
21721 2014-06-24  Wilco  <wdijkstr@arm.com>
21723         [BZ #16918]
21724         * sysdeps/arm/feupdateenv.c (feupdateenv):
21725         Rewrite to reduce FPSCR accesses and fix return value.
21727 2014-06-24  Wilco  <wdijkstr@arm.com>
21729         * sysdeps/arm/fclrexcpt.c (feclearexcept):
21730         Optimize to avoid unnecessary FPSCR writes.
21731         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
21732         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
21733         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
21734         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
21736 2014-06-24  Wilco  <wdijkstr@arm.com>
21738         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
21739         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
21740         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
21741         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
21742         Call libc_fetestexcept_vfp.
21743         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
21744         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
21745         __SOFTFP__ ifdef so that they can be built for softfp.
21747 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21749         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
21750         argument type signed char.
21752         * Makerules (check-abi): Dump diff of symlist if the test
21753         fails.
21755 2014-06-23  Roland McGrath  <roland@hack.frob.com>
21757         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
21758         using abort.
21760         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
21761         Remove unused variable ST.
21763 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
21765         [BZ #16354]
21766         [BZ #17061]
21767         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
21768         small arguments before calling __expm1.
21769         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
21770         small arguments before calling __expm1f.
21771         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
21772         small arguments before calling __expm1l.
21773         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
21774         Likewise.
21775         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
21776         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
21777         spurious underflow for some cosh tests.
21778         * math/auto-libm-test-out: Regenerated.
21779         * sysdeps/i386/fpu/libm-test-ulps: Update.
21781         [BZ #17050]
21782         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
21783         (__ieee754_y1): Set errno if return value overflows.
21784         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
21785         (__ieee754_y1f): Set errno if return value overflows.
21786         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
21787         (__ieee754_y1l): Set errno if return value overflows.
21788         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
21789         (__ieee754_y1l): Set errno if return value overflows.
21790         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
21791         * math/auto-libm-test-out: Regenerated.
21793         * math/gen-auto-libm-tests.c: Document use of
21794         ignore-zero-inf-sign.
21795         (input_flag_type): Add value flag_ignore_zero_inf_sign.
21796         (input_flags): Add ignore-zero-inf-sign.
21797         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
21798         * math/gen-libm-test.pl (generate_testfile): Handle
21799         ignore-zero-inf-sign.
21800         * math/auto-libm-test-in: Mark some cpow tests with
21801         ignore-zero-inf-sign and some with xfail-rounding.
21802         * math/auto-libm-test-out: Regenerated.
21803         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
21804         * sysdeps/i386/fpu/libm-test-ulps: Update.
21805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21807         [BZ #16315]
21808         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
21809         overflowing or underflowing operations take place with sign of
21810         result.
21811         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21812         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
21813         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
21814         (__ieee754_pow): Recompute overflowing and underflowing results in
21815         original rounding mode.
21816         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
21817         (__powl_helper): Allow negative argument X and scale negated value
21818         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
21819         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
21820         overflowing or underflowing operations take place with sign of
21821         result.
21822         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
21823         Include <math.h>.
21824         * math/auto-libm-test-in: Add more tests of pow.
21825         * math/auto-libm-test-out: Regenerated.
21826         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
21827         (pow_tonearest_test_data): Remove.
21828         (pow_test_tonearest): Likewise.
21829         (pow_towardzero_test_data): Likewise.
21830         (pow_test_towardzero): Likewise.
21831         (pow_downward_test_data): Likewise.
21832         (pow_test_downward): Likewise.
21833         (pow_upward_test_data): Likewise.
21834         (pow_test_upward): Likewise.
21835         (main): Don't call removed functions.
21836         * sysdeps/i386/fpu/libm-test-ulps: Update.
21837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21839 2014-06-23  Roland McGrath  <roland@hack.frob.com>
21841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
21842         Moved ...
21843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
21844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21845         Moved ...
21846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
21847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
21848         Moved ...
21849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
21850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21851         Moved ...
21852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
21853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21854         File removed.
21855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
21856         File removed.
21857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
21858         File removed.
21859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
21860         File removed.
21861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
21862         File removed.
21863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
21864         File removed.
21865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
21866         File removed.
21867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21868         File removed.
21869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
21870         File removed.
21871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
21872         File removed.
21873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
21874         File removed.
21875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
21876         File removed.
21877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
21878         Moved ...
21879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
21880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
21881         Moved ...
21882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
21883         ... here.
21884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
21885         Moved ...
21886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
21887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
21888         Moved ...
21889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
21890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
21891         Moved ...
21892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
21893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
21894         Moved ...
21895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
21896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
21897         Moved ...
21898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
21899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
21900         Moved ...
21901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
21902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
21903         Moved ...
21904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
21905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
21906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
21907         ... here.
21908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
21909         Moved ...
21910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
21911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
21912         Moved ...
21913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21914         ... here.
21915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
21916         Moved ...
21917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
21918         ... here.
21919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
21920         Moved ...
21921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
21922         ... here.
21923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21924         Moved ...
21925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
21926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
21927         Moved ...
21928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
21929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
21930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
21931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
21932         Moved ...
21933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
21934         ... here.
21935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
21936         Moved ...
21937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
21938         ... here.
21939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
21940         Moved ...
21941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
21942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
21943         Moved ...
21944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
21945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
21946         Moved ...
21947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
21948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21949         Moved ...
21950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
21951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
21952         Moved ...
21953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
21954         ... here.
21955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
21956         Moved ...
21957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
21958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
21959         Moved ...
21960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
21961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
21962         Moved ...
21963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
21964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
21965         Moved ...
21966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
21967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
21968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
21969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
21970         Moved ...
21971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
21972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
21973         Moved ...
21974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
21975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
21976         Moved ...
21977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
21978         ... here.
21979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21980         Moved ...
21981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
21982         ... here.
21983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
21984         Moved ...
21985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
21986         ... here.
21987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
21988         Moved ...
21989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
21990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
21991         Moved ...
21992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
21993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
21994         Moved ...
21995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
21996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
21997         Moved ...
21998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
21999         ... here.
22000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
22001         Moved ...
22002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
22003         ... here.
22004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
22005         Moved ...
22006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
22007         ... here.
22008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
22009         Moved ...
22010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
22011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
22012         Moved ...
22013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
22015 2014-06-23  Will Newton  <will.newton@linaro.org>
22016             Wilco  <wdijkstr@arm.com>
22018         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
22019         implementation.  Include get-rounding-mode.h.
22020         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
22021         [!libc_feholdsetround_noex_ctx]: Define
22022         libc_feholdsetround_noex_ctx.
22023         [!libc_feholdsetround_noexf_ctx]: Define
22024         libc_feholdsetround_noexf_ctx.
22025         [!libc_feholdsetround_noexl_ctx]: Define
22026         libc_feholdsetround_noexl_ctx.
22027         (libc_feholdsetround_ctx): New function.
22028         (libc_feresetround_ctx): New function.
22029         (libc_feholdsetround_noex_ctx): New function.
22030         (libc_feresetround_noex_ctx): New function.
22032 2014-06-23  Roland McGrath  <roland@hack.frob.com>
22034         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
22035         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
22036         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
22037         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
22038         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
22039         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
22041         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
22042         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
22043         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
22044         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
22045         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
22046         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
22047         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
22048         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
22049         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
22050         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
22051         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
22052         Moved ...
22053         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
22054         ... here.
22055         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
22056         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
22057         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
22058         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
22059         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
22060         Moved ...
22061         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
22062         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
22063         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
22064         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
22065         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
22066         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
22067         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
22068         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
22069         Moved ...
22070         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
22071         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
22072         Moved ...
22073         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
22074         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
22075         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
22076         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
22077         Moved ...
22078         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
22079         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
22080         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
22081         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
22082         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
22083         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
22084         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
22085         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
22086         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
22087         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
22088         Moved ...
22089         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
22090         ... here.
22091         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
22092         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
22093         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
22094         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
22095         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
22096         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
22097         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
22098         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
22099         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
22100         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
22101         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
22102         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
22103         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
22104         Moved ...
22105         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
22106         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
22107         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
22108         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
22109         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
22110         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
22111         Moved ...
22112         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
22113         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
22114         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
22115         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
22116         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
22118         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
22119         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
22120         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
22121         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
22122         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
22123         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
22124         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
22125         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
22126         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
22127         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
22128         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
22129         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
22130         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
22131         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
22132         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
22133         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
22134         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
22135         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
22136         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
22137         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
22138         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
22139         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
22140         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
22141         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
22142         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
22143         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
22144         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
22145         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
22147 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
22149         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
22150         (FALLOC_FL_COLLAPSE_RANGE): New macro.
22151         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
22152         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
22153         (IPV6_PMTUDISC_INTERFACE): Likewise.
22154         (IPV6_PMTUDISC_OMIT): Likewise.
22156 2014-06-23  Andreas Schwab  <schwab@suse.de>
22158         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
22159         Remove unused errout label.
22161 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22163         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
22164         macro: hardware supports Vector Crypto instructions.
22166 2014-06-23  Will Newton  <will.newton@linaro.org>
22168         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
22169         rather than __builtin_expect.
22171         * elf/dl-lookup.c (undefined_msg): Remove variable.
22172         (_dl_lookup_symbol_x): Replace undefined_msg with string
22173         literal.
22175         * elf/dl-lookup.c (do_lookup_unique): New function.
22176         (do_lookup_x): Move STB_GNU_UNIQUE handling code
22177         to a separate function.
22179 2014-06-23  Andreas Schwab  <schwab@suse.de>
22181         [BZ #17079]
22182         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
22183         before reading the next line.
22185 2014-06-23  Will Newton  <will.newton@linaro.org>
22187         * test-skeleton.c (signal_handler): Use printf and %m
22188         rather than perror.  Use printf rather than fprintf to
22189         stderr.  Use puts rather than fputs to stderr.
22190         (main): Likewise.
22192 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
22194         * nscd/nscd.c (thread_info_t): Remove typedef.
22195         (thread_info): Remove variable.
22197 2014-06-21  Allan McRae  <allan@archlinux.org>
22199         * NEWS: Mention CVE-2014-4043.
22201 2014-06-20  Roland McGrath  <roland@hack.frob.com>
22203         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
22204         * nptl/smp.h: ... here.
22206         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
22208         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
22209         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
22210         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
22211         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
22213         * nptl/allocatestack.c: Include <stack-aliasing.h>.
22214         * nptl/stack-aliasing.h: New file.
22215         * sysdeps/i386/i686/stack-aliasing.h: New file.
22216         * sysdeps/i386/i686/nptl/Makefile: File removed.
22217         * sysdeps/x86_64/stack-aliasing.h: New file.
22218         * sysdeps/x86_64/nptl/Makefile
22219         (CFLAGS-pthread_create.c): Variable removed.
22221         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
22222         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
22223         old file.
22224         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
22225         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
22226         old file.
22228 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
22230         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22231         (__ASSUME_SIGFRAME_V2): Remove macro.
22232         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
22233         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
22234         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
22235         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
22236         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
22237         Declare as function.  Remove conditional macro definitions.
22238         (__default_rt_sa_restorer): Likewise.
22239         (__default_sa_restorer_v1): Remove declaration.
22240         (__default_sa_restorer_v2): Likewise.
22241         (__default_rt_sa_restorer_v1): Likewise.
22242         (__default_rt_sa_restorer_v2): Likewise.
22243         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
22244         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
22245         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
22247 2014-06-20  Roland McGrath  <roland@hack.frob.com>
22249         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
22250         (libpthread-routines): Add sysdep.
22251         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
22252         * sysdeps/unix/sysv/linux/sparc/Versions
22253         (libpthread: GLIBC_2.3.3): New version set.
22254         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
22255         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
22256         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
22257         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
22258         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
22259         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
22260         Moved ...
22261         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
22262         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
22263         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
22264         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
22265         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
22266         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
22267         * sysdeps/sparc/nptl/sem_init.c: ... here.
22268         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
22269         * sysdeps/sparc/nptl/sem_post.c: ... here.
22270         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
22271         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
22272         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
22273         * sysdeps/sparc/nptl/sem_wait.c: ... here.
22274         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
22275         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
22276         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
22277         (libpthread-routines): Add cpu_relax.
22278         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
22279         File removed.
22280         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
22281         (librt: GLIBC_2.3.3): New version set.
22282         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
22283         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
22284         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
22285         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
22286         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
22287         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
22288         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
22289         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
22290         Moved ...
22291         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
22292         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
22293         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
22294         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
22295         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
22296         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
22297         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
22298         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
22299         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
22300         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
22301         Moved ...
22302         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
22303         Update #include.
22304         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
22305         Moved ...
22306         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
22307         Update #include.
22308         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
22309         Moved ...
22310         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
22311         Update #include.
22312         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
22313         Moved ...
22314         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
22315         Update #include.
22316         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
22317         Moved ...
22318         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
22319         Update #include.
22320         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
22321         Moved ...
22322         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
22323         Update #include.
22324         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
22325         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
22326         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
22327         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
22328         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
22329         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
22330         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
22331         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
22332         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
22333         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
22334         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
22335         Moved ...
22336         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
22337         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
22338         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
22339         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
22340         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
22342 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
22344         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
22345         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
22346         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
22347         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
22348         * nscd/nscd.c: Likewise.
22349         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
22350         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
22351         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
22352         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
22354         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
22355         <kernel-features.h>.
22356         (init_mq_netlink): Remove conditional have_sock_cloexec
22357         definitions.  Remove code conditional on have_sock_cloexec < 0.
22358         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
22359         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
22360         * sysdeps/unix/sysv/linux/opensock.c: Do not include
22361         <kernel-features.h>.
22362         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
22363         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
22365 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
22367         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22368         Add tests for memset_chk and memset.
22370         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
22371         with AVX2_Usable.
22373 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
22375         [BZ #16046]
22376         * elf/tst-dl-iter-static.c: New file.
22377         * elf/Makefile (tests-static): Add tst-dl-iter-static.
22379         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
22380         error.
22382 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
22384         * sysdeps/unix/sysv/linux/kernel-features.h
22385         (__ASSUME_F_GETOWN_EX): Remove macro.
22386         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
22387         <kernel-features.h>.
22388         (miss_F_GETOWN_EX): Remove variable or macro.
22389         (do_fcntl): Do not check miss_F_GETOWN_EX.
22390         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
22392         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
22393         Remove macro.
22394         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
22395         [!__ASSUME_AT_RANDOM]: Remove conditional code.
22396         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
22398         * sysdeps/unix/sysv/linux/kernel-features.h
22399         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
22400         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
22401         [ADJ_OFFSET_SS_READ]: Make code unconditional.
22402         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
22404 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
22406         [BZ #17075]
22407         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
22408         Fix calculation of the symbol's value.
22409         * sysdeps/arm/tst-armtlsdescloc.c: New file.
22410         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
22411         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
22412         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
22413         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
22414         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
22415         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
22416         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
22417         (modules-names): Add `tst-armtlsdescmod',
22418         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
22419         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
22420         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
22421         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
22422         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
22423         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
22424         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
22425         ($(objpfx)tst-armtlsdescloc): New dependency.
22426         ($(objpfx)tst-armtlsdescextnow): Likewise.
22427         ($(objpfx)tst-armtlsdescextlazy): Likewise.
22428         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
22429         TLS scheme support.
22430         * sysdeps/arm/configure: Regenerate.
22432 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
22434         * include/fcntl.h (__atfct_seterrno): Remove prototype.
22435         (__atfct_seterrno_2): Likewise.
22436         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
22437         <kernel-features.h>.
22438         (__ASSUME_ATFCTS): Do not undefine and redefine.
22439         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
22440         (__have_atfcts): Remove conditional definition.
22441         (__fxstatat([__NR_fstatat64]: Make code unconditional.
22442         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
22443         unreachable if [__ASSUME_ATFCTS].
22444         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
22445         not undefine and redefine.
22446         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
22447         <kernel-features.h>.
22448         (faccessat) [__NR_faccessat]: Make code unconditional.
22449         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
22450         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
22451         <kernel-features.h>.
22452         (fchmodat) [__NR_fchmodat]: Make code unconditional.
22453         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
22454         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
22455         <kernel-features.h>.
22456         (fchownat) [__NR_fchownat]: Make code unconditional.
22457         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
22458         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
22459         <kernel-features.h>.
22460         (futimesat) [__NR_futimesat]: Make code unconditional.
22461         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
22462         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
22463         <kernel-features.h>.
22464         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
22465         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
22466         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
22467         <kernel-features.h>.
22468         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
22469         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
22470         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
22471         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
22472         <kernel-features.h>.
22473         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
22474         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
22475         * sysdeps/unix/sysv/linux/linkat.c: Do not include
22476         <kernel-features.h>.
22477         (linkat) [__NR_linkat]: Make code unconditional.
22478         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
22479         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
22480         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
22481         <kernel-features.h>.
22482         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
22483         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
22484         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
22485         <kernel-features.h>.
22486         (mkdirat) [__NR_mkdirat]: Make code unconditional.
22487         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
22488         * sysdeps/unix/sysv/linux/openat.c: Do not include
22489         <kernel-features.h>.
22490         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
22491         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
22492         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
22493         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
22494         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
22495         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
22496         <kernel-features.h>.
22497         (readlinkat) [__NR_readlinkat]: Make code unconditional.
22498         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
22499         result of INLINE_SYSCALL directly, not via int variable.
22500         * sysdeps/unix/sysv/linux/renameat.c: Do not include
22501         <kernel-features.h>.
22502         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
22503         (renameat) [__NR_renameat]: Make code unconditional.
22504         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
22505         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
22506         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
22507         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
22508         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
22509         (__ASSUME_ATFCTS): Do not undefine and redefine.
22510         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
22511         <kernel-features.h>.
22512         (symlinkat) [__NR_symlinkat]: Make code unconditional.
22513         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
22514         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
22515         <kernel-features.h>.
22516         (unlinkat) [__NR_unlinkat]: Make code unconditional.
22517         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
22518         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
22519         (__ASSUME_ATFCTS): Do not undefine and redefine.
22520         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
22521         <kernel-features.h>.
22522         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
22523         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
22524         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
22525         <kernel-features.h>.
22526         (__xmknodat) [__NR_mknodat]: Make code unconditional.
22527         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
22529 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
22531         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
22533 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
22535         [BZ #17069]
22536         * posix/regcomp.c (parse_reg_exp): Deallocate partially
22537         constructed tree before returning error.
22538         * posix/bug-regexp36.c: Expand test case.
22540 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
22542         [BZ #6803]
22543         * math/libm-test.inc (scalbln_test_date):
22544         Add errno expectations.
22545         * math/w_scalblnf.c: New File.
22546         Add wrapper which checks for setting errno to ERANGE.
22547         Add weak_alias for corresponding scalbln function.
22548         * math/w_scalbln.c: Likewise.
22549         * math/w_scalblnl.c: Likewise.
22550         * math/Makefile (libm-calls): Add w_scalbln.
22551         * sysdeps/ieee754/flt-32/s_scalblnf.c:
22552         Remove weak_alias for corresponding scalbln function.
22553         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22554         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
22555         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22556         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22557         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
22558         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
22559         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
22560         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
22561         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
22562         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
22563         Remove long_double_symbol for scalblnl function in libm, libc.
22564         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
22565         Add wrapper which checks for setting errno to ERANGE.
22566         Add long_double_symbol for scalblnl function in libm, libc.
22567         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
22568         Remove long_double_symbol for scalblnl in libm.
22569         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
22570         Add wrapper which checks for setting errno to ERANGE.
22571         Add long_double_symbol for scalblnl function in libm.
22572         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
22573         Do not use wrapper because of own implementation.
22575 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
22577         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
22578         3 bytes for __pad1 for x32.
22579         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
22581 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
22582             H.J. Lu  <hongjiu.lu@intel.com>
22584         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
22585         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
22586         * sysdeps/x86_64/multiarch/memset.S: Likewise.
22587         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22588         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
22590 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
22592         [BZ #17069]
22593         * posix/regcomp.c (parse_expression): Deallocate partially
22594         constructed tree before returning error.
22595         * posix/Makefile.c (tests): Add bug-regex36.
22596         (generated): Add bug-regex36.mtrace.
22597         (tests-special): Add $(objpfx)bug-regex36-mem.out
22598         (bug-regex36-ENV): New variable.
22599         ($(objpfx)bug-regex36-mem.out): New rule.
22600         * posix/bug-regex36.c: New file.
22602 2014-06-19  Will Newton  <will.newton@linaro.org>
22604         * malloc/malloc.c (systrim): If extra is zero then return
22605         early.
22607 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22609         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
22611 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
22613         * sysdeps/aarch64/strchr.S: New file.
22615 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
22617         [BZ #17022]
22618         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
22619         from arguments -2 or below.
22620         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
22621         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
22623 2014-06-18  Andreas Schwab  <schwab@suse.de>
22625         [BZ #17062]
22626         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
22627         of a bracket expr not to run off the end of the string.
22628         * posix/Makefile (tests): Add tst-fnmatch3.
22629         * posix/tst-fnmatch3.c: New file.
22631 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
22633         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
22634         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
22635         [$(cross-compiling) = no]: Likewise.
22636         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
22637         [$(cross-compiling) = no]: Likewise.
22639 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22641         [BZ #17031]
22642         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
22643         double, adjusted for any remainder from the high double.
22644         * math/libm-test.inc (nearbyint): Add tests.
22645         (rint): Likewise.
22647 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22649         * nptl/sysdeps/powerpc/Makefile: Moved ...
22650         * sysdeps/powerpc/nptl/Makefile: ... here.
22651         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
22652         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
22653         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
22654         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
22655         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
22656         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
22657         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
22658         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
22659         * nptl/sysdeps/powerpc/tls.h: Moved ...
22660         * sysdeps/powerpc/nptl/tls.h: ... here.
22662 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
22664         [BZ #16681]
22665         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
22666         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
22667         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
22668         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
22669         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
22670         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
22671         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
22672         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
22673         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
22675 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
22677         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
22679 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
22681         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
22682         defined operator.
22684         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
22685         $TIMEOUTFACTOR.
22687 2014-06-16  Florian Weimer  <fweimer@redhat.com>
22689         [BZ #17058]
22690         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
22691         non-executed part of the test.
22693 2014-06-16  Andreas Schwab  <schwab@suse.de>
22695         * string/bits/string2.h (strdup, strndup): Update feature guard.
22697 2014-06-14  David S. Miller  <davem@davemloft.net>
22699         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22701 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
22703         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
22704         that was previously under [RESET_PID].
22705         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
22707         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
22708         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
22709         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
22710         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
22711         (__libc_vfork): New strong alias.
22712         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
22714 2014-06-14 Andi Kleen  <ak@linux.intel.com>
22716         * sysdeps/generic/elide.h: New file.
22718 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22720         * Makefile (installed-headers): Adjust path of pthread.h header.
22722 2014-06-13  Roland McGrath  <roland@hack.frob.com>
22724         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
22725         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
22726         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
22727         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
22729         * nptl/sysdeps/s390/Makefile: Moved ...
22730         * sysdeps/s390/nptl/Makefile: ... here.
22731         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
22732         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
22733         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
22734         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
22735         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
22736         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
22737         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
22738         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
22739         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
22740         * sysdeps/s390/nptl/pthreaddef.h: ... here.
22741         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
22742         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
22743         * nptl/sysdeps/s390/tls.h: Moved ...
22744         * sysdeps/s390/nptl/tls.h: ... here.
22746         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
22747         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
22749 2014-06-13  David S. Miller  <davem@davemloft.net>
22751         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
22752         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
22753         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
22754         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
22755         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
22756         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
22757         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
22758         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
22759         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
22760         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
22761         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
22762         Remove RESET_PID cpp guards.
22763         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
22764         Remove RESET_PID cpp guards.
22765         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
22767 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
22769         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
22770         __sp to uintptr_t.
22772 2014-06-13  Andi Kleen  <ak@linux.intel.com>
22774         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
22775         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
22776         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
22777         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
22778         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
22779         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
22780         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
22781         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
22782         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
22783         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
22784         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
22785         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
22786         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
22787         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
22788         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
22789         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
22790         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
22791         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
22792         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
22793         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
22795         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
22796         (pthread_rwlock_rdlock): Add elision.
22797         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
22798         (pthread_rwlock_wrlock): Add elision.
22799         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
22800         (pthread_rwlock_trywrlock): Add elision.
22801         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
22802         (pthread_rwlock_tryrdlock): Add elision.
22803         * nptl/pthread_rwlock_unlock.c: Include elide.h.
22804         (pthread_rwlock_tryrdlock): Add elision unlock.
22805         * nptl/sysdeps/pthread/pthread.h:
22806         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
22807         (PTHREAD_RWLOCK_INITIALIZER,
22808         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
22809         Handle new elision field.
22810         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
22811         * sysdeps/arm/nptl/bits/pthreadtypes.h
22812         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22813         * sysdeps/sh/nptl/bits/pthreadtypes.h
22814         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22815         * sysdeps/tile/nptl/bits/pthreadtypes.h
22816         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22817         * sysdeps/a/nptl/bits/pthreadtypes.h
22818         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22819         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
22820         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22821         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
22822         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22823         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
22824         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22825         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
22826         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22827         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
22828         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22829         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
22830         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22831         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
22832         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22833         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
22834         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22835         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
22836         (elision_init): Set try_xbegin to zero when no RTM.
22837         * sysdeps/x86/nptl/bits/pthreadtypes.h
22838         (pthread_rwlock_t): Change __pad1 to __rwelision.
22839         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22841 2014-06-13  Andi Kleen  <ak@linux.intel.com>
22843         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
22844         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
22845         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
22846         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
22848 2014-06-13  Meador Inge  <meadori@codesourcery.com>
22850         [BZ #16996]
22851         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
22852         that the cached result has been set before returning it.
22854 2014-06-12  Roland McGrath  <roland@hack.frob.com>
22856         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
22857         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
22858         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
22859         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
22860         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
22861         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
22863         * nptl/sysdeps/sparc/Makefile: Moved ...
22864         * sysdeps/sparc/nptl/Makefile: ... here.
22865         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
22866         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
22867         * nptl/sysdeps/sparc/tls.h: Moved ...
22868         * sysdeps/sparc/nptl/tls.h: ... here.
22869         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
22870         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
22871         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
22872         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
22873         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
22874         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
22875         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
22876         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
22877         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
22878         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
22879         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
22880         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
22881         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
22882         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
22883         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
22884         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
22885         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
22886         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
22887         Update #include.
22888         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
22889         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
22890         Update #include.
22891         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
22892         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
22893         Update #include.
22894         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
22895         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
22896         Update #include.
22898         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
22900         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
22901         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
22903         * sysdeps/pthread/posix-timer.h: Include <list.h>.
22904         (struct list_links): Type removed.
22905         (struct thread_node, struct timer_node): Replace struct list_links
22906         with struct list_head.
22907         (list_unlink_ip): Likewise.
22908         * sysdeps/pthread/timer_routines.c
22909         (timer_free_list, thread_free_list, thread_active_list): Likewise.
22910         (list_append, list_insbefore): Likewise.
22911         (list_init): Function removed.
22912         (thread_init, init_module): Use INIT_LIST_HEAD instead.
22913         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
22914         * sysdeps/pthread/Makefile: ... here, new file.
22916         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
22917         * sysdeps/nptl/Implies: ... here.
22918         * sysdeps/unix/sysv/linux/Implies: Add nptl.
22919         * nptl/sysdeps/pthread/list.h: Moved ...
22920         * include/list.h: ... here.
22921         * nptl/sysdeps/pthread/createthread.c: Moved ...
22922         * nptl/createthread.c: ... here.
22923         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
22924         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
22925         * nptl/pt-longjmp.c: ... here.
22926         * nptl/sysdeps/pthread/Makefile: Moved ...
22927         * sysdeps/nptl/Makefile: ... here.
22928         * nptl/sysdeps/pthread/Subdirs: Moved ...
22929         * sysdeps/nptl/Subdirs: ... here.
22930         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
22931         * sysdeps/nptl/aio_misc.h: ... here.
22932         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
22933         * sysdeps/nptl/bits/libc-lock.h: ... here.
22934         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
22935         * sysdeps/nptl/bits/libc-lockP.h: ... here.
22936         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
22937         * sysdeps/nptl/bits/stdio-lock.h: ... here.
22938         * nptl/sysdeps/pthread/configure: Moved ...
22939         * sysdeps/nptl/configure: ... here.
22940         * nptl/sysdeps/pthread/configure.ac: Moved ...
22941         * sysdeps/nptl/configure.ac: ... here.
22942         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
22943         * sysdeps/nptl/gai_misc.h: ... here.
22944         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
22945         * sysdeps/nptl/librt-cancellation.c: ... here.
22946         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
22947         * sysdeps/nptl/malloc-machine.h: ... here.
22948         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
22949         * sysdeps/nptl/pthread-functions.h: ... here.
22950         * nptl/sysdeps/pthread/pthread.h: Moved ...
22951         * sysdeps/nptl/pthread.h: ... here.
22952         * nptl/sysdeps/pthread/setxid.h: Moved ...
22953         * sysdeps/nptl/setxid.h: ... here.
22954         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
22955         * sysdeps/nptl/sigfillset.c: ... here.
22956         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
22957         * sysdeps/nptl/tcb-offsets.h: ... here.
22958         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
22959         * sysdeps/nptl/tst-mqueue8x.c: ... here.
22960         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
22961         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
22962         * nptl/sysdeps/pthread/allocalim.h: Moved ...
22963         * sysdeps/pthread/allocalim.h: ... here.
22964         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
22965         * sysdeps/pthread/bits/sigthread.h: ... here.
22966         * nptl/sysdeps/pthread/flockfile.c: Moved ...
22967         * sysdeps/pthread/flockfile.c: ... here.
22968         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
22969         * sysdeps/pthread/ftrylockfile.c: ... here.
22970         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
22971         * sysdeps/pthread/funlockfile.c: ... here.
22972         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
22973         * sysdeps/pthread/posix-timer.h: ... here.
22974         * nptl/sysdeps/pthread/timer_create.c: Moved ...
22975         * sysdeps/pthread/timer_create.c: ... here.
22976         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
22977         * sysdeps/pthread/timer_delete.c: ... here.
22978         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
22979         * sysdeps/pthread/timer_getoverr.c: ... here.
22980         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
22981         * sysdeps/pthread/timer_gettime.c: ... here.
22982         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
22983         * sysdeps/pthread/timer_routines.c: ... here.
22984         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
22985         * sysdeps/pthread/timer_settime.c: ... here.
22986         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
22987         * sysdeps/pthread/tst-timer.c: ... here.
22988         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
22989         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
22991         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
22992         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
22994         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
22995         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
22996         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
22997         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
22998         Update #include target.
22999         * nptl/sysdeps/i386/i686/Makefile: Moved ...
23000         * sysdeps/i386/i686/nptl/Makefile: ... here.
23001         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
23002         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
23003         Update #include target.
23004         * nptl/sysdeps/i386/i686/tls.h: Moved ...
23005         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
23006         * nptl/sysdeps/i386/Makefile: Moved ...
23007         * sysdeps/i386/nptl/Makefile: ... here.
23008         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
23009         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
23010         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
23011         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
23012         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
23013         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
23014         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
23015         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
23016         * sysdeps/i386/nptl/pthreaddef.h: ... here.
23017         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
23018         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
23019         * nptl/sysdeps/i386/tls.h: Moved ...
23020         * sysdeps/i386/nptl/tls.h: ... here.
23022         * sysdeps/sh/Makefile [$(subdir) = csu]
23023         (gen-as-const-headers): Add tcb-offsets.sym.
23024         * nptl/sysdeps/sh/Makefile: File removed.
23025         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
23026         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
23027         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
23028         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
23029         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
23030         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
23031         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
23032         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
23033         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
23034         * sysdeps/sh/nptl/pthreaddef.h: ... here.
23035         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
23036         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
23037         * nptl/sysdeps/sh/tls.h: Moved ...
23038         * sysdeps/sh/nptl/tls.h: ... here.
23039         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
23040         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
23041         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
23042         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
23043         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
23044         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
23045         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
23046         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
23047         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
23048         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
23049         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
23050         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
23051         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
23052         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
23053         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
23054         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
23055         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
23056         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
23057         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
23058         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
23059         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
23060         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
23061         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
23062         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
23063         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
23064         Moved ...
23065         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
23066         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
23067         Moved ...
23068         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
23069         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
23070         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
23071         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
23072         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
23073         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
23074         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
23075         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
23076         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
23077         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
23078         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
23079         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
23080         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
23081         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
23082         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
23083         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
23084         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
23085         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
23086         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
23088 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23090         * posix/spawn_faction_addopen.c: Include string.h.
23092 2014-06-11  Roland McGrath  <roland@hack.frob.com>
23094         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
23095         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
23096         * nptl/sysdeps/x86_64/Makefile: Moved ...
23097         * sysdeps/x86_64/nptl/Makefile: ... here.
23098         * nptl/sysdeps/x86_64/configure: Moved ...
23099         * sysdeps/x86_64/nptl/configure: ... here.
23100         * nptl/sysdeps/x86_64/configure.ac: Moved ...
23101         * sysdeps/x86_64/nptl/configure.ac: ... here.
23102         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
23103         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
23104         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
23105         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
23106         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
23107         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
23108         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
23109         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
23110         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
23111         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
23112         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
23113         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
23114         * nptl/sysdeps/x86_64/tls.h: Moved ...
23115         * sysdeps/x86_64/nptl/tls.h: ... here.
23116         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
23117         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
23118         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
23119         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
23121         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
23123 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23125         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23127 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
23129         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
23130         type.
23131         [POSIX] (off_t): Likewise.
23132         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
23133         [POSIX] (S_ISBLK): Require macro.
23134         [POSIX] (S_ISCHR): Likewise.
23135         [POSIX] (S_ISDIR): Likewise.
23136         [POSIX] (S_ISFIFO): Likewise.
23137         [POSIX] (S_ISREG): Likewise.
23138         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
23139         optional-macro.
23140         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
23141         type.
23142         [POSIX] (time_t): Likewise.
23143         [POSIX] (timer_t): Likewise.
23145 2014-06-11  Florian Weimer  <fweimer@redhat.com>
23147         [BZ #17048]
23148         * posix/spawn_int.h (struct __spawn_action): Make the path string
23149         non-const to support deallocation.
23150         * posix/spawn_faction_addopen.c
23151         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
23152         * posix/spawn_faction_destroy.c
23153         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
23154         path in all spawn_do_open actions.
23155         * posix/tst-spawn.c (do_test): Exercise the copy operation in
23156         posix_spawn_file_actions_addopen.
23158 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
23160         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
23161         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
23162         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
23163         conditional code always true.
23164         (__libc_vfork): New alias.
23166 2014-06-11  Roland McGrath  <roland@hack.frob.com>
23168         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23169         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
23171         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
23173         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23174         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
23176         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
23177         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
23179         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23180         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
23182 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
23184         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
23185         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
23186         multiarch strcmp for PPC64.
23187         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
23188         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
23189         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
23190         multiarch optimizations.
23191         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23192         (__libc_ifunc_impl_list): Likewise.
23194 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23196         * benchtests/scripts/validate_benchout.py: New script.
23197         * benchtests/Makefile (bench-func): Call it.
23198         * benchtests/scripts/benchout.schema.json: New file.
23200 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
23202         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
23203         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
23204         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
23205         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
23206         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
23207         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
23208         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
23209         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
23210         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
23211         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
23212         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
23213         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
23214         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
23215         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
23216         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
23217         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
23218         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
23219         Moved ...
23220         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
23221         ... here.
23222         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
23223         Moved ...
23224         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
23225         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
23226         Moved ...
23227         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
23228         ... here.
23229         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
23230         Moved ...
23231         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
23232         ... here.
23233         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
23234         Moved ...
23235         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
23236         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
23237         Moved ...
23238         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
23239         ... here.
23240         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
23241         Moved ...
23242         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
23243         ... here.
23244         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
23245         Moved ...
23246         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
23247         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
23248         Moved ...
23249         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
23250         ... here.
23251         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
23252         Moved ...
23253         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
23254         ... here.
23255         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
23256         Moved ...
23257         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
23258         ... here.
23259         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
23260         Moved ...
23261         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
23262         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
23263         Moved ...
23264         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
23265         ... here.
23266         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
23267         Moved ...
23268         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
23269         ... here.
23270         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
23271         Moved ...
23272         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
23273         ... here.
23274         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
23275         Moved ...
23276         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
23277         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
23278         Moved ...
23279         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
23280         ... here.
23281         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
23282         Moved ...
23283         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
23284         ... here.
23285         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
23286         Moved ...
23287         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
23288         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
23289         Moved ...
23290         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
23291         ... here.
23292         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
23293         Moved ...
23294         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
23295         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
23296         Moved ...
23297         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
23298         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
23299         Moved ...
23300         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
23301         ... here.
23302         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
23303         Moved ...
23304         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
23305         ... here.
23306         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
23307         Moved ...
23308         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
23309         ... here.
23310         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
23311         Moved ...
23312         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
23313         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
23314         Moved ...
23315         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
23316         ... here.
23317         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
23318         Moved ...
23319         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
23320         ... here.
23321         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
23322         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
23323         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
23324         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
23325         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
23326         Moved ...
23327         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
23328         ... here.
23329         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
23330         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
23331         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
23332         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
23333         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
23334         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
23335         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
23336         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
23337         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
23338         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
23339         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
23340         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
23341         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
23342         Moved ...
23343         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
23344         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
23345         Moved ...
23346         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
23347         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
23348         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
23349         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
23350         Moved ...
23351         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
23352         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
23353         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
23354         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
23355         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
23356         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
23357         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
23359 2014-06-10  Wilco  <wdijkstr@arm.com>
23361         * math/test-fenv-return.c: New file.
23362         * math/Makefile: Add new test test-fenv-return.
23364 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
23366         [BZ #17042]
23367         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
23368         when x - 1 is zero.
23369         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
23370         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
23371         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
23372         0.0L for an argument of 1.0L.
23373         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
23374         Likewise.
23375         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
23376         value when x - 1 is zero.
23377         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
23378         * sysdeps/i386/fpu/libm-test-ulps: Update.
23379         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23381 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
23383         [BZ #15119]
23384         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
23386 2014-06-09  Roland McGrath  <roland@hack.frob.com>
23388         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
23389         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
23391 2014-06-09  Roland McGrath  <roland@hack.frob.com>
23393         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23394         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
23396         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23397         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
23399         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23400         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
23402         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23403         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
23405         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
23406         if not already defined.
23407         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
23408         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
23409         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
23410         (TLS_INIT_TP): Use it.
23411         (TLS_DEFINE_INIT_TP): New macro.
23412         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
23414 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
23416         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
23417         constant.
23418         [POSIX] (IXANY): Likewise.
23419         [POSIX] (OLCUC): Likewise.
23420         [POSIX || POSIX2008] (CBAUD): Do not allow.
23421         [POSIX || POSIX2008] (DEFECHO): Likewise.
23422         [POSIX || POSIX2008] (ECHOCTL): Likewise.
23423         [POSIX || POSIX2008] (ECHOKE): Likewise.
23424         [POSIX || POSIX2008] (ECHOPRT): Likewise.
23425         [POSIX || POSIX2008] (EXTA): Likewise.
23426         [POSIX || POSIX2008] (EXTB): Likewise.
23427         [POSIX || POSIX2008] (FLUSHO): Likewise.
23428         [POSIX || POSIX2008] (LOBLK): Likewise.
23429         [POSIX || POSIX2008] (PENDIN): Likewise.
23430         [POSIX || POSIX2008] (SWTCH): Likewise.
23431         [POSIX || POSIX2008] (VDISCARD): Likewise.
23432         [POSIX || POSIX2008] (VDSUSP): Likewise.
23433         [POSIX || POSIX2008] (VLNEXT): Likewise.
23434         [POSIX || POSIX2008] (VREPRINT): Likewise.
23435         [POSIX || POSIX2008] (VSTATUS): Likewise.
23436         [POSIX || POSIX2008] (VWERASE): Likewise.
23437         (B*): Change to B[0123456789]*.
23438         * conform/data/time.h-data [POSIX || UNIX98]
23439         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
23440         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
23441         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
23442         [POSIX] (tm_*): Do not allow.
23444 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
23446         * Makefile (install): Don't set LANGUAGE.
23447         * Makefile.in (install): Likewise.
23448         * assert/Makefile (test-assert-ENV): Remove variable.
23449         (test-assert-perr-ENV): Likewise.
23450         * elf/Makefile (neededtest4-ENV): Likewise.
23451         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
23452         [$(cross-compiling) = no]: Don't set LANGUAGE.
23453         * io/ftwtest-sh (LANG): Remove variable.
23454         * libio/Makefile (tst-widetext-ENV): Likewise.
23455         * manual/install.texi (Running make install): Don't refer to
23456         environment settings for make install.
23457         * INSTALL: Regenerated.
23458         * nptl/tst-tls6.sh: Don't set LANG.
23459         * posix/globtest.sh (LANG): Remove variable.
23460         * string/Makefile (tester-ENV): Likewise.
23461         (inl-tester-ENV): Likewise.
23462         (noinl-tester-ENV): Likewise.
23463         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
23464         [$(cross-compiling) = no]: Don't set LANGUAGE.
23465         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
23466         without explicit environment settings.
23468 2014-06-06  Roland McGrath  <roland@hack.frob.com>
23470         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
23471         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
23472         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
23473         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
23475 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
23477         * crypt/crypt-private.h [DOS]: Add some includes taken from the
23478         other files in the crypt directory.
23479         * crypt/crypt.c: Remove duplicate includes.
23480         * crypt/crypt-entry.c: Likewise.
23481         * crypt/crypt_util.c: Likewise.
23483 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
23485         * Makeconfig (run-program-env): New variable.
23486         (run-program-prefix-before-env): Likewise.
23487         (run-program-prefix-after-env): Likewise.
23488         (run-program-prefix): Define in terms of new variables.
23489         (built-program-cmd-before-env): New variable.
23490         (built-program-cmd-after-env): Likewise.
23491         (built-program-cmd): Define in terms of new variables.
23492         (test-program-prefix-before-env): New variable.
23493         (test-program-prefix-after-env): Likewise.
23494         (test-program-prefix): Define in terms of new variables.
23495         (test-program-cmd-before-env): New variable.
23496         (test-program-cmd-after-env): Likewise.
23497         (test-program-cmd): Define in terms of new variables.
23498         * Rules (make-test-out): Use $(run-program-env).
23499         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
23500         (help): Do not mention environment variables.  Mention
23501         --timeoutfactor option.
23502         (timeoutfactor): New variable.
23503         (blacklist_exports): Remove function.
23504         (exports): Remove variable.
23505         (command): Do not include ${exports}.
23506         * manual/install.texi (Configuring and compiling): Do not mention
23507         test wrappers preserving environment variables.  Mention that last
23508         assignment to a variable must take precedence.
23509         * INSTALL: Regenerated.
23510         * benchtests/Makefile (run-bench): Use $(run-program-env).
23511         * catgets/Makefile ($(objpfx)test1.cat): Use
23512         $(built-program-cmd-before-env), $(run-program-env) and
23513         $(built-program-cmd-after-env).
23514         ($(objpfx)test2.cat): Do not specify environment variables
23515         explicitly.
23516         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
23517         $(run-program-env) and $(built-program-cmd-after-env).
23518         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
23519         $(run-program-env) and $(test-program-cmd-after-env).
23520         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
23521         explicitly.
23522         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
23523         run_program_env and test_program_cmd_after_env arguments.
23524         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
23525         * elf/tst-pathopt.sh: Use run_program_env argument.
23526         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
23527         $(test-wrapper-env) and $(run-program-env).
23528         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
23529         run_program_env arguments.
23530         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
23531         * intl/Makefile ($(objpfx)tst-gettext.out): Use
23532         $(test-program-prefix-before-env), $(run-program-env) and
23533         $(test-program-prefix-after-env).
23534         ($(objpfx)tst-gettext2.out): Likewise.
23535         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
23536         run_program_env and test_program_prefix_after_env arguments.
23537         * intl/tst-gettext2.sh: Likewise.
23538         * intl/tst-gettext4.sh: Do not set environment variables
23539         explicitly.
23540         * intl/tst-gettext6.sh: Likewise.
23541         * intl/tst-translit.sh: Likewise.
23542         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
23543         $(test-program-prefix-before-env), $(run-program-env) and
23544         $(test-program-prefix-after-env).
23545         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
23546         run_program_env and test_program_prefix_after_env arguments.
23547         * math/Makefile (run-regen-ulps): Use $(run-program-env).
23548         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
23549         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
23550         explicitly with each use of ${test_wrapper_env}.
23551         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
23552         $(test-program-prefix-before-env), $(run-program-env) and
23553         $(test-program-prefix-after-env).
23554         * posix/tst-getconf.sh: Do not set environment variables
23555         explicitly.
23556         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
23557         run_program_env and test_program_prefix_after_env arguments.
23558         * stdio-common/tst-printf.sh: Do not set environment variables
23559         explicitly.
23560         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
23561         $(test-program-prefix-before-env), $(run-program-env) and
23562         $(test-program-prefix-after-env).
23563         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
23564         run_program_env and test_program_prefix_after_env arguments.
23565         Split $test calls into $test_pre and $test.
23566         * timezone/Makefile (build-testdata): Use
23567         $(built-program-cmd-before-env), $(run-program-env) and
23568         $(built-program-cmd-after-env).
23570 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23572         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
23573         strlen for non SHARED builds.
23575 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
23577         * nptl/allocatestack.c (check_list): Inlined function...
23578         (__reclaim_stacks): ... here.
23580 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
23582         [BZ #15698]
23583         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
23584         memory overrun.
23586 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
23588         * Rules (make-test-out): Include
23589         LOCPATH=$(common-objpfx)localedata in default environment.
23590         * debug/Makefile (tst-chk1-ENV): Remove variable.
23591         (tst-chk2-ENV): Likewise.
23592         (tst-chk3-ENV): Likewise.
23593         (tst-chk4-ENV): Likewise.
23594         (tst-chk5-ENV): Likewise.
23595         (tst-chk6-ENV): Likewise.
23596         (tst-lfschk1-ENV): Likewise.
23597         (tst-lfschk2-ENV): Likewise.
23598         (tst-lfschk3-ENV): Likewise.
23599         (tst-lfschk4-ENV): Likewise.
23600         (tst-lfschk5-ENV): Likewise.
23601         (tst-lfschk6-ENV): Likewise.
23602         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
23603         (tst-iconv7-ENV): Likewise.
23604         * intl/Makefile (LOCPATH-ENV): Likewise.
23605         (tst-codeset-ENV): Likewise.
23606         (tst-gettext3-ENV): Likewise.
23607         (tst-gettext5-ENV): Likewise.
23608         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
23609         (tst-fopenloc-ENV): Likewise.
23610         (tst-fgetws-ENV): Remove variable.
23611         (tst-ungetwc1-ENV): Likewise.
23612         (tst-ungetwc2-ENV): Likewise.
23613         (bug-ungetwc2-ENV): Likewise.
23614         (tst-swscanf-ENV): Likewise.
23615         (bug-ftell-ENV): Likewise.
23616         (tst-fgetwc-ENV): Likewise.
23617         (tst-fseek-ENV): Likewise.
23618         (tst-ftell-partial-wide-ENV): Likewise.
23619         (tst-ftell-active-handler-ENV): Likewise.
23620         (tst-ftell-append-ENV): Likewise.
23621         * posix/Makefile (tst-fnmatch-ENV): Likewise.
23622         (tst-regexloc-ENV): Likewise.
23623         (bug-regex1-ENV): Likewise.
23624         (tst-regex-ENV): Likewise.
23625         (tst-regex2-ENV): Likewise.
23626         (bug-regex5-ENV): Likewise.
23627         (bug-regex6-ENV): Likewise.
23628         (bug-regex17-ENV): Likewise.
23629         (bug-regex18-ENV): Likewise.
23630         (bug-regex19-ENV): Likewise.
23631         (bug-regex20-ENV): Likewise.
23632         (bug-regex22-ENV): Likewise.
23633         (bug-regex23-ENV): Likewise.
23634         (bug-regex25-ENV): Likewise.
23635         (bug-regex26-ENV): Likewise.
23636         (bug-regex30-ENV): Likewise.
23637         (bug-regex32-ENV): Likewise.
23638         (bug-regex33-ENV): Likewise.
23639         (bug-regex34-ENV): Likewise.
23640         (bug-regex35-ENV): Likewise.
23641         (tst-rxspencer-ENV): Likewise.
23642         (tst-rxspencer-no-utf8-ENV): Likewise.
23643         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
23644         (tst-sscanf-ENV): Likewise.
23645         (tst-swprintf-ENV): Likewise.
23646         (tst-swscanf-ENV): Likewise.
23647         (test-vfprintf-ENV): Likewise.
23648         (scanf13-ENV): Likewise.
23649         (bug14-ENV): Likewise.
23650         (tst-grouping-ENV): Likewise.
23651         * stdlib/Makefile (tst-strtod-ENV): Likewise.
23652         (tst-strtod3-ENV): Likewise.
23653         (tst-strtod4-ENV): Likewise.
23654         (tst-strtod5-ENV): Likewise.
23655         (testmb2-ENV): Likewise./
23656         * string/Makefile (tst-strxfrm-ENV): Likewise.
23657         (tst-strxfrm2-ENV): Likewise.
23658         (bug-strcoll1-ENV): Likewise.
23659         (test-strcasecmp-ENV): Likewise.
23660         (test-strncasecmp-ENV): Likewise.
23661         * time/Makefile (tst-strptime-ENV): Likewise.
23662         (tst-ftime_l-ENV): Likewise.
23663         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
23664         (tst-mbrtowc-ENV): Likewise.
23665         (tst-wcrtomb-ENV): Likewise.
23666         (tst-mbrtowc2-ENV): Likewise.
23667         (tst-c16c32-1-ENV): Likewise.
23668         (tst-mbsnrtowcs-ENV): Likewise.
23670 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
23672         * manual/resource.texi (How to get information about the memory
23673         subsystem?): Fix typo.
23674         Reported by Peon de la Parra Ivan <peon@keba.com>
23676 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
23678         [BZ #16882]
23679         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
23680         (pthread_spin_lock): Branch out of spin loop to proper location.
23681         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
23682         (pthread_spin_lock): Likewise.
23684         * nptl/tst-spin4.c: New test.
23685         * nptl/Makefile (tests): Add tst-spin4.
23687 2014-06-03  Andreas Schwab  <schwab@suse.de>
23689         [BZ #15946]
23690         * resolv/res_send.c (send_dg): Reload file descriptor after
23691         calling reopen.
23693 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
23695         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23697 2014-06-03  Richard Henderson  <rth@redhat.com>
23699         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
23700         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
23701         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
23702         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
23703         in the SAVE_PID block.
23704         (__libc_vfork): New alias.
23705         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
23707         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
23708         child in registers, not on the stack.  Remove RESET_PID conditionals.
23709         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
23711 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
23713         * sysdeps/aarch64/libm-test-ulps: Regenerate.
23715 2014-06-03  Wilco  <wdijkstr@arm.com>
23717         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
23718         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
23719         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
23720         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
23721         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
23722         Likewise.
23724 2014-06-03  Wilco  <wdijkstr@arm.com>
23726         * sysdeps/aarch64/fpu/math_private.h
23727         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
23728         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
23729         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
23730         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
23731         Fix declarations.
23733 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
23735         * crypt/crypt-private.h: Include ufc-crypt.h.
23736         (__b64_from_24bit): Declare extern.
23737         * crypt/crypt_util.c(__b64_from_24bit): New function.
23738         (b64t): New static const variable.
23739         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
23740         (b64t): Remove variable.
23741         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
23742         * crypt/sha256-crypt.c: Include crypt-private.h.
23743         (b64t): Remove variable.
23744         (__sha256_crypt_r): Remove b64_from_24bit and replace
23745         with __b64_from_24bit.
23746         * crypt/sha512-crypt.c: Likewise.
23748 2014-06-02  Roland McGrath  <roland@hack.frob.com>
23750         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
23751         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
23752         Label the code __libc_vfork rather than __vfork.
23753         [!NOT_IN_libc] (vfork): Define as weak alias.
23754         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
23755         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
23756         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
23758 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23760         * malloc/malloc.c (malloc_info): Fix format specifier for
23761         n_mmaps.
23763 2014-06-02  Wilco  <wdijkstr@arm.com>
23765         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
23766         FPCR write.
23768 2014-06-02  Wilco  <wdijkstr@arm.com>
23770         [BZ #17009]
23771         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
23772         Rewrite to reduce FPCR/FPSR accesses.
23774 2014-06-01  David S. Miller  <davem@davemloft.net>
23776         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23778 2014-05-31  David S. Miller  <davem@davemloft.net>
23780         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
23781         to occur in round to nearest mode when |x| >= 2.0
23783 2014-05-30  Richard Henderson  <rth@twiddle.net>
23785         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
23786         (PSEUDO_RET_NOERRNO): Remove.
23787         (ret): Don't redefine.
23788         (ret_NOERRNO): Define in terms of ret.
23789         (ret_ERRVAL): Likewise.
23791         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
23792         use of PSEUDO_RET; perform the error check directly.
23794 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
23796         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
23797         with __int128_t.
23799 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23801         * malloc/malloc (malloc_info): Fix formatting.
23803 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23804             Roland McGrath  <roland@hack.frob.com>
23806         * malloc/malloc (malloc_info): Also print mmapped statistics.
23808 2014-05-30  Roland McGrath  <roland@hack.frob.com>
23810         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
23811         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
23813 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
23815         * malloc/malloc.c (malloc_info): Inline mi_arena.
23817 2014-05-29  Richard Henderson  <rth@twiddle.net>
23819         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
23820         Remove comma before expanding ASM_ARGS_##nr.
23821         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
23822         Make _x0 a strict output; make _x8 a strict input; adjust expansion
23823         of ASM_ARGS_##nr.
23824         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
23825         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
23826         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
23827         (ASM_ARGS_1): Add leading comma.
23829         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
23830         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
23831         to __errno_location.
23832         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
23833         Remove the expected plt for __errno_location.
23835         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
23836         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
23837         call to __read_tp.
23839         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
23840         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
23841         it and break it down.
23842         (DOCARGS_0, DOCARGS_1): Do nothing.
23843         (DOCARGS_2): Update to store into the new stack frame.
23844         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
23845         (UNDOCARGS_1): Update to restore from the new stack frame.
23846         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
23847         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
23849         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
23850         (SINGLE_THREAD_P): New parameter for result regno.
23851         (PSEUDO): Update to match; use cbz instead of beq.
23853         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
23854         Use ENTRY to define the _nocancel entry point.  Share the syscall
23855         and syscall error check paths with the cancel path.
23856         (PSEUDO_END): New.
23858         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
23859         whitespace; tabs before and after asm mnemonics.
23861 2014-05-29  Eric Wong  <normalperson@yhbt.net>
23863         [BZ #15132]
23864         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23865         Call fstat64 or stat64 internally, depending on arguments passed.
23866         Replace stat buffer argument with file descriptor argument.
23867         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
23868         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
23869         Pass fd to __internal_statvfs instead of calling fstat64.
23870         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
23871         Pass fd to __internal_statvfs64 instead of calling fstat64.
23872         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
23873         Pass -1 to __internal_statvfs instead of calling stat64.
23874         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
23875         Pass -1 to __internal_statvfs64 instead of calling stat64.
23877 2014-05-28  Roland McGrath  <roland@hack.frob.com>
23879         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
23880         that was previously under [RESET_PID].
23881         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
23883         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
23884         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
23886 2014-05-27  Roland McGrath  <roland@hack.frob.com>
23888         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
23890         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
23891         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
23893 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
23895         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
23897 2014-05-27  Andreas Schwab  <schwab@suse.de>
23899         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
23900         TLS_INIT_TP macro.
23901         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
23902         * elf/rtld.c (init_tls, dl_main): Likewise.
23903         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
23904         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
23905         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
23906         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
23907         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
23908         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
23909         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
23910         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
23911         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
23912         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
23913         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
23914         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
23915         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
23916         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
23917         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
23918         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
23919         * sysdeps/generic/tls.h: Update description.
23921 2014-05-27  Will Newton  <will.newton@linaro.org>
23923         [BZ #16990]
23924         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
23925         and restore r2 rather than just restoring.
23927 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23929         [BZ #16724]
23930         * libio/tst-ftell-append.c: New test case.
23931         * libio/Makefile (tests): Add test case.
23932         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
23933         append mode.
23934         * libio/wfileops.c (do_ftell_wide): Likewise.
23936 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23938         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23940         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
23941         ...
23942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
23943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
23944         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
23945         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
23946         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
23947         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
23948         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
23949         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
23950         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
23951         Moved ...
23952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
23953         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
23954         Moved ...
23955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
23956         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
23957         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
23958         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
23959         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
23960         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
23961         ...
23962         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
23963         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
23964         Moved ...
23965         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
23966         here.
23967         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
23968         ...
23969         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
23970         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
23971         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
23973         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
23974         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
23975         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
23976         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
23978         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
23979         merge into ...
23980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
23981         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
23982         ...
23983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
23984         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
23985         ...
23986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
23987         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
23988         Moved ...
23989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
23990         here.
23991         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
23992         Moved ...
23993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
23994         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
23995         Moved ...
23996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
23998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
23999         conditional [RESET_PID].
24000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
24001         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
24002         removed.
24003         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
24004         removed.
24006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
24007         <tcb-offsets.h>.
24008         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
24009         (__libc_vfork): New strong alias.
24010         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
24011         removed.
24012         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
24013         Removed.
24015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
24016         <tcb-offsets.h>.
24017         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
24018         (__libc_vfork): New strong alias.
24019         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
24020         removed.
24021         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
24022         removed.
24024 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
24026         * malloc/malloc.c (mi_arena): New function.
24027         (malloc_info): Remove nested function mi_arena. Call non-nosted
24028         function mi_arena.
24030 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24032         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
24033         by insrwi.
24034         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
24035         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
24036         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
24037         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
24038         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
24039         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
24040         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
24042 2014-05-26  Andreas Schwab  <schwab@suse.de>
24044         [BZ #16984]
24045         * locale/programs/repertoire.c (repertoire_read): Add slash
24046         between I18NPATH element and file name.
24047         * locale/programs/locfile.c (locfile_read): Likewise.
24049 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
24051         * nptl/pthread_mutexattr_settype.c
24052         (__pthread_mutexattr_settype):
24053         Disable lock elision for PTHREAD_MUTEX_NORMAL.
24055 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
24057         * nptl/tst-mutex5 (do_test):
24058         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
24060 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24062         * benchtests/README: Document 'init' directive.
24063         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
24064         BENCH_INIT.
24065         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
24066         (parse_file): Recognize 'init' directive.
24068 2014-05-26  Kyle McMartin  <kyle@redhat.com>
24070         [BZ #16796]
24071         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
24072         alignment of struct pthread.
24074 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24076         [BZ #16878]
24077         * nscd/netgroupcache.c (addgetnetgrentX): Look for
24078         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
24079         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
24080         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
24082 2014-05-25  Richard Henderson  <rth@twiddle.net>
24084         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
24085         (SINGLE_THREAD_P_PIC): Remove.
24086         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
24087         (SINGLE_THREAD_P_PIC): Remove.
24089         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
24090         branch to syscall error ...
24091         (PSEUDO): ... here.
24092         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
24093         from __local_syscall_error to .Lsyscall_error.
24094         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
24095         (SYSCALL_ERROR): Update label name.
24097         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
24098         Do not use DOARGS/UNDOARGS.
24099         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
24100         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
24101         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
24102         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
24103         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
24105         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
24106         block comment.
24108         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
24109         define if !NOT_IN_libc.
24110         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
24111         define with non-default symbol versions.
24113 2014-05-23  Richard Henderson  <rth@twiddle.net>
24115         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
24116         (vfork, __vfork): Define via compat_symbol.
24118         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
24119         [!HAVE_IFUNC] (vfork_compat): Remove.
24120         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
24122 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
24124         [BZ #16978]
24125         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
24126         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
24127         variable.
24129 2014-05-23  Richard Henderson  <rth@twiddle.net>
24131         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
24132         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
24133         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
24134         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
24136         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
24137         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
24138         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
24139         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
24140         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
24141         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
24142         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
24143         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
24144         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
24145         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
24146         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
24147         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
24148         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
24149         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
24150         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
24151         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
24152         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
24153         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
24154         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
24155         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
24156         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
24157         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
24158         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
24159         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
24160         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
24161         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
24162         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
24163         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
24164         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
24165         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
24166         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
24167         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
24168         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
24169         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
24170         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
24171         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
24172         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
24173         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
24174         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
24175         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
24176         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
24177         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
24178         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
24179         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
24180         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
24181         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
24182         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
24183         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
24184         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
24185         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
24186         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
24187         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
24188         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
24189         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
24190         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
24191         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
24193         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
24194         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
24195         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
24196         before exiting on error.
24197         (__libc_vfork): New strong alias.
24198         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
24199         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
24201         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
24202         that was previously under [RESET_PID].
24203         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
24205         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
24207 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
24209         [BZ #16977]
24210         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
24211         value when x - 1 is zero.
24212         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
24213         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
24214         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
24215         0.0L for an argument of 1.0L.
24216         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
24217         Likewise.
24218         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
24219         value when x - 1 is zero.
24220         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
24221         * sysdeps/i386/fpu/libm-test-ulps: Update.
24222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24224 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
24226         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
24227         alphasort and versionsort.
24229 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24231         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
24232         macro.
24233         [copysignf]: Likewise.
24235 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
24237         * crypt/md5-crypt.c: Fix formatting.
24239 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
24241         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
24242         (b64_from_24bit): New function.
24244 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24246         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
24247         libc_hidden_builtin_def to ifunc.
24248         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
24249         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
24251 2014-05-21  Roland McGrath  <roland@hack.frob.com>
24253         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
24254         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
24256 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
24258         * nscd/Depend (linuxthreads): Remove.
24259         (nptl): Add.
24260         * resolv/Depend (linuxthreads): Remove.
24261         * rt/Depend (linuxthreads): Remove.
24263         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
24264         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
24265         $(common-objpfx)elf/.
24266         (link-libc-before-gnulib): Likewise.
24267         (elfobjdir): Remove variable.
24268         * Makefile (install): Use $(elf-objpfx) instead of
24269         $(common-objpfx)elf/.
24270         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
24271         $(elfobjdir)/.
24272         (link-libc-deps): Likewise.
24273         ($(common-objpfx)libc.so): Likewise.
24274         ($(common-objpfx)linkobj/libc.so): Likewise.
24275         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
24276         instead of $(common-objpfx)elf/.
24277         (symbolic-link-list): Likewise.
24278         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
24279         [$(cross-compiling) = no]: Likewise.
24280         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
24281         $(elfobjdir)/.
24282         (static-gnulib-arch): Likewise.
24283         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
24284         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
24285         $(common-objpfx)elf/.
24287 2014-05-21  Richard Henderson  <rth@redhat.com>
24289         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
24290         (SINGLE_THREAD_P): Use the correct width load.  Fold
24291         into the ldr offset.
24293         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
24294         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
24296 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
24298         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
24299         (libgcc_s_resume): Use __attribute_used__.
24300         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
24301         Likewise.
24303 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24305         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
24306         optimization when used with float constants.
24308         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24310 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
24312         [BZ #16915]
24313         * locale/nl_langinfo_l.c: Make direct reference to every
24314         _nl_current_CATEGORY symbol.
24315         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
24316         (tests-static): Add tst-langinfo-static.
24317         (tests-special): Add tst-langinfo-static.out.
24318         ($(objpfx)tst-langinfo.out): Redirect output.
24319         ($(objpfx)tst-langinfo-static.out): New.
24320         * localedata/tst-langinfo.sh: Send output to stdout.
24321         * localedata/tst-langinfo-static.c: New file.
24323         [BZ #16965]
24324         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
24325         when the shift amount is modulo the limb size.
24327 2014-05-20  Richard Henderson  <rth@redhat.com>
24329         [BZ #16967]
24330         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
24331         Change type of sa_flags from unsigned int to int.
24333         [BZ #16966]
24334         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
24336         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
24338 2014-05-20  Will Newton  <will.newton@linaro.org>
24340         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
24341         Test the return value of the system call in the nocancel case.
24343 2014-05-20  Will Newton  <will.newton@linaro.org>
24344             Yvan Roux  <yvan.roux@linaro.org>
24346         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
24347         #include of asm/ptrace.h.
24348         (PTRACE_GET_THREAD_AREA): Remove #undef.
24349         (PTRACE_GETHBPREGS): Likewise.
24350         (PTRACE_SETHBPREGS): Likewise.
24351         (struct user_regs_struct): New structure.
24352         (struct user_fpsimd_struct): New structure.
24353         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
24354         #include of asm/ptrace.h and second #include of sys/user.h.
24355         (PTRACE_GET_THREAD_AREA): Remove #undef.
24356         (PTRACE_GETHBPREGS): Likewise.
24357         (PTRACE_SETHBPREGS): Likewise.
24358         (ELF_NGREG): Use new struct user_regs_struct.
24359         (elf_fpregset_t): Use new struct user_fpsimd_struct.
24361 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24363         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
24364         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
24366 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
24368         [BZ #16958]
24369         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
24370         membar to avoid block loads/stores to overlap previous stores.
24372 2014-05-17  Richard Henderson  <rth@redhat.com>
24374         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
24375         Create the __##syscall_name##_nocancel entry point.
24376         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
24377         Remove; let the sysdep-cancel.h code create it.
24379 2014-05-17  David S. Miller  <davem@davemloft.net>
24381         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
24382         Protect with __USE_GNU.
24383         (TIOCSET_TEMPT): Likewise.
24384         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
24385         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
24386         these are already provided in bits/ioctl-types.h
24388 2014-05-16  Roland McGrath  <roland@hack.frob.com>
24390         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
24391         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
24393         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
24394         Use wait4 regardless of [__NR_waitpid].
24396 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
24398         PR libgcc/60166
24399         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
24400         (_FP_NANSIGN_Q): Set the quiet bit.
24402 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
24404         * benchtests/Makefile
24405         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
24406         not $(common-objpfx)math/libm.so.
24407         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
24408         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
24409         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
24410         $(common-objpfx)dlfcn/libdl.so.
24411         ($(objpfx)tst-audit8): Depend on $(libm), not
24412         $(common-objpfx)math/libm.so.
24413         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
24414         not $(common-objpfx)dlfcn/libdl.so.
24415         * math/Makefile
24416         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
24417         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
24418         [$(build-shared) = yes].
24419         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
24420         $(common-objpfx)nptl/libpthread.so.
24421         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
24422         $(common-objpfx)math/libm.so$(libm.so-version) or
24423         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
24424         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
24425         $(common-objpfx)dlfcn/libdl.so.
24426         * setjmp/Makefile (link-libm): Remove variable.
24427         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
24428         * stdio-common/Makefile (link-libm): Remove variable.
24429         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
24430         * stdlib/Makefile (link-libm): Remove variable.
24431         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
24432         ($(objpfx)tst-strtod-round): Likewise.
24433         ($(objpfx)tst-tininess): Likewise.
24434         ($(objpfx)tst-strtod-underflow): Likewise.
24435         ($(objpfx)tst-strtod6): Likewise.
24436         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
24437         $(libdl), not $(common-objpfx)nptl/libpthread.so and
24438         $(common-objpfx)dlfcn/libdl.so.
24440 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24442         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
24443         BSD terminal modes definitions.
24445 2014-05-16  Roland McGrath  <roland@hack.frob.com>
24447         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
24448         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
24450         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
24451         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
24452         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
24453         Don't do #include_next.
24454         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
24455         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
24456         Don't do #include_next.
24457         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
24458         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
24459         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
24460         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
24462 2014-05-16  Allan McRae  <allan@archlinux.org>
24464         * po/sv.po: Update Swedish translation from translation project.
24466         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
24467         in sed expression.
24469 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
24471         [BZ #16917]
24472         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
24473         errno if the TIOCGPTN ioctl fails with an error different than
24474         EINVAL.
24475         * login/tst-ptsname.c: New file.
24476         * login/Makefile (tests): Add tst-ptsname.
24478         [BZ #16943]
24479         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
24480         and prlimit64.
24482 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24484         [BZ #16849]
24485         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
24486         herrno to return EAI_AGAIN.
24488 2014-05-14  Roland McGrath  <roland@hack.frob.com>
24490         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
24491         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
24492         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
24493         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
24494         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
24495         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
24496         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
24497         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
24498         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
24499         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
24500         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
24501         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
24502         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
24503         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
24504         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
24505         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
24506         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
24507         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
24508         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
24509         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
24510         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
24511         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
24512         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
24513         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
24514         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
24515         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
24516         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
24517         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
24518         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
24519         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
24520         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
24521         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
24522         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
24523         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
24524         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
24525         Moved ...
24526         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
24527         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
24528         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
24529         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
24530         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
24531         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
24532         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
24533         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
24534         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
24535         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
24536         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
24537         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
24538         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
24539         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
24540         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
24541         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
24542         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
24543         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
24544         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
24545         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
24546         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
24547         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
24548         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
24549         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
24550         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
24551         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
24552         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
24553         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
24554         Moved ...
24555         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
24556         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
24557         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
24558         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
24559         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
24560         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
24561         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
24562         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
24563         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
24564         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
24565         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
24566         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
24567         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
24568         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
24569         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
24570         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
24571         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
24572         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
24573         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
24574         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
24575         Moved ...
24576         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
24577         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
24578         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
24580         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
24581         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
24582         (libpthread-sysdep_routines): Add elision-related stuff here instead.
24583         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
24584         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
24585         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
24586         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
24587         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
24588         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
24589         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
24590         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
24591         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
24592         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
24593         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
24594         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
24595         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
24596         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
24597         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
24598         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
24599         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
24600         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
24601         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
24602         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
24603         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
24604         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
24605         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
24606         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
24607         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
24608         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
24609         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
24610         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
24612         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
24613         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
24615         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
24616         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
24617         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
24618         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
24619         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
24620         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
24621         Moved ...
24622         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
24623         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
24624         Moved ...
24625         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
24626         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
24627         Moved ...
24628         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
24629         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
24630         Moved ...
24631         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
24632         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
24633         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
24634         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
24635         Moved ...
24636         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
24637         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
24638         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
24639         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
24640         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
24641         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
24642         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
24643         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
24644         Moved ...
24645         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
24646         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
24647         Moved ...
24648         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
24649         ... here.
24650         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
24651         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
24652         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
24653         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
24654         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
24655         Moved ...
24656         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
24657         ... here.
24658         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
24659         Moved ...
24660         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
24661         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
24662         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
24663         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
24664         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
24665         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
24666         Moved ...
24667         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
24668         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
24669         Moved ...
24670         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
24671         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
24672         Moved ...
24673         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
24674         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
24675         Moved ...
24676         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
24677         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
24678         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
24679         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
24680         Moved ...
24681         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
24682         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
24683         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
24684         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
24685         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
24686         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
24687         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
24688         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
24689         Moved ...
24690         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
24691         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
24692         Moved ...
24693         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
24694         ... here.
24695         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
24696         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
24697         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
24698         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
24699         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
24700         Moved ...
24701         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
24702         ... here.
24703         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
24704         Moved ...
24705         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
24706         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
24707         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
24708         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
24709         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
24710         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
24711         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
24712         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
24713         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
24714         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
24715         Moved ...
24716         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
24717         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
24718         Moved ...
24719         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
24720         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
24721         Moved ...
24722         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
24723         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
24724         Moved ...
24725         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
24726         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
24727         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
24728         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
24729         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
24730         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
24731         Moved ...
24732         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
24733         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
24734         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
24735         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
24736         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
24737         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
24738         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
24739         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
24740         Moved ...
24741         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
24742         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
24743         Moved ...
24744         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
24745         ... here.
24746         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
24747         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
24748         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
24749         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
24750         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
24751         Moved ...
24752         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
24753         ... here.
24754         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
24755         Moved ...
24756         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
24757         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
24758         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
24759         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
24760         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
24761         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
24762         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
24763         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
24764         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
24765         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
24766         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
24768         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
24769         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
24771         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
24772         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
24774         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
24775         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
24776         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
24777         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
24778         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
24779         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
24780         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
24781         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
24782         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
24783         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
24784         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
24785         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
24786         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
24787         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
24788         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
24789         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
24790         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
24791         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
24792         Moved ...
24793         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
24794         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
24795         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
24796         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
24797         Moved ...
24798         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
24799         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
24800         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
24801         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
24802         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
24803         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
24804         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
24805         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
24806         Moved ...
24807         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
24808         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
24809         Moved ...
24810         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
24811         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
24812         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
24813         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
24814         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
24815         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
24816         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
24817         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
24818         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
24819         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
24820         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
24821         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
24822         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
24823         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
24824         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
24825         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
24826         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
24828         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
24829         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
24830         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
24831         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
24832         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
24834         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
24835         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
24836         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
24837         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
24838         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
24839         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
24840         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
24841         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
24842         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
24843         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
24845         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
24846         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
24848         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
24849         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
24850         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
24851         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
24852         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
24853         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
24854         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
24855         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
24856         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
24857         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
24858         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
24859         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
24860         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
24861         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
24862         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
24863         Update #include.
24864         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
24865         Likewise.
24866         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
24867         Likewise.
24868         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
24869         Likewise.
24870         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
24871         Likewise.
24872         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
24873         Likewise.
24874         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
24875         Likewise.
24876         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
24877         Likewise.
24878         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
24879         Likewise.
24880         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
24881         Likewise.
24882         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
24883         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
24884         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
24885         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
24886         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
24887         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
24888         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
24889         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
24890         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
24891         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
24892         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
24893         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
24894         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
24895         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
24896         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
24898         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
24899         that was previously under [RESET_PID].
24900         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
24901         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
24902         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
24904         * sysdeps/i386/nptl/Implies: New file.
24905         * sysdeps/x86_64/nptl/Implies: New file.
24906         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
24907         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
24908         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
24909         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
24911         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
24912         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
24913         (__libc_vfork): New strong alias.
24914         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
24915         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
24917         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
24918         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
24919         (__libc_vfork): New strong alias.
24920         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
24921         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
24923         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
24924         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
24925         (__libc_vfork): New strong alias.
24926         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
24927         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
24928         * nptl/pt-vfork.c: New file.
24929         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
24930         (libpthread: GLIBC_2.20): New version set (empty).
24932 2014-05-14  Will Newton  <will.newton@linaro.org>
24934         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
24935         rather than #if.
24937 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
24939         [BZ #16564]
24940         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
24941         arguments with exponent 65 or above.
24942         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
24943         arguments 0x1p113L or above.
24944         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
24945         to arguments 0x1p107L or above.
24946         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
24947         positive arguments with exponent 65 or above.
24948         * math/auto-libm-test-in: Add more tests of log1p.
24949         * math/auto-libm-test-out: Regenerated.
24951         [BZ #16928]
24952         * math/s_cacos.c (__cacos): Ensure zero real part of result from
24953         non-finite arguments is +0.
24954         * math/s_cacosf.c (__cacosf): Likewise.
24955         * math/s_cacosl.c (__cacosl): Likewise.
24956         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
24957         * sysdeps/i386/fpu/libm-test-ulps: Update.
24958         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24960         [BZ #16927]
24961         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
24962         value.
24963         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
24964         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
24965         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
24966         for explicit high bit of mantissa when testing for argument equal
24967         to 1.
24968         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
24969         * sysdeps/i386/fpu/libm-test-ulps: Update.
24970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24972         [BZ #16516]
24973         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
24974         (__erf): Scale by 16 instead of 8 in potentially underflowing
24975         case.  Ensure exception if result actually underflows.
24976         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
24977         (__erff): Scale by 16 instead of 8 in potentially underflowing
24978         case.  Ensure exception if result actually underflows.
24979         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
24980         (efx8): Remove variable.
24981         (__erfl): Scale by 16 instead of 8 in potentially underflowing
24982         case.  Ensure exception if result actually underflows.
24983         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
24984         (efx8): Remove variable.
24985         (__erfl): Scale by 16 instead of 8 in potentially underflowing
24986         case.  Ensure exception if result actually underflows.
24987         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
24988         (efx8): Remove variable.
24989         (__erfl): Scale by 16 instead of 8 in potentially underflowing
24990         case.  Ensure exception if result actually underflows.
24991         * math/auto-libm-test-in: Add more tests of erf.
24992         * math/auto-libm-test-out: Regenerated.
24994 2014-05-14  Andreas Schwab  <schwab@suse.de>
24996         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
24997         Remove code conditionalized on USE___THREAD.
24999         * config.h.in (HAVE_PT_CHOWN): Define as 0.
25000         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
25001         not definedness.
25003 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
25005         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
25006         Define unconditionally.
25007         (__ASSUME_O_CLOEXEC): Likewise.
25008         (__ASSUME_SOCK_CLOEXEC): Likewise.
25009         (__ASSUME_IN_NONBLOCK): Likewise.
25010         (__ASSUME_PIPE2): Likewise.
25011         (__ASSUME_EVENTFD2): Likewise.
25012         (__ASSUME_SIGNALFD4): Likewise.
25013         (__ASSUME_DUP3): Likewise.
25014         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25015         (__ASSUME_DUP3): Do not define.
25016         (__ASSUME_EVENTFD2): Likewise.
25017         (__ASSUME_IN_NONBLOCK): Likewise.
25018         (__ASSUME_O_CLOEXEC): Likewise.
25019         (__ASSUME_PIPE2): Likewise.
25020         (__ASSUME_SIGNALFD4): Likewise.
25021         (__ASSUME_SOCK_CLOEXEC): Likewise.
25022         (__ASSUME_UTIMES): Undefine.
25023         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25024         (__ASSUME_UTIMES): Do not define.
25025         (__ASSUME_O_CLOEXEC): Likewise.
25026         (__ASSUME_SOCK_CLOEXEC): Likewise.
25027         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
25028         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
25029         0x020621].
25030         (__ASSUME_PIPE2): Likewise.
25031         (__ASSUME_EVENTFD2): Likewise.
25032         (__ASSUME_SIGNALFD4): Likewise.
25033         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
25034         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
25035         Do not define.
25036         (__ASSUME_EVENTFD2): Likewise.
25037         (__ASSUME_SIGNALFD4): Likewise.
25038         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
25039         (__ASSUME_32BITUIDS): Likewise.
25040         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
25041         (__ASSUME_IPC64): Likewise.
25042         (__ASSUME_ST_INO_64_BIT): Likewise.
25043         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
25044         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
25045         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25046         (__ASSUME_UTIMES): Do not define.
25047         (__ASSUME_PSELECT): Likewise.
25048         (__ASSUME_PPOLL): Likewise.
25049         (__ASSUME_O_CLOEXEC): Likewise.
25050         (__ASSUME_SOCK_CLOEXEC): Likewise.
25051         (__ASSUME_IN_NONBLOCK): Likewise.
25052         (__ASSUME_PIPE2): Likewise.
25053         (__ASSUME_EVENTFD2): Likewise.
25054         (__ASSUME_SIGNALFD4): Likewise.
25055         (__ASSUME_DUP3): Likewise.
25056         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
25057         (__ASSUME_UTIMES): Likewise.
25058         (__ASSUME_O_CLOEXEC): Likewise.
25059         (__ASSUME_SOCK_CLOEXEC): Likewise.
25060         (__ASSUME_IN_NONBLOCK): Likewise.
25061         (__ASSUME_PIPE2): Likewise.
25062         (__ASSUME_EVENTFD2): Likewise.
25063         (__ASSUME_SIGNALFD4): Likewise.
25064         (__ASSUME_DUP3): Likewise.
25065         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25066         (__ASSUME_UTIMES): Likewise.
25067         (__ASSUME_O_CLOEXEC): Likewise.
25068         (__ASSUME_SOCK_CLOEXEC): Likewise.
25069         (__ASSUME_IN_NONBLOCK): Likewise.
25070         (__ASSUME_PIPE2): Likewise.
25071         (__ASSUME_EVENTFD2): Likewise.
25072         (__ASSUME_SIGNALFD4): Likewise.
25073         (__ASSUME_DUP3): Likewise.
25074         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
25075         Likewise.
25076         (__ASSUME_UTIMES): Likewise.
25077         (__ASSUME_EVENTFD2): Likewise.
25078         (__ASSUME_SIGNALFD4): Likewise.
25079         * sysdeps/unix/sysv/linux/tile/kernel-features.h
25080         (__ASSUME_O_CLOEXEC): Likewise.
25081         (__ASSUME_SOCK_CLOEXEC): Likewise.
25082         (__ASSUME_IN_NONBLOCK): Likewise.
25083         (__ASSUME_PIPE2): Likewise.
25084         (__ASSUME_EVENTFD2): Likewise.
25085         (__ASSUME_SIGNALFD4): Likewise.
25086         (__ASSUME_DUP3): Likewise.
25087         (__ASSUME_UTIMES): Undefine.
25089         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
25090         feclearexcept.  Remove symbol versioning code.
25091         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
25092         symbol versioning code.
25093         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
25094         symbol versioning code.
25095         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
25096         feupdateenv.  Remove symbol versioning code.
25097         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
25098         fegetexceptflag.  Remove symbol versioning code.
25099         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
25100         fesetexceptflag.  Remove symbol versioning code.
25101         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
25102         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
25103         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
25104         (__posix_fadvise64_l32): Remove prototype.
25105         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
25106         code.
25108 2014-05-13  Roland McGrath  <roland@hack.frob.com>
25110         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
25111         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
25112         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
25113         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
25115 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
25117         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
25118         current working directory
25120 2014-05-13  Roland McGrath  <roland@hack.frob.com>
25122         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
25123         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
25124         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
25125         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
25126         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
25127         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
25128         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
25129         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
25130         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
25131         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
25132         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
25133         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
25134         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
25135         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
25136         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
25137         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
25138         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
25139         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
25140         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
25141         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
25142         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
25143         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
25144         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
25145         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
25146         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
25147         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
25148         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
25149         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
25150         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
25151         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
25152         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
25153         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
25154         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
25155         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
25156         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
25157         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
25158         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
25159         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
25160         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
25161         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
25162         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
25163         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
25165         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
25166         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
25168         * sysdeps/unix/sysv/linux/arm/Makefile
25169         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
25170         Add rt-aeabi_unwind_cpp_pr1.
25171         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
25172         Add nptl-aeabi_unwind_cpp_pr1.
25173         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
25174         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
25175         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
25176         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
25177         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
25178         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
25180         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
25181         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
25182         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
25183         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
25185         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
25186         Deconditionalize the code that was previously under [RESET_PID].
25187         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
25189         * sysdeps/generic/exit-thread.h: New file.
25190         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
25191         * include/unistd.h (__exit_thread): Remove declaration.
25192         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
25193         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
25194         * csu/libc-start.c: Include <exit-thread.h>.
25195         (LIBC_START_MAIN): Pass no argument to __exit_thread.
25196         * nptl/pthread_create.c: Include <exit-thread.h>.
25197         (start_thread): Call __exit_thread in place of __exit_thread_inline.
25198         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
25199         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
25200         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
25201         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
25202         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
25203         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
25204         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
25205         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
25206         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
25207         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
25208         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
25209         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
25210         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
25211         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
25212         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
25213         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
25215 2014-05-13  Andreas Schwab  <schwab@suse.de>
25217         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
25219 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
25221         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
25222         (__ASSUME_UTIMES): Do not condition on kernel version.
25223         (__ASSUME_PSELECT): Define unconditionally.
25224         (__ASSUME_PPOLL): Likewise.
25225         (__ASSUME_ATFCTS): Likewise.
25226         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
25227         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
25228         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
25229         (__ASSUME_UTIMENSAT): Define unconditionally.
25230         (__ASSUME_PRIVATE_FUTEX): Likewise.
25231         (__ASSUME_FALLOCATE): Likewise.
25232         (__ASSUME_O_CLOEXEC): Likewise.
25233         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
25234         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
25235         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
25236         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
25237         (__ASSUME_IN_NONBLOCK): Likewise.
25238         (__ASSUME_PIPE2): Likewise.
25239         (__ASSUME_EVENTFD2): Likewise.
25240         (__ASSUME_SIGNALFD4): Likewise.
25241         (__ASSUME_DUP3): Likewise.
25242         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
25243         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
25244         (__ASSUME_AT_RANDOM): Likewise.
25245         (__ASSUME_PREADV): Likewise.
25246         (__ASSUME_PWRITEV): Likewise.
25247         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
25248         (__ASSUME_F_GETOWN_EX): Define unconditionally.
25249         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
25250         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25251         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
25252         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25253         (__ASSUME_O_CLOEXEC): Define unconditionally.
25254         (__ASSUME_PSELECT): Do not undefine conditionally.
25255         (__ASSUME_PPOLL): Likewise.
25256         (__ASSUME_ATFCTS): Likewise.
25257         (__ASSUME_SET_ROBUST_LIST): Likewise.
25258         (__ASSUME_UTIMENSAT): Likewise.
25259         (__ASSUME_FDATASYNC): Define unconditionally.
25260         * sysdeps/unix/sysv/linux/arm/kernel-features.h
25261         (__ASSUME_SIGFRAME_V2): Likewise.
25262         )__ASSUME_EVENTFD2): Likewise.
25263         (__ASSUME_SIGNALFD4): Likewise.
25264         (__ASSUME_PSELECT): Do not undefine conditionally.
25265         (__ASSUME_PPOLL): Likewise.
25266         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25267         (__ASSUME_PSELECT): Define unconditionally.
25268         (__ASSUME_PPOLL): Likewise.
25269         (__ASSUME_O_CLOEXEC): Likewise.
25270         (__ASSUME_SOCK_CLOEXEC): Likewise.
25271         (__ASSUME_IN_NONBLOCK): Likewise.
25272         (__ASSUME_PIPE2): Likewise.
25273         (__ASSUME_EVENTFD2): Likewise.
25274         (__ASSUME_SIGNALFD4): Likewise.
25275         (__ASSUME_DUP3): Likewise.
25276         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
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
25285         (__ASSUME_EVENTFD2): Likewise.
25286         (__ASSUME_SIGNALFD4): Likewise.
25287         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
25289 2014-05-12  Andreas Schwab  <schwab@suse.de>
25291         [BZ #16932]
25292         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
25293         (_nss_nis_gethostbyname4_r): Return error if item length is larger
25294         than maximum RPC packet size.
25295         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
25296         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
25297         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
25298         (_nss_nis_getservbyport_r): Likewise.
25300 2014-05-12  Will Newton  <will.newton@linaro.org>
25302         * malloc/Makefile (tests): Add tst-mallopt.
25303         * malloc/tst-mallopt.c: New file.
25305 2014-05-09  Roland McGrath  <roland@hack.frob.com>
25307         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
25308         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
25310 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25312         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
25313         (tst-tlsmod6.so): Likewise.
25315 2014-05-09  Roland McGrath  <roland@hack.frob.com>
25317         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
25319 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
25321         [BZ #16064]
25322         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
25323         and <dl-procinfo.h>.
25324         (__fegetenv): Save SSE state in envp->__eip if supported.
25325         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
25326         envp->__eip if supported.
25327         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
25328         and <dl-procinfo.h>.
25329         (__fesetenv): Always set __eip, __cs_selector, __opcode,
25330         __data_offset and __data_selector in environment to 0.  Set SSE
25331         state if supported.
25332         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
25333         test-fenv-sse.
25334         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
25335         -mfpmath=sse.
25336         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
25338 2014-05-09  Will Newton  <will.newton@linaro.org>
25340         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
25341         and libc_relro_required for ARM.
25342         * sysdeps/arm/preconfigure: Regenerate.
25344 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
25345             Stefan Liebler  <stli@linux.vnet.ibm.com>
25347         * config.make.in (enable-lock-elision): New Makefile variable.
25348         * configure.ac: Likewise.
25349         * configure: Regenerate.
25350         * sysdeps/s390/configure.ac:
25351         Add check for gcc transactions support.
25352         * sysdeps/s390/configure: Regenerate.
25353         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
25354         Build elision files if enabled.
25355         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
25356         Add lock elision support for s390.
25357         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
25358         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
25359         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
25360         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
25361         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
25362         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
25363         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
25364         Likewise.
25365         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
25366         Likewise.
25367         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
25368         Likewise.
25369         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
25370         Likewise.
25371         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
25372         (__lll_timedlock_elision, __lll_lock_elision)
25373         (__lll_unlock_elision, __lll_trylock_elision)
25374         (lll_timedlock_elision, lll_lock_elision)
25375         (lll_unlock_elision, lll_trylock_elision): Add.
25376         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
25377         (pthread_mutex_t): Add lock elision support for s390.
25379 2014-05-14  Wilco  <wdijkstr@arm.com>
25381         * sysdeps/arm/fclrexcpt.c: Cleanup.
25382         * sysdeps/arm/fedisblxcpt.c: Cleanup.
25383         * sysdeps/arm/feenablxcpt.c: Cleanup.
25384         * sysdeps/arm/fegetenv.c: Cleanup.
25385         * sysdeps/arm/fegetexcept.c: Cleanup.
25386         * sysdeps/arm/fegetround.c: Cleanup.
25387         * sysdeps/arm/feholdexcpt.c: Cleanup.
25388         * sysdeps/arm/fesetenv.c: Cleanup.
25389         * sysdeps/arm/fesetround.c: Cleanup.
25390         * sysdeps/arm/feupdateenv.c: Cleanup.
25391         * sysdeps/arm/fgetexcptflg.c: Cleanup.
25392         * sysdeps/arm/fraiseexcpt.c: Cleanup.
25393         * sysdeps/arm/fsetexcptflg.c: Cleanup.
25394         * sysdeps/arm/ftestexcept.c: Cleanup.
25395         * sysdeps/arm/get-rounding-mode.h: Cleanup.
25396         * sysdeps/arm/setfpucw.c: Cleanup.
25398 2014-05-09  Will Newton  <will.newton@linaro.org>
25400         * sysdeps/arm/armv7/strcmp.S: New file.
25401         * NEWS: Mention addition of ARMv7 optimized strcmp.
25403 2014-05-08  Roland McGrath  <roland@hack.frob.com>
25405         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
25406         look for %.ac rather than %.in.
25408         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
25409         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
25410         * sysdeps/mach/hurd/configure: Regenerated.
25411         * sysdeps/unix/sysv/linux/configure: Regenerated.
25413         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
25415 2014-05-07  Steve Ellcey  <sellcey@mips.com>
25417         [BZ# 16922]
25418         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
25419         (LONG_SUB): Ditto.
25420         (PTR_SUB): Ditto.
25422 2014-05-07  Andreas Schwab  <schwab@suse.de>
25424         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
25425         when skipping over non-matching result from nscd.
25427 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
25429         [BZ #16876]
25430         * nptl/sockperf.c (client): Check socket return value.
25432         [BZ #16877]
25433         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
25434         nscd security class.
25436 2014-05-06  Roland McGrath  <roland@hack.frob.com>
25438         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
25439         * sysdeps/arm/unwind.h: ... here.
25441 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
25443         [BZ# 16916]
25444         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
25445         Define.
25447 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
25449         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
25450         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
25451         multiarch strncpy for PPC64.
25452         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
25453         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
25454         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
25455         multiarch optimizations.
25456         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25457         (__libc_ifunc_impl_list): Likewise.
25458         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
25459         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
25460         multiarch stpncpy for PPC64.
25461         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
25462         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
25464 2014-05-06  Andreas Schwab  <schwab@suse.de>
25466         [BZ #16912]
25467         * gmon/mcount.c (_MCOUNT_DECL): Use
25468         atomic_compare_and_exchange_bool_acq instead of
25469         catomic_compare_and_exchange_bool_acq.
25471 2014-05-05  Roland McGrath  <roland@hack.frob.com>
25473         * elf/Makefile (others, install-bin): Remove pldd.
25474         (pldd-modules): Variable removed.
25475         ($(objpfx)pldd): Target removed.
25476         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
25477         (others, install-bin): Append pldd here.
25478         ($(objpfx)pldd): New target.
25480         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
25481         to 0, so the first #if test emitted later doesn't see it undefined.
25482         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
25483         * sysdeps/gnu/errlist.c: Regenerated.
25485 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25487         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
25488         [libc_hidden_builtin_def]: Define to empty value.
25489         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
25490         [libc_hidden_builtin_def]: Likewise.
25491         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
25492         [libc_hidden_builtin_def]: Likewise.
25493         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
25494         [libc_hidden_builtin_def]: Likewise.
25495         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
25496         __redirect_memcpy and define ifunc as default hidden symbol.
25497         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
25498         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
25500 2014-05-04  Adam Conrad  <adconrad@0c3.net>
25502         * locale/iso-4217.def: Reintroduce XDR currency.
25504 2014-05-04  Allan McRae  <allan@archlinux.org>
25506         * po/eo.po: Update Esperanto translation from translation project.
25508 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
25510         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
25511         and FEATURE_INDEX_MAX to 1.
25512         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
25514 2014-05-01  Steve Ellcey  <sellcey@mips.com>
25516         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
25517         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
25518         * iconvdata/big5.c (ONE_DIRECTION): Define.
25519         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
25520         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
25521         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
25522         * iconvdata/cp932.c (ONE_DIRECTION): Define.
25523         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
25524         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
25525         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
25526         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
25527         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
25528         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
25529         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
25530         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
25531         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
25532         * iconvdata/gbk.c (ONE_DIRECTION): Define.
25533         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
25534         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
25535         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
25536         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
25537         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
25538         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
25539         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
25540         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
25541         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
25542         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
25543         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
25544         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
25545         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
25546         * iconvdata/iso646.c (ONE_DIRECTION): Define.
25547         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
25548         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
25549         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
25550         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
25551         * iconvdata/johab.c (ONE_DIRECTION): Define.
25552         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
25553         * iconvdata/sjis.c (ONE_DIRECTION): Define.
25554         * iconvdata/t.61.c (ONE_DIRECTION): Define.
25555         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
25556         * iconvdata/tscii.c (ONE_DIRECTION): Define.
25557         * iconvdata/uhc.c (ONE_DIRECTION): Define.
25558         * iconvdata/unicode.c (ONE_DIRECTION): Define.
25559         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
25560         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
25561         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
25563 2014-05-01  Roland McGrath  <roland@hack.frob.com>
25565         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
25566         (_IO_JUMPS_OFFSET): Define to 0.
25568         * nptl/sysdeps/pthread/bits/libc-lock.h
25569         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
25570         (__libc_lock_define_initialized_recursive): Always define using
25571         initializer.  Modern compilers treat uninitialized (implicit zero) and
25572         explicit zero initializers the same (i.e. put the datum in bss).
25574 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
25576         * nscd/nscd-client.h: Include <string.h>.
25578 2014-05-01  David S. Miller  <davem@davemloft.net>
25580         [BZ #16885]
25581         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
25582         multiple zero bytes exist at the end of a string.
25583         Reported by Aurelien Jarno <aurelien@aurel32.net>
25585         * string/test-strcmp.c (check): Add explicit test for situations where
25586         there are multiple zero bytes after the first.
25588 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
25590         [BZ #16890]
25591         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
25592         when compiling wprintf.
25593         * stdio-common/tstdiomisc.c (t3): New function.
25594         (main): Call it.
25596 2014-05-01  Steve Ellcey  <sellcey@mips.com>
25598         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
25599         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
25600         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
25601         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
25603 2014-05-01  Steve Ellcey  <sellcey@mips.com>
25605         * stdlib/longlong.h: Updated from GCC.
25607 2014-05-01  Will Newton  <will.newton@linaro.org>
25608             Bernard Ogden  <bernie.ogden@linaro.org>
25610         * NEWS: Update fixed bug list.
25612         [BZ #15119]
25613         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
25615 2014-04-30  David S. Miller  <davem@davemloft.net>
25617         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
25618         (libc_feholdexcept_setround_sparc_ctx): New function.
25619         (libc_fesetenv_sparc_ctx): Likewise.
25620         (libc_feupdateenv_sparc_ctx): Likewise.
25621         (libc_feholdsetround_sparc_ctx): Likewise.
25622         (libc_feholdexcept_setround_ctx): Define.
25623         (libc_feholdexcept_setroundf_ctx): Likewise.
25624         (libc_feholdexcept_setroundl_ctx): Likewise.
25625         (libc_fesetenv_ctx): Likewise.
25626         (libc_fesetenvf_ctx): Likewise.
25627         (libc_fesetenvl_ctx): Likewise.
25628         (libc_feupdateenv_ctx): Likewise.
25629         (libc_feupdateenvf_ctx): Likewise.
25630         (libc_feupdateenvl_ctx): Likewise.
25631         (libc_feresetround_ctx): Likewise.
25632         (libc_feresetroundf_ctx): Likewise.
25633         (libc_feresetroundl_ctx): Likewise.
25634         (libc_feholdsetround_ctx): Likewise.
25635         (libc_feholdsetroundf_ctx): Likewise.
25636         (libc_feholdsetroundl_ctx): Likewise.
25638         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
25639         with __USE_GNU instead of XOPEN cpp guards.
25641         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
25642         0.
25644         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
25645         with XOPEN cpp guards.
25647 2014-04-30  Julian Brown  <julian@codesourcery.com>
25649         [BZ #16888]
25650         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
25651         handling.
25653 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
25655         [BZ #9894]
25656         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
25657         Change to 2.6.32.
25658         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
25659         * sysdeps/unix/sysv/linux/configure: Regenerated.
25660         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
25661         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
25662         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
25663         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
25664         * README: Update reference to required Linux kernel version.
25665         * manual/install.texi (Linux): Update reference to required Linux
25666         kernel headers version.
25667         * INSTALL: Regenerated.
25669         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
25670         header inclusion.
25671         [POSIX] (limits.h): Likewise.
25672         [POSIX] (math.h): Likewise.
25673         [POSIX] (sys/wait.h): Likewise.
25674         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
25675         function.
25676         [POSIX] (stddef.h): Do not allow header inclusion.
25678 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25680         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
25682 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
25684         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
25685         Return immediately after lll_futex_wake.
25687 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25689         [BZ #16791]
25690         * nscd/nscd-client.h (datahead_init_common): Initialize entire
25691         structure.
25692         (datahead_init_pos): Call datahead_init_common early.
25693         (datahead_init_neg): Likewise.
25695         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
25696         datahead_init_neg): New functions.
25697         * nscd/aicache.c (addhstaiX): Use them.
25698         * nscd/grpcache.c (cache_addgr): Likewise.
25699         * nscd/hstcache.c (cache_addhst): Likewise.
25700         * nscd/initgrcache.c (addinitgroupsX): Likewise.
25701         * nscd/netgroupcache.c (do_notfound): Likewise.
25702         (addgetnetgrentX): Likewise.
25703         (addinnetgrX): Likewise.
25704         * nscd/pwdcache.c (cache_addpw): Likewise.
25705         * nscd/servicescache.c (cache_addserv): Likewise.
25707 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25708             Atsushi Onoe  <atsushi@onoe.org>
25710         [BZ #14308]
25711         [BZ #12994]
25712         [BZ #13651]
25713         * resolv/res_query.c (__libc_res_nsearch): Return if at least
25714         one response is valid.
25715         * resolv/res_send.c (send_dg): Check for validity of other
25716         response if the current response is a referral.
25718 2014-04-29  Steve Ellcey  <sellcey@mips.com>
25720         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
25722 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
25724         [BZ #16823]
25725         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
25726         Always divide by positive zero when computing -Inf result.
25727         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
25728         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
25730 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25732         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
25733         FPSCR if value do not change.
25734         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
25735         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
25736         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
25737         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
25738         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
25739         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
25740         function.
25742 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
25744         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
25745         * sysdeps/unix/sysv/linux/hppa: Move directory from
25746         ports/systeps/unix/sysv/linux/hppa.
25747         * README: Update listing for hppa-*-linux-gnu.
25749 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
25751         [BZ #16754]
25752         * manual/stdio.texi (Hook functions): Fix types of stream hook
25753         functions.
25754         [BZ #16854]
25755         * socket/sys/socket.h: Fix typo in comment.
25757 2014-04-28  Wilco  <wdijkstr@arm.com>
25759         * sysdeps/arm/fenv_private.h: New file.
25760         * sysdeps/arm/math_private.h: New file.
25761         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
25763 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
25765         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
25766         with __int128_t.
25767         (La_x86_64_retval): Likewise.
25769 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
25771         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
25772         fpsr if value didn't change.
25773         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
25774         to fpcr if value didn't change.
25775         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
25776         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
25777         fpsr or fpcr if value didn't change.
25778         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
25779         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
25780         fpcr if value didn't change.
25781         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
25782         to fpsr if value didn't change.
25784 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
25786         * nptl/tst-sem3.c: Use test-skeleton.c
25787         (main): Rename to do_test.  Use return instead of
25788         exit.
25789         * nptl/tst-sem4.c: Use test-skeleton.c
25790         (main): Rename to do_test.
25792 2014-04-22  David S. Miller  <davem@davemloft.net>
25794         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
25795         (struct sigaction): New struct member __glibc_reserved0, change
25796         type of sa_flags to int.
25798 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
25800         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
25801         (COUNT_LEADING_ZEROS_0): Define for AArch64.
25803 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
25805         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
25806         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
25808 2014-04-22  Will Newton  <will.newton@linaro.org>
25809             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
25811         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
25812         (__longjmp): Add longjmp and longjmp_target SystemTap
25813         probes.
25814         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
25815         (__sigsetjmp): Add setjmp SystemTap probe.
25817 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
25819         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
25820         match manual order.
25822 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25824         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
25826         * sysdeps/powerpc/fpu/fenv_private.h
25827         (libc_feholdexcept_setroundl_ctx): Define to
25828         libc_feholdexcept_setround_ppc_ctx.
25829         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
25830         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
25831         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
25832         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
25834 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
25836         * sysdeps/aarch64/math-tests.h: New file.
25838 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
25840         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
25841         New.
25842         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25843         Check and set bit_AVX2_Usable.
25844         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
25845         macro.
25846         (bit_AVX2): Likewise.
25847         (index_AVX2_Usable): Likewise.
25848         (CPUID_AVX2): Likewise.
25849         (HAS_AVX2): Likewise.
25851 2014-04-17  Will Newton  <will.newton@linaro.org>
25853         * manual/setjmp.texi (System V contexts): Add note that
25854         calling setcontext on a context created by a call to a
25855         signal handler is undefined.  Update text to note that
25856         setcontext from a signal handler is possible but not
25857         recommended.
25859         [BZ #16629]
25860         * stdlib/tst-setcontext.c: Include signal.h.
25861         (main): Check that the signal stack before and
25862         after swapcontext is the same.
25864         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
25865         Re-implement to restore registers in user code and avoid
25866         rt_sigreturn system call.
25868 2014-04-17  Wilco  <wdijkstr@arm.com>
25870         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
25871         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
25872         * math/test-fenv.c: Skip exception trap tests on targets which only
25873         support non-stop mode.
25875 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
25876             Wilco Dijkstra  <wilco.dijkstra@arm.com>
25878         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
25879         (libc_feholdsetround_aarch64_ctx)
25880         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
25881         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
25882         (libc_feresetround_ctx, libc_feresetroundf_ctx)
25883         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
25884         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
25885         (libc_feresetround_noexl_ctx): Define.
25887 2014-04-16  Richard Henderson  <rth@redhat.com>
25889         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
25891         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
25892         unwind tables.
25894         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
25895         const from the non-libc, non-ldso copy.
25897         * sysdeps/alpha/libm-test-ulps: Regenerate.
25899 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
25900             Wilco Dijkstra  <wilco.dijkstra@arm.com>
25902         * sysdeps/aarch64/fpu/math_private.h: New file.
25904 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
25906         * sysdeps/aarch64/libm-test-ulps: Regenerate.
25908 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
25910         [BZ #16275]
25911         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
25912         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
25913         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
25914         Intel MPX bound registers before _dl_profile_fixup.
25915         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
25916         registers after _dl_profile_fixup.  Save and restore bound
25917         registers bnd0/bnd1 when calling _dl_call_pltexit.
25918         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
25919         (LR_BND_OFFSET): Likewise.
25920         (LRV_BND0_OFFSET): Likewise.
25921         (LRV_BND1_OFFSET): Likewise.
25923 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25925         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
25926         to...
25927         * sysdeps/mach/hurd/i386/tls.h: ... here.
25928         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
25929         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
25930         fields.
25932 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25934         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
25936 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
25938         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25940 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
25942         [BZ #14770]
25943         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
25944         * sysdeps/s390/configure: Regenerate.
25946         [BZ #16824]
25947         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
25948         Set round-to-nearest internally to reduce error accumulation.
25950 2014-04-16  Alan Modra  <amodra@gmail.com>
25952         [BZ #16740]
25953         [BZ #16619]
25954         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
25955         * math/libm-test.inc (frexp_test_data): Add tests.
25956         * NEWS: Update fixed bug list.
25958 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25960         * benchtests/Makefile: Depend on libraries in build directory.
25961         (bench-math): Separate out math tests.
25962         (bench-pthread): Separate out pthread tests.
25963         (bench): Include math and pthread tests.
25965 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
25967         [BZ #16831]
25968         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
25969         _dl_debug_initialize.
25971         * configure.ac: Remove SELinux header check.
25972         * configure: Regenerate.
25973         * nscd/selinux.c (perms): Array of const char* to permission names.
25974         (nscd_request_avc_has_perm): Call security_deny_unknown to find
25975         default policy. Call string_to_security_class and string_to_av_perm to
25976         translate strings. Enforce default policy and call avs_has_perm with
25977         results of translated strings.
25979 2014-04-13  David S. Miller  <davem@davemloft.net>
25981         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25983 2014-04-12  Allan McRae  <allan@archlinux.org>
25985         [BZ #16838]
25986         * manual/string.texi (Collation Functions): Fix qsort argument
25987         order in example.
25988         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
25990 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
25992         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
25993         Make the test a no-op if there are no exceptions defined.
25995 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
25997         * elf/Makefile (tests): make tst-dlopen-aout conditional on
25998         enable-hardcoded-path-in-tests
26000 2014-04-11  Will Newton  <will.newton@linaro.org>
26002         * benchtests/Makefile (extra-objs): Add json-lib.o.
26003         (bench-func): Tidy up JSON output.
26004         * benchtests/bench-skeleton.c: Include json-lib.h.
26005         (main): Use JSON library functions to do output of
26006         benchmark results.
26007         * benchtests/bench-timing-type.c (main): Output the
26008         timing type simply, leaving formatting to the user.
26009         * benchtests/json-lib.c: New file.
26010         * benchtests/json-lib.h: Likewise.
26012 2014-04-11  Torvald Riegel  <triegel@redhat.com>
26014         [BZ #15215]
26015         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
26016         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
26017         memory barriers.  Add comments.
26018         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
26019         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
26020         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
26021         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
26022         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
26023         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
26025 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
26027         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
26028         * sysdeps/s390/s390-64/configure.ac: ... this ...
26029         * sysdeps/s390/configure.ac: ... to here.
26030         * sysdeps/s390/s390-32/configure: Delete file.
26031         * sysdeps/s390/s390-64/configure: Delete file.
26032         * sysdeps/s390/configure: Regenerate.
26034 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
26036         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
26038 2014-04-11  Will Newton  <will.newton@linaro.org>
26040         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
26041         to zero if it is not defined elsewhere.  (mtrim): Test
26042         the value of MALLOC_DEBUG with #if rather than #ifdef.
26044 2014-04-10 Torvald Riegel  <triegel@redhat.com>
26046         * benchtests/pthread_once-inputs: New file.
26047         * benchtests/pthread_once-source.c: New file.
26048         * benchtests/README: Update documentation.
26050 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
26051             H.J. Lu  <hongjiu.lu@intel.com>
26053         [BZ #16275]
26054         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
26055         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
26056         * sysdeps/x86_64/configure: Regenerated.
26057         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
26058         macro.
26059         (REGISTER_SAVE_RAX): Likewise.
26060         (REGISTER_SAVE_RCX): Likewise.
26061         (REGISTER_SAVE_RDX): Likewise.
26062         (REGISTER_SAVE_RSI): Likewise.
26063         (REGISTER_SAVE_RDI): Likewise.
26064         (REGISTER_SAVE_R8): Likewise.
26065         (REGISTER_SAVE_R9): Likewise.
26066         (REGISTER_SAVE_BND0): Likewise.
26067         (REGISTER_SAVE_BND1): Likewise.
26068         (REGISTER_SAVE_BND2): Likewise.
26069         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
26070         bound registers when calling _dl_fixup.
26072 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26074         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
26075         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
26076         of its definition.
26077         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
26078         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
26079         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
26080         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
26081         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
26082         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
26083         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
26085 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
26087         [BZ #15514]
26088         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
26089         pathconf(_PC_NAME_MAX).
26091 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26093         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
26094         Remove macro usage.
26095         (__PTHREAD_SPINS): Move definition to ...
26096         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
26097         (__PTHREAD_SPINS): ... here.
26098         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
26099         (__PTHREAD_SPIN): Likewise.
26100         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
26101         (__PTHREAD_SPIN): Likewise.
26102         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
26103         (__PTHREAD_SPIN): Likewise.
26104         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
26105         (__PTHREAD_SPIN): Likewise.
26106         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
26107         (__PTHREAD_SPIN): Likewise.
26108         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
26109         (__PTHREAD_SPIN): Likewise.
26110         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
26111         (__PTHREAD_SPIN): Likewise.
26112         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
26113         (__PTHREAD_SPIN): Likewise.
26114         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
26115         (__PTHREAD_SPIN): Likewise.
26116         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
26117         (__PTHREAD_SPIN): Likewise.
26118         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
26119         (__PTHREAD_SPIN): Likewise.
26120         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
26121         (__PTHREAD_SPIN): Likewise.
26123         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
26124         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
26125         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
26126         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
26127         imply folder.
26128         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
26129         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
26130         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
26131         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
26132         correct imply path.
26133         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
26134         strlen symbol for non multi-arch builds.
26135         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
26136         missing hidden_def and weak_alias.
26138 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
26140         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
26142 2014-04-07  Will Newton  <will.newton@linaro.org>
26144         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
26145         and contents.  [!_LIBC] Remove #ifndef and contents.
26146         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
26147         * string/memccpy.c (__memccpy): Use ANSI prototype.
26148         * string/memfrob.c (memfrob): Likewise.
26149         * string/strcoll.c (STRCOLL): Likewise.
26150         * string/strlen.c (strlen): Likewise.
26151         * string/strtok.c (STRTOK): Likewise.
26152         * string/strcat.c: Remove unused #include of memcopy.h.
26153         (strcat): Use ANSI prototype.
26154         * string/strchr.c: Remove unused #include of memcopy.h.
26155         (strchr): Use ANSI prototype.
26156         * string/strcmp.c: Remove unused #include of memcopy.h.
26157         (strcmp): Use ANSI prototype.
26158         * string/strcpy.c: Remove unused #include of memcopy.h.
26159         (strcpy): Use ANSI prototype.
26161 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26163         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
26164         * config.make.in (config-extra-cppflags): Set it from
26165         libc_extra_cppflags.
26166         * configure.ac (libc_extra_cflags): Make it accumulate over
26167         configure fragments.
26168         (libc_extra_cppflags): New flag.
26169         * configure. Regenerate.
26170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
26171         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
26172         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
26173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
26175         [BZ #16815]
26176         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
26177         result for FE_DOWNWARD rounding mode.
26178         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
26179         Likewise.
26180         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26182 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
26184         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
26185         in function argument name.
26187 2014-04-03  David Svoboda  <svoboda@cert.org>
26189         [BZ #5666]
26190         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
26191         explicitly.
26193 2014-04-03  Roland McGrath  <roland@hack.frob.com>
26195         * elf/dl-unmap-segments.h: New file.
26196         * sysdeps/generic/ldsodefs.h
26197         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
26198         * elf/dl-close.c: Include <dl-unmap-segments.h>.
26199         * elf/dl-fptr.c: Likewise.
26200         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
26201         * sysdeps/aarch64/tlsdesc.c: Likewise.
26202         * sysdeps/arm/tlsdesc.c: Likewise.
26203         * sysdeps/i386/tlsdesc.c: Likewise.
26204         * sysdeps/tile/dl-runtime.c: Likewise.
26205         * sysdeps/x86_64/tlsdesc.c: Likewise.
26206         * elf/dl-load.h: New file.
26207         * elf/dl-load.c: Include it.
26208         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
26209         Macros moved to dl-load.h.
26210         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
26211         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
26212         Use _dl_unmap_segments in place of __munmap.
26213         Break out segment-mapping loop into ...
26214         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
26216 2014-04-03  Will Newton  <will.newton@linaro.org>
26218         * elf/dl-lookup.c (do_lookup_x): Remove comment
26219         referring to nested function and move variable
26220         declarations down to before first use.
26222 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
26224         [BZ #16799]
26225         [BZ #16800]
26226         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
26227         with 0 numerator.
26228         * math/s_catanf.c (__catanf): Likewise.
26229         * math/s_catanh.c (__catanh): Likewise.
26230         * math/s_catanhf.c (__catanhf): Likewise.
26231         * math/s_catanhl.c (__catanhl): Likewise.
26232         * math/s_catanl.c (__catanl): Likewise.
26233         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
26234         by positive zero when computing -Inf result.
26235         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
26236         (catanh_test): Likewise.
26237         * sysdeps/i386/fpu/libm-test-ulps: Update.
26238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26240         [BZ #16789]
26241         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
26242         instead of using underflowing value in computing result.
26243         * math/s_clog10.c (__clog10): Likewise.
26244         * math/s_clog10f.c (__clog10f): Likewise.
26245         * math/s_clog10l.c (__clog10l): Likewise.
26246         * math/s_clogf.c (__clogf): Likewise.
26247         * math/s_clogl.c (__clogl): Likewise.
26248         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
26249         (clog10_test): Likewise.
26250         * sysdeps/i386/fpu/libm-test-ulps: Update.
26251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26253 2014-04-02  Alan Modra  <amodra@gmail.com>
26255         [BZ #16739]
26256         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
26257         output when value is near a power of two.  Use int64_t for lx and
26258         remove casts.  Use decimal rather than hex exponent constants.
26259         Don't use long double multiplication when double will suffice.
26260         * math/libm-test.inc (nextafter_test_data): Add tests.
26261         * NEWS: Add 16739 and 16786 to bug list.
26263         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
26265         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
26267 2014-04-01  Will Newton  <will.newton@linaro.org>
26269         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
26270         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
26272 2014-04-01  Florian Weimer  <fweimer@redhat.com>
26274         [BZ #13347]
26275         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
26276         * nptl/tst-setuid2.c: New file.
26277         * nptl/Makefile (xtests): Add tst-setuid2.
26279 2014-04-01  Alan Modra  <amodra@gmail.com>
26281         [BZ #16786]
26282         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
26284 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
26286         [BZ #6803]
26287         [BZ #6804]
26288         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
26289         set errno as appropriate.
26290         * math/w_scalbf.c (__scalbf): Likewise.
26291         * math/w_scalbl.c (__scalbl): Likewise.
26292         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
26293         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
26294         * math/libm-test.inc (scalb_test_data): Add errno expectations.
26295         Add more NaN tests.
26297         [BZ #16349]
26298         * math/w_atan2.c: Include <errno.h>.
26299         (__atan2): Set errno for result underflowing to zero.
26300         * math/w_atan2f.c: Include <errno.h>.
26301         (__atan2f): Set errno for result underflowing to zero.
26302         * math/w_atan2l.c: Include <errno.h>.
26303         (__atan2l): Set errno for result underflowing to zero.
26304         * math/auto-libm-test-in: Don't allow missing errno for some atan2
26305         tests.
26306         * math/auto-libm-test-out: Regenerated.
26308 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26310         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
26311         Encode instruction correctly in little endian.
26312         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
26313         Likewise.
26314         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
26315         Likewise.
26316         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
26317         Likewise.
26318         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
26319         Likewise.
26321 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
26323         [BZ #9894]
26324         * sysdeps/unix/sysv/linux/kernel-features.h
26325         [__sparc__ && !__arch64__ && !__sparc_v9__]
26326         (__ASSUME_SET_ROBUST_LIST): Do not define.
26327         [__sparc__ && !__arch64__ && !__sparc_v9__]
26328         (__ASSUME_FUTEX_LOCK_PI): Likewise.
26329         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
26330         Likewise.
26331         * sysdeps/unix/sysv/linux/arm/kernel-features.h
26332         (__ASSUME_FUTEX_LOCK_PI): Undefine.
26333         (__ASSUME_REQUEUE_PI): Likewise.
26334         (__ASSUME_SET_ROBUST_LIST): Likewise.
26335         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
26336         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
26337         Undefine.
26338         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26339         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
26340         Likewise.
26341         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
26342         Likewise.
26343         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
26344         Likewise.
26345         * sysdeps/unix/sysv/linux/mips/kernel-features.h
26346         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
26347         Undefine.
26348         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
26349         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
26350         Likewise.
26352         [BZ #16648]
26353         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26354         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
26355         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
26357 2014-03-31  Will Newton  <will.newton@linaro.org>
26359         * benchtests/Makefile (bench): Add ffs and ffsll to list
26360         of tests.
26361         * benchtests/ffs-inputs: New file.
26362         * benchtests/ffsll-inputs: Likewise.
26364 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
26366         [BZ #16770]
26367         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
26368         too large before casting to int.
26369         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
26370         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
26371         * math/libm-test.inc (scalb_test_data): Add more tests.
26373 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26375         * benchtests/Makefile (DETAILED_OPT): New make option.
26376         (bench-func): Run benchmark program with -d if DETAILED_OPT is
26377         set.
26378         * benchtests/bench-skeleton.c: Include stdbool.h.
26379         (main): Store and print timings per input.
26380         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
26381         member to each argument value.
26382         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
26383         (_print_arg_data): Initialize per-input timing to 0.
26385         * benchtests/Makefile (timing-type): New binary.
26386         (bench-clean): Also remove bench-timing-type.
26387         (bench): New target for timing-type.
26388         (bench-func): Print output in JSON format.
26389         * benchtests/bench-skeleton.c (main): Print output in JSON
26390         format.
26391         * benchtests/bench-timing-type.c: New file.
26392         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
26393         (TIMING_PRINT_STATS): Remove.
26394         * benchtests/scripts/bench.py (_print_arg_data): Store variant
26395         name separately.
26397         * benchtests/bench-modf.c: Remove.
26398         * benchtests/modf-inputs: New inputs file.
26400 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
26402         [BZ #16362]
26403         * math/s_clog10.c (M_PI_LOG10E): New macro.
26404         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
26405         imaginary parts are 0.
26406         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
26407         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
26408         imaginary parts are 0.
26409         * math/s_clog10l.c (M_PI_LOG10El): New macro.
26410         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
26411         imaginary parts are 0.
26412         * math/libm-test.inc (clog10_test_data): Update expected results
26413         for when real and imaginary parts are 0.
26415 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
26417         * elf/dl-load.c: Finish conversion of __builtin_expect into
26418         __glibc_{un}likely.
26420 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
26422         [BZ #16348]
26423         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
26424         1+x for argument with exponent below -67.
26425         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
26426         Likewise.
26427         * math/auto-libm-test-in: Add more tests of exp.
26428         * math/auto-libm-test-out: Regenerated.
26430 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26432         [BZ #16759]
26433         * inet/getnetgrent_r.c (get_nonempty_val): New function.
26434         (nscd_getnetgrent): Use it.
26436         [BZ #16760]
26437         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
26438         of stpcpy.
26440 2014-03-27  Andi Kleen  <ak@linux.intel.com>
26442         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
26443         (lll_robust_lock, lll_cond_lock, lll_timedlock)
26444         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
26445         (lll_robust_unlock): Remove out of line section. Use cfi
26446         intrinsics.
26447         (LLL_STUB_UNWIND_INFO*): Remove.
26448         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
26449         (lll_robust_lock, lll_cond_lock, lll_timedlock)
26450         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
26451         (lll_robust_unlock): Remove out of line section. Use cfi
26452         intrinsics.
26453         (LLL_STUB_UNWIND_INFO*): Remove.
26455 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26457         [BZ #16758]
26458         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
26459         blank values.
26461 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
26463         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
26465 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
26467         [BZ #16198]
26468         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
26469         fnstenv.
26470         * math/test-fenv-preserve.c: New file.
26471         * math/Makefile (tests): Add test-fenv-preserve.
26473 2014-03-26  Will Newton <will.newton@linaro.org>
26475         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
26477 2014-03-25  Roland McGrath  <roland@hack.frob.com>
26479         * scripts/versionlist.awk: Partition the version sets and emit all
26480         GLIBC_* (sorted) before all others (sorted).
26482 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
26484         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
26485         GLIBC_2.2.5 version.
26487 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26489         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
26490         calls.
26492         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
26493         previous change.
26495         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26497 2014-03-25  Andreas Schwab  <schwab@suse.de>
26499         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
26500         label to be used after in6ailist is initialized.
26502 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26504         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
26505         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
26507 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
26509         [BZ #16357]
26510         [BZ #16599]
26511         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
26512         min_plus_half.
26513         (fp_formats): Update initializers.
26514         (init_fp_formats): Initialize new field.
26515         (output_for_one_input_case): Allow underflow for results up to
26516         min_plus_half.
26517         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
26518         * math/auto-libm-test-in: Don't mark some underflows from asin and
26519         atanh as spurious.
26520         * math/auto-libm-test-out: Regenerated.
26521         * sysdeps/i386/fpu/libm-test-ulps: Update.
26522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26524 2014-03-25  Andreas Schwab  <schwab@suse.de>
26526         * libio/Makefile (tst-ftell-partial-wide-ENV)
26527         (tst-ftell-active-handler-ENV): Define.
26529 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
26531         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
26533 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
26535         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
26537 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
26539         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
26540         * sysdeps/x86_64/fpu/multiarch/e_exp.c
26541         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26543 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
26545         [BZ #16634]
26546         * elf/dl-load.c (open_verify): Add mode parameter.
26547         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
26548         (open_path): Change from boolean 'secure' to complete flag 'mode'
26549         (_dl_map_object): Adjust.
26550         * elf/Makefile (tests): Add tst-dlopen-aout.
26551         * elf/tst-dlopen-aout.c: New test.
26553 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
26555         [BZ #16714]
26556         * sysdeps/unix/sysv/linux/s390/bits/stat.h
26557         (struct stat): Rename member pad0 to __glibc_reserved0.
26559         [BZ #16712]
26560         * sysdeps/s390/s390-32/bits/wordsize.h
26561         (__WORDSIZE32_SIZE_ULONG): New define.
26562         * sysdeps/s390/s390-64/bits/wordsize.h
26563         (__WORDSIZE32_SIZE_ULONG): Likewise.
26564         * sysdeps/generic/stdint.h (SIZE_MAX):
26565         Define as UL if __WORDSIZE32_SIZE_ULONG.
26567         [BZ #16713]
26568         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
26569         (__glibc_reserved0): New variable.
26570         (sa_flags): Change type to int.
26572         * posix/Makefile (before-compile): Use += before-compile instead
26573         of a :=.
26575         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
26576         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
26578 2014-03-20  Andreas Schwab  <schwab@suse.de>
26580         [BZ #16743]
26581         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
26582         non-matching result from nscd.
26584 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26586         * scripts/bench.py: Moved to ...
26587         * benchtests/scripts/bench.py: ... here.
26588         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
26590 2014-03-24  Andreas Schwab  <schwab@suse.de>
26592         [BZ #16002]
26593         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
26594         alloca_account and account alloca use for struct in6ailist.
26596 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
26598         [BZ #16284]
26599         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
26600         rounding mode to recompute results that overflow to infinity or
26601         underflow to zero.
26602         * math/auto-libm-test-in: Don't mark tests as expected to fail for
26603         bug 16284.
26604         * math/auto-libm-test-out: Regenerated.
26605         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
26606         (ccosh_test): Likewise.
26607         (csin_test_data): Use plus_oflow.
26608         (csin_test): Use ALL_RM_TEST.
26609         (csinh_test_data): Use plus_oflow.
26610         (csinh_test): Use ALL_RM_TEST.
26611         * sysdeps/i386/fpu/libm-test-ulps: Update.
26612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26614 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
26616         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
26617         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
26618         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
26620         [BZ #16731]
26621         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
26622         when x - 1 is zero.
26623         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
26624         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
26625         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
26626         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
26627         argument is 1.
26628         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
26629         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
26630         zero.
26631         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
26632         * sysdeps/i386/fpu/libm-test-ulps: Update.
26633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26635 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26637         * scripts/bench.pl: Remove file.
26638         * scripts/bench.py: New benchmark script.
26639         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
26640         * benchtests/README: Mention python dependency.
26641         * scripts/pylintrc: New file.
26642         * scripts/pylint: New file.
26644         * bits/mathdef.h: Use #ifdef instead of #if.
26645         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
26646         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
26647         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
26648         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
26649         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
26650         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
26652 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26653             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
26655         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
26656         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
26657         and strpbrk-ppc64 objects.
26658         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26659         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
26660         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
26661         multiarch strpbrk for POWER7.
26662         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
26663         multiarch strpbrk for PPC64.
26664         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
26665         ifunc selector.
26666         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
26667         strpbrk for POWER7.
26669 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
26671         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
26672         (atan_test): Likewise.
26673         (atanh_test_data): Use NO_TEST_INLINE for two tests.
26674         (atanh_test): Use ALL_RM_TEST.
26675         (atan2_test_data): Likewise.
26676         (cabs_test): Likewise.
26677         (cacosh_test): Likewise.
26678         (carg_test): Likewise.
26679         (casin_test): Likewise.
26680         (casinh_test): Likewise.
26681         (cbrt_test): Likewise.
26682         (csqrt_test): Likewise.
26683         (erf_test): Likewise.
26684         (erfc_test): Likewise.
26685         (pow10_test): Likewise.
26686         (exp2_test): Likewise.
26687         (hypot_test): Likewise.
26688         (j0_test): Likewise.
26689         (j1_test): Likewise.
26690         (lgamma_test): Likewise.
26691         (gamma_test): Likewise.
26692         (sincos_test): Likewise.
26693         (tanh_test): Likewise.
26694         (y0_test): Likewise.
26695         (y1_test): Likewise.
26696         * sysdeps/i386/fpu/libm-test-ulps: Update.
26697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26699 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26701         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
26702         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
26703         and strcspn-ppc64 objects.
26704         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26705         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
26706         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
26707         multiarch strcspn for POWER7.
26708         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
26709         multiarch strcspn for PPC64.
26710         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
26711         ifunc selector.
26712         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
26713         strcspn for POWER7.
26715 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
26717         * math/gen-libm-test.pl (generate_testfile): Expect only function
26718         name as argument to AUTO_TESTS_* and pass results for all rounding
26719         modes to parse_args.
26720         (parse_auto_input): Separate inputs of automatic tests from
26721         outputs before storing in %auto_tests.
26722         * math/libm-test.inc (acos_test_data): Update call to
26723         AUTO_TESTS_f_f.
26724         (acos_test): Use ALL_RM_TEST.
26725         (acos_tonearest_test_data): Remove.
26726         (acos_test_tonearest): Likewise.
26727         (acos_towardzero_test_data): Likewise.
26728         (acos_test_towardzero): Likewise.
26729         (acos_downward_test_data): Likewise.
26730         (acos_test_downward): Likewise.
26731         (acos_upward_test_data): Likewise.
26732         (acos_test_upward): Likewise.
26733         (acosh_test_data): Update call to AUTO_TESTS_f_f.
26734         (asin_test_data): Likewise.
26735         (asin_test): Use ALL_RM_TEST.
26736         (asin_tonearest_test_data): Remove.
26737         (asin_test_tonearest): Likewise.
26738         (asin_towardzero_test_data): Likewise.
26739         (asin_test_towardzero): Likewise.
26740         (asin_downward_test_data): Likewise.
26741         (asin_test_downward): Likewise.
26742         (asin_upward_test_data): Likewise.
26743         (asin_test_upward): Likewise.
26744         (asinh_test_data): Update call to AUTO_TESTS_f_f.
26745         (atan_test_data): Likewise.
26746         (atanh_test_data): Likewise.
26747         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
26748         (cabs_test_data): Update call to AUTO_TESTS_c_f.
26749         (carg_test_data): Likewise.
26750         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
26751         (ccos_test_data): Update call to AUTO_TESTS_c_c.
26752         (ccosh_test_data): Likewise.
26753         (cexp_test_data): Likewise.
26754         (clog_test_data): Likewise.
26755         (clog10_test_data): Likewise.
26756         (cos_test_data): Update call to AUTO_TESTS_f_f.
26757         (cos_test): Use ALL_RM_TEST.
26758         (cos_tonearest_test_data): Remove.
26759         (cos_test_tonearest): Likewise.
26760         (cos_towardzero_test_data): Likewise.
26761         (cos_test_towardzero): Likewise.
26762         (cos_downward_test_data): Likewise.
26763         (cos_test_downward): Likewise.
26764         (cos_upward_test_data): Likewise.
26765         (cos_test_upward): Likewise.
26766         (cosh_test_data): Update call to AUTO_TESTS_f_f.
26767         (cosh_test): Use ALL_RM_TEST.
26768         (cosh_tonearest_test_data): Remove.
26769         (cosh_test_tonearest): Likewise.
26770         (cosh_towardzero_test_data): Likewise.
26771         (cosh_test_towardzero): Likewise.
26772         (cosh_downward_test_data): Likewise.
26773         (cosh_test_downward): Likewise.
26774         (cosh_upward_test_data): Likewise.
26775         (cosh_test_upward): Likewise.
26776         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
26777         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
26778         (ctan_test_data): Likewise.
26779         (ctan_test): Use ALL_RM_TEST.
26780         (ctan_tonearest_test_data): Remove.
26781         (ctan_test_tonearest): Likewise.
26782         (ctan_towardzero_test_data): Likewise.
26783         (ctan_test_towardzero): Likewise.
26784         (ctan_downward_test_data): Likewise.
26785         (ctan_test_downward): Likewise.
26786         (ctan_upward_test_data): Likewise.
26787         (ctan_test_upward): Likewise.
26788         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
26789         (ctanh_test): Use ALL_RM_TEST.
26790         (ctanh_tonearest_test_data): Remove.
26791         (ctanh_test_tonearest): Likewise.
26792         (ctanh_towardzero_test_data): Likewise.
26793         (ctanh_test_towardzero): Likewise.
26794         (ctanh_downward_test_data): Likewise.
26795         (ctanh_test_downward): Likewise.
26796         (ctanh_upward_test_data): Likewise.
26797         (ctanh_test_upward): Likewise.
26798         (erf_test_data): Update call to AUTO_TESTS_f_f.
26799         (erfc_test_data): Likewise.
26800         (exp_test_data): Likewise.
26801         (exp_test): Use ALL_RM_TEST.
26802         (exp_tonearest_test_data): Remove.
26803         (exp_test_tonearest): Likewise.
26804         (exp_towardzero_test_data): Likewise.
26805         (exp_test_towardzero): Likewise.
26806         (exp_downward_test_data): Likewise.
26807         (exp_test_downward): Likewise.
26808         (exp_upward_test_data): Likewise.
26809         (exp_test_upward): Likewise.
26810         (exp10_test_data): Update call to AUTO_TESTS_f_f.
26811         (exp10_test): Use ALL_RM_TEST.
26812         (exp10_tonearest_test_data): Remove.
26813         (exp10_test_tonearest): Likewise.
26814         (exp10_towardzero_test_data): Likewise.
26815         (exp10_test_towardzero): Likewise.
26816         (exp10_downward_test_data): Likewise.
26817         (exp10_test_downward): Likewise.
26818         (exp10_upward_test_data): Likewise.
26819         (exp10_test_upward): Likewise.
26820         (exp2_test_data): Update call to AUTO_TESTS_f_f.
26821         (expm1_test_data): Likewise.
26822         (expm1_test): Use ALL_RM_TEST.
26823         (expm1_tonearest_test_data): Remove.
26824         (expm1_test_tonearest): Likewise.
26825         (expm1_towardzero_test_data): Likewise.
26826         (expm1_test_towardzero): Likewise.
26827         (expm1_downward_test_data): Likewise.
26828         (expm1_test_downward): Likewise.
26829         (expm1_upward_test_data): Likewise.
26830         (expm1_test_upward): Likewise.
26831         (fma_test_data): Update call to AUTO_TESTS_fff_f.
26832         (fma_test): Use ALL_RM_TEST.
26833         (fma_towardzero_test_data): Remove.
26834         (fma_test_towardzero): Likewise.
26835         (fma_downward_test_data): Likewise.
26836         (fma_test_downward): Likewise.
26837         (fma_upward_test_data): Likewise.
26838         (fma_test_upward): Likewise.
26839         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
26840         (j0_test_data): Update call to AUTO_TESTS_f_f.
26841         (j1_test_data): Likewise.
26842         (jn_test_data): Update call to AUTO_TESTS_if_f.
26843         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
26844         (log_test_data): Update call to AUTO_TESTS_f_f.
26845         (log10_test_data): Likewise.
26846         (log1p_test_data): Likewise.
26847         (log2_test_data): Likewise.
26848         (pow_test_data): Update call to AUTO_TESTS_ff_f.
26849         (pow_tonearest_test_data): Likewise.
26850         (sin_test_data): Update call to AUTO_TESTS_f_f.
26851         (sin_test): Use ALL_RM_TEST.
26852         (sin_tonearest_test_data): Remove.
26853         (sin_test_tonearest): Likewise.
26854         (sin_towardzero_test_data): Likewise.
26855         (sin_test_towardzero): Likewise.
26856         (sin_downward_test_data): Likewise.
26857         (sin_test_downward): Likewise.
26858         (sin_upward_test_data): Likewise.
26859         (sin_test_upward): Likewise.
26860         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
26861         (sinh_test_data): Update call to AUTO_TESTS_f_f.
26862         (sinh_test): Use ALL_RM_TEST.
26863         (sinh_tonearest_test_data): Remove.
26864         (sinh_test_tonearest): Likewise.
26865         (sinh_towardzero_test_data): Likewise.
26866         (sinh_test_towardzero): Likewise.
26867         (sinh_downward_test_data): Likewise.
26868         (sinh_test_downward): Likewise.
26869         (sinh_upward_test_data): Likewise.
26870         (sinh_test_upward): Likewise.
26871         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
26872         (sqrt_test): Use ALL_RM_TEST.
26873         (sqrt_tonearest_test_data): Remove.
26874         (sqrt_test_tonearest): Likewise.
26875         (sqrt_towardzero_test_data): Likewise.
26876         (sqrt_test_towardzero): Likewise.
26877         (sqrt_downward_test_data): Likewise.
26878         (sqrt_test_downward): Likewise.
26879         (sqrt_upward_test_data): Likewise.
26880         (sqrt_test_upward): Likewise.
26881         (tan_test_data): Update call to AUTO_TESTS_f_f.
26882         (tan_test): Use ALL_RM_TEST.
26883         (tan_tonearest_test_data): Remove.
26884         (tan_test_tonearest): Likewise.
26885         (tan_towardzero_test_data): Likewise.
26886         (tan_test_towardzero): Likewise.
26887         (tan_downward_test_data): Likewise.
26888         (tan_test_downward): Likewise.
26889         (tan_upward_test_data): Likewise.
26890         (tan_test_upward): Likewise.
26891         (tanh_test_data): Update call to AUTO_TESTS_f_f.
26892         (tgamma_test_data): Likewise.
26893         (y0_test_data): Likewise.
26894         (y1_test_data): Likewise.
26895         (yn_test_data): Update call to AUTO_TESTS_if_f.
26896         (main): Do not call removed functions.
26898 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
26900         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
26901         (ldexp_test_data): Remove.
26902         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
26903         scalbn_test_data.
26904         (scalb_test): Use ALL_RM_TEST.
26906 2014-03-19  Andreas Schwab  <schwab@suse.de>
26908         * nscd/nscd.service: Also invalidate netgroup cache on reload.
26910 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
26912         [BZ #16649]
26913         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26914         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
26915         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
26916         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26917         (__ASSUME_PREADV): Undefine.
26918         (__ASSUME_PWRITEV): Likewise.
26920 2014-03-18  Roland McGrath  <roland@hack.frob.com>
26922         * bits/mman-linux.h: Add comment about non-Linux use.
26923         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
26924         bits/mman-linux.h resting place.
26926         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
26927         * bits/mman-linux.h: ... here.
26929 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26931         * conform/conformtest.pl: Add standard definition when calling C
26932         preprocessor on data files.
26933         (checknamespace): Remove unused variable.
26935 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
26937         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
26938         minus_oflow, plus_uflow and minus_uflow in expected results.
26939         * math/libm-test.inc (scalbn_test_data): Add more tests of
26940         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
26941         minus_uflow.
26942         (scalbn_test): Use ALL_RM_TEST.
26943         (scalbln_test_data): Add more tests of negative arguments.  Use
26944         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
26945         (scalbln_test): Use ALL_RM_TEST.
26947 2014-03-18  Roland McGrath  <roland@hack.frob.com>
26949         * scripts/abilist.awk: Ignore symbols marked with .hidden.
26951 2014-03-18  Will Newton  <will.newton@linaro.org>
26953         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
26954         inaccurate comment.
26956 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
26958         * Makerules [!subdir] (check-abi): Exit with error status if a
26959         test failed.
26961 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
26963         * math/libm-test.inc (nearbyint_test_data): Include all tests used
26964         for rint.  Include results for all rounding modes.
26965         (nearbyint_test): Use ALL_RM_TEST.
26966         (rint_test_data): Include all tests used for nearbyint.
26968 2014-03-17  Will Newton  <will.newton@linaro.org>
26970         * nptl/sysdeps/pthread/pthread.h: Revert previous
26971         change.
26973         * sysdeps/generic/ldsodefs.h: Revert previous
26974         change.
26976         * libio/genops.c: Revert previous change.
26977         * libio/libioP.h: Likewise.
26978         * stdio-common/vfprintf.c: Likewise.
26980         * sysdeps/generic/math_private.h: Revert previous
26981         change.
26983         * sysdeps/generic/math_private.h: Check whether
26984         HAVE_RM_CTX is defined with #ifdef rather
26985         than #if.
26987         * argp/argp-fmtstream.h: Check whether
26988         __STRICT_ANSI__ is defined with #ifdef rather
26989         than #if.
26990         * argp/argp.h: Likewise.
26992         * libio/genops.c: Check whether
26993         _IO_JUMPS_OFFSET is defined with #ifdef rather
26994         than #if.
26995         * libio/libioP.h: Likewise.
26996         * stdio-common/vfprintf.c: Likewise.
26998         * sysdeps/generic/ldsodefs.h: Check whether
26999         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
27000         than #if.
27002         * nptl/sysdeps/pthread/pthread.h: Check
27003         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
27004         its value.
27006 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
27008         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
27009         setting O_APPEND.
27010         * libio/tst-ftell-active-handler.c (do_append_test): Add a
27011         test case.
27013         [BZ #16680]
27014         * libio/fileops.c (_IO_file_open): Seek to end of file but
27015         don't cache the offset.
27016         (get_file_offset): Remove function.
27017         (do_ftell): Use cached offset when available.
27018         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
27019         don't cache the offset.
27020         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
27021         case.
27022         (do_one_test): Call it.
27023         (do_ftell_test): Fix up expected old offset for a+ mode.
27024         * libio/wfileops.c (do_ftell_wide): Used cached offset when
27025         available.
27027         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
27028         up test status with function return status.
27029         (do_write_test): Likewise.
27030         (do_append_test): Likewise.
27032         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
27033         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
27034         Remove.
27036 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
27038         * math/gen-libm-test.pl (parse_args): Handle results specified for
27039         each rounding mode separately.
27040         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
27041         tests and results from lrint_tonearest_test_data,
27042         lrint_towardzero_test_data, lrint_downward_test_data and
27043         lrint_upward_test_data.
27044         (lrint_test): Use ALL_RM_TEST.
27045         (lrint_tonearest_test_data): Remove.
27046         (lrint_test_tonearest): Likewise.
27047         (lrint_towardzero_test_data): Likewise.
27048         (lrint_test_towardzero): Likewise.
27049         (lrint_downward_test_data): Likewise.
27050         (lrint_test_downward): Likewise.
27051         (lrint_upward_test_data): Likewise.
27052         (lrint_test_upward): Likewise.
27053         (llrint_test_data): Merge in per-rounding-mode tests and results
27054         from llrint_tonearest_test_data, llrint_towardzero_test_data,
27055         llrint_downward_test_data and llrint_upward_test_data.
27056         (llrint_test): Use ALL_RM_TEST.
27057         (llrint_tonearest_test_data): Remove.
27058         (llrint_test_tonearest): Likewise.
27059         (llrint_towardzero_test_data): Likewise.
27060         (llrint_test_towardzero): Likewise.
27061         (llrint_downward_test_data): Likewise.
27062         (llrint_test_downward): Likewise.
27063         (llrint_upward_test_data): Likewise.
27064         (llrint_test_upward): Likewise.
27065         (rint_test_data): Merge in per-rounding-mode tests and results
27066         from rint_tonearest_test_data, rint_towardzero_test_data,
27067         rint_downward_test_data and rint_upward_test_data.  Add
27068         per-rounding-mode results for tests not in those arrays.
27069         (rint_test): Use ALL_RM_TEST.
27070         (rint_tonearest_test_data): Remove.
27071         (rint_test_tonearest): Likewise.
27072         (rint_towardzero_test_data): Likewise.
27073         (rint_test_towardzero): Likewise.
27074         (rint_downward_test_data): Likewise.
27075         (rint_test_downward): Likewise.
27076         (rint_upward_test_data): Likewise.
27077         (rint_test_upward): Likewise.
27078         (main): Don't call removed functions.
27080 2014-03-14  Roland McGrath  <roland@hack.frob.com>
27082         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
27083         "Compiled on ..." crapola.  It is anti-useful.
27085 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
27087         * scripts/evaluate-test.sh: Handle fourth argument to determine
27088         whether test run should stop on failure.
27089         * Makeconfig (stop-on-test-failure): New variable.
27090         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
27091         $(stop-on-test-failure).
27092         * Makefile (tests): Give a summary of results from testing and
27093         exit with failure status if they include an ERROR or FAIL.
27094         (xtests): Likewise.
27095         * manual/install.texi (Configuring and compiling): Mention
27096         stop-on-test-failure=y.
27097         * INSTALL: Regenerated.
27099 2014-03-14  Roland McGrath  <roland@hack.frob.com>
27101         * scripts/versionlist.awk: New file.
27102         * Makerules [$(build-shared) = yes]
27103         (postclean-generated): Add Versions.def, not Versions.def.v and
27104         Versions.def.v.i.
27105         ($(common-objpfx)Versions.def.v.i): Target removed.
27106         ($(common-objpfx)Versions.def): New target.
27107         ($(common-objpfx)Versions.all): Depend on that rather that
27108         $(common-objpfx)Versions.def.v.
27109         * Versions.def: File removed.
27111         * Makeconfig (+gccwarn): Add -Wundef.
27112         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
27113         a dl-sysdep.h breaking its contract.
27114         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
27115         * include/stackinfo.h: New file.
27116         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
27117         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
27118         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
27119         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
27120         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
27121         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
27122         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
27123         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
27124         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
27125         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
27126         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
27127         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
27128         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
27129         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
27130         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
27132 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27134         [BZ #16707]
27135         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
27136         implementation.
27137         * math/libm-test.inc (round_test_data): Add more tests.
27139         [BZ #16706]
27140         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
27141         implementation.
27142         * math/libm-test.inc (nearbyint_test_data): Add more tests.
27144         [BZ #16701]
27145         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
27146         implementation.
27147         * math/libm-test.inc (ceil_test_data): Add more tests.
27149         * math/libm-test.inc (trunc_test_data): Add more tests related to
27150         BZ#16414.
27152 2014-03-14  Roland McGrath  <roland@hack.frob.com>
27154         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
27155         with #if rather than #ifdef.
27156         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
27158 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
27160         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
27161         first.  Disable AVX-512 GCC support if assembler doesn't support
27162         it.
27163         * sysdeps/x86_64/configure: Regenerated.
27165 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
27167         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
27168         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
27169         (__old_pthread_attr_setstack): Likewise.
27170         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
27171         [!_STACK_GROWS_DOWN]: Likewise.
27173 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
27175         * config.make.in (have-bash2): Delete.
27176         * configure.ac (libc_cv_have_bash2): Delete.
27177         * configure: Regenerate.
27178         * elf/Makefile (common-ldd-rewrite): Rename to ...
27179         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
27180         (sh-ldd-rewrite): Delete.
27181         (bash-ldd-rewrite): Delete.
27182         (have-bash2): Delete checks.
27183         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
27184         ldd-rewrite.
27186         * config.make.in (have-ksh): Delete.
27187         (KSH): Delete.
27188         * configure.ac (libc_cv_have_ksh): Delete.
27189         * configure: Regenerate.
27191         * elf/Makefile: Delete $(have-ksh) check.
27192         ($(objpfx)sotruss): Change KSH to BASH.
27193         * elf/sotruss.ksh: Rename to ...
27194         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
27195         function style to match POSIX.  Drop ksh vim mode setting.
27197         * manual/time.texi (Specifying the Time Zone with TZ): Change
27198         Tuesday to Thursday.
27200         * debug/tst-longjmp_chk2.c: Update header comment.
27201         (stackoverflow_handler): Add comment.  Call assert on pass value.
27203 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
27205         [BZ #16194]
27206         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
27207         (HAVE_AVX512_ASM_SUPPORT): Likewise.
27208         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
27209         (La_x86_64_vector): Add zmm.
27210         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
27211         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
27212         ($(objpfx)tst-audit10): New target.
27213         ($(objpfx)tst-audit10.out): Likewise.
27214         (tst-audit10-ENV): New.
27215         (AVX512-CFLAGS): Likewise.
27216         (CFLAGS-tst-audit10.c): Likewise.
27217         (CFLAGS-tst-auditmod10a.c): Likewise.
27218         (CFLAGS-tst-auditmod10b.c): Likewise.
27219         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
27220         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
27221         * sysdeps/x86_64/configure: Regenerated.
27222         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
27223         AVX-512 zmm register support.
27224         (_dl_x86_64_save_sse): Likewise.
27225         (_dl_x86_64_restore_sse): Likewise.
27226         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
27227         size vector registers.
27228         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
27229         (ZMM_SIZE): Likewise.
27230         * sysdeps/x86_64/tst-audit10.c: New file.
27231         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
27232         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
27234 2014-03-13  Roland McGrath  <roland@hack.frob.com>
27236         * configure.ac (HAVE_EHDR_START): New check.
27237         * configure: Regenerated.
27238         * config.h.in (HAVE_EHDR_START): New #undef.
27239         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
27240         assuming the lowest-addressed segment maps the start of the file.
27242 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
27244         * INSTALL: Regenerated.
27246 2014-03-13  Will Newton  <will.newton@linaro.org>
27248         * manual/setjmp.texi (System V contexts): Improve
27249         clarity and grammar of documentation.
27251 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
27253         [BZ #16381]
27254         * elf/Makefile (tests): Add tst-pie2.
27255         (tests-pie): Add tst-pie2.
27256         * elf/tst-pie2.c: New file.
27257         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
27258         for ET_EXEC.
27259         * elf/rtld.c (map_doit): Load executable as lt_executable.
27260         (dl_main): Likewise.
27262 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
27264         [BZ #16642]
27265         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27266         (__ASSUME_PSELECT): Undefine.
27268 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27270         [BZ #16689]
27271         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
27272         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
27273         static build.
27274         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
27275         selector for static builds.
27277 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27279         [BZ #16695]
27280         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
27281         key in the buffer.
27283 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27285         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
27286         IFUNC selector for static builds.
27288 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
27290         * sysdeps/mips/math_private.h [__mips_hard_float]
27291         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
27292         libc_feresetround_mips_ctx.
27293         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
27294         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
27295         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
27297         [BZ #16677]
27298         * math/s_nextafter.c (__nextafter): Do not return value from
27299         overflowing computation.
27300         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
27301         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
27302         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
27303         Likewise.
27304         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
27305         Likewise.
27306         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
27307         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
27309 2014-03-11  Roland McGrath  <roland@hack.frob.com>
27311         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
27312         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
27313         Move sfi_sp use from the load-multiple (that no longer sets sp) to
27314         the new mov targetting sp.
27316 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27318         [BZ #16683]
27319         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
27320         Define it for static builds as well.
27321         (NO_BZERO_IMPL): Likewise.
27323 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
27325         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
27326         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
27327         multiarch strspn for PPC64.
27328         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
27329         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
27330         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27331         (__libc_ifunc_impl_list): Likewise.
27332         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
27333         multiarch optimizations
27334         * string/strspn.c (strspn): Using macro to redefine symbol name.
27336 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
27337             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27339         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
27340         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
27341         multiarch strncat for PPC64.
27342         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
27343         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
27344         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27345         (__libc_ifunc_impl_list): Likewise.
27346         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
27347         multiarch optimizations
27349 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27351         [BZ #16639]
27352         * nscd/nscd.service: Make service type forking.
27354 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27356         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
27357         sign in non default rounding modes.
27358         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
27360 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
27362         * math/libm-test.inc (ALL_RM_TEST): New macro.
27363         (ceil_test): Use ALL_RM_TEST.
27364         (cimag_test): Likewise.
27365         (conj_test): Likewise.
27366         (copysign_test): Likewise.
27367         (cproj_test): Likewise.
27368         (creal_test): Likewise.
27369         (fabs_test): Likewise.
27370         (floor_test): Likewise.
27371         (fmax_test): Likewise.
27372         (fmin_test): Likewise.
27373         (fmod_test): Likewise.
27374         (fpclassify_test): Likewise.
27375         (frexp_test): Likewise.
27376         (ilogb_test): Likewise.
27377         (isfinite_test): Likewise.
27378         (finite_test): Likewise.
27379         (isgreater_test): Likewise.
27380         (isgreaterequal_test): Likewise.
27381         (isinf_test): Likewise.
27382         (isless_test): Likewise.
27383         (islessequal_test): Likewise.
27384         (islessgreater_test): Likewise.
27385         (isnan_test): Likewise.
27386         (isnormal_test): Likewise.
27387         (issignaling_test): Likewise.
27388         (isunordered_test): Likewise.
27389         (logb_test): Likewise.
27390         (logb_downward_test_data): Remove.
27391         (logb_test_downward): Likewise.
27392         (lround_test): Use ALL_RM_TEST.
27393         (llround_test): Likewise.
27394         (modf_test): Likewise.
27395         (nexttoward_test): Likewise.
27396         (remainder_test): Likewise.
27397         (drem_test): Likewise.
27398         (remainder_tonearest_test_data): Likewise.
27399         (remainder_test_tonearest): Likewise.
27400         (drem_test_tonearest): Likewise.
27401         (remainder_towardzero_test_data): Likewise.
27402         (remainder_test_towardzero): Likewise.
27403         (drem_test_towardzero): Likewise.
27404         (remainder_downward_test_data): Likewise.
27405         (remainder_test_downward): Likewise.
27406         (drem_test_downward): Likewise.
27407         (remainder_upward_test_data): Likewise.
27408         (remainder_test_upward): Likewise.
27409         (drem_test_upward): Likewise.
27410         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
27411         (round_test): Use ALL_RM_TEST.
27412         (signbit_test): Likewise.
27413         (trunc_test): Likewise.
27414         (significand_test): Likewise.
27415         (main): Don't call removed functions.
27417 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
27419         [BZ #16674]
27420         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
27421         || __USE_XOPEN2K8].
27422         (ILL_ILLOPN): Likewise.
27423         (ILL_ILLADR): Likewise.
27424         (ILL_ILLTRP): Likewise.
27425         (ILL_PRVOPC): Likewise.
27426         (ILL_PRVREG): Likewise.
27427         (ILL_COPROC): Likewise.
27428         (ILL_BADSTK): Likewise.
27429         (FPE_INTDIV): Likewise.
27430         (FPE_INTOVF): Likewise.
27431         (FPE_FLTDIV): Likewise.
27432         (FPE_FLTOVF): Likewise.
27433         (FPE_FLTUND): Likewise.
27434         (FPE_FLTRES): Likewise.
27435         (FPE_FLTINV): Likewise.
27436         (FPE_FLTSUB): Likewise.
27437         (SEGV_MAPERR): Likewise.
27438         (SEGV_ACCERR): Likewise.
27439         (BUS_ADRALN): Likewise.
27440         (BUS_ADRERR): Likewise.
27441         (BUS_OBJERR): Likewise.
27442         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27443         (TRAP_TRACE): Likewise.
27444         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27445         __USE_XOPEN2K8].
27446         (CLD_KILLED): Likewise.
27447         (CLD_DUMPED): Likewise.
27448         (CLD_TRAPPED): Likewise.
27449         (CLD_STOPPED): Likewise.
27450         (CLD_CONTINUED): Likewise.
27451         (POLL_IN): Likewise.
27452         (POLL_OUT): Likewise.
27453         (POLL_MSG): Likewise.
27454         (POLL_ERR): Likewise.
27455         (POLL_PRI): Likewise.
27456         (POLL_HUP): Likewise.
27457         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
27458         Likewise.
27459         (ILL_ILLOPN): Likewise.
27460         (ILL_ILLADR): Likewise.
27461         (ILL_ILLTRP): Likewise.
27462         (ILL_PRVOPC): Likewise.
27463         (ILL_PRVREG): Likewise.
27464         (ILL_COPROC): Likewise.
27465         (ILL_BADSTK): Likewise.
27466         (FPE_INTDIV): Likewise.
27467         (FPE_INTOVF): Likewise.
27468         (FPE_FLTDIV): Likewise.
27469         (FPE_FLTOVF): Likewise.
27470         (FPE_FLTUND): Likewise.
27471         (FPE_FLTRES): Likewise.
27472         (FPE_FLTINV): Likewise.
27473         (FPE_FLTSUB): Likewise.
27474         (SEGV_MAPERR): Likewise.
27475         (SEGV_ACCERR): Likewise.
27476         (BUS_ADRALN): Likewise.
27477         (BUS_ADRERR): Likewise.
27478         (BUS_OBJERR): Likewise.
27479         (BUS_MCEERR_AR): Likewise.
27480         (BUS_MCEERR_AO): Likewise.
27481         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27482         (TRAP_TRACE): Likewise.
27483         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27484         __USE_XOPEN2K8].
27485         (CLD_KILLED): Likewise.
27486         (CLD_DUMPED): Likewise.
27487         (CLD_TRAPPED): Likewise.
27488         (CLD_STOPPED): Likewise.
27489         (CLD_CONTINUED): Likewise.
27490         (POLL_IN): Likewise.
27491         (POLL_OUT): Likewise.
27492         (POLL_MSG): Likewise.
27493         (POLL_ERR): Likewise.
27494         (POLL_PRI): Likewise.
27495         (POLL_HUP): Likewise.
27496         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
27497         (ILL_ILLOPN): Likewise.
27498         (ILL_ILLADR): Likewise.
27499         (ILL_ILLTRP): Likewise.
27500         (ILL_PRVOPC): Likewise.
27501         (ILL_PRVREG): Likewise.
27502         (ILL_COPROC): Likewise.
27503         (ILL_BADSTK): Likewise.
27504         (FPE_INTDIV): Likewise.
27505         (FPE_INTOVF): Likewise.
27506         (FPE_FLTDIV): Likewise.
27507         (FPE_FLTOVF): Likewise.
27508         (FPE_FLTUND): Likewise.
27509         (FPE_FLTRES): Likewise.
27510         (FPE_FLTINV): Likewise.
27511         (FPE_FLTSUB): Likewise.
27512         (SEGV_MAPERR): Likewise.
27513         (SEGV_ACCERR): Likewise.
27514         (BUS_ADRALN): Likewise.
27515         (BUS_ADRERR): Likewise.
27516         (BUS_OBJERR): Likewise.
27517         (BUS_MCEERR_AR): Likewise.
27518         (BUS_MCEERR_AO): Likewise.
27519         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27520         (TRAP_TRACE): Likewise.
27521         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27522         __USE_XOPEN2K8].
27523         (CLD_KILLED): Likewise.
27524         (CLD_DUMPED): Likewise.
27525         (CLD_TRAPPED): Likewise.
27526         (CLD_STOPPED): Likewise.
27527         (CLD_CONTINUED): Likewise.
27528         (POLL_IN): Likewise.
27529         (POLL_OUT): Likewise.
27530         (POLL_MSG): Likewise.
27531         (POLL_ERR): Likewise.
27532         (POLL_PRI): Likewise.
27533         (POLL_HUP): Likewise.
27534         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
27535         Likewise.
27536         (ILL_ILLOPN): Likewise.
27537         (ILL_ILLADR): Likewise.
27538         (ILL_ILLTRP): Likewise.
27539         (ILL_PRVOPC): Likewise.
27540         (ILL_PRVREG): Likewise.
27541         (ILL_COPROC): Likewise.
27542         (ILL_BADSTK): Likewise.
27543         (ILL_BADIADDR): Likewise.
27544         (ILL_BREAK): Likewise.
27545         (FPE_INTDIV): Likewise.
27546         (FPE_INTOVF): Likewise.
27547         (FPE_FLTDIV): Likewise.
27548         (FPE_FLTOVF): Likewise.
27549         (FPE_FLTUND): Likewise.
27550         (FPE_FLTRES): Likewise.
27551         (FPE_FLTINV): Likewise.
27552         (FPE_FLTSUB): Likewise.
27553         (FPE_DECOVF): Likewise.
27554         (FPE_DECDIV): Likewise.
27555         (FPE_DECERR): Likewise.
27556         (FPE_INVASC): Likewise.
27557         (FPE_INVDEC): Likewise.
27558         (SEGV_MAPERR): Likewise.
27559         (SEGV_ACCERR): Likewise.
27560         (SEGV_PSTKOVF): Likewise.
27561         (BUS_ADRALN): Likewise.
27562         (BUS_ADRERR): Likewise.
27563         (BUS_OBJERR): Likewise.
27564         (BUS_MCEERR_AR): Likewise.
27565         (BUS_MCEERR_AO): Likewise.
27566         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27567         (TRAP_TRACE): Likewise.
27568         (TRAP_BRANCH): Likewise.
27569         (TRAP_HWBKPT): Likewise.
27570         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27571         __USE_XOPEN2K8].
27572         (CLD_KILLED): Likewise.
27573         (CLD_DUMPED): Likewise.
27574         (CLD_TRAPPED): Likewise.
27575         (CLD_STOPPED): Likewise.
27576         (CLD_CONTINUED): Likewise.
27577         (POLL_IN): Likewise.
27578         (POLL_OUT): Likewise.
27579         (POLL_MSG): Likewise.
27580         (POLL_ERR): Likewise.
27581         (POLL_PRI): Likewise.
27582         (POLL_HUP): Likewise.
27583         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
27584         (ILL_ILLOPN): Likewise.
27585         (ILL_ILLADR): Likewise.
27586         (ILL_ILLTRP): Likewise.
27587         (ILL_PRVOPC): Likewise.
27588         (ILL_PRVREG): Likewise.
27589         (ILL_COPROC): Likewise.
27590         (ILL_BADSTK): Likewise.
27591         (FPE_INTDIV): Likewise.
27592         (FPE_INTOVF): Likewise.
27593         (FPE_FLTDIV): Likewise.
27594         (FPE_FLTOVF): Likewise.
27595         (FPE_FLTUND): Likewise.
27596         (FPE_FLTRES): Likewise.
27597         (FPE_FLTINV): Likewise.
27598         (FPE_FLTSUB): Likewise.
27599         (SEGV_MAPERR): Likewise.
27600         (SEGV_ACCERR): Likewise.
27601         (BUS_ADRALN): Likewise.
27602         (BUS_ADRERR): Likewise.
27603         (BUS_OBJERR): Likewise.
27604         (BUS_MCEERR_AR): Likewise.
27605         (BUS_MCEERR_AO): Likewise.
27606         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27607         (TRAP_TRACE): Likewise.
27608         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27609         __USE_XOPEN2K8].
27610         (CLD_KILLED): Likewise.
27611         (CLD_DUMPED): Likewise.
27612         (CLD_TRAPPED): Likewise.
27613         (CLD_STOPPED): Likewise.
27614         (CLD_CONTINUED): Likewise.
27615         (POLL_IN): Likewise.
27616         (POLL_OUT): Likewise.
27617         (POLL_MSG): Likewise.
27618         (POLL_ERR): Likewise.
27619         (POLL_PRI): Likewise.
27620         (POLL_HUP): Likewise.
27621         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
27622         (ILL_ILLOPN): Likewise.
27623         (ILL_ILLADR): Likewise.
27624         (ILL_ILLTRP): Likewise.
27625         (ILL_PRVOPC): Likewise.
27626         (ILL_PRVREG): Likewise.
27627         (ILL_COPROC): Likewise.
27628         (ILL_BADSTK): Likewise.
27629         (FPE_INTDIV): Likewise.
27630         (FPE_INTOVF): Likewise.
27631         (FPE_FLTDIV): Likewise.
27632         (FPE_FLTOVF): Likewise.
27633         (FPE_FLTUND): Likewise.
27634         (FPE_FLTRES): Likewise.
27635         (FPE_FLTINV): Likewise.
27636         (FPE_FLTSUB): Likewise.
27637         (SEGV_MAPERR): Likewise.
27638         (SEGV_ACCERR): Likewise.
27639         (BUS_ADRALN): Likewise.
27640         (BUS_ADRERR): Likewise.
27641         (BUS_OBJERR): Likewise.
27642         (BUS_MCEERR_AR): Likewise.
27643         (BUS_MCEERR_AO): Likewise.
27644         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27645         (TRAP_TRACE): Likewise.
27646         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27647         __USE_XOPEN2K8].
27648         (CLD_KILLED): Likewise.
27649         (CLD_DUMPED): Likewise.
27650         (CLD_TRAPPED): Likewise.
27651         (CLD_STOPPED): Likewise.
27652         (CLD_CONTINUED): Likewise.
27653         (POLL_IN): Likewise.
27654         (POLL_OUT): Likewise.
27655         (POLL_MSG): Likewise.
27656         (POLL_ERR): Likewise.
27657         (POLL_PRI): Likewise.
27658         (POLL_HUP): Likewise.
27659         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
27660         (ILL_ILLOPN): Likewise.
27661         (ILL_ILLADR): Likewise.
27662         (ILL_ILLTRP): Likewise.
27663         (ILL_PRVOPC): Likewise.
27664         (ILL_PRVREG): Likewise.
27665         (ILL_COPROC): Likewise.
27666         (ILL_BADSTK): Likewise.
27667         (FPE_INTDIV): Likewise.
27668         (FPE_INTOVF): Likewise.
27669         (FPE_FLTDIV): Likewise.
27670         (FPE_FLTOVF): Likewise.
27671         (FPE_FLTUND): Likewise.
27672         (FPE_FLTRES): Likewise.
27673         (FPE_FLTINV): Likewise.
27674         (FPE_FLTSUB): Likewise.
27675         (SEGV_MAPERR): Likewise.
27676         (SEGV_ACCERR): Likewise.
27677         (BUS_ADRALN): Likewise.
27678         (BUS_ADRERR): Likewise.
27679         (BUS_OBJERR): Likewise.
27680         (BUS_MCEERR_AR): Likewise.
27681         (BUS_MCEERR_AO): Likewise.
27682         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27683         (TRAP_TRACE): Likewise.
27684         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27685         __USE_XOPEN2K8].
27686         (CLD_KILLED): Likewise.
27687         (CLD_DUMPED): Likewise.
27688         (CLD_TRAPPED): Likewise.
27689         (CLD_STOPPED): Likewise.
27690         (CLD_CONTINUED): Likewise.
27691         (POLL_IN): Likewise.
27692         (POLL_OUT): Likewise.
27693         (POLL_MSG): Likewise.
27694         (POLL_ERR): Likewise.
27695         (POLL_PRI): Likewise.
27696         (POLL_HUP): Likewise.
27697         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
27698         (ILL_ILLOPN): Likewise.
27699         (ILL_ILLADR): Likewise.
27700         (ILL_ILLTRP): Likewise.
27701         (ILL_PRVOPC): Likewise.
27702         (ILL_PRVREG): Likewise.
27703         (ILL_COPROC): Likewise.
27704         (ILL_BADSTK): Likewise.
27705         (ILL_DBLFLT): Likewise.
27706         (ILL_HARDWALL): Likewise.
27707         (FPE_INTDIV): Likewise.
27708         (FPE_INTOVF): Likewise.
27709         (FPE_FLTDIV): Likewise.
27710         (FPE_FLTOVF): Likewise.
27711         (FPE_FLTUND): Likewise.
27712         (FPE_FLTRES): Likewise.
27713         (FPE_FLTINV): Likewise.
27714         (FPE_FLTSUB): Likewise.
27715         (SEGV_MAPERR): Likewise.
27716         (SEGV_ACCERR): Likewise.
27717         (BUS_ADRALN): Likewise.
27718         (BUS_ADRERR): Likewise.
27719         (BUS_OBJERR): Likewise.
27720         (BUS_MCEERR_AR): Likewise.
27721         (BUS_MCEERR_AO): Likewise.
27722         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27723         (TRAP_TRACE): Likewise.
27724         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27725         __USE_XOPEN2K8].
27726         (CLD_KILLED): Likewise.
27727         (CLD_DUMPED): Likewise.
27728         (CLD_TRAPPED): Likewise.
27729         (CLD_STOPPED): Likewise.
27730         (CLD_CONTINUED): Likewise.
27731         (POLL_IN): Likewise.
27732         (POLL_OUT): Likewise.
27733         (POLL_MSG): Likewise.
27734         (POLL_ERR): Likewise.
27735         (POLL_PRI): Likewise.
27736         (POLL_HUP): Likewise.
27737         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
27738         (ILL_ILLOPN): Likewise.
27739         (ILL_ILLADR): Likewise.
27740         (ILL_ILLTRP): Likewise.
27741         (ILL_PRVOPC): Likewise.
27742         (ILL_PRVREG): Likewise.
27743         (ILL_COPROC): Likewise.
27744         (ILL_BADSTK): Likewise.
27745         (FPE_INTDIV): Likewise.
27746         (FPE_INTOVF): Likewise.
27747         (FPE_FLTDIV): Likewise.
27748         (FPE_FLTOVF): Likewise.
27749         (FPE_FLTUND): Likewise.
27750         (FPE_FLTRES): Likewise.
27751         (FPE_FLTINV): Likewise.
27752         (FPE_FLTSUB): Likewise.
27753         (SEGV_MAPERR): Likewise.
27754         (SEGV_ACCERR): Likewise.
27755         (BUS_ADRALN): Likewise.
27756         (BUS_ADRERR): Likewise.
27757         (BUS_OBJERR): Likewise.
27758         (BUS_MCEERR_AR): Likewise.
27759         (BUS_MCEERR_AO): Likewise.
27760         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27761         (TRAP_TRACE): Likewise.
27762         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27763         __USE_XOPEN2K8].
27764         (CLD_KILLED): Likewise.
27765         (CLD_DUMPED): Likewise.
27766         (CLD_TRAPPED): Likewise.
27767         (CLD_STOPPED): Likewise.
27768         (CLD_CONTINUED): Likewise.
27769         (POLL_IN): Likewise.
27770         (POLL_OUT): Likewise.
27771         (POLL_MSG): Likewise.
27772         (POLL_ERR): Likewise.
27773         (POLL_PRI): Likewise.
27774         (POLL_HUP): Likewise.
27775         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
27776         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
27778         [BZ #16670]
27779         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
27780         before #include of <time.h>.
27781         [!__USE_XOPEN2K] (__need_timespec): Likewise.
27782         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
27783         (test-xfail-UNIX98/sched.h/conform): Likewise.
27785 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
27787         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
27788         error absence of trapping exception support.
27789         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
27791 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
27793         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
27794         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
27795         * timezone/Makefile (testdata): Move definition above include of
27796         Rules.
27797         (test-zones): New variable.
27798         (tests-special): Add zone files.
27799         (build-testdata): Use $(evaluate-test).
27801         * elf/Makefile (tests-special): Rename tests to end with .out.
27802         ($(objpfx)noload-mem): Likewise.
27803         ($(objpfx)tst-leaks1-mem): Likewise.
27804         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
27805         * iconv/Makefile (xtests-special): Change test-iconvconfig to
27806         $(objpfx)test-iconvconfig.out.
27807         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
27808         set -e inside subshell and redirect output to file.
27809         * iconvdata/Makefile (generated): Rename tests to end with .out.
27810         Correct type.
27811         (tests-special): Rename tests to end with .out.
27812         ($(objpfx)mtrace-tst-loading): Likewise.
27813         * intl/Makefile (generated): Likewise.
27814         (tests-special): Likewise.
27815         ($(objpfx)mtrace-tst-gettext): Likewise.
27816         * misc/Makefile (generated): Likewise.
27817         (tests-special): Likewise.
27818         ($(objpfx)tst-error1-mem): Likewise.
27819         * nptl/Makefile (tests-special): Likewise.
27820         ($(objpfx)tst-stack3-mem): Likewise.
27821         (generated): Likewise.
27822         * posix/Makefile (generated): Likewise.
27823         (tests-special): Likewise.
27824         (xtests-special): Likewise.
27825         ($(objpfx)tst-fnmatch-mem): Likewise.
27826         ($(objpfx)bug-regex2-mem): Likewise.
27827         ($(objpfx)bug-regex14-mem): Likewise.
27828         ($(objpfx)bug-regex21-mem): Likewise.
27829         ($(objpfx)bug-regex31-mem): Likewise.
27830         ($(objpfx)tst-vfork3-mem): Likewise.
27831         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
27832         ($(objpfx)tst-pcre-mem): Likewise.
27833         ($(objpfx)tst-boost-mem): Likewise.
27834         ($(objpfx)bug-ga2-mem): Likewise.
27835         ($(objpfx)bug-glob2-mem): Likewise.
27836         * resolv/Makefile (generate): Likewise.
27837         (tests-special): Likewise.
27838         (xtests-special): Likewise.
27839         (generated): Likewise.
27840         ($(objpfx)mtrace-tst-leaks): Likewise.
27841         ($(objpfx)mtrace-tst-leaks2): Likewise.
27843         * scripts/merge-test-results.sh: New file.
27844         * Makefile (tests-special-notdir): New variable.
27845         (tests): Run merge-test-results.sh.
27846         (xtests): Likewise.
27847         * Rules (tests-special-notdir): New variable.
27848         (xtests-special-notdir): Likewise.
27849         (tests): Run merge-test-results.sh
27850         (xtests): Likewise.
27852         * Makeconfig (test-xfail-name): New variable.
27853         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
27854         compute variable name for expected failures.
27855         * conform/Makefile (conformtest-headers-data): New variable.
27856         (conformtest-standards): Likewise.
27857         (conformtest-headers-ISO): Likewise.
27858         (conformtest-headers-ISO99): Likewise.
27859         (conformtest-headers-ISO11): Likewise.
27860         (conformtest-headers-POSIX): Likewise.
27861         (conformtest-headers-XPG3): Likewise.
27862         (conformtest-headers-XPG4): Likewise.
27863         (conformtest-headers-UNIX98): Likewise.
27864         (conformtest-headers-XOPEN2K): Likewise.
27865         (conformtest-headers-POSIX2008): Likewise.
27866         (conformtest-headers-XOPEN2K8): Likewise.
27867         (conformtest-header-list-base): Likewise.
27868         (conformtest-header-list-tests): Likewise.
27869         (conformtest-header-base): Likewise.
27870         (conformtest-header-tests): Likewise.
27871         (tests-special): Add $(conformtest-header-list-tests).  If
27872         [$(fast-check) && !$(cross-compiling)], add
27873         $(conformtest-header-tests) instead of
27874         $(objpfx)run-conformtest.out.
27875         (generated): Add $(conformtest-header-list-base).  If
27876         [$(fast-check) && !$(cross-compiling)], add
27877         $(conformtest-header-base).  Remove previous setting.
27878         ($(conformtest-header-list-tests)): New target.
27879         (test-xfail-run-conformtest): Remove variable.
27880         ($(objpfx)run-conformtest.out): Remove target.
27881         (test-xfail-ISO11/complex.h/conform): New variable.
27882         (test-xfail-ISO11/stdalign.h/conform): Likewise.
27883         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
27884         (test-xfail-XPG3/varargs.h/conform): Likewise.
27885         (test-xfail-XPG4/varargs.h/conform): Likewise.
27886         (test-xfail-UNIX98/varargs.h/conform): Likewise.
27887         (test-xfail-XPG4/ndbm.h/conform): Likewise.
27888         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
27889         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
27890         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
27891         (test-xfail-XPG3/fcntl.h/conform): Likewise.
27892         (test-xfail-XPG3/ftw.h/conform): Likewise.
27893         (test-xfail-XPG3/grp.h/conform): Likewise.
27894         (test-xfail-XPG3/langinfo.h/conform): Likewise.
27895         (test-xfail-XPG3/limits.h/conform): Likewise.
27896         (test-xfail-XPG3/pwd.h/conform): Likewise.
27897         (test-xfail-XPG3/search.h/conform): Likewise.
27898         (test-xfail-XPG3/signal.h/conform): Likewise.
27899         (test-xfail-XPG3/stdio.h/conform): Likewise.
27900         (test-xfail-XPG3/stdlib.h/conform): Likewise.
27901         (test-xfail-XPG3/string.h/conform): Likewise.
27902         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
27903         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
27904         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
27905         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
27906         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
27907         (test-xfail-XPG3/sys/types.h/conform): Likewise.
27908         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
27909         (test-xfail-XPG3/termios.h/conform): Likewise.
27910         (test-xfail-XPG3/time.h/conform): Likewise.
27911         (test-xfail-XPG3/unistd.h/conform): Likewise.
27912         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
27913         (test-xfail-XPG4/fcntl.h/conform): Likewise.
27914         (test-xfail-XPG4/langinfo.h/conform): Likewise.
27915         (test-xfail-XPG4/netdb.h/conform): Likewise.
27916         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
27917         (test-xfail-XPG4/signal.h/conform): Likewise.
27918         (test-xfail-XPG4/stdio.h/conform): Likewise.
27919         (test-xfail-XPG4/stdlib.h/conform): Likewise.
27920         (test-xfail-XPG4/stropts.h/conform): Likewise.
27921         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
27922         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
27923         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
27924         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
27925         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
27926         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
27927         (test-xfail-XPG4/sys/time.h/conform): Likewise.
27928         (test-xfail-XPG4/sys/types.h/conform): Likewise.
27929         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
27930         (test-xfail-XPG4/termios.h/conform): Likewise.
27931         (test-xfail-XPG4/ucontext.h/conform): Likewise.
27932         (test-xfail-XPG4/unistd.h/conform): Likewise.
27933         (test-xfail-XPG4/utmpx.h/conform): Likewise.
27934         (test-xfail-POSIX/sched.h/conform): Likewise.
27935         (test-xfail-POSIX/signal.h/conform): Likewise.
27936         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
27937         (test-xfail-POSIX/tar.h/conform): Likewise.
27938         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
27939         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
27940         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
27941         (test-xfail-UNIX98/netdb.h/conform): Likewise.
27942         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
27943         (test-xfail-UNIX98/sched.h/conform): Likewise.
27944         (test-xfail-UNIX98/signal.h/conform): Likewise.
27945         (test-xfail-UNIX98/stdio.h/conform): Likewise.
27946         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
27947         (test-xfail-UNIX98/stropts.h/conform): Likewise.
27948         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
27949         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
27950         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
27951         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
27952         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
27953         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
27954         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
27955         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
27956         (test-xfail-UNIX98/unistd.h/conform): Likewise.
27957         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
27958         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
27959         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
27960         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
27961         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
27962         (test-xfail-XOPEN2K/math.h/conform): Likewise.
27963         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
27964         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
27965         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
27966         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
27967         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
27968         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
27969         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
27970         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
27971         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
27972         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
27973         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
27974         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
27975         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
27976         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
27977         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
27978         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
27979         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
27980         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
27981         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
27982         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
27983         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
27984         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
27985         (test-xfail-POSIX2008/signal.h/conform): Likewise.
27986         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
27987         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
27988         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
27989         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
27990         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
27991         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
27992         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
27993         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
27994         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
27995         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
27996         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
27997         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
27998         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
27999         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
28000         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
28001         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
28002         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
28003         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
28004         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
28005         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
28006         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
28007         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
28008         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
28009         (conformtest-cc-flags): Likewise.
28010         ($(conformtest-header-tests): New target.
28011         * conform/check-header-lists.sh: New file.
28012         * conform/run-conformtest.sh: Remove.
28014         * conform/conformtest.pl: Allow ' and \ in values given for
28015         constants.
28016         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
28017         inclusion.
28018         [POSIX] (sys/types.h): Likewise.
28019         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
28020         inclusion.
28021         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
28022         inclusion.
28023         * conform/data/signal.h-data (SIGIO): Remove expectation.
28024         [XPG3] (SIGBUS): Do not expect.
28025         [POSIX || XPG3] (SIGPOLL): Likewise.
28026         [POSIX || XPG3] (SIGPROF): Likewise.
28027         [POSIX || XPG3] (SIGSYS): Likewise.
28028         [XPG3] (SIGTRAP): Likewise.
28029         [POSIX || XPG3] (SIGURG): Likewise.
28030         [POSIX || XPG3] (SIGVTALRM): Likewise.
28031         [POSIX || XPG3] (SIGXCPU): Likewise.
28032         [POSIX || XPG3] (SIGXFSZ): Likewise.
28033         [POSIX] (SA_SIGINFO): Expect.
28034         [XPG3] (siginfo_t): Do not expect type or contents.
28035         [POSIX] (si_pid): Do not expect element.
28036         [POSIX] (si_uid): Likewise.
28037         [POSIX] (si_addr): Likewise.
28038         [POSIX] (si_status): Likewise.
28039         [POSIX] (si_band): Likewise.
28040         [XPG4] (si_value): Likewise.
28041         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
28042         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
28043         [POSIX || XPG3] (ILL_ILLADR): Likewise.
28044         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
28045         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
28046         [POSIX || XPG3] (ILL_PRVREG): Likewise.
28047         [POSIX || XPG3] (ILL_COPROC): Likewise.
28048         [POSIX || XPG3] (ILL_BADSTK): Likewise.
28049         [POSIX || XPG3] (FPE_INTDIV): Likewise.
28050         [POSIX || XPG3] (FPE_INTOVF): Likewise.
28051         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
28052         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
28053         [POSIX || XPG3] (FPE_FLTUND): Likewise.
28054         [POSIX || XPG3] (FPE_FLTRES): Likewise.
28055         [POSIX || XPG3] (FPE_FLTINV): Likewise.
28056         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
28057         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
28058         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
28059         [POSIX || XPG3] (BUS_ADRALN): Likewise.
28060         [POSIX || XPG3] (BUS_ADRERR): Likewise.
28061         [POSIX || XPG3] (BUS_OBJERR): Likewise.
28062         [POSIX || XPG3] (CLD_EXITED): Likewise.
28063         [POSIX || XPG3] (CLD_KILLED): Likewise.
28064         [POSIX || XPG3] (CLD_DUMPED): Likewise.
28065         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
28066         [POSIX || XPG3] (CLD_STOPPED): Likewise.
28067         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
28068         [POSIX || XPG3] (POLL_IN): Likewise.
28069         [POSIX || XPG3] (POLL_OUT): Likewise.
28070         [POSIX || XPG3] (POLL_MSG): Likewise.
28071         [POSIX || XPG3] (POLL_ERR): Likewise.
28072         [POSIX || XPG3] (POLL_PRI): Likewise.
28073         [POSIX || XPG3] (POLL_HUP): Likewise.
28074         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
28075         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
28076         (SIG*): Do not allow.
28077         [XPG3] (si_*): Likewise.
28078         [XPG3] (SI_*): Likewise.
28079         [XPG3 || XPG4] (sigev_*): Likewise.
28080         [XPG3 || XPG4] (SIGEV_*): Likewise.
28081         [XPG3 || XPG4] (sival_*): Likewise.
28082         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
28083         [POSIX || XPG3] (BUS_*): Likewise.
28084         [POSIX || XPG3] (CLD_*): Likewise.
28085         [POSIX || XPG3] (FPE_*): Likewise.
28086         [POSIX || XPG3] (ILL_*): Likewise.
28087         [POSIX || XPG3] (POLL_*): Likewise.
28088         [POSIX || XPG3] (SEGV_*): Likewise.
28089         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
28090         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
28091         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
28092         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
28093         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
28094         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
28095         Specify type and value.
28096         (TVERSLEN): Likewise.
28097         (REGTYPE): Likewise.
28098         (AREGTYPE): Likewise.
28099         (LNKTYPE): Likewise.
28100         (SYMTYPE): Likewise.
28101         (CHRTYPE): Likewise.
28102         (BLKTYPE): Likewise.
28103         (DIRTYPE): Likewise.
28104         (FIFOTYPE): Likewise.
28105         (CONTTYPE): Likewise.
28106         (TSUID): Likewise.
28107         (TSGID): Likewise.
28108         (TSVTX): Likewise.
28109         (TUREAD): Likewise.
28110         (TUWRITE): Likewise.
28111         (TUEXEC): Likewise.
28112         (TGREAD): Likewise.
28113         (TGWRITE): Likewise.
28114         (TGEXEC): Likewise.
28115         (TOREAD): Likewise.
28116         (TOWRITE): Likewise.
28117         (TOEXEC): Likewise.
28118         [POSIX] (TSVTX): Expect constant.
28120 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
28122         * Makefile (tests): Change dependencies to ....
28123         (tests-special): ... additions to this variable.
28124         (tests): Depend on $(tests-special).
28125         * Makerules (check-abi-list): New variable.
28126         (check-abi): Depend on $(check-abi-list).
28127         [$(subdir) = elf] (tests-special): Add
28128         $(objpfx)check-abi-libc.out.
28129         [$(build-shared) = yes && subdir] (tests-special): Add
28130         $(check-abi-list).
28131         [$(build-shared) = yes && subdir] (tests): Do not depend on
28132         check-abi.
28133         * Rules (tests): Depend on $(tests-special).
28134         (xtests): Depend on $(xtests-special).
28135         * catgets/Makefile (tests): Change dependencies to ....
28136         (tests-special): ... additions to this variable.
28137         * conform/Makefile (tests): Change dependencies to ....
28138         (tests-special): ... additions to this variable.
28139         * elf/Makefile (tests): Change dependencies to ....
28140         (tests-special): ... additions to this variable.
28141         * grp/Makefile (tests): Change dependencies to ....
28142         (tests-special): ... additions to this variable.
28143         * iconv/Makefile (xtests): Change dependencies to ....
28144         (xtests-special): ... additions to this variable.
28145         * iconvdata/Makefile (tests): Change dependencies to ....
28146         (tests-special): ... additions to this variable.
28147         * intl/Makefile (tests): Change dependencies to ....
28148         (tests-special): ... additions to this variable.  Also add
28149         $(objpfx)tst-gettext.out.
28150         * io/Makefile (tests): Change dependencies to ....
28151         (tests-special): ... additions to this variable.
28152         * libio/Makefile (tests): Change dependencies to ....
28153         (tests-special): ... additions to this variable.
28154         * malloc/Makefile (tests): Change dependencies to ....
28155         (tests-special): ... additions to this variable.
28156         * misc/Makefile (tests): Change dependencies to ....
28157         (tests-special): ... additions to this variable.
28158         * nptl/Makefile (tests): Change dependencies to ....
28159         (tests-special): ... additions to this variable.
28160         * nptl_db/Makefile (tests): Change dependencies to ....
28161         (tests-special): ... additions to this variable.
28162         * posix/Makefile (tests): Change dependencies to ....
28163         (tests-special): ... additions to this variable.
28164         (xtests): Change dependencies to ....
28165         (xtests-special): ... additions to this variable.
28166         * resolv/Makefile (tests): Change dependencies to ....
28167         (tests-special): ... additions to this variable.
28168         (xtests): Change dependencies to ....
28169         (xtests-special): ... additions to this variable.
28170         * stdio-common/Makefile (tests): Change dependencies to ....
28171         (tests-special): ... additions to this variable.
28172         (do-tst-unbputc): Remove target.
28173         (do-tst-printf): Likewise.
28174         * stdlib/Makefile (tests): Change dependencies to ....
28175         (tests-special): ... additions to this variable.
28176         * string/Makefile (tests): Change dependencies to ....
28177         (tests-special): ... additions to this variable.
28178         * sysdeps/x86/Makefile (tests): Change dependencies to ....
28179         (tests-special): ... additions to this variable.
28181         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
28182         whole file.
28183         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
28184         whole file.
28185         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
28186         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
28188         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
28189         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
28190         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
28191         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
28192         * conform/data/libgen.h-data [XPG3]: Likewise.
28193         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
28194         * conform/data/ndbm.h-data [XPG3]: Likewise.
28195         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
28196         * conform/data/netdb.h-data [XPG3]: Likewise.
28197         * conform/data/netinet/in.h-data [XPG3]: Likewise.
28198         * conform/data/poll.h-data [XPG3]: Likewise.
28199         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
28200         * conform/data/strings.h-data [XPG3]: Likewise.
28201         * conform/data/stropts.h-data [XPG3]: Likewise.
28202         * conform/data/sys/mman.h-data [XPG3]: Likewise.
28203         * conform/data/sys/resource.h-data [XPG3]: Likewise.
28204         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
28205         Likewise.
28206         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
28207         * conform/data/sys/time.h-data [XPG3]: Likewise.
28208         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
28209         * conform/data/sys/uio.h-data [XPG3]: Likewise.
28210         * conform/data/sys/un.h-data [XPG3]: Likewise.
28211         * conform/data/syslog.h-data [XPG3]: Likewise.
28212         * conform/data/ucontext.h-data [XPG3]: Likewise.
28213         * conform/data/utmpx.h-data [XPG3]: Likewise.
28214         * conform/data/varargs.h-data [UNIX98]: Enable file.
28216         * manual/Makefile (INSTALL_INFO): Remove variable setting.
28218         * math/libm-test.inc (struct test_f_f_data): Move expected results
28219         into structure for each rounding mode.
28220         (struct test_ff_f_data): Likewise.
28221         (struct test_ff_f_data_nexttoward): Likewise.
28222         (struct test_fi_f_data): Likewise.
28223         (struct test_fl_f_data): Likewise.
28224         (struct test_if_f_data): Likewise.
28225         (struct test_fff_f_data): Likewise.
28226         (struct test_c_f_data): Likewise.
28227         (struct test_f_f1_data): Likewise.
28228         (struct test_fF_f1_data): Likewise.
28229         (struct test_ffI_f1_data): Likewise.
28230         (struct test_c_c_data): Likewise.
28231         (struct test_cc_c_data): Likewise.
28232         (struct test_f_i_data): Likewise.
28233         (struct test_ff_i_data): Likewise.
28234         (struct test_f_l_data): Likewise.
28235         (struct test_f_L_data): Likewise.
28236         (struct test_fFF_11_data): Likewise.
28237         (RM_): New macro.
28238         (RM_FE_DOWNWARD): Likewise.
28239         (RM_FE_TONEAREST): Likewise.
28240         (RM_FE_TOWARDZERO): Likewise.
28241         (RM_FE_UPWARD): Likewise.
28242         (RUN_TEST_LOOP_f_f): Update references to expected results.
28243         (RUN_TEST_LOOP_2_f): Likewise.
28244         (RUN_TEST_LOOP_fff_f): Likewise.
28245         (RUN_TEST_LOOP_c_f): Likewise.
28246         (RUN_TEST_LOOP_f_f1): Likewise.
28247         (RUN_TEST_LOOP_fF_f1): Likewise.
28248         (RUN_TEST_LOOP_fI_f1): Likewise.
28249         (RUN_TEST_LOOP_ffI_f1): Likewise.
28250         (RUN_TEST_LOOP_c_c): Likewise.
28251         (RUN_TEST_LOOP_cc_c): Likewise.
28252         (RUN_TEST_LOOP_f_i): Likewise.
28253         (RUN_TEST_LOOP_f_i_tg): Likewise.
28254         (RUN_TEST_LOOP_ff_i_tg): Likewise.
28255         (RUN_TEST_LOOP_f_b): Likewise.
28256         (RUN_TEST_LOOP_f_b_tg): Likewise.
28257         (RUN_TEST_LOOP_f_l): Likewise.
28258         (RUN_TEST_LOOP_f_L): Likewise.
28259         (RUN_TEST_LOOP_fFF_11): Likewise.
28260         * math/gen-libm-test.pl (parse_args): Output four copies of
28261         expected results for each test.
28263         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
28264         (__ASSUME_UTIMES): Remove.
28265         * sysdeps/unix/sysv/linux/tile/kernel-features.h
28266         (__ASSUME_UTIMES): Likewise.
28268         * math/gen-auto-libm-tests.c: Update comment on output format.
28269         (output_for_one_input_case): Generate before-rounding and
28270         after-rounding information as conditions on output flags not
28271         floating-point format.
28272         * math/auto-libm-test-out: Regenerated.
28273         * math/gen-libm-test.pl (cond_value): New function.
28274         (or_cond_value): Use cond_value.
28275         (generate_testfile): Handle conditional exceptions.
28277 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
28279         * math/libm-test.inc (max_valid_error): New variable.
28280         (init_max_error): Take new argument specifying whether function
28281         results are exactly determined.  Set max_valid_error and bound
28282         other variables for errors based on this argument.
28283         (set_max_error): Do not record results above max_valid_error.
28284         (check_float_internal): Only accept errors of up to 0.5ulps if
28285         also at most max_valid_error.
28286         (START): Take new argument EXACT and pass it to init_max_error.
28287         (acos_test): Update call to START.
28288         (acos_test_tonearest): Likewise.
28289         (acos_test_towardzero): Likewise.
28290         (acos_test_downward): Likewise.
28291         (acos_test_upward): Likewise.
28292         (acosh_test): Likewise.
28293         (asin_test): Likewise.
28294         (asin_test_tonearest): Likewise.
28295         (asin_test_towardzero): Likewise.
28296         (asin_test_downward): Likewise.
28297         (asin_test_upward): Likewise.
28298         (asinh_test): Likewise.
28299         (atan_test): Likewise.
28300         (atanh_test): Likewise.
28301         (atan2_test): Likewise.
28302         (cabs_test): Likewise.
28303         (cacos_test): Likewise.
28304         (cacosh_test): Likewise.
28305         (carg_test): Likewise.
28306         (casin_test): Likewise.
28307         (casinh_test): Likewise.
28308         (catan_test): Likewise.
28309         (catanh_test): Likewise.
28310         (cbrt_test): Likewise.
28311         (ccos_test): Likewise.
28312         (ccosh_test): Likewise.
28313         (ceil_test): Likewise.
28314         (cexp_test): Likewise.
28315         (cimag_test): Likewise.
28316         (clog_test): Likewise.
28317         (clog10_test): Likewise.
28318         (conj_test): Likewise.
28319         (copysign_test): Likewise.
28320         (cos_test): Likewise.
28321         (cos_test_tonearest): Likewise.
28322         (cos_test_towardzero): Likewise.
28323         (cos_test_downward): Likewise.
28324         (cos_test_upward): Likewise.
28325         (cosh_test): Likewise.
28326         (cosh_test_tonearest): Likewise.
28327         (cosh_test_towardzero): Likewise.
28328         (cosh_test_downward): Likewise.
28329         (cosh_test_upward): Likewise.
28330         (cpow_test): Likewise.
28331         (cproj_test): Likewise.
28332         (creal_test): Likewise.
28333         (csin_test): Likewise.
28334         (csinh_test): Likewise.
28335         (csqrt_test): Likewise.
28336         (ctan_test): Likewise.
28337         (ctan_test_tonearest): Likewise.
28338         (ctan_test_towardzero): Likewise.
28339         (ctan_test_downward): Likewise.
28340         (ctan_test_upward): Likewise.
28341         (ctanh_test): Likewise.
28342         (ctanh_test_tonearest): Likewise.
28343         (ctanh_test_towardzero): Likewise.
28344         (ctanh_test_downward): Likewise.
28345         (ctanh_test_upward): Likewise.
28346         (erf_test): Likewise.
28347         (erfc_test): Likewise.
28348         (exp_test): Likewise.
28349         (exp_test_tonearest): Likewise.
28350         (exp_test_towardzero): Likewise.
28351         (exp_test_downward): Likewise.
28352         (exp_test_upward): Likewise.
28353         (exp10_test): Likewise.
28354         (exp10_test_tonearest): Likewise.
28355         (exp10_test_towardzero): Likewise.
28356         (exp10_test_downward): Likewise.
28357         (exp10_test_upward): Likewise.
28358         (pow10_test): Likewise.
28359         (exp2_test): Likewise.
28360         (expm1_test): Likewise.
28361         (expm1_test_tonearest): Likewise.
28362         (expm1_test_towardzero): Likewise.
28363         (expm1_test_downward): Likewise.
28364         (expm1_test_upward): Likewise.
28365         (fabs_test): Likewise.
28366         (fdim_test): Likewise.
28367         (floor_test): Likewise.
28368         (fma_test): Likewise.
28369         (fma_test_towardzero): Likewise.
28370         (fma_test_downward): Likewise.
28371         (fma_test_upward): Likewise.
28372         (fmax_test): Likewise.
28373         (fmin_test): Likewise.
28374         (fmod_test): Likewise.
28375         (fpclassify_test): Likewise.
28376         (frexp_test): Likewise.
28377         (hypot_test): Likewise.
28378         (ilogb_test): Likewise.
28379         (isfinite_test): Likewise.
28380         (finite_test): Likewise.
28381         (isgreater_test): Likewise.
28382         (isgreaterequal_test): Likewise.
28383         (isinf_test): Likewise.
28384         (isless_test): Likewise.
28385         (islessequal_test): Likewise.
28386         (islessgreater_test): Likewise.
28387         (isnan_test): Likewise.
28388         (isnormal_test): Likewise.
28389         (issignaling_test): Likewise.
28390         (isunordered_test): Likewise.
28391         (j0_test): Likewise.
28392         (j1_test): Likewise.
28393         (jn_test): Likewise.
28394         (ldexp_test): Likewise.
28395         (lgamma_test): Likewise.
28396         (gamma_test): Likewise.
28397         (lrint_test): Likewise.
28398         (lrint_test_tonearest): Likewise.
28399         (lrint_test_towardzero): Likewise.
28400         (lrint_test_downward): Likewise.
28401         (lrint_test_upward): Likewise.
28402         (llrint_test): Likewise.
28403         (llrint_test_tonearest): Likewise.
28404         (llrint_test_towardzero): Likewise.
28405         (llrint_test_downward): Likewise.
28406         (llrint_test_upward): Likewise.
28407         (log_test): Likewise.
28408         (log10_test): Likewise.
28409         (log1p_test): Likewise.
28410         (log2_test): Likewise.
28411         (logb_test): Likewise.
28412         (logb_test_downward): Likewise.
28413         (lround_test): Likewise.
28414         (llround_test): Likewise.
28415         (modf_test): Likewise.
28416         (nearbyint_test): Likewise.
28417         (nextafter_test): Likewise.
28418         (nexttoward_test): Likewise.
28419         (pow_test): Likewise.
28420         (pow_test_tonearest): Likewise.
28421         (pow_test_towardzero): Likewise.
28422         (pow_test_downward): Likewise.
28423         (pow_test_upward): Likewise.
28424         (remainder_test): Likewise.
28425         (drem_test): Likewise.
28426         (remainder_test_tonearest): Likewise.
28427         (drem_test_tonearest): Likewise.
28428         (remainder_test_towardzero): Likewise.
28429         (drem_test_towardzero): Likewise.
28430         (remainder_test_downward): Likewise.
28431         (drem_test_downward): Likewise.
28432         (remainder_test_upward): Likewise.
28433         (drem_test_upward): Likewise.
28434         (remquo_test): Likewise.
28435         (rint_test): Likewise.
28436         (rint_test_tonearest): Likewise.
28437         (rint_test_towardzero): Likewise.
28438         (rint_test_downward): Likewise.
28439         (rint_test_upward): Likewise.
28440         (round_test): Likewise.
28441         (scalb_test): Likewise.
28442         (scalbn_test): Likewise.
28443         (scalbln_test): Likewise.
28444         (signbit_test): Likewise.
28445         (sin_test): Likewise.
28446         (sin_test_tonearest): Likewise.
28447         (sin_test_towardzero): Likewise.
28448         (sin_test_downward): Likewise.
28449         (sin_test_upward): Likewise.
28450         (sincos_test): Likewise.
28451         (sinh_test): Likewise.
28452         (sinh_test_tonearest): Likewise.
28453         (sinh_test_towardzero): Likewise.
28454         (sinh_test_downward): Likewise.
28455         (sinh_test_upward): Likewise.
28456         (sqrt_test): Likewise.
28457         (sqrt_test_tonearest): Likewise.
28458         (sqrt_test_towardzero): Likewise.
28459         (sqrt_test_downward): Likewise.
28460         (sqrt_test_upward): Likewise.
28461         (tan_test): Likewise.
28462         (tan_test_tonearest): Likewise.
28463         (tan_test_towardzero): Likewise.
28464         (tan_test_downward): Likewise.
28465         (tan_test_upward): Likewise.
28466         (tanh_test): Likewise.
28467         (tgamma_test): Likewise.
28468         (trunc_test): Likewise.
28469         (y0_test): Likewise.
28470         (y1_test): Likewise.
28471         (yn_test): Likewise.
28472         (significand_test): Likewise.
28474         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
28475         individual tests in comment.
28476         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
28477         (prev_max_error): New variable.
28478         (prev_real_max_error): Likewise.
28479         (prev_imag_max_error): Likewise.
28480         (compare_ulp_data): Don't refer to test names in comment.
28481         (find_test_ulps): Remove function.
28482         (find_function_ulps): Likewise.
28483         (find_complex_function_ulps): Likewise.
28484         (init_max_error): Take function name as argument.  Look up ulps
28485         for that function.
28486         (print_ulps): Remove function.
28487         (print_max_error): Use prev_max_error instead of calling
28488         find_function_ulps.
28489         (print_complex_max_error): Use prev_real_max_error and
28490         prev_imag_max_error instead of calling find_complex_function_ulps.
28491         (check_float_internal): Take max_ulp parameter instead of calling
28492         find_test_ulps.  Don't call print_ulps.
28493         (check_float): Update call to check_float_internal.
28494         (check_complex): Update calls to check_float_internal.
28495         (START): Pass argument to init_max_error.
28496         * math/gen-libm-test.pl (%results): Don't include "kind"
28497         information.
28498         (parse_ulps): Don't handle ulps of individual tests.
28499         (print_ulps_file): Likewise.
28500         (output_ulps): Likewise.
28501         * math/README.libm-test: Update.
28502         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
28503         individual tests.
28504         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
28505         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
28506         * sysdeps/arm/libm-test-ulps: Likewise.
28507         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
28508         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
28509         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
28510         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
28511         * sysdeps/microblaze/libm-test-ulps: Likewise.
28512         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
28513         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28514         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28515         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
28516         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28517         * sysdeps/sh/libm-test-ulps: Likewise.
28518         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28519         * sysdeps/tile/libm-test-ulps: Likewise.
28520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28522 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
28524         * math/libm-test.inc (print_complex_max_error): Check separately
28525         whether real and imaginary errors are within allowed range and
28526         pass 0 to print_complex_function_ulps instead of value within
28527         allowed range.
28529 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28531         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
28532         formatting.
28533         (get_handles_fopen): Likewise.
28534         (do_write_test): Likewise.
28536         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
28538         * libio/fileops.c (do_ftell): Use cached offset when
28539         available.
28540         * libio/iofwide.c (do_ftell_wide): Likewise.
28541         * libio/iofdopen.c (_IO_new_fdopen): Don't use
28542         _IO_file_attach.
28543         * libio/wfileops.c (_IO_fwide): Don't cache offset.
28545         [BZ #16532]
28546         * libio/libioP.h (get_file_offset): New function.
28547         * libio/fileops.c (get_file_offset): Likewise.
28548         (do_ftell): Likewise.
28549         (_IO_new_file_seekoff): Split out ftell logic.
28550         * libio/wfileops.c (do_ftell_wide): Likewise.
28551         (_IO_wfile_seekoff): Split out ftell logic.
28552         * libio/tst-ftell-active-handler.c: New test case.
28553         * libio/Makefile (tests): Add it.
28555 2014-03-03  Roland McGrath  <roland@hack.frob.com>
28557         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
28558         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
28560 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
28562         [BZ #16639]
28563         * nscd/connections.c (nscd_init): Call do_exit.
28564         (start_threads): Call do_exit and notify_parent.
28565         (begin_drop_privileges): Call do_exit.
28566         (finish_drop_privileges): Likewise.
28567         * nscd/selinux.c (preserve_capabilities): Likewise.
28568         (install_real_capabilities): Likewise.
28569         (nscd_selinux_enabled): Likewise.
28570         (avc_create_thread): Likewise.
28571         (avc_alloc_lock): Likewise.
28572         (nscd_avc_init): Likewise.
28573         * nscd/nscd.c (parent_fd): New static variable.
28574         (main): Create a pipe between parent and child processes.
28575         Skip closing parent_fd.
28576         (monitor_child): New function.
28577         (do_exit): Likewise.
28578         (notify_parent): Likewise.
28579         * nscd/nscd.h (notify_parent): Likewise.
28580         (do_exit): Likewise.
28582 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
28584         * malloc/malloc.c (__libc_calloc): Revert last change.
28586 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28588         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28590 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28592         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
28593         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
28594         implementation.
28595         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28596         (__libc_ifunc_impl_list): Likewise.
28597         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
28598         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
28599         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
28600         * string/strrchr.c: Define STRRCHR.
28602 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
28604         * benchtest/bench-strtok.c (simple_strtok): Delete.
28605         (strtok_string): Use as benchmark.
28606         * string/strtok (STRTOK): New macro.
28608 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
28610         * manual/threads.texi: Add header and standard comments to all
28611         functions.
28613         * elf/dl-lookup.c (check_match): New function.
28614         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
28615         (do_lookup_x): Remove nested function check_match. Use non-nested
28616         function check_match.
28618 2014-02-28  Roland McGrath  <roland@hack.frob.com>
28620         * csu/Makefile (generated, before-compile): Use += rather than =.
28621         * catgets/Makefile (generated, generated-dirs): Likewise.
28622         * debug/Makefile (generated): Likewise.
28623         * dlfcn/Makefile (generated): Likewise.
28624         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
28625         * iconvdata/Makefile (before-compile, generated): Likewise.
28626         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
28627         * libio/Makefile (generated): Likewise.
28628         * malloc/Makefile (generated): Likewise.
28629         * manual/Makefile (generated, generated-dirs): Likewise.
28630         * misc/Makefile (generated): Likewise.
28631         * posix/Makefile (generated): Likewise.
28632         * resolv/Makefile (generated): Likewise.
28633         * sunrpc/Makefile (generated, generated-dirs): Likewise.
28634         * timezone/Makefile (generated, generated-dirs): Likewise.
28636         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
28638 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28640         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
28641         power8 implementation.
28642         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
28643         file: POWER8 llround ifunc implementation.
28644         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
28645         (__lllround): Add POWER8 implementation.
28646         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
28647         POWER8 llround implementation.
28649         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
28650         power8 implementation.
28651         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
28652         file: POWER8 llrint ifunc implementation.
28653         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
28654         Add POWER8 implementation.
28655         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
28656         POWER8 llrint implementation.
28658         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
28659         power8 implementation.
28660         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
28661         file: POWER8 finite ifunc implementation.
28662         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
28663         Add POWER8 implementation.
28664         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
28665         Likewise.
28666         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
28667         POWER8 finite implementation.
28668         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
28670         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
28671         power8 implementation.
28672         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
28673         file: POWER8 isinf ifunc implementation.
28674         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
28675         POWER8 implementation.
28676         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
28677         Likewise.
28678         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
28679         isinf implementation.
28680         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
28682         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
28683         (INIT_ARCH): Add hwcap2 initialization.
28684         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
28685         power8 implementation.
28686         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
28687         file: POWER8 isnan ifunc implementation.
28688         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
28689         POWER8 implementation.
28690         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
28691         Likewise.
28692         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
28693         isnan implementation.
28694         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
28696 2014-02-27  Joey Ye  <joey.ye@arm.com>
28698         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
28699         (_FP_NANFRAC_Q): Set to zero.
28701 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28703         [BZ #16623]
28704         * math/auto-libm-test-in: New test inputs.
28705         * math/auto-libm-test-out: Regenerate.
28706         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
28707         and DA.
28708         (__cos): Likewise.
28709         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
28711 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
28713         * scripts/evaluate-test.sh: Take new argument indicating whether
28714         failure is expected.
28715         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
28716         indicating whether failure is expected.
28717         * conform/Makefile (test-xfail-run-conformtest): New variable.
28718         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
28719         level.
28720         * posix/Makefile (test-xfail-annexc): New variable.
28721         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
28723 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
28725         * argp/Makefile: Include Makeconfig immediately after defining
28726         subdir.
28727         * assert/Makefile: Likewise.
28728         * benchtests/Makefile: Likewise.
28729         * catgets/Makefile: Likewise.
28730         * conform/Makefile: Likewise.
28731         * crypt/Makefile: Likewise.
28732         * csu/Makefile: Likewise.
28733         (all): Remove target.
28734         * ctype/Makefile: Include Makeconfig immediately after defining
28735         subdir.
28736         * debug/Makefile: Likewise.
28737         * dirent/Makefile: Likewise.
28738         * dlfcn/Makefile: Likewise.
28739         * gmon/Makefile: Likewise.
28740         * gnulib/Makefile: Likewise.
28741         * grp/Makefile: Likewise.
28742         * gshadow/Makefile: Likewise.
28743         * hesiod/Makefile: Likewise.
28744         * hurd/Makefile: Likewise.
28745         (all): Remove target.
28746         * iconvdata/Makefile: Include Makeconfig immediately after
28747         defining subdir.
28748         * inet/Makefile: Likewise.
28749         * intl/Makefile: Likewise.
28750         * io/Makefile: Likewise.
28751         * libio/Makefile: Likewise.
28752         (all): Remove target.
28753         * locale/Makefile: Include Makeconfig immediately after defining
28754         subdir.
28755         * login/Makefile: Likewise.
28756         * mach/Makefile: Likewise.
28757         (all): Remove target.
28758         * malloc/Makefile: Include Makeconfig immediately after defining
28759         subdir.
28760         (all): Remove target.
28761         * manual/Makefile: Include Makeconfig immediately after defining
28762         subdir.
28763         * math/Makefile: Likewise.
28764         * misc/Makefile: Likewise.
28765         * nis/Makefile: Likewise.
28766         * nss/Makefile: Likewise.
28767         * po/Makefile: Likewise.
28768         (all): Remove target.
28769         * posix/Makefile: Include Makeconfig immediately after defining
28770         subdir.
28771         * pwd/Makefile: Likewise.
28772         * resolv/Makefile: Likewise.
28773         * resource/Makefile: Likewise.
28774         * rt/Makefile: Likewise.
28775         * setjmp/Makefile: Likewise.
28776         * shadow/Makefile: Likewise.
28777         * signal/Makefile: Likewise.
28778         * socket/Makefile: Likewise.
28779         * soft-fp/Makefile: Likewise.
28780         * stdio-common/Makefile: Likewise.
28781         * stdlib/Makefile: Likewise.
28782         * streams/Makefile: Likewise.
28783         * string/Makefile: Likewise.
28784         * sunrpc/Makefile: Likewise.
28785         (all): Remove target.
28786         * sysvipc/Makefile: Include Makeconfig immediately after defining
28787         subdir.
28788         * termios/Makefile: Likewise.
28789         * time/Makefile: Likewise.
28790         * timezone/Makefile: Likewise.
28791         (all): Remove target.
28792         * wcsmbs/Makefile: Include Makeconfig immediately after defining
28793         subdir.
28794         * wctype/Makefile: Likewise.
28796 2014-02-26  Steve Ellcey  <sellcey@mips.com>
28798         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
28799         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
28800         (libc_feholdexcept_setround_mips): Ditto.
28801         (libc_feholdsetround): New.
28802         (libc_feholdsetroundf): New.
28803         (libc_feholdsetroundl): New.
28804         (libc_feupdateenv_test_mips): New.
28805         (libc_feupdateenv_test): New.
28806         (libc_feupdateenv_testf): New.
28807         (libc_feupdateenv_testl): New.
28808         (libc_feresetround): New.
28809         (libc_feresetroundf): New.
28810         (libc_feresetroundl): New.
28811         (libc_fetestexcept_mips): New.
28812         (libc_fetestexcept): New.
28813         (libc_fetestexceptf): New.
28814         (libc_fetestexceptl): New.
28815         (HAVE_RM_CTX): New.
28816         (libc_feholdexcept_setround_mips_ctx): New.
28817         (libc_feholdexcept_setround_ctx): New.
28818         (libc_feholdexcept_setroundf_ctx): New.
28819         (libc_feholdexcept_setroundl_ctx): New.
28820         (libc_fesetenv_mips_ctx): New.
28821         (libc_fesetenv_ctx): New.
28822         (libc_fesetenv_ctxf): New.
28823         (libc_fesetenv_ctxl): New.
28824         (libc_feupdateenv_mips_ctx): New.
28825         (libc_feupdateenv_ctx): New.
28826         (libc_feupdateenvf_ctx): New.
28827         (libc_feupdateenvl_ctx): New.
28828         (libc_feholdsetround_mips_ctx): New.
28829         (libc_feholdsetround_ctx): New.
28830         (libc_feholdsetroundf_ctx): New.
28831         (libc_feholdsetroundl_ctx): New.
28832         (libc_feresetround_mips_ctx): New.
28833         (libc_feresetround_ctx): New.
28834         (libc_feresetroundf_ctx): New.
28835         (libc_feresetroundl_ctx): New.
28837 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
28839         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
28841         * manual/ipc.texi: New file.
28842         * manual/Makefile (chapters): Add ipc.
28843         * manual/job.texi: Add "Inter-Process Communication" to next.
28844         * manual/process.texi: Add "Inter-Process Communication" to prev.
28846 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28848         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28850 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
28852         * malloc/malloc.c (__libc_calloc): Simplify implementation.
28854         * manual/arith.texi: Fix spaces after sentences.
28855         * manual/charset.texi: Likewise.
28856         * manual/errno.texi: Likewise.
28857         * manual/install.texi: Likewise.
28858         * manual/llio.texi: Likewise.
28859         * manual/locale.texi: Likewise.
28860         * manual/maint.texi: Likewise.
28861         * manual/math.texi: Likewise.
28862         * manual/memory.texi: Likewise.
28863         * manual/message.texi: Likewise.
28864         * manual/probes.texi: Likewise.
28865         * manual/resource.texi: Likewise.
28866         * manual/signal.texi: Likewise.
28867         * manual/socket.texi: Likewise.
28868         * manual/stdio.texi: Likewise.
28869         * manual/string.texi: Likewise.
28870         * manual/time.texi: Likewise.
28871         * manual/users.texi: Likewise.
28873 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
28875         [BZ #16632]
28876         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
28877         _DEFAULT_SOURCE is defined.
28879 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
28880             Carlos O'Donell  <carlos@redhat.com>
28882         [BZ #16613]
28883         * elf/dl-tls.c (_dl_count_modids): New function.
28884         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
28885         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
28886         audit library and increment generation counter.
28887         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
28888         * elf/tst-audit9.c: New file.
28889         * elf/tst-auditmod9a.c: New file.
28890         * elf/tst-auditmod9b.c: New file.
28891         * elf/Makefile: Add rules to build and run tst-audit9.
28893 2014-02-25  Florian Weimer  <fweimer@redhat.com>
28895         [BZ #15347]
28896         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
28898 2014-02-25  Will Newton  <will.newton@linaro.org>
28900         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
28901         (__longjmp): Restore sp and lr before restoring callee
28902         saved registers.  Add longjmp and longjmp_target
28903         SystemTap probe point.
28904         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
28905         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
28906         Define to zero to match jmpbuf layout.
28907         * sysdeps/arm/setjmp.S: Include stap-probe.h.
28908         (__sigsetjmp): Save sp and lr before saving callee
28909         saved registers.  Add setjmp SystemTap probe point.
28911 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
28913         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28915 2014-02-24  Andreas Schwab  <schwab@suse.de>
28917         [BZ #15804]
28918         * elf/pldd.c (wait_for_ptrace_stop): New function.
28919         (main): Call it after attaching.
28921 2014-02-22  Roland McGrath  <roland@hack.frob.com>
28923         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
28924         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
28925         Versions files is now verboten.
28926         * hurd/Versions (libc: GLIBC_2.0):
28927         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
28928         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
28929         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
28930         * mach/Versions: Likewise.
28932         * csu/Versions: Remove unused %include.
28933         * resolv/Versions: Likewise.
28935 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
28937         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
28938         ($(objpfx)check-local-headers.out): Likewise.
28939         ($(objpfx)begin-end-check.out): Likewise.
28940         * Makerules (check-abi-%.out): Likewise.
28941         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
28942         ($(objpfx)test2.cat): Likewise.
28943         ($(objpfx)de/libc.cat): Likewise.
28944         ($(objpfx)test-gencat.out): Likewise.
28945         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
28946         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
28947         ($(objpfx)noload-mem): Likewise.
28948         ($(objpfx)tst-pathopt.out): Likewise.
28949         ($(objpfx)tst-rtld-load-self.out): Likewise.
28950         ($(objpfx)tst-array1-cmp.out): Likewise.
28951         ($(objpfx)tst-array1-static-cmp.out): Likewise.
28952         ($(objpfx)tst-array2-cmp.out): Likewise.
28953         ($(objpfx)tst-array3-cmp.out): Likewise.
28954         ($(objpfx)tst-array4-cmp.out): Likewise.
28955         ($(objpfx)tst-array5-cmp.out): Likewise.
28956         ($(objpfx)tst-array5-static-cmp.out): Likewise.
28957         ($(objpfx)check-textrel.out): Likewise.
28958         ($(objpfx)check-execstack.out): Likewise.
28959         ($(objpfx)check-localplt.out): Likewise.
28960         ($(objpfx)order2-cmp.out): Likewise.
28961         ($(objpfx)tst-leaks1-mem): Likewise.
28962         ($(objpfx)tst-leaks1-static-mem): Likewise.
28963         ($(objpfx)tst-initorder-cmp.out): Likewise.
28964         ($(objpfx)tst-initorder2-cmp.out): Likewise.
28965         ($(objpfx)tst-unused-dep.out): Likewise.
28966         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
28967         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
28968         * iconv/Makefile (test-iconvconfig): Likewise.
28969         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
28970         ($(objpfx)iconv-test.out): Likewise.
28971         ($(objpfx)tst-tables.out): Likewise.
28972         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
28973         ($(objpfx)tst-gettext.out): Likewise.
28974         ($(objpfx)tst-translit.out): Likewise.
28975         ($(objpfx)tst-gettext2.out): Likewise.
28976         ($(objpfx)tst-gettext4.out): Likewise.
28977         ($(objpfx)tst-gettext6.out): Likewise.
28978         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
28979         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
28980         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
28981         ($(objpfx)tst-fopenloc-mem.out): Likewise.
28982         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
28983         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
28984         * posix/Makefile ($(objpfx)globtest.out): Likewise.
28985         ($(objpfx)wordexp-tst.out): Likewise.
28986         ($(objpfx)annexc.out): Likewise.
28987         ($(objpfx)tst-fnmatch-mem): Likewise.
28988         ($(objpfx)bug-regex2-mem): Likewise.
28989         ($(objpfx)bug-regex14-mem): Likewise.
28990         ($(objpfx)bug-regex21-mem): Likewise.
28991         ($(objpfx)bug-regex31-mem): Likewise.
28992         ($(objpfx)tst-vfork3-mem): Likewise.
28993         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
28994         ($(objpfx)tst-pcre-mem): Likewise.
28995         ($(objpfx)tst-boost-mem): Likewise.
28996         ($(objpfx)tst-getconf.out): Likewise.
28997         ($(objpfx)bug-ga2-mem): Likewise.
28998         ($(objpfx)bug-glob2-mem): Likewise.
28999         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
29000         ($(objpfx)mtrace-tst-leaks2): Likewise.
29001         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
29002         ($(objpfx)tst-printf.out): Likewise.
29003         ($(objpfx)tst-setvbuf1.out): Likewise.
29004         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
29005         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
29006         ($(objpfx)tst-fmtmsg.out): Likewise.
29007         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
29008         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
29010         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
29011         * bits/sigaction.h [__USE_MISC]: Likewise.
29012         * bits/waitstatus.h: Update #endif comments.
29013         * ctype/ctype.h: Likewise.
29014         * dirent/dirent.h: Likewise.
29015         [__USE_MISC]: Remove redundant conditionals.
29016         * grp/grp.h: Update #endif comments.
29017         [__USE_GNU]: Remove redundant conditionals.
29018         [__USE_MISC]: Likewise.
29019         * inet/netinet/in.h [__USE_GNU]: Likewise.
29020         * io/sys/stat.h [__USE_MISC]: Likewise.
29021         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
29022         * libio/bits/stdio.h: Update #endif comments.
29023         [__USE_MISC]: Remove redundant conditionals.
29024         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
29025         * libio/stdio.h: Update #endif comments.
29026         [__USE_MISC]: Remove redundant conditionals.
29027         * math/bits/math-finite.h [__USE_MISC]: Likewise.
29028         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
29029         * math/math.h: Update #else and #endif comments.
29030         [__USE_MISC]: Remove redundant conditionals.
29031         * misc/sys/uio.h: Update #endif comments.
29032         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
29033         * posix/glob.h [__USE_MISC]: Likewise.
29034         * posix/sys/types.h: Update #endif comments.
29035         [__USE_MISC]: Remove redundant conditionals.
29036         * posix/sys/wait.h: Update #endif comments.
29037         [__USE_MISC]: Remove redundant conditionals.
29038         * posix/unistd.h: Update #endif comments.
29039         [__USE_MISC]: Remove redundant conditionals.
29040         * pwd/pwd.h [__USE_GNU]: Likewise.
29041         [__USE_MISC]: Likewise.
29042         * resolv/netdb.h [__USE_GNU]: Likewise.
29043         * signal/signal.h: Update #endif comments.
29044         [__USE_MISC]: Remove redundant conditionals.
29045         * stdlib/stdlib.h: Update #else and #endif comments.
29046         [__USE_MISC]: Remove redundant conditionals.
29047         [__USE_GNU]: Likewise.
29048         * string/bits/string2.h [__USE_MISC]: Likewise.
29049         * string/string.h: Update #endif comments.
29050         [__USE_MISC]: Remove redundant conditionals.
29051         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
29052         Likewise.
29053         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
29054         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
29055         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
29056         Likewise.
29057         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
29058         Likewise.
29059         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
29060         comments.
29061         [__USE_MISC]: Remove redundant conditionals.
29062         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
29063         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
29064         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
29065         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
29066         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
29067         Likewise.
29068         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
29069         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
29070         Likewise.
29071         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
29072         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
29073         Likewise.
29074         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
29075         Likewise.
29076         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
29077         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
29078         Likewise.
29079         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
29080         Likewise.
29081         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
29082         * sysdeps/x86/bits/string.h: Update #endif comments.
29083         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
29084         conditionals.
29085         * time/sys/time.h: Update #endif comments.
29086         * time/time.h: Likewise.
29087         [__USE_MISC]: Remove redundant conditionals.
29089 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
29091         [BZ #16600]
29092         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
29094 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
29096         * Versions.def (librt): Add GLIBC_2.17.
29098 2014-02-21  Adam Conrad  <adconrad@0c3.net>
29100         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
29101         synonym for _SYS_AUXV_H to allow direct inclusion.
29102         * sysdeps/sparc/bits/hwcap.h: Likewise.
29103         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
29104         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
29105         * sysdeps/sparc/sysdep.h: Likewise.
29107 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29109         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
29111 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29113         * benchtests/bench-strrchr.c: Print length instead of position.
29115 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
29117         [BZ #16611]
29118         * sysdeps/unix/sysv/linux/kernel-features.h
29119         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
29120         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
29121         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
29122         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
29123         Likewise.
29124         [__i386__ || __powerpc__ || __sh__ || __sparc__]
29125         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29126         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
29127         (__ASSUME_SENDMMSG): Define instead of using previous
29128         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
29129         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
29130         (__ASSUME_SENDMMSG_SYSCALL): Define.
29131         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29132         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
29133         Likewise.
29134         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29135         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
29136         Likewise.
29137         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
29138         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
29139         Likewise.
29140         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
29141         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
29142         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
29143         [__ASSUME_SENDMMSG]: Change conditionals to
29144         [__ASSUME_SENDMMSG_SOCKETCALL].
29145         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29146         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
29147         Define.
29148         * sysdeps/unix/sysv/linux/mips/kernel-features.h
29149         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
29150         Likewise.
29151         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
29152         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
29153         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
29154         [!__ASSUME_SENDMMSG]: Change conditional to
29155         [!__ASSUME_SENDMMSG_SOCKETCALL].
29156         * sysdeps/unix/sysv/linux/tile/kernel-features.h
29157         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
29158         Define.
29160         [BZ #16610]
29161         * sysdeps/unix/sysv/linux/kernel-features.h
29162         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
29163         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
29164         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
29165         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
29166         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
29167         [__i386__ || __sparc__]
29168         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29169         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
29170         (__ASSUME_RECVMMSG): Define instead of using previous
29171         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
29172         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
29173         (__ASSUME_RECVMMSG_SYSCALL): Define.
29174         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29175         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
29176         Likewise.
29177         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29178         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
29179         Likewise.
29180         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
29181         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
29182         Likewise.
29183         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
29184         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
29185         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
29186         [__ASSUME_RECVMMSG]: Change condition to
29187         [__ASSUME_RECVMMSG_SOCKETCALL].
29188         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29189         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
29190         Define.
29191         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29192         * sysdeps/unix/sysv/linux/mips/kernel-features.h
29193         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
29194         Likewise.
29195         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
29196         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
29197         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
29198         [!__ASSUME_RECVMMSG]: Change condition to
29199         [!__ASSUME_RECVMMSG_SOCKETCALL].
29200         * sysdeps/unix/sysv/linux/tile/kernel-features.h
29201         (__ASSUME_RECVMMSG_SYSCALL): Define.
29203         [BZ #16609]
29204         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
29205         __powerpc__ || __s390__ || __sh__ || __sparc__]
29206         (__ASSUME_SOCKETCALL): Define.
29207         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
29208         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
29209         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
29210         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
29211         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
29212         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
29213         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
29214         (__ASSUME_ACCEPT4): Define instead of using previous
29215         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
29216         __powerpc__ || __sparc__ || __s390__)] condition.
29217         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
29218         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
29219         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
29220         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
29221         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
29222         [!__ASSUME_ACCEPT4]: Change condition to
29223         [!__ASSUME_ACCEPT4_SOCKETCALL].
29224         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29225         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
29226         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
29227         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29228         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
29229         __ASSUME_ACCEPT4_SYSCALL.
29230         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
29231         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
29232         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
29233         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
29234         __ASSUME_ACCEPT4_SYSCALL.
29235         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
29236         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
29237         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
29238         [__ASSUME_ACCEPT4]: Change condition to
29239         [__ASSUME_ACCEPT4_SOCKETCALL].
29240         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
29241         (__ASSUME_SOCKETCALL): Define.
29242         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
29243         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29244         (__ASSUME_SOCKETCALL): Define.
29245         (__ASSUME_ACCEPT4): Remove.
29246         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
29247         Define.
29248         * sysdeps/unix/sysv/linux/mips/kernel-features.h
29249         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
29250         Likewise.
29251         * sysdeps/unix/sysv/linux/tile/kernel-features.h
29252         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
29254         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
29255         macro.
29256         (HWCAP_ARM_LPAE): Likewise.
29257         (HWCAP_ARM_EVTSTRM): Likewise.
29258         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
29259         Add vpfd32, lpae and evtstrm.
29260         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
29261         Increase to 22.
29263 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
29265         * math/auto-libm-test-in: Add tests of clog10.
29266         * math/auto-libm-test-out: Regenerated.
29267         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
29268         * sysdeps/i386/fpu/libm-test-ulps: Update.
29269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29271 2014-02-18  Andreas Schwab  <schwab@suse.de>
29273         [BZ #16574]
29274         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
29275         Store non-zero if the second buffer was newly allocated.
29276         (send_dg): Likewise.
29277         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
29278         to send_vc and send_dg.
29279         (res_nsend): Pass NULL for ansp2_malloced.
29280         * resolv/res_query.c (__libc_res_nquery): Add parameter
29281         answerp2_malloced and pass it down to __libc_res_nsend.
29282         (res_nquery): Pass additional NULL to __libc_res_nquery.
29283         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
29284         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
29285         second answer buffer if answerp2_malloced was set.
29286         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
29287         (__libc_res_nquerydomain): Add parameter
29288         answerp2_malloced and pass it down to __libc_res_nquery.
29289         (res_nquerydomain): Pass additional NULL to
29290         __libc_res_nquerydomain.
29291         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
29292         additional NULL to __libc_res_nsend and __libc_res_nquery.
29293         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
29294         additional NULL to __libc_res_nsearch.
29295         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
29296         parameter of __libc_res_nsearch to check for separately allocated
29297         second buffer.
29298         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
29299         __libc_res_nquery.
29300         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
29301         additional NULL to __libc_res_nquery.
29302         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
29303         __libc_res_nsearch.
29304         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
29305         * include/resolv.h: Update prototypes of __libc_res_nquery,
29306         __libc_res_nsearch, __libc_res_nsend.
29308 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
29310         * math/auto-libm-test-in: Add tests of fma.
29311         * math/auto-libm-test-out: Regenerated.
29312         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
29313         (fma_towardzero_test_data): Likewise.
29314         (fma_downward_test_data): Likewise.
29315         (fma_upward_test_data): Likewise.
29316         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
29317         mpc_mode.
29318         (rounding_modes): Add values for new field.
29319         (func_calc_method): Add value mpfr_fff_f.
29320         (func_calc_desc): Add mpfr_fff_f union field.
29321         (test_function): Add field exact_args.
29322         (FUNC): Add macro argument EXACT_ARGS.
29323         (FUNC_mpfr_f_f): Update call to FUNC.
29324         (FUNC_mpfr_f_f): Likewise.
29325         (FUNC_mpfr_ff_f): Likewise.
29326         (FUNC_mpfr_if_f): Likewise.
29327         (FUNC_mpc_c_f): Likewise.
29328         (FUNC_mpc_c_c): Likewise.
29329         (test_functions): Add fma.  Update calls to FUNC.
29330         (handle_input_arg): Add argument exact_args.
29331         (add_test): Update call to handle_input_arg.
29332         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
29333         (output_for_one_input_case): Update call to calc_generic_results.
29334         Recalculate exact zero results in each rounding mode.
29336         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
29337         non-negative before setting low bit.
29338         * math/auto-libm-test-in: Mark one asin test possibly having
29339         spurious underflow.
29340         * math/auto-libm-test-out: Regenerated.
29341         * sysdeps/i386/fpu/libm-test-ulps: Update.
29342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29344 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
29346         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
29347         * sysdeps/unix/sysv/linux/microblaze: Move directory from
29348         ports/sysdeps/unix/sysv/linux/microblaze.
29349         * README: Add missing listing for microblaze*-*-linux-gnu.
29351 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
29353         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
29354         duplicate code
29356 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
29358         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
29359         * sysdeps/unix/sysv/linux/ia64: Move directory from
29360         ports/sysdeps/unix/sysv/linux/ia64.
29361         * README: Update listing for ia64-*-linux-gnu.
29363 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
29364             Joseph Myers  <joseph@codesourcery.com>
29366         * Makeconfig (test-name): New variable.
29367         (evaluate-test): Likewise.
29368         * Makerules (do-test-clean): Remove .test-result files.
29369         (common-mostlyclean): Likewise.
29370         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
29371         * scripts/evaluate-test.sh: New file.
29373 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
29375         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
29376         separate $(objpfx)tst-fopenloc-cmp.out and
29377         $(objpfx)tst-fopenloc-mem.out targets.
29378         (tests): Update dependencies.
29379         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
29380         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
29381         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
29382         (tst-rxspencer-no-utf8-ARGS): New variable.
29383         (tst-rxspencer-no-utf8-ENV): Likewise.
29384         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
29385         instead of $(objpfx)tst-rxspencer-mem.
29386         ($(objpfx)tst-rxspencer-mem): Change target to
29387         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
29388         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
29389         * posix/tst-rxspencer-no-utf8.c: New file.
29391         * elf/Makefile ($(objpfx)order.out): Remove rule.
29392         [$(run-built-tests) = yes] (tests): Depend on
29393         $(objpfx)order-cmp.out.
29394         ($(objpfx)order-cmp.out): New rule.
29395         [$(run-built-tests) = yes] (tests): Depend on
29396         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
29397         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
29398         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
29399         $(objpfx)tst-array5-static-cmp.out.
29400         ($(objpfx)tst-array1.out): Remove rule.
29401         ($(objpfx)tst-array1-cmp.out): New rule.
29402         ($(objpfx)tst-array1-static.out): Remove rule.
29403         ($(objpfx)tst-array1-static-cmp.out): New rule.
29404         ($(objpfx)tst-array2.out): Remove rule.
29405         ($(objpfx)tst-array2-cmp.out): New rule.
29406         ($(objpfx)tst-array3.out): Remove rule.
29407         ($(objpfx)tst-array3-cmp.out): New rule.
29408         ($(objpfx)tst-array4.out): Remove rule.
29409         ($(objpfx)tst-array4-cmp.out): New rule.
29410         ($(objpfx)tst-array5.out): Remove rule.
29411         ($(objpfx)tst-array5-cmp.out): New rule.
29412         ($(objpfx)tst-array5-static.out): Remove rule.
29413         ($(objpfx)tst-array5-static-cmp.out): New rule.
29414         [$(run-built-tests) = yes] (tests): Depend on
29415         $(objpfx)order2-cmp.out.
29416         ($(objpfx)order2.out): Remove rule.
29417         ($(objpfx)order2-cmp.out): New rule.
29418         ($(objpfx)tst-initorder.out): Remove rule.
29419         [$(run-built-tests) = yes] (tests): Depend on
29420         $(objpfx)tst-initorder-cmp.out.
29421         ($(objpfx)tst-initorder-cmp.out): New rule.
29422         ($(objpfx)tst-initorder2.out): Remove rule.
29423         [$(run-built-tests) = yes] (tests): Depend on
29424         $(objpfx)tst-initorder2-cmp.out.
29425         ($(objpfx)tst-initorder2-cmp.out): New rule.
29426         [$(run-built-tests) = yes] (tests): Depend on
29427         $(objpfx)tst-unused-dep-cmp.out.
29428         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
29429         ($(objpfx)tst-unused-dep-cmp.out): New rule.
29430         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
29431         on $(objpfx)tst-setvbuf1-cmp.out.
29432         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
29433         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
29434         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
29435         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
29436         ($(objpfx)tst-svc.out): Remove rule.
29437         ($(objpfx)tst-svc-cmp.out): New rule.
29439 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
29441         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
29442         * ctype/ctype.h [__USE_MISC]: Likewise.
29443         * dirent/dirent.h [__USE_MISC]: Likewise.
29444         * grp/grp.h [__USE_MISC]: Likewise.
29445         * io/fcntl.h [__USE_MISC]: Likewise.
29446         * io/sys/stat.h [__USE_MISC]: Likewise.
29447         * libio/stdio.h [__USE_MISC]: Likewise.
29448         * posix/unistd.h [__USE_MISC]: Likewise.
29449         * pwd/pwd.h [__USE_MISC]: Likewise.
29450         * stdlib.h [__USE_MISC]: Likewise.
29451         * string/bits/string2.h [__USE_MISC]: Likewise.
29452         * string/string.h [__USE_MISC]: Likewise.
29453         * time/time.h [__USE_MISC]: Likewise.
29455 2014-02-13  Andreas Schwab  <schwab@suse.de>
29457         [BZ #16574]
29458         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
29459         second answer buffer if it was separately allocated.
29461 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
29463         * sysdeps/mips/math-tests.h: Include <features.h>.
29464         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
29465         (ROUNDING_TESTS_long_double): Do not define.
29466         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
29467         (EXCEPTION_TESTS_long_double): Likewise.
29468         * sysdeps/mips/mips64/libm-test-ulps: Update.
29470         * include/features.h (__USE_BSD): Remove macro definitions.
29471         (__USE_SVID): Likewise.
29472         (_BSD_SOURCE): Likewise.
29473         (_SVID_SOURCE): Likewise.
29474         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
29475         from definition of _DEFAULT_SOURCE.
29476         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
29477         [_DEFAULT_SOURCE].
29478         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
29479         * bits/mman.h [__USE_BSD]: Likewise.
29480         * bits/termios.h [__USE_BSD]: Likewise.
29481         * bits/waitstatus.h [__USE_BSD]: Likewise.
29482         * ctype/ctype.h [__USE_SVID]: Likewise.
29483         * dirent/dirent.h [__USE_BSD]: Likewise.
29484         * grp/grp.h [__USE_SVID]: Likewise.
29485         [__USE_BSD]: Likewise.
29486         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
29487         * io/fcntl.h [__USE_BSD]: Likewise.
29488         * io/ftw.h [__USE_BSD]: Likewise.
29489         * io/sys/stat.h [__USE_BSD]: Likewise.
29490         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
29491         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
29492         * libio/stdio.h [__USE_SVID]: Likewise.
29493         [__USE_BSD]: Likewise.
29494         * math/math.h [__USE_SVID]: Likewise.
29495         [__USE_BSD]: Likewise.
29496         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
29497         * misc/bits/syslog.h [__USE_BSD]: Likewise.
29498         * misc/search.h [__USE_SVID]: Likewise.
29499         * misc/sys/mman.h [__USE_BSD]: Likewise.
29500         * misc/sys/syslog.h [__USE_BSD]: Likewise.
29501         * misc/sys/uio.h [__USE_BSD]: Likewise.
29502         * posix/bits/unistd.h [__USE_BSD]: Likewise.
29503         * posix/glob.h [__USE_BSD]: Likewise.
29504         * posix/regex.h [__USE_BSD]: Likewise.
29505         * posix/sys/types.h [__USE_BSD]: Likewise.
29506         [__USE_SVID]: Likewise.
29507         * posix/sys/utsname.h [__USE_SVID]: Likewise.
29508         * posix/sys/wait.h [__USE_BSD]: Likewise.
29509         [__USE_SVID]: Likewise.
29510         * posix/unistd.h [__USE_BSD]: Likewise.
29511         [__USE_SVID]: Likewise.
29512         * pwd/pwd.h [__USE_SVID]: Likewise.
29513         * resolv/netdb.h [__USE_BSD]: Likewise.
29514         * setjmp/setjmp.h [__USE_BSD]: Likewise.
29515         * signal/signal.h [__USE_BSD]: Likewise.
29516         [__USE_SVID]: Likewise.
29517         * socket/sys/socket.h [__USE_BSD]: Likewise.
29518         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
29519         * stdlib/stdlib.h [__USE_BSD]: Likewise.
29520         [__USE_SVID]: Likewise.
29521         * string/bits/string2.h [__USE_BSD]: Likewise.
29522         [__USE_SVID]: Likewise.
29523         * string/bits/string3.h [__USE_BSD]: Likewise.
29524         * string/endian.h [__USE_BSD]: Likewise.
29525         * string/string.h [__USE_SVID]: Likewise.
29526         [__USE_BSD]: Likewise.
29527         * string/strings.h [__USE_BSD]: Likewise.
29528         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
29529         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
29530         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
29531         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
29532         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
29533         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
29534         Likewise.
29535         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
29536         Likewise.
29537         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
29538         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
29539         Likewise.
29540         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
29541         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
29542         Likewise.
29543         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
29544         Likewise.
29545         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
29546         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
29547         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
29548         Likewise.
29549         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
29550         Likewise.
29551         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
29552         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
29553         * termios/termios.h [__USE_BSD]: Likewise.
29554         * time/sys/time.h [__USE_BSD]: Likewise.
29555         * time/time.h [__USE_BSD]: Likewise.
29556         [__USE_SVID]: Likewise.
29558         * Makefile (subdir_targets): Remove subdir_lint.out.
29560         * stdio-common/Makefile (do-tst-unbputc): Remove target.
29561         (do-tst-printf): Likewise.
29562         (tests): Depend directly on $(objpfx)tst-unbputc.out and
29563         $(objpfx)tst-printf.out.
29565         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
29567         * Makerules (check-abi-%): Change target to
29568         $(objpfx)check-abi-%.out.
29569         (check-abi target): Update dependencies.
29570         (check-abi-pattern variable): Redirect output of diff to $@.
29571         (check-abi variable): Likewise.
29572         * elf/Makefile (check-abi): Update dependencies.
29574         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
29575         unused.
29576         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
29577         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
29578         subnormal range.
29579         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
29580         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
29581         value has largest subnormal exponent.
29582         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
29583         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
29584         * sysdeps/aarch64/soft-fp/sfp-machine.h
29585         (_FP_TININESS_AFTER_ROUNDING): New macro.
29586         * sysdeps/alpha/soft-fp/sfp-machine.h
29587         (_FP_TININESS_AFTER_ROUNDING): Likewise.
29588         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
29589         Likewise.
29590         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
29591         (_FP_TININESS_AFTER_ROUNDING): Likewise.
29592         * sysdeps/mips/soft-fp/sfp-machine.h
29593         (_FP_TININESS_AFTER_ROUNDING): Likewise.
29594         * sysdeps/powerpc/soft-fp/sfp-machine.h
29595         (_FP_TININESS_AFTER_ROUNDING): Likewise.
29596         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
29597         Likewise.
29598         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
29599         (_FP_TININESS_AFTER_ROUNDING): Likewise.
29600         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
29601         (_FP_TININESS_AFTER_ROUNDING): Likewise.
29602         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
29603         Likewise.
29605 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
29607         [BZ #16545]
29608         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
29609         model 1.
29611 2014-02-12  Richard Henderson  <rth@redhat.com>
29613         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
29614         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
29615         * sysdeps/unix/sysv/linux/alpha: Move directory from
29616         ports/sysdeps/unix/sysv/linux/alpha.
29617         * README: Update listing for alpha-*-linux-gnu.
29619 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
29621         * include/features.h: Update comment documenting feature test
29622         macros.
29623         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
29624         _DEFAULT_SOURCE.
29625         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
29626         (_SVID_SOURCE): Likewise.
29627         (_DEFAULT_SOURCE): Update description of default features.
29628         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
29629         with _GNU_SOURCE.
29630         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
29631         (S_ISVTX): Likewise.
29632         * manual/math.texi (Mathematical Constants): Likewise.
29633         * manual/signal.texi (Interrupted Primitives): Likewise.
29634         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
29635         * math/test-matherr.c (_SVID_SOURCE): Do not define.
29636         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
29637         Don't refer to _SVID_SOURCE in warning text.
29639         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29641         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
29642         already defined.
29643         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
29644         * sysdeps/mips/dl-lookup.c: Remove.
29645         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
29647 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
29649         [BZ #16447]
29650         * math/auto-libm-test-in: Add testcase for expl.
29651         * math/auto-libm-test-out: Regenerate.
29652         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
29653         calculation of unsafe.
29654         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
29656 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
29658         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
29659         * sysdeps/unix/sysv/linux/aarch64: Move directory from
29660         ports/sysdeps/unix/sysv/linux/aarch64.
29661         * README: Update listing for aarch64*-*-linux-gnu.
29663 2014-02-11  Will Newton  <will.newton@linaro.org>
29665         * manual/probes.texi (Mathematical Function Probes): Use
29666         "triggered" instead of "hit".
29668         * manual/probes.texi (Internal Probes): Add documentation
29669         of setjmp, longjmp and longjmp_target probes.
29671         * include/stap-probe.h: Add comment about probe argument
29672         format.
29674         * malloc/mtrace.c (attribute_hidden): Remove unused macro
29675         definition.  (tr_where, tr_freehook, tr_mallochook,
29676         tr_reallochook, tr_memalignhook): Use ANSI protoype.
29678 2014-02-11  David S. Miller  <davem@davemloft.net>
29680         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
29681         processing int_tests.
29683 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
29685         * sysdeps/mips: Move directory from ports/sysdeps/mips.
29686         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
29687         * sysdeps/unix/sysv/linux/mips: Move directory from
29688         ports/sysdeps/unix/sysv/linux/mips.
29689         * README: Update listing for mips-*-linux-gnu and
29690         mips64-*-linux-gnu.
29692 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
29694         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
29695         * sysdeps/unix/sysv/linux/m68k: Move directory from
29696         ports/sysdeps/unix/sysv/linux/m68k.
29697         * README: Update listing for m68k-*-linux-gnu.
29699 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
29701         * sysdeps/tile: Move directory from ports/sysdeps/tile.
29702         * sysdeps/unix/sysv/linux/generic: Move directory from
29703         ports/sysdeps/unix/sysv/linux/generic.
29704         * sysdeps/unix/sysv/linux/tile: Move directory from
29705         ports/sysdeps/unix/sysv/linux/tile.
29706         * README: Update listing for tile*-*-linux-gnu.
29708 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
29710         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
29711         __builtin_expect.
29712         * benchtests/bench-memmem.c (simple_memmem): Likewise.
29713         * catgets/open_catalog.c (__open_catalog): Likewise.
29714         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
29715         * debug/confstr_chk.c: Likewise.
29716         * debug/fread_chk.c (__fread_chk): Likewise.
29717         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
29718         * debug/getgroups_chk.c: Likewise.
29719         * debug/mbsnrtowcs_chk.c: Likewise.
29720         * debug/mbsrtowcs_chk.c: Likewise.
29721         * debug/mbstowcs_chk.c: Likewise.
29722         * debug/memcpy_chk.c: Likewise.
29723         * debug/memmove_chk.c: Likewise.
29724         * debug/mempcpy_chk.c: Likewise.
29725         * debug/memset_chk.c: Likewise.
29726         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
29727         * debug/strcat_chk.c (__strcat_chk): Likewise.
29728         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
29729         * debug/strncat_chk.c (__strncat_chk): Likewise.
29730         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
29731         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
29732         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
29733         * debug/wcpncpy_chk.c: Likewise.
29734         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
29735         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
29736         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
29737         * debug/wcsncpy_chk.c: Likewise.
29738         * debug/wcsnrtombs_chk.c: Likewise.
29739         * debug/wcsrtombs_chk.c: Likewise.
29740         * debug/wcstombs_chk.c: Likewise.
29741         * debug/wmemcpy_chk.c: Likewise.
29742         * debug/wmemmove_chk.c: Likewise.
29743         * debug/wmempcpy_chk.c: Likewise.
29744         * debug/wmemset_chk.c: Likewise.
29745         * dirent/scandirat.c (SCANDIRAT): Likewise.
29746         * dlfcn/dladdr1.c (dladdr1): Likewise.
29747         * dlfcn/dladdr.c (dladdr): Likewise.
29748         * dlfcn/dlclose.c (dlclose_doit): Likewise.
29749         * dlfcn/dlerror.c (__dlerror): Likewise.
29750         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
29751         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
29752         * dlfcn/dlopen.c (dlopen_doit): Likewise.
29753         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
29754         * dlfcn/dlsym.c (dlsym_doit): Likewise.
29755         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
29756         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
29757         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
29758         Likewise.
29759         * elf/dl-conflict.c: Likewise.
29760         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
29761         * elf/dl-dst.h: Likewise.
29762         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
29763         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
29764         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
29765         * elf/dl-init.c (call_init, _dl_init): Likewise.
29766         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
29767         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
29768         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
29769         Likewise.
29770         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
29771         Likewise.
29772         * elf/dl-minimal.c (__libc_memalign): Likewise.
29773         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
29774         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
29775         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
29776         * elf/dl-sym.c (do_sym): Likewise.
29777         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
29778         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
29779         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
29780         * elf/dl-writev.h (_dl_writev): Likewise.
29781         * elf/ldconfig.c (search_dir): Likewise.
29782         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
29783         (dl_main): Likewise.
29784         * elf/setup-vdso.h (setup_vdso): Likewise.
29785         * grp/compat-initgroups.c (compat_call): Likewise.
29786         * grp/fgetgrent.c (fgetgrent): Likewise.
29787         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
29788         * grp/putgrent.c (putgrent): Likewise.
29789         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
29790         Likewise.
29791         * hurd/hurdinit.c: Likewise.
29792         * iconvdata/8bit-gap.c (struct): Likewise.
29793         * iconvdata/ansi_x3.110.c : Likewise.
29794         * iconvdata/big5.c : Likewise.
29795         * iconvdata/big5hkscs.c : Likewise.
29796         * iconvdata/cp1255.c: Likewise.
29797         * iconvdata/cp1258.c : Likewise.
29798         * iconvdata/cp932.c : Likewise.
29799         * iconvdata/euc-cn.c: Likewise.
29800         * iconvdata/euc-jisx0213.c : Likewise.
29801         * iconvdata/euc-jp.c: Likewise.
29802         * iconvdata/euc-jp-ms.c : Likewise.
29803         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
29804         * iconvdata/gb18030.c : Likewise.
29805         * iconvdata/gbbig5.c (const): Likewise.
29806         * iconvdata/gbgbk.c: Likewise.
29807         * iconvdata/gbk.c : Likewise.
29808         * iconvdata/ibm1364.c : Likewise.
29809         * iconvdata/ibm930.c : Likewise.
29810         * iconvdata/ibm932.c: Likewise.
29811         * iconvdata/ibm933.c : Likewise.
29812         * iconvdata/ibm935.c : Likewise.
29813         * iconvdata/ibm937.c : Likewise.
29814         * iconvdata/ibm939.c : Likewise.
29815         * iconvdata/ibm943.c: Likewise.
29816         * iconvdata/iso_11548-1.c: Likewise.
29817         * iconvdata/iso-2022-cn.c : Likewise.
29818         * iconvdata/iso-2022-cn-ext.c : Likewise.
29819         * iconvdata/iso-2022-jp-3.c: Likewise.
29820         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
29821         * iconvdata/iso-2022-kr.c : Likewise.
29822         * iconvdata/iso646.c (gconv_end): Likewise.
29823         * iconvdata/iso_6937-2.c : Likewise.
29824         * iconvdata/iso_6937.c : Likewise.
29825         * iconvdata/iso8859-1.c: Likewise.
29826         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
29827         * iconvdata/shift_jisx0213.c : Likewise.
29828         * iconvdata/sjis.c : Likewise.
29829         * iconvdata/t.61.c : Likewise.
29830         * iconvdata/tcvn5712-1.c : Likewise.
29831         * iconvdata/tscii.c: Likewise.
29832         * iconvdata/uhc.c : Likewise.
29833         * iconvdata/unicode.c (gconv_end): Likewise.
29834         * iconvdata/utf-16.c (gconv_end): Likewise.
29835         * iconvdata/utf-32.c (gconv_end): Likewise.
29836         * iconvdata/utf-7.c (base64): Likewise.
29837         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
29838         * iconv/gconv_close.c (__gconv_close): Likewise.
29839         * iconv/gconv_open.c (__gconv_open): Likewise.
29840         * iconv/gconv_simple.c (internal_ucs4_loop_single)
29841         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
29842         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
29843         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
29844         (ucs4le_internal_loop_single): Likewise.
29845         * iconv/iconv.c (iconv): Likewise.
29846         * iconv/iconv_close.c: Likewise.
29847         * iconv/loop.c (SINGLE): Likewise.
29848         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
29849         * include/atomic.h: Likewise.
29850         * inet/inet6_option.c (option_alloc): Likewise.
29851         * intl/bindtextdom.c (set_binding_values): Likewise.
29852         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
29853         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
29854         * intl/localealias.c (read_alias_file): Likewise.
29855         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
29856         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
29857         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
29858         * libio/fmemopen.c (fmemopen): Likewise.
29859         * libio/iofgets.c (_IO_fgets): Likewise.
29860         * libio/iofgets_u.c (fgets_unlocked): Likewise.
29861         * libio/iofgetws.c (fgetws): Likewise.
29862         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
29863         * libio/iogetdelim.c (_IO_getdelim): Likewise.
29864         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
29865         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
29866         * locale/findlocale.c (_nl_find_locale): Likewise.
29867         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
29868         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
29869         Likewise.
29870         * locale/setlocale.c (setlocale): Likewise.
29871         * login/programs/pt_chown.c (main): Likewise.
29872         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
29873         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
29874         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
29875         (mmap, mmap64, mremap, munmap): Likewise.
29876         * math/e_exp2l.c: Likewise.
29877         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
29878         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
29879         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
29880         * math/s_catan.c (__catan): Likewise.
29881         * math/s_catanf.c (__catanf): Likewise.
29882         * math/s_catanh.c (__catanh): Likewise.
29883         * math/s_catanhf.c (__catanhf): Likewise.
29884         * math/s_catanhl.c (__catanhl): Likewise.
29885         * math/s_catanl.c (__catanl): Likewise.
29886         * math/s_ccosh.c (__ccosh): Likewise.
29887         * math/s_ccoshf.c (__ccoshf): Likewise.
29888         * math/s_ccoshl.c (__ccoshl): Likewise.
29889         * math/s_cexp.c (__cexp): Likewise.
29890         * math/s_cexpf.c (__cexpf): Likewise.
29891         * math/s_cexpl.c (__cexpl): Likewise.
29892         * math/s_clog10.c (__clog10): Likewise.
29893         * math/s_clog10f.c (__clog10f): Likewise.
29894         * math/s_clog10l.c (__clog10l): Likewise.
29895         * math/s_clog.c (__clog): Likewise.
29896         * math/s_clogf.c (__clogf): Likewise.
29897         * math/s_clogl.c (__clogl): Likewise.
29898         * math/s_csin.c (__csin): Likewise.
29899         * math/s_csinf.c (__csinf): Likewise.
29900         * math/s_csinh.c (__csinh): Likewise.
29901         * math/s_csinhf.c (__csinhf): Likewise.
29902         * math/s_csinhl.c (__csinhl): Likewise.
29903         * math/s_csinl.c (__csinl): Likewise.
29904         * math/s_csqrt.c (__csqrt): Likewise.
29905         * math/s_csqrtf.c (__csqrtf): Likewise.
29906         * math/s_csqrtl.c (__csqrtl): Likewise.
29907         * math/s_ctan.c (__ctan): Likewise.
29908         * math/s_ctanf.c (__ctanf): Likewise.
29909         * math/s_ctanh.c (__ctanh): Likewise.
29910         * math/s_ctanhf.c (__ctanhf): Likewise.
29911         * math/s_ctanhl.c (__ctanhl): Likewise.
29912         * math/s_ctanl.c (__ctanl): Likewise.
29913         * math/w_pow.c: Likewise.
29914         * math/w_powf.c: Likewise.
29915         * math/w_powl.c: Likewise.
29916         * math/w_scalb.c (sysv_scalb): Likewise.
29917         * math/w_scalbf.c (sysv_scalbf): Likewise.
29918         * math/w_scalbl.c (sysv_scalbl): Likewise.
29919         * misc/error.c (error_tail): Likewise.
29920         * misc/pselect.c (__pselect): Likewise.
29921         * nis/nis_callback.c (__nis_create_callback): Likewise.
29922         * nis/nis_call.c (__nisfind_server): Likewise.
29923         * nis/nis_creategroup.c (nis_creategroup): Likewise.
29924         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
29925         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
29926         * nis/nis_getservlist.c (nis_getservlist): Likewise.
29927         * nis/nis_lookup.c (nis_lookup): Likewise.
29928         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
29929         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
29930         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
29931         * nis/nis_xdr.c (xdr_endpoint): Likewise.
29932         * nis/nss_compat/compat-grp.c (getgrent_next_file)
29933         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
29934         * nis/nss_compat/compat-initgroups.c (add_group)
29935         (internal_getgrent_r): Likewise.
29936         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
29937         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
29938         * nis/nss_compat/compat-spwd.c (getspent_next_file)
29939         (internal_getspnam_r): Likewise.
29940         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
29941         (_nss_nis_getaliasbyname_r): Likewise.
29942         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
29943         (_nss_nis_getntohost_r): Likewise.
29944         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
29945         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
29946         (_nss_nis_getgrgid_r): Likewise.
29947         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
29948         (internal_nis_gethostent_r, internal_gethostbyname2_r)
29949         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
29950         (_nss_nis_gethostbyname4_r): Likewise.
29951         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
29952         (initgroups_netid): Likewise.
29953         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
29954         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
29955         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
29956         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
29957         (_nss_nis_getprotobynumber_r): Likewise.
29958         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
29959         (_nss_nis_getsecretkey): Likewise.
29960         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
29961         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
29962         (_nss_nis_getpwuid_r): Likewise.
29963         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
29964         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
29965         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
29966         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
29967         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
29968         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
29969         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
29970         Likewise.
29971         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
29972         (_nss_nisplus_getntohost_r): Likewise.
29973         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
29974         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
29975         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
29976         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
29977         Likewise.
29978         * nis/nss_nisplus/nisplus-initgroups.c
29979         (_nss_nisplus_initgroups_dyn): Likewise.
29980         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
29981         (_nss_nisplus_getnetbyaddr_r): Likewise.
29982         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
29983         (_nss_nisplus_getprotobynumber_r): Likewise.
29984         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
29985         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
29986         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
29987         Likewise.
29988         * nis/nss_nisplus/nisplus-service.c
29989         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
29990         (_nss_nisplus_getservbyport_r): Likewise.
29991         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
29992         (_nss_nisplus_getspnam_r): Likewise.
29993         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
29994         Likewise.
29995         * nscd/aicache.c (addhstaiX): Likewise.
29996         * nscd/cache.c (cache_search, prune_cache): Likewise.
29997         * nscd/connections.c (register_traced_file, send_ro_fd)
29998         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
29999         (main_loop_epoll): Likewise.
30000         * nscd/grpcache.c (addgrbyX): Likewise.
30001         * nscd/hstcache.c (addhstbyX): Likewise.
30002         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30003         * nscd/mem.c (gc, mempool_alloc): Likewise.
30004         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
30005         (addinnetgrX): Likewise.
30006         * nscd/nscd-client.h (__nscd_acquire_maplock)
30007         (__nscd_drop_map_ref): Likewise.
30008         * nscd/nscd_getai.c (__nscd_getai): Likewise.
30009         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
30010         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
30011         Likewise.
30012         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
30013         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30014         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
30015         (__nscd_get_map_ref): Likewise.
30016         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
30017         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
30018         Likewise.
30019         * nscd/pwdcache.c (addpwbyX): Likewise.
30020         * nscd/selinux.c (preserve_capabilities): Likewise.
30021         * nscd/servicescache.c (addservbyX): Likewise.
30022         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
30023         * posix/fnmatch.c (fnmatch): Likewise.
30024         * posix/getopt.c (_getopt_internal_r): Likewise.
30025         * posix/glob.c (glob, glob_in_dir): Likewise.
30026         * posix/wordexp.c (exec_comm_child): Likewise.
30027         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
30028         (getanswer_r, gaih_getanswer_slice): Likewise.
30029         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
30030         * resolv/res_init.c: Likewise.
30031         * resolv/res_mkquery.c (res_nmkquery): Likewise.
30032         * resolv/res_query.c (__libc_res_nquery): Likewise.
30033         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
30034         Likewise.
30035         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
30036         * stdio-common/perror.c (perror): Likewise.
30037         * stdio-common/printf_fp.c (___printf_fp): Likewise.
30038         * stdio-common/tmpnam.c (tmpnam): Likewise.
30039         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
30040         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
30041         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
30042         Likewise.
30043         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
30044         * stdlib/putenv.c (putenv): Likewise.
30045         * stdlib/setenv.c (__add_to_environ): Likewise.
30046         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
30047         * stdlib/strtol_l.c (INTERNAL): Likewise.
30048         * string/memmem.c (memmem): Likewise.
30049         * string/strerror.c (strerror): Likewise.
30050         * string/strnlen.c (__strnlen): Likewise.
30051         * string/test-memmem.c (simple_memmem): Likewise.
30052         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
30053         * sunrpc/pm_getport.c (__get_socket): Likewise.
30054         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
30055         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
30056         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
30057         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
30058         Likewise.
30059         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
30060         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
30061         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
30062         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
30063         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
30064         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
30065         Likewise.
30066         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
30067         Likewise.
30068         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
30069         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
30070         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30071         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
30072         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
30073         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
30074         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
30075         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
30076         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
30077         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
30078         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
30079         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
30080         Likewise.
30081         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
30082         Likewise.
30083         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
30084         Likewise.
30085         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
30086         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30087         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
30088         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
30089         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
30090         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
30091         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
30092         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
30093         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
30094         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
30095         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
30096         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30097         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
30098         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
30099         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30100         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
30101         Likewise.
30102         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
30103         Likewise.
30104         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
30105         Likewise.
30106         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
30107         Likewise.
30108         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30109         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30110         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
30111         Likewise.
30112         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
30113         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
30114         * sysdeps/posix/opendir.c (__opendirat): Likewise.
30115         * sysdeps/posix/sleep.c: Likewise.
30116         * sysdeps/posix/tempname.c: Likewise.
30117         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
30118         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
30119         Likewise.
30120         * sysdeps/powerpc/powerpc32/dl-machine.h
30121         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
30122         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
30123         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30124         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
30125         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
30126         Likewise.
30127         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
30128         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
30129         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
30130         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
30131         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
30132         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
30133         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
30134         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
30135         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30136         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
30137         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
30138         (elf_machine_lazy_rel): Likewise.
30139         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
30140         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
30141         (elf_machine_lazy_rel): Likewise.
30142         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
30143         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
30144         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
30145         * sysdeps/unix/grantpt.c (grantpt): Likewise.
30146         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
30147         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
30148         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
30149         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30150         Likewise.
30151         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
30152         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
30153         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
30154         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
30155         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
30156         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
30157         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
30158         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
30159         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
30160         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
30161         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
30162         Likewise.
30163         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
30164         (__posix_fallocate64_l64): Likewise.
30165         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
30166         (posix_fallocate): Likewise.
30167         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
30168         Likewise.
30169         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30170         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
30171         (getifaddrs_internal): Likewise.
30172         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
30173         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
30174         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
30175         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
30176         * sysdeps/unix/sysv/linux/posix_fallocate64.c
30177         (__posix_fallocate64_l64): Likewise.
30178         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
30179         Likewise.
30180         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
30181         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
30182         (__get_clockfreq): Likewise.
30183         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
30184         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
30185         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
30186         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30187         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30188         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
30189         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
30190         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
30191         Likewise.
30192         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
30193         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
30194         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
30195         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
30196         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
30197         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
30198         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
30199         Likewise.
30200         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30201         (posix_fallocate): Likewise.
30202         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30203         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
30204         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
30205         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
30206         (elf_machine_rela, elf_machine_rela_relative)
30207         (elf_machine_lazy_rel): Likewise.
30208         * time/asctime.c (asctime_internal): Likewise.
30209         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
30210         * time/tzset.c (__tzset_parse_tz): Likewise.
30211         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
30212         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
30213         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
30214         * wcsmbs/wcsmbsload.h: Likewise.
30216         [BZ #15894]
30217         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
30219         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
30220         (arena_get2): Remove THREAD_STATS conditionals.
30221         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
30222         (__malloc_stats, int): Likewise.
30224 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
30226         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
30227         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
30229         * manual/setjmp.texi: Fix typos/grammar errors.
30231         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
30232         Only return early when n is <= 0.  Delete unused return statement.
30234         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
30235         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
30236         * debug/tst-longjmp_chk3.c: New file.
30238         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
30239         (test_main): Replace code with set_fortify_handler call.
30240         * debug/test-strcpy_chk.c: Likewise.
30241         * debug/tst-chk1.c: Likewise.
30242         * debug/tst-longjmp_chk.c: Likewise.
30243         * test-skeleton.c: Include fcntl.h & paths.h
30244         (set_fortify_handler): Define.
30246         * debug/tst-longjmp_chk.c: Add header comment and include
30247         ../test-skeleton.c.
30248         (do_test): Mark static.
30249         (TEST_FUNCTION): Define.
30251         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
30252         (IP_PMTUDISC_INTERFACE): Likewise.
30253         (IP_MULTICAST_IF): Likewise.
30254         (IP_MULTICAST_TTL): Likewise.
30255         (IP_MULTICAST_LOOP): Likewise.
30256         (IP_ADD_MEMBERSHIP): Likewise.
30257         (IP_DROP_MEMBERSHIP): Likewise.
30258         (IP_UNBLOCK_SOURCE): Likewise.
30259         (IP_BLOCK_SOURCE): Likewise.
30260         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
30261         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
30262         (IP_MSFILTER): Likewise.
30263         (MCAST_JOIN_GROUP): Likewise.
30264         (MCAST_BLOCK_SOURCE): Likewise.
30265         (MCAST_UNBLOCK_SOURCE): Likewise.
30266         (MCAST_LEAVE_GROUP): Likewise.
30267         (MCAST_JOIN_SOURCE_GROUP): Likewise.
30268         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
30269         (MCAST_MSFILTER): Likewise.
30270         (IP_MULTICAST_ALL): Likewise.
30271         (IP_UNICAST_IF): Likewise.
30273         * timezone/Makefile: Delete $(have-ksh) check.
30274         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
30275         * timezone/tzselect.ksh: Add +x mode bits.
30277         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
30278         (ANON_INODE_FS_MAGIC): Likewise.
30279         (BDEVFS_MAGIC): Likewise.
30280         (BINFMTFS_MAGIC): Likewise.
30281         (BTRFS_TEST_MAGIC): Likewise.
30282         (CRAMFS_MAGIC_WEND): Likewise.
30283         (DEBUGFS_MAGIC): Likewise.
30284         (ECRYPTFS_SUPER_MAGIC): Likewise.
30285         (EXT3_SUPER_MAGIC): Likewise.
30286         (EXT4_SUPER_MAGIC): Likewise.
30287         (FUTEXFS_SUPER_MAGIC): Likewise.
30288         (HOSTFS_SUPER_MAGIC): Likewise.
30289         (HUGETLBFS_MAGIC): Likewise.
30290         (MINIX3_SUPER_MAGIC): Likewise.
30291         (MTD_INODE_FS_MAGIC): Likewise.
30292         (NILFS_SUPER_MAGIC): Likewise.
30293         (OPENPROM_SUPER_MAGIC): Likewise.
30294         (PIPEFS_MAGIC): Likewise.
30295         (PSTOREFS_MAGIC): Likewise.
30296         (QNX6_SUPER_MAGIC): Likewise.
30297         (RAMFS_MAGIC): Likewise.
30298         (REISERFS_SUPER_MAGIC_STRING): Likewise.
30299         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
30300         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
30301         (SECURITYFS_MAGIC): Likewise.
30302         (SELINUX_MAGIC): Likewise.
30303         (SMACK_MAGIC): Likewise.
30304         (SOCKFS_MAGIC): Likewise.
30305         (SQUASHFS_MAGIC): Likewise.
30306         (STACK_END_MAGIC): Likewise.
30307         (TMPFS_MAGIC): Likewise.
30308         (USBDEVICE_SUPER_MAGIC): Likewise.
30309         (V9FS_MAGIC): Likewise.
30310         (XENFS_SUPER_MAGIC): Likewise.
30311         (CRAMFS_MAGIC): Fix typo in comment.
30312         (EXT2_SUPER_MAGIC): Update comment.
30313         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
30315 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
30317         * sysdeps/arm: Move directory from ports/sysdeps/arm.
30318         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
30319         * sysdeps/unix/sysv/linux/arm: Move directory from
30320         ports/sysdeps/unix/sysv/linux/arm.
30321         * README: Update listing for arm-*-linux-gnueabi.
30323         * README: Remove mention of am33.
30325 2014-02-07  Roland McGrath  <roland@hack.frob.com>
30327         * bits/sigset.h (__sigemptyset): Use a statement expression rather
30328         than the comma operator, to avoid "rhs of comma has no effect"
30329         compiler warnings.
30330         (__sigfillset, __sigandset, __sigorset): Likewise.
30331         * include/signal.h (__sigemptyset): Likewise.
30332         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
30334 2014-02-07  Allan McRae  <allan@archlinux.org>
30336         * version.h (RELEASE): Set to "development".
30337         (VERSION): Set to "2.19.90"
30338         * NEWS: Add 2.20 section.
30340 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
30342         [BZ #16529]
30343         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
30345 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
30347         * manual/contrib.texi: Update entry for Carlos O'Donell,
30348         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
30350 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
30352         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
30354         * sysdeps/unix/sysv/linux/kernel-features.h
30355         [__LINUX_KERNEL_VERSION >= 0x020621]
30356         (__ASSUME_PROC_PID_TASK_COMM): Define.
30358 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30360         [BZ #16398]
30361         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
30362         conversion when destination buffer does not have enough space.
30363         * libio/tst-ftell-partial-wide.c: New test case.
30364         * libio/Makefile (tests): Add tst-ftell-partial-wide.
30366         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
30367         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
30368         Leonard and Allan McRae.
30370 2014-02-04  David S. Miller  <davem@davemloft.net>
30372         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
30373         32-bit.
30375 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
30378         New file
30379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
30380         New file
30381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
30382         New file.
30383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
30384         New file.
30385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
30386         New file.
30387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
30388         New file.
30389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
30390         New file.
30391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
30392         New file.
30393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
30394         New file.
30395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
30396         New file.
30397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
30398         New file.
30399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
30400         New file.
30401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
30402         New file.
30404 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30406         * nptl/shlib-versions: Change powerpc*le start to 2.17.
30407         * shlib-versions: Likewise.
30409 2014-02-04  Roland McGrath  <roland@hack.frob.com>
30410             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30412         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
30413         (abilist-pattern): New variable, set to %-le.abilist.
30415         * Makerules (abilist-pattern): New variable.
30416         (vpath): Use $(abilist-pattern) in place of %.abilist.
30417         (check-abi-% pattern rule): Likewise.
30418         (check-abi, update-abi): Likewise.
30420 2014-02-04  Eric Wong  <normalperson@yhbt.net>
30422         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30424 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
30426         * manual/startup.texi: Add next, previous, and top entries for
30427         the `Program Arguments' and `Environment Variables' nodes.
30429 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
30431         * manual/macros.texi: Add comments before MTASC-safety macros.
30433         * manual/users.texi: Document MTASC-safety properties.
30435         * manual/threads.texi (pthread_key_create, pthread_key_delete)
30436         (pthread_getspecific, pthread_setspecific): Format with
30437         @deftypefun, and add @safety note.
30438         * manual/signal.texi: Move comments that analyze the above
30439         functions to their home place.
30441 2014-02-03  Allan McRae  <allan@archlinux.org>
30443         * po/sl.po: Update Slovenian translation from translation project.
30445 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
30447         * manual/time.texi (timegm): Add missing blank after @c.
30448         Reported by Joseph Myers <joseph@codesourcery.com>.
30450 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
30452         * manual/check-safety.sh: New.
30453         * manual/Makefile ($(objpfx)stamp-summary): Run it.
30455         * manual/terminal.texi: Document MTASC-safety properties.
30457         * manual/filesys.texi: Document MTASC-safety properties.
30459         * manual/errno.texi: Document MTASC-safety properties.
30461         * manual/intro.texi: Document safety identifiers and
30462         conditionals.
30464         * manual/string.texi (wcstok): Fix prototype.
30465         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
30467         * manual/time.texi: Document MTASC-safety properties.
30469         * manual/string.texi: Document MTASC-safety properties.
30471         * manual/threads.texi: Document MTASC-safety properties.
30473         * manual/stdio.texi: Document MTASC-safety properties.
30475         * manual/syslog.texi: Document MTASC-safety properties.
30477         * manual/sysinfo.texi: Document MTASC-safety properties.
30479         * manual/startup.texi: Document MTASC-safety properties.
30481         * manual/socket.texi: Document MTASC-safety properties.
30483         * manual/signal.texi: Document MTASC-safety properties.
30485 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
30487         * manual/setjmp.texi: Document MTASC-safety properties.
30489         * manual/search.texi: Document MTASC-safety properties.
30491         * manual/resource.texi: Document MTASC-safety properties.
30493         * manual/process.texi: Document MTASC-safety properties.
30495         * manual/platform.texi: Document MTASC-safety properties.
30497         * manual/pipe.texi: Document MTASC-safety properties.
30499         * manual/pattern.texi: Document MTASC-safety properties.
30501         * manual/message.texi: Document MTASC-safety properties.
30503         [BZ #12751]
30504         * manual/memory.texi: Document MTASC-safety properties.
30506         * manual/math.texi: Document MTASC-safety properties.
30508         * manual/locale.texi: Document MTASC-safety properties.
30510         * manual/llio.texi: Document MTASC-safety properties.
30512         * manual/libdl.texi: New.
30514         * manual/lang.texi: Document MTASC-safety properties.
30516         * manual/job.texi: Document MTASC-safety properties.
30518         * manual/getopt.texi: Document MTASC-safety properties.
30520         * manual/ctype.texi: Document MTASC-safety properties.
30522 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
30524         [BZ #16046]
30525         * csu/libc-tls.c (static_map): Remove variable.
30526         (__libc_setup_tls): Use main executable's link map for TLS data.
30527         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
30528         casing for LM_ID_BASE and GL(dl_nns).
30529         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
30530         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
30531         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
30532         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
30533         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
30534         member.
30535         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
30536         l_phnum members.
30538 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
30540         * manual/debug.texi: Document MTASC-safety properties.
30542 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
30544         [BZ #16510]
30545         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
30546         of __x86_64__ when disabling x87 inline functions.
30548 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
30550         * manual/charset.texi: Document MTASC-safety properties.
30552         * manual/crypt.texi: Document MTASC-safety properties.
30554         * manual/conf.texi: Document MTASC-safety properties.
30556         * manual/arith.texi: Document MTASC-safety properties.
30558         * manual/argp.texi: Document MTASC-safety properties.
30560         * manual/macros.texi: Introduce macros to document multi
30561         thread, asynchronous signal and asynchronous cancellation
30562         safety properties.
30563         * manual/intro.texi: Introduce the properties themselves.
30565 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30567         * sysdeps/sh/sh4/Makefile: New file.
30569 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
30571         * math/gen-libm-test.pl ($srcdir): New variable.
30572         ($auto_input): Use it.
30574 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30576         [BZ #16506]
30577         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
30578         access beyond array bounds when parsing netgroups file.
30580         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
30581         the old buffer before realloc.
30583 2014-01-27  Allan McRae  <allan@archlinux.org>
30585         * po/fr.po: Update French translation from translation project.
30587 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30589         * sysdeps/sh/libm-test-ulps: Regenerate.
30591 2014-01-24  David S. Miller  <davem@davemloft.net>
30593         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
30595 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30597         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
30598         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
30600 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30602         [BZ #16474]
30603         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
30604         string pointers after reallocation.
30606 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30608         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
30609         __SH4A__ instead of __SH_FPU_ANY__.
30611 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30613         * sysdeps/sh/fpu_control.h: New file.
30614         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
30615         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
30616         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
30617         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
30618         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
30619         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
30620         * sysdeps/sh/sys/ucontext.h: Remove.
30621         * sysdeps/sh/sys: Remove directory.
30623 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30625         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
30626         s390/sys/ucontext.h.
30627         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
30628         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
30630 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
30632         [BZ #15605]
30633         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
30635 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30637         [BZ#16431]
30638         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
30639         Adjust the vDSO correctly for internal calls.
30640         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
30642 2014-01-20  Allan McRae  <allan@archlinux.org>
30644         * po/ca.po: Update Catalan translation from translation project.
30646 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
30648         * sysdeps/s390/sotruss-lib.c: New file.
30650 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30652         [BZ#16430]
30653         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
30654         (__GI___gettimeofday): Alias for a different internal symbol to avoid
30655         local calls issues by not having a PLT stub required for IFUNC calls.
30656         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
30658 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
30660         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
30661         * math/test-fpucw-static.c: Likewise.
30663 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30665         [BZ #16453]
30666         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
30668 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30670         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
30671         implementation for powerpc.
30673 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
30675         [BZ #14782]
30676         * sysdeps/posix/system.c (__libc_system): Do not enable
30677         asynchronous cancellation.
30679 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30681         [BZ #16427]
30682         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
30683         handling only for numbers special also in the IEEE case.
30685 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30687         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30689 2014-01-11  Allan McRae  <allan@archlinux.org>
30691         * po/bg.po: Update Bulgarian translation from translation project.
30693         * po/de.po: Update German translation from translation project.
30695 2014-01-10  Roland McGrath  <roland@hack.frob.com>
30697         * sysdeps/generic/gcc-compat.h: New file.
30699 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30701         * benchtests/asin-inputs: Correct slow inputs.
30702         * benchtests/acos-inputs: Likewise.
30704 2014-01-10  Allan McRae  <allan@archlinux.org>
30706         * po:sv.po: Update Swedish translation from translation project.
30708         * po/vi.po: Update Vietnamese translation from translation project.
30710         * po/eo.po: Update Esperanto translation from translation project.
30712         * po/cs.po: Update Czech translation from translation project.
30714         * po/nl.po: Update Dutch translation from translation project.
30716         * po/pl.po: Update Polish translation from translation project.
30718         * po/ru.po: Update Russian translation from translation project.
30720         * po/uk.po: Update Ukrainian translation from translation project.
30722 2014-01-08  Brooks Moses  <bmoses@google.com>
30724         * elf/dl-load.c: Fix comment typo.
30726 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
30728         * po/header.pot: Rename to...
30729         * po/pot.header: ... this.
30730         * po/Makefile: Use pot.header.
30732 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
30733             Maxim Kuvyrkov  <maxim@kugelworks.com>
30735         [BZ #16394]
30736         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
30737         SRC and DEST against LEN.
30739 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30741         [BZ #16414]
30742         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
30743         implementation.
30744         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
30746 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30748         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30750 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
30752         [BZ #16408]
30753         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
30754         for large positive arguments.
30756 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
30758         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
30760         * math/auto-libm-test-in: Mark various tests with
30761         xfail-rounding:ldbl-128ibm.
30762         * math/auto-libm-test-out: Regenerated.
30764         [BZ #16407]
30765         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
30766         Increase overflow threshold.
30768 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
30770         [BZ #14286]
30771         * stdio-common/vfprintf.c: Check for integer overflow.
30773 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30775         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
30776         the first argument and return value of __tls_get_addr_internal.
30778 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30780         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
30781         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
30783 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30785         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
30786         * sysdeps/s390/rtld-global-offsets.sym: New file.
30787         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
30788         GLIBC_2.19 symbol.
30789         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
30790         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
30791         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
30792         ... this.
30793         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
30794         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
30795         ... this.
30796         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
30797         Regenerate.
30798         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
30799         Regenerate.
30800         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
30801         halfs of GPRs for high_gprs contexts.
30802         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
30803         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
30804         field.
30805         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
30806         uc_flags field.
30807         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
30808         64 bit versions:
30809         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
30810         for high GPRs (uc_high_gprs) and for future extensions
30811         (__reserved).
30812         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
30813         for future extensions (__reserved).
30814         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
30815         64 bit versions:
30816         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
30817         SC_HIGHGPRS offset definition.
30818         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
30819         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
30821         * Versions.def: Add GLIBC_2.19 for libpthread.
30822         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
30823         siglongjmp for libpthread with GLIBC_2.19 symver.
30824         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
30825         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
30826         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
30827         * sysdeps/s390/__longjmp.c: New file.
30828         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
30829         * sysdeps/s390/longjmp.c: New file.
30830         * sysdeps/s390/setjmp.S: New file.
30831         * sysdeps/s390/sigjmp.S: New file.
30832         * sysdeps/s390/v1-longjmp.c: New file.
30833         * sysdeps/s390/v1-setjmp.h: New file.
30834         * sysdeps/s390/v1-sigjmp.c: New file.
30835         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
30836         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
30837         GLIBC_2.19 version.
30838         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
30839         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
30840         versioned symbols for ____longjmp_chk.
30841         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
30842         Likewise.
30843         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
30844         Regenerate.
30845         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30846         Regenerate.
30847         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
30848         Regenerate.
30849         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30850         Regenerate.
30851         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
30852         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
30853         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
30854         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
30855         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
30856         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
30857         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
30858         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
30859         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
30860         * sysdeps/s390/rtld-__longjmp.c: New file.
30861         * sysdeps/s390/rtld-setjmp.S: New file.
30863 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
30865         [BZ #16400]
30866         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
30867         Return -__logl (x) for small positive arguments without evaluating
30868         a polynomial.
30870 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
30872         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
30873         Rename to ...
30874         (__ptrace_peeksiginfo_args): ... this.
30875         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30876         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30877         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30879 2014-01-06  Allan McRae  <allan@archlinux.org>
30881         * inet/netinet/in.h: Fix typo in comment.
30883 2014-01-05  Andreas Jaeger  <aj@suse.de>
30885         * sysdeps/i386/fpu/libm-test-ulps: Update.
30887 2014-01-05  Allan McRae  <allan@archlinux.org>
30889         * po/libc.pot: Regenerated.
30891         * malloc/memusagestat.c: Fix gettext call formatting.
30893 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
30895         * nscd/nscd.c: Improve usage() output.
30897 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
30899         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
30900         * sysdeps/unix/sysv/linux/configure: Regenerated.
30901         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
30902         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
30904 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
30906         [BZ #16390]
30907         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
30908         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
30910 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30912         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
30913         extra tokens at end of #undef directive.
30914         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
30915         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
30916         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
30918 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
30920         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
30922         * math/auto-libm-test-in: Mark various tests with
30923         xfail-rounding:ldbl-128ibm.
30924         * math/auto-libm-test-out: Regenerated.
30926 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
30928         [BZ #16386]
30929         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
30930         numbers with subnormal high part when calculating exponent.
30932         [BZ #16385]
30933         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
30934         fabs.
30936         [BZ #16384]
30937         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
30938         M_LN2l.
30939         (__ieee754_acoshl): Use __log1pl not __log1p.
30941 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
30943         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
30944         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
30945         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
30946         (grow_heap, heap_trim, _int_new_arena, get_free_list)
30947         (reused_arena, arena_get2): Convert to GNU style.
30948         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
30949         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
30950         (memalign_check, __malloc_set_state): Likewise.
30951         * malloc/mallocbug.c (main): Likewise.
30952         * malloc/malloc.c (__malloc_assert, malloc_init_state)
30953         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
30954         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
30955         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
30956         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
30957         (__posix_memalign, malloc_info): Likewise.
30958         * malloc/malloc.h: Likewise.
30959         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
30960         (mallochook, memalignhook, reallochook, mabort): Likewise.
30961         * malloc/mcheck.h: Likewise.
30962         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
30963         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
30964         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
30965         * malloc/morecore.c (__default_morecore): Likewise.
30966         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
30967         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
30968         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
30969         (print_and_abort): Likewise.
30970         * malloc/obstack.h: Likewise.
30971         * malloc/set-freeres.c (__libc_freeres): Likewise.
30972         * malloc/tst-mallocstate.c (main): Likewise.
30973         * malloc/tst-mtrace.c (main): Likewise.
30974         * malloc/tst-realloc.c (do_test): Likewise.
30976 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30978         [BZ #16366]
30979         * nscd/netgroupcache.c (do_notfound): New function.
30980         (addgetnetgrentX): Use it.
30982         [BZ # 16365]
30983         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
30984         NSS_STATUS_NOTFOUND.
30986 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
30988         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
30989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30991 2014-01-01  Allan McRae  <allan@archlinux.org>
30993         * scripts/update-copyrights: Update configure input file suffix.
30995         * NEWS: Update copyright year.
30996         * catgets/gencat.c: Likewise.
30997         * csu/version.c: Likewise.
30998         * debug/catchsegv.sh: Likewise.
30999         * debug/pcprofiledump.c: Likewise.
31000         * debug/xtrace.sh: Likewise.
31001         * elf/ldconfig.c: Likewise.
31002         * elf/ldd.bash.in: Likewise.
31003         * elf/pldd.c: Likewise.
31004         * elf/sotruss.ksh: Likewise.
31005         * elf/sprof.c: Likewise.
31006         * iconv/iconv_prog.c: Likewise.
31007         * iconv/iconvconfig.c: Likewise.
31008         * locale/programs/locale.c: Likewise.
31009         * locale/programs/localedef.c: Likewise.
31010         * login/programs/pt_chown.c: Likewise.
31011         * malloc/memusage.sh: Likewise.
31012         * malloc/memusagestat.c: Likewise.
31013         * malloc/mtrace.pl: Likewise.
31014         * manual/libc.texinfo: Likewise.
31015         * nscd/nscd.c: Likewise.
31016         * nss/getent.c: Likewise.
31017         * nss/makedb.c: Likewise.
31018         * posix/getconf.c: Likewise.
31019         * scripts/test-installation.pl: Likewise.
31021         * All files with FSF copyright notices: Update copyright dates
31022         using scripts/update-copyrights.
31023         * intl/plural.c: Regenerated.
31024         * locale/programs/charmap-kw.h: Likewise.
31025         * locale/programs/locfile-kw.h: Likewise.
31027 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
31029         * sysdeps/unix/sysv/linux/configure: Regenerated.
31030         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
31031         the linux/fanotify.h header.
31032         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
31033         HAVE_LINUX_FANOTIFY_H is defined.
31035 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
31037         * benchtests/cos-inputs: New inputs.
31038         * benchtests/sin-inputs: Likewise.
31040         * benchtests/atan-inputs: New inputs. Fix name of multiple
31041         precision fallback inputs.
31043         * benchtests/atanh-inputs: New inputs.
31044         * benchtests/tanh-inputs: Likewise.
31046         * benchtests/acosh-inputs: New inputs.
31047         * benchtests/asinh-inputs: Likewise.
31049         * benchtests/cosh-inputs: New inputs.
31050         * benchtests/sinh-inputs: Likewise.
31052         * benchtests/acos-inputs: Add more inputs.
31053         * benchtests/asin-inputs: Likewise.
31055 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
31057         [BZ #16375]
31058         * manual/arith.texi: Fix spelling.
31059         * manual/charset.texi: Likewise.
31060         * manual/errno.texi: Likewise.
31061         * manual/filesys.texi: Likewise.
31062         * manual/lang.texi: Likewise.
31063         * manual/llio.texi: Likewise.
31064         * manual/locale.texi: Likewise.
31065         * manual/message.texi: Likewise.
31066         * manual/resource.texi: Likewise.
31067         * manual/search.texi: Likewise.
31068         * manual/setjmp.texi: Likewise.
31069         * manual/stdio.texi: Likewise.
31070         * manual/string.texi: Likewise.
31071         * manual/sysinfo.texi: Likewise.
31072         * manual/time.texi: Likewise.
31074 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
31076         * po/sl.po: New file.
31078 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
31080         * .gitignore: Add core/.gdbinit/.gdb_history.
31082 2013-12-27  Allan McRae  <allan@archlinux.org>
31084         [BZ #16369]
31085         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
31086         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
31088 2013-12-24  Brooks Moses  <bmoses@google.com>
31090         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
31091         all compilers that claim C++98 compliance, not just GCC.
31092         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
31093         Likewise.
31095 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
31097         * NEWS: Restore accidentally deleted bug-fix entries.
31099 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
31100             Ondřej Bílka  <neleai@seznam.cz>
31102         [BZ #15073]
31103         * malloc/malloc.c (_int_free): Perform sanity check only if we
31104         have_lock.
31106 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
31108         [BZ #12986]
31109         * manual/stdio.texi (String Input Conversions): Clarify that character
31110         classes are not supported.
31112 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31114         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31116 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
31118         [BZ #16337]
31119         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
31120         Calculate results for small negative arguments directly rather
31121         than using reflection formula with special underflow handling.
31123         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
31124         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
31125         sysdeps/unix/bsd/bsd4.4/syscalls.list.
31126         (fchflags): Likewise.
31127         (revoke): Likewise.
31128         (setlogin): Likewise.
31129         (sigaltstack): Likewise.
31130         (wait4): Likewise.
31131         (sigblock): Remove.
31132         (sigsetmask): Likewise.
31133         (wait3): Likewise.
31134         (waitpid): Likewise.
31135         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
31136         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
31137         file.
31138         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
31139         * sysdeps/unix/bsd/Makefile: ... here.
31140         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
31141         * sysdeps/unix/bsd/Versions: ... here.
31142         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
31143         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
31144         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
31145         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
31146         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
31147         * sysdeps/unix/bsd/sigblock.c: ... here.
31148         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
31149         * sysdeps/unix/bsd/sigsetmask.c: ... here.
31150         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
31151         * sysdeps/unix/bsd/sigvec.c: ... here.
31152         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
31153         * sysdeps/unix/bsd/tcdrain.c: ... here.
31154         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
31155         * sysdeps/unix/bsd/tcgetattr.c: ... here.
31156         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
31157         * sysdeps/unix/bsd/tcsetattr.c: ... here.
31158         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
31159         * sysdeps/unix/bsd/wait.c: ... here.
31160         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
31161         * sysdeps/unix/bsd/wait3.c: ... here.
31162         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
31163         * sysdeps/unix/bsd/waitpid.c: ... here.
31165 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
31167         [BZ #16356]
31168         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
31169         round-to-nearest for [!USE_AS_EXPM1L].
31170         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
31171         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
31172         more tests of exp and exp10.  Expect some exp10 tests to miss
31173         exceptions or fail in directed rounding modes.
31174         * math/auto-libm-test-out: Regenerated.
31175         * math/libm-test.inc (exp10_tonearest_test_data): New array.
31176         (exp10_test_tonearest): New function.
31177         (exp10_towardzero_test_data): New array.
31178         (exp10_test_towardzero): New function.
31179         (exp10_downward_test_data): New array.
31180         (exp10_test_downward): New function.
31181         (exp10_upward_test_data): New array.
31182         (exp10_test_upward): New function.
31183         (main): Call the new functions.
31184         * sysdeps/i386/fpu/libm-test-ulps: Update.
31185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31187 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
31189         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
31190         asinh, atan, atan2, atanh, cbrt, cos and cosh.
31191         * math/auto-libm-test-out: Regenerated.
31192         * math/libm-test.inc (acosh_test_data): Add more tests.
31193         (atanh_test_data): Likewise.
31194         (ceil_test_data): Likewise.
31195         (copysign_test_data): Likewise.
31196         * sysdeps/i386/fpu/libm-test-ulps: Update.
31197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31199         * timezone/checktab.awk: Update from tzcode 2013i.
31200         * timezone/private.h: Likewise.
31201         * timezone/scheck.c: Likewise.
31202         * timezone/tzfile.h: Likewise.
31203         * timezone/tzselect.ksh: Likewise.
31204         * timezone/zdump.c: Likewise.
31205         * timezone/zic.c: Likewise.
31207         * math/auto-libm-test-in: Add tests of cpow.
31208         * math/auto-libm-test-out: Regenerated.
31209         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
31210         * math/gen-auto-libm-tests.c (func_calc_method): Add value
31211         mpc_cc_c.
31212         (func_calc_desc): Add mpc_cc_c union field.
31213         (test_functions): Add cpow.
31214         (special_fill_2pi): New function.
31215         (special_real_inputs): Add 2pi.
31216         (calc_generic_results): Handle mpc_cc_c.
31217         * sysdeps/i386/fpu/libm-test-ulps: Update.
31218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31220         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
31221         csqrt, ctan and ctanh.
31222         * math/auto-libm-test-out: Regenerated.
31223         * math/libm-test.inc (TEST_COND_x86_64): New macro.
31224         (TEST_COND_x86): Likewise.
31225         (ccos_test_data): Use AUTO_TESTS_c_c.
31226         (ccosh_test_data): Likewise.
31227         (cexp_test_data): Likewise.
31228         (clog_test_data): Likewise.
31229         (csqrt_test_data): Likewise.
31230         (ctan_test_data): Likewise.
31231         (ctan_tonearest_test_data): Likewise.
31232         (ctan_towardzero_test_data): Likewise.
31233         (ctan_downward_test_data): Likewise.
31234         (ctan_upward_test_data): Likewise.
31235         (ctanh_test_data): Likewise.
31236         (ctanh_tonearest_test_data): Likewise.
31237         (ctanh_towardzero_test_data): Likewise.
31238         (ctanh_downward_test_data): Likewise.
31239         (ctanh_upward_test_data): Likewise.
31240         * math/gen-auto-libm-tests.c (func_calc_method): Add value
31241         mpc_c_c.
31242         (func_calc_desc): Add mpc_c_c union field.
31243         (FUNC_mpc_c_c): New macro.
31244         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
31245         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
31246         ctanh.
31247         (special_fill_min_subnorm_p120): New function.
31248         (special_real_inputs): Add min_subnorm_p120.
31249         (calc_generic_results): Handle mpc_c_c.
31250         * sysdeps/i386/fpu/libm-test-ulps: Update.
31251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31253 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
31255         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
31256         (do_sin_slow): New functions.
31257         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
31258         (cslow2, csloww1, csloww2): Use the new functions.
31260         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
31261         Use M to change sign of result instead of X.  Assume X is
31262         positive.
31263         (csloww1): Likewise.
31264         (__sin): Adjust.
31265         (__cos): Adjust.
31267         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
31268         arguments A and DA.
31269         (__sin): Adjust.
31270         (__cos): Likewise.
31272         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
31273         (__cos): Likewise.
31274         (sloww1): Don't adjust sign of DX.
31275         (csloww1): Likewise.
31276         (sloww2): Use X directly and don't adjust sign of DX.
31277         (csloww2): Likewise.
31279 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
31281         * math/auto-libm-test-in: Add tests of cabs and carg.
31282         * math/auto-libm-test-out: Regenerated.
31283         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
31284         (carg_test_data): Likewise.
31285         * math/gen-auto-libm-tests.c (func_calc_method): Add value
31286         mpc_c_f.
31287         (func_calc_desc): Add mpc_c_f union field.
31288         (test_functions): Add cabs and carg.
31289         (calc_generic_results): Handle mpc_c_f.
31291         * sysdeps/powerpc/powerpc32/libgcc-compat.S
31292         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
31293         as a macro and a compat symbol.
31294         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
31295         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
31296         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
31297         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
31298         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
31299         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
31300         not use .hidden.
31301         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
31302         Likewise.
31303         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
31304         Likewise.
31305         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
31306         Likewise.
31307         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
31308         Likewise.
31309         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
31310         Likewise.
31311         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
31312         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
31313         from GLIBC_2.3.2.
31315 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31317         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31319 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
31321         * manual/texinfo.tex: Update to version 2013-11-26.10 with
31322         trailing whitespace removed.
31323         * scripts/config.guess: Update to version 2013-11-29.
31324         * scripts/config.sub: Update to version 2013-10-01.
31326         * math/auto-libm-test-in: Add tests of sincos.
31327         * math/auto-libm-test-out: Regenerated.
31328         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
31329         * math/gen-auto-libm-tests.c (func_calc_method): Add value
31330         mpfr_f_11.
31331         (func_calc_desc): Add mpfr_f_11 union field.
31332         (test_functions): Add sincos.
31333         (calc_generic_results): Handle mpfr_f_11.
31334         * sysdeps/i386/fpu/libm-test-ulps: Update.
31335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31337 2013-12-19  Andreas Schwab  <schwab@suse.de>
31339         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
31340         CALL_MCOUNT.
31341         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
31342         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
31343         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
31345 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
31347         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
31348         * sysdeps/i386/fpu/libm-test-ulps: Update.
31349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31351         [BZ #16293]
31352         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
31353         round-to-nearest mode when using frndint.
31354         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
31355         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31356         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
31357         Likewise.
31358         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
31359         sinh test to fail.
31360         * math/auto-libm-test-out: Regenerated.
31361         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
31362         (TEST_COND_x86): Likewise.
31363         (expm1_tonearest_test_data): New array.
31364         (expm1_test_tonearest): New function.
31365         (expm1_towardzero_test_data): New array.
31366         (expm1_test_towardzero): New function.
31367         (expm1_downward_test_data): New array.
31368         (expm1_test_downward): New function.
31369         (expm1_upward_test_data): New array.
31370         (expm1_test_upward): New function.
31371         (main): Run the new test functions.
31372         * sysdeps/i386/fpu/libm-test-ulps: Update.
31373         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31375         * include/features.h: Update comment documenting feature test
31376         macros.  Mention _DEFAULT_SOURCE in comment.
31377         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
31378         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
31379         _BSD_SOURCE and _SVID_SOURCE.
31380         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
31381         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
31382         !_SVID_SOURCE]: Likewise.
31383         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
31384         (__USE_POSIX_IMPLICITLY): Define.
31385         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
31386         (_POSIX_SOURCE): Undefine and redefine.
31387         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
31388         (_POSIX_C_SOURCE): Likewise.
31389         * manual/creature.texi (_DEFAULT_SOURCE): Document.
31390         (Feature Test Macros): Update documentation of default features.
31392 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31394         * benchtests/Makefile: Add bench-strtok.
31395         * benchtests/bench-strtok.c: New file: strtok benchtest.
31397 2013-12-19  Allan McRae  <allan@archlinux.org>
31399         * manual/install.texi: Suppress menu for plain text output.
31400         * INSTALL: Regenerated.
31402 2013-12-18  Brooks Moses  <bmoses@google.com>
31404         [BZ #15846]
31405         * misc/getauxval.c: Include errno.h.
31406         (__getauxval): Set errno to ENOENT if the requested type is not
31407         found.
31408         * misc/sys/auxv.h (getauxval): Document that it may set errno;
31409         don't declare with __attribute_const__.
31410         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
31411         * manual/startup.texi: Document that getauxval sets errno.
31413 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
31415         * math/auto-libm-test-in: Add tests of jn and yn.
31416         * math/auto-libm-test-out: Regenerated.
31417         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
31418         (yn_test_data): Likewise.
31419         * math/gen-auto-libm-tests.c (func_calc_method): Add value
31420         mpfr_if_f.
31421         (func_calc_desc): Add mpfr_if_f union field.
31422         (FUNC_mpfr_if_f): New macro.
31423         (test_functions): Add jn and yn.
31424         (calc_generic_results): Assert type of second input for
31425         mpfr_ff_f.  Handle mpfr_if_f.
31426         (output_for_one_input_case): Disable all checking for arguments
31427         fitting floating-point types in case of an integer argument.
31428         * sysdeps/i386/fpu/libm-test-ulps: Update.
31429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
31432         Don't expect fegetround reference in libm.so.
31434 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31436         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
31437         $(config-cflags-nofma).
31439 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
31441         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
31442         * math/auto-libm-test-out: Regenerated.
31444         [BZ #16338]
31445         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
31446         to determine exponent and adjust argument to have exponent of -1.
31447         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
31448         log2.
31449         * math/auto-libm-test-out: Regenerated.
31450         * sysdeps/i386/fpu/libm-test-ulps: Update.
31451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31453 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
31455         * manual/probes.texi: Remove cases when per-thread arenas are
31456         disabled.
31458 2013-12-18  Andreas Schwab  <schwab@suse.de>
31460         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
31461         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
31462         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
31463         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
31464         * sysdeps/i386/i686/multiarch/Makefile: Update.
31465         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
31467 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
31469         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
31470         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
31472 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
31474         [BZ #15968]
31475         Support TZ transition times < 00:00:00.
31476         This is needed for version-3 tz-format files; it supports time
31477         stamps past 2037 for America/Godthab (the only entry in the tz
31478         database for which this change is relevant).
31479         * manual/time.texi (TZ Variable): Document transition times
31480         from -167:59:59 through -00:00:01.
31481         * time/tzset.c (tz_rule): Time of day is now signed.
31482         (__tzset_parse_tz): Parse negative time of day.
31484         Document TZ transition times >= 25:00:00.
31485         * manual/time.texi (TZ Variable): Document transition times from
31486         25:00:00 through 167:59:59.  These are already supported, and this
31487         support will help with version-3 tz-format files.
31489         * manual/time.texi (TZ Variable): Modernize North America example
31490         to reflect current (i.e., 2007-and-later) daylight saving rules.
31492         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
31494 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
31496         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
31497         * sysdeps/unix/bsd/bits/stat.h: Likewise.
31498         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
31499         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
31500         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
31501         * sysdeps/unix/bsd/bsdstat.h: Likewise.
31502         * sysdeps/unix/bsd/clock.c: Likewise.
31503         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
31504         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
31505         * sysdeps/unix/bsd/init-posix.c: Likewise.
31506         * sysdeps/unix/bsd/poll.c: Likewise.
31507         * sysdeps/unix/bsd/ptsname.c: Likewise.
31508         * sysdeps/unix/bsd/seekdir.c: Likewise.
31509         * sysdeps/unix/bsd/setegid.c: Likewise.
31510         * sysdeps/unix/bsd/seteuid.c: Likewise.
31511         * sysdeps/unix/bsd/setgid.c: Likewise.
31512         * sysdeps/unix/bsd/setrgid.c: Likewise.
31513         * sysdeps/unix/bsd/setruid.c: Likewise.
31514         * sysdeps/unix/bsd/setsid.c: Likewise.
31515         * sysdeps/unix/bsd/setuid.c: Likewise.
31516         * sysdeps/unix/bsd/sigaction.c: Likewise.
31517         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
31518         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
31519         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
31520         * sysdeps/unix/bsd/telldir.c: Likewise.
31521         * sysdeps/unix/bsd/times.c: Likewise.
31522         * sysdeps/unix/bsd/usleep.c: Likewise.
31524         * misc/Makefile (install-lib): Remove libbsd-compat.a.
31525         ($(objpfx)libbsd-compat.a): Remove rule.
31527         * include/features.h (__FAVOR_BSD): Do not define.
31528         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
31529         features conflicting with POSIX.
31530         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
31531         (_BSD_SOURCE): Remove description of not being a subset of other
31532         feature test macros.
31533         * manual/job.texi (getpgrp): Do not document BSD version.
31534         (getpgid): Do not document by reference to BSD getpgrp.
31535         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
31536         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
31537         * signal/signal.h [__FAVOR_BSD]: Likewise.
31538         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
31539         instead of making contents conditional on [__FAVOR_BSD].
31540         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
31542 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31544         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31546 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
31548         [BZ #16314]
31549         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
31550         values below 2**-450, not 2**-500.
31551         * math/auto-libm-test-in: Don't allow spurious underflow from
31552         hypot.
31553         * math/auto-libm-test-out: Regenerated.
31555         [BZ #16316]
31556         [BZ #16330]
31557         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
31558         values of ha and hb and sort them after adjusting subnormal
31559         arguments.
31560         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
31561         Likewise.
31562         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
31563         values of ea and eb and sort them after adjusting subnormal
31564         arguments.
31565         * math/auto-libm-test-in: Do not expect some hypot tests of
31566         subnormals to fail.  Add more hypot tests.
31567         * math/auto-libm-test-out: Regenerated.
31569 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31571         [BZ #13304]
31572         * sysdeps/sh/s_fma.c: New file.
31573         * sysdeps/sh/s_fmaf.c: New file.
31574         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
31575         version.
31576         * sysdeps/sh/Implies: Add sh/soft-fp.
31578 2013-12-16  Roland McGrath  <roland@hack.frob.com>
31580         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
31581         level of indirection to members `objname', `errstring', `malloced'.
31582         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
31583         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
31584         it as the __longjmp argument (just pass 1 instead).
31585         (_dl_catch_error): Initialize C with argument pointers and address of
31586         volatile local ERRCODE rather than copying values out of C at return.
31588 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
31590         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
31591         * math/auto-libm-test-out: Regenerated.
31592         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
31593         (hypot_test_data): Likewise.
31594         (pow_test_data): Likewise.
31595         (pow_tonearest_test_data): Likewise.
31596         * math/gen-auto-libm-tests.c (func_calc_method): Add value
31597         mpfr_ff_f.
31598         (func_calc_desc): Add mpfr_ff_f union field.
31599         (FUNC_mpfr_ff_f): New macro.
31600         (test_functions): Add atan2, hypot and pow.
31601         (special_fill_min): New function.
31602         (special_fill_minus_min): Likewise.
31603         (special_fill_min_subnorm): Likewise.
31604         (special_fill_minus_min_subnorm): Likewise.
31605         (special_real_inputs): Add min, -min, min_subnorm and
31606         -min_subnorm.
31607         (calc_generic_results): Handle mpfr_ff_f.
31608         * sysdeps/i386/fpu/libm-test-ulps: Update.
31609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31611 2013-12-16  Will Newton  <will.newton@linaro.org>
31613         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
31614         (Aligned Memory Blocks): Add documentation for aligned_alloc
31615         and suggest it as an alternative to posix_memalign.
31616         (Hooks for Malloc): Document __memalign_hook is also called
31617         for aligned_alloc.  (Summary of Malloc): Add summary for
31618         aligned alloc.  Document __memalign_hook is also called
31619         for aligned_alloc.
31621 2013-12-16  Will Newton  <will.newton@linaro.org>
31623         * manual/memory.texi (Malloc Examples): Clarify default
31624         alignment documentation.  Suggest posix_memalign rather
31625         than memalign or valloc.
31626         (Aligned Memory Blocks): Remove suggestion to use memalign
31627         or valloc.  Remove obsolete comment about BSD.
31628         Document memalign errno values and mark the function obsolete.
31629         Document posix_memalign returned error codes.  Mark valloc
31630         as obsolete.  (Hooks for Malloc): __memalign_hook is also
31631         called for posix_memalign and valloc.
31632         (Summary of Malloc): Add posix_memalign to function summary.
31633         __memalign_hook is also called for posix_memalign and valloc.
31635 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31637         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
31638         TAYLOR_SIN.
31639         (__sin): Adjust.
31640         (__cos): Likewise.
31641         (sloww): Use mynumber union.  Expand ternary operator into
31642         if-else statements.
31643         (cslow): use mynumber union.
31645 2013-12-16  Allan McRae  <allan@archlinux.org>
31647         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
31648         * configure: Regenerated.
31650         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
31652         [BZ #14120]
31653         * configure.ac: Added --enable-maintainer-mode. Check for
31654         autoconf when enabled.
31655         * configure: Regenerated.
31657         * nscd/nscd.service: New file.
31658         * nscd/nscd.tmpfiles: New file.
31660 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
31662         [BZ #12100]
31663         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
31664         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
31665         * sysdeps/x86_64/multiarch/strstr.c: ... here.
31666         (strstr): Add __strstr_sse2_unaligned ifunc.
31667         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
31668         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
31669         (strcasestr): Remove __strcasestr_sse42 ifunc.
31670         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
31671         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
31672         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
31674 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31676         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
31677         * sysdeps/sh/bits/fenv.h: ... here.
31678         * sysdeps/sh/sh4/fpu/bits: Remove directory.
31680 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31682         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
31684         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
31685         hypotf multiarch implementations.
31686         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
31687         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
31688         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
31689         multiarch hypot for PPC64.
31690         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
31691         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
31692         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
31693         multiarch hypotf for PPC64.
31695         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
31696         modff multiarch implementations.
31697         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
31698         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
31699         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
31700         multiarch modf for PPC64.
31701         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
31702         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
31703         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
31704         multiarch modff for PPC64.
31706         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
31707         and logl multiarch implementations.
31708         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
31709         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
31710         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
31711         multiarch logb for PPC64.
31712         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
31713         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
31714         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
31715         multiarch logb for PPC64.
31716         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
31717         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
31718         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
31719         multiarch logb for PPC64.
31721         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
31722         isinff multiarch implementation.
31723         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
31724         file.
31725         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
31726         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
31727         multiarch isinf for PPC64.
31728         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
31729         file.
31730         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
31731         multiarch isinff for PPC64.
31733         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
31734         finitef multiarch implementation.
31735         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
31736         file.
31737         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
31738         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
31739         multiarch finite for PPC64.
31740         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
31741         file.
31742         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
31743         multiarch finitef for PPC64.
31745         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
31746         lrint multiarch implementation.
31747         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
31748         file.
31749         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
31750         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
31751         multiarch llrint for PPC64.
31752         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
31753         multiarch lrint for PPC64.
31755         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
31756         copysignf multiarch implementation.
31757         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
31758         file.
31759         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
31760         file.
31761         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
31762         multiarch copysign for PPC64.
31763         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
31764         multiarch copysignf for PPC64.
31766         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
31767         multiarch implementation.
31768         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
31769         file.
31770         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
31771         file.
31772         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
31773         file.
31774         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
31775         file.
31776         multiarch llround for PPC64.
31777         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
31778         multiarch trunc for PPC64.
31779         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
31780         multiarch truncf for PPC64.
31782         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
31783         multiarch implementation.
31784         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
31785         file.
31786         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
31787         file.
31788         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
31789         file.
31790         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
31791         file.
31792         multiarch llround for PPC64.
31793         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
31794         multiarch round for PPC64.
31795         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
31796         multiarch roundf for PPC64.
31798         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
31799         multiarch implementation.
31800         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
31801         file.
31802         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
31803         file.
31804         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
31805         file.
31806         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
31807         file.
31808         multiarch llround for PPC64.
31809         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
31810         multiarch floor for PPC64.
31811         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
31812         multiarch floorf for PPC64.
31814         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
31815         multiarch implementation.
31816         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
31817         file.
31818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
31819         file.
31820         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
31821         file.
31822         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
31823         file.
31824         multiarch llround for PPC64.
31825         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
31826         multiarch ceil for PPC64.
31827         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
31828         multiarch ceilf for PPC64.
31830         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
31831         multiarch implementation.
31832         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
31833         file.
31834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
31835         file.
31836         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
31837         file.
31838         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
31839         multiarch llround for PPC64.
31840         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
31841         multiarch lround for PPC64.
31843         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
31844         multiarch implementation.
31845         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
31846         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
31847         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
31848         file.
31849         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
31850         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
31851         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
31852         multiarch isnan for PPC64.
31853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
31854         multiarch isnanf for PPC64.
31856         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
31857         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
31858         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
31859         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
31860         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
31861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
31863         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
31864         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31865         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31866         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31868         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
31869         multiarch implementations.
31870         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31871         (__libc_ifunc_impl_list): Likewise.
31872         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
31873         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
31874         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
31875         multiarch stpcpy for PPC64.
31877         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
31878         multiarch implementations.
31879         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31880         (__libc_ifunc_impl_list): Likewise.
31881         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
31882         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
31883         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
31884         multiarch strcpy for PPC64.
31886         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
31887         redefine function name.
31888         (_wordcopy_fwd_dest_aligned): Likewise.
31889         (_wordcopy_bwd_aligned): Likewise.
31890         (_wordcopy_bwd_dest_aligned): Likewise.
31891         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
31892         multiarch implementations.
31893         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31894         (__libc_ifunc_impl_list): Likewise.
31895         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
31896         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
31897         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
31898         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
31899         multiarch wcscpy for PPC64.
31901         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
31902         multiarch implementations.
31903         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31904         (__libc_ifunc_impl_list): Likewise.
31905         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
31906         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
31907         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
31908         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
31909         multiarch wcscpy for PPC64.
31911         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
31912         multiarch implementations.
31913         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31914         (__libc_ifunc_impl_list): Likewise.
31915         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
31916         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
31917         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
31918         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
31919         multiarch wcsrchr for PPC64.
31921         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
31922         multiarch implementations.
31923         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31924         (__libc_ifunc_impl_list): Likewise.
31925         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
31926         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
31927         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
31928         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
31929         multiarch wcschr for PPC64.
31931         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
31932         multiarch implementations.
31933         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31934         (__libc_ifunc_impl_list): Likewise.
31935         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
31936         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
31937         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
31938         multiarch strchrnul for PPC64.
31940         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
31941         implementations.
31942         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31943         (__libc_ifunc_impl_list): Likewise.
31944         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
31945         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
31946         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
31947         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
31948         strchr for PPC64.
31950         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
31951         implementations.
31952         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31953         (__libc_ifunc_impl_list): Likewise.
31954         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
31955         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
31956         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
31957         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
31958         strncmp for PPC64.
31960         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
31961         multiarch implementations.
31962         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31963         (__libc_ifunc_impl_list): Likewise.
31964         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
31965         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
31966         strncasecmp for PPC64.
31967         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
31968         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
31969         multiarch strncasecmp_l for PPC64.
31971         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
31972         multiarch implementations.
31973         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31974         (__libc_ifunc_impl_list): Likewise.
31975         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
31976         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
31977         multiarch strcasecmp for PPC64.
31978         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
31979         file.
31980         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
31981         multiarch strcasecmp_l for PPC64.
31983         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
31984         implementations.
31985         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31986         (__libc_ifunc_impl_list): Likewise.
31987         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
31988         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
31989         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
31990         strnlen for PPC64.
31992         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
31993         implementations.
31994         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31995         (__libc_ifunc_impl_list): Likewise.
31996         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
31997         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
31998         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
31999         strlen for PPC64.
32001         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
32002         implementations.
32003         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32004         (__libc_ifunc_impl_list): Likewise.
32005         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
32006         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
32007         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
32008         rawmemrchr for PPC64.
32010         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
32011         implementation.
32012         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32013         (__libc_ifunc_impl_list): Likewise.
32014         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
32015         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
32016         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
32017         memrchr for PPC64.
32019         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
32020         implementation.
32021         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32022         (__libc_ifunc_impl_list): Likewise.
32023         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
32024         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
32025         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
32026         memchr for PPC64.
32028         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
32029         implementation.
32030         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32031         (__libc_ifunc_impl_list): Likewise.
32032         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
32033         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
32034         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
32035         mempcpy for PPC64.
32037         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
32038         avoid cretion of __bzero symbol.
32039         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
32040         Likewise.
32041         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
32042         Likewise.
32043         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
32044         Likewise.
32045         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
32046         multiarch implementations.
32047         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32048         (__libc_ifunc_impl_list): Likewise.
32049         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
32050         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
32051         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
32052         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
32053         bzero for PPC32.
32054         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
32055         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
32056         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
32057         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
32058         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
32059         memset for PPC64.
32060         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
32062         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
32063         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
32064         implementations.
32065         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32066         (__libc_ifunc_impl_list): Likewise.
32067         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
32068         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
32069         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
32070         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
32071         memcmp for PPC64.
32073         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
32074         multiarch for POWER/PPC64.
32075         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
32076         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
32077         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
32078         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
32079         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
32080         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
32081         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
32082         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
32083         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
32084         memcpy for PPC64.
32086         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
32087         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
32088         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
32089         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
32090         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
32091         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
32092         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
32093         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
32094         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
32095         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
32096         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
32097         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
32098         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
32099         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
32100         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
32101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
32102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
32103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
32104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
32105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
32106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
32107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
32109 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32111         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
32113 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
32115         * benchtests/Makefile (bench): Add exp2 and log2.
32116         (LDLIBS-bench-exp2): Add -lm.
32117         (LDLIBS-bench-log2): Likewise.
32118         * benchtests/exp2-inputs: New inputs file.
32119         * benchtests/log2-inputs: New inputs file.
32120         * benchtests/log-inputs: Add new inputs.
32121         * benchtests/tan-inputs: Likewise.
32123 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32125         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
32126         definition...
32127         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
32128         (csloww2): ... from here.
32130         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
32131         instead of structures.
32132         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
32133         (POLYNOMIAL): Likewise.
32134         (TAYLOR_SLOW): Likewise.
32135         (__sin): Likewise.
32136         (__cos): Likewise.
32137         (slow1): Likewise.
32138         (slow2): Likewise.
32139         (sloww): Likewise.
32140         (sloww1); Likewise.
32141         (sloww2): Likewise.
32142         (bsloww1): Likewise.
32143         (bsloww2): Likewise.
32144         (cslow2): Likewise.
32145         (csloww): Likewise.
32146         (csloww1): Likewise.
32147         (csloww2): Likewise.
32149 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
32151         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
32152         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
32153         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
32154         * malloc/hooks.c (realloc_check): Likewise.
32156         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
32157         * malloc/arena.c: Remove PER_THREAD conditional.
32158         [!PER_THREAD]: Remove code.
32159         (ptmalloc_unlock_all2): Likewise.
32160         (ptmalloc_init): Likewise.
32161         (_int_new_arena): Likewise.
32162         (arena_get2): Likewise.
32163         * malloc/hooks.c (__malloc_get_state): Likewise.
32164         (__malloc_set_state): Likewise.
32165         * malloc/malloc.c: Likewise.
32166         (struct malloc_state): Likewise.
32167         (struct malloc_par): Likewise.
32168         (__libc_realloc): Likewise.
32169         (__libc_mallopt): Likewise.
32171 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32173         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
32175 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
32177         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
32178         macro to a function.  Check for zero perturb_byte.
32179         (_int_malloc, _int_free): Remove zero perturb_byte checks.
32181         * malloc/malloc.c: (force_reg): Remove.
32182         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
32183         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
32184         force_reg by atomic_forced_read.
32185         * malloc/arena.c (ptmalloc_init): Likewise.
32186         * malloc/hooks.c (top_check): Likewise.
32188 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32190         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32192 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
32194         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32196 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
32198         * math/auto-libm-test-in: Add tests of lgamma.
32199         * math/auto-libm-test-out: Regenerated.
32200         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
32201         (M_LOG_2_SQRT_PIl): Likewise.
32202         (lgamma_test_data): Use AUTO_TESTS_f_f1.
32203         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32204         mpfr_f_f1.
32205         (func_calc_desc): Add mpfr_f_f1 union field.
32206         (ARGS1): New macro.
32207         (ARGS2): Likewise.
32208         (ARGS3): Likewise.
32209         (ARGS4): Likewise.
32210         (RET1): Likewise.
32211         (RET2): Likewise.
32212         (CALC): Likewise.
32213         (FUNC): Likewise.
32214         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
32215         (test_functions): Add lgamma.
32216         (calc_generic_results): Handle mpfr_f_f1.
32217         * sysdeps/i386/fpu/libm-test-ulps: Update.
32218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32220 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32222         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
32223         __mpn_add_n for PowerPC64/POWER7.
32224         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
32225         __mpn_sub_n for PowerPC64/POWER7.
32227         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
32228         __mpn_addmul_1 for PowerPC64.
32229         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
32230         __mpn_submul_1 for PowerPC64.
32231         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
32232         for PowerPC64.
32233         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
32234         for PowerPC64.
32236 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
32238         [BZ #15089]
32239         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
32241 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32243         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
32245         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
32246         add multiarch folders.
32247         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
32248         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
32249         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
32250         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
32251         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
32252         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
32253         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
32254         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
32255         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
32256         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
32257         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
32258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
32259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
32260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
32261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
32262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
32263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
32265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
32266         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
32267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
32268         New file.
32269         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
32270         New file.
32271         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
32272         multiarch __ieee754_hypot for PowerPC32.
32273         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
32274         New file.
32275         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
32276         New file.
32277         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
32278         multiarch __ieee754_hypotf for PowerPC32.
32280         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
32281         long_double_symbol only if __logbl is defined.
32282         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
32283         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
32284         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
32285         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
32286         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
32287         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
32288         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
32289         path for implementation.
32290         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
32291         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
32292         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
32293         logb, and logbl multiarch implementations for PowerPC32.
32294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
32295         file.
32296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
32297         file.
32298         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
32299         multiarch logb for PowerPC32.
32300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
32301         file.
32302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
32303         file.
32304         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
32305         multiarch logbf for PowerPC32.
32306         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
32307         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
32308         file.
32309         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
32310         multiarch logbl implementation for PowerPC32.
32312         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
32313         and modff multiarch implementations.
32314         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
32315         New file.
32316         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
32317         New file.
32318         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
32319         multiarch modf for PowerPC32.
32320         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
32321         New file.
32322         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
32323         New file.
32324         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
32325         multiarch modff for PowerPC32.
32327         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
32328         and lrintf multiarch implementations.
32329         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
32330         New file.
32331         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
32332         New file.
32333         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
32334         multiarch lrint for PowerPC32.
32335         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
32336         file: multiarch lrintf for PowerPC32.
32338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
32339         and lroundf multiarch implementations.
32340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
32341         New file.
32342         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
32343         New file.
32344         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
32345         New file.
32346         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
32347         multiarch lround for PowerPC32.
32348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
32349         file: multiarch lroundf for PowerPC32.
32351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
32352         copysign and copysignf multiarch implementations.
32353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
32354         New file.
32355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
32356         New file.
32357         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
32358         file: multiarch copysign for PowerPC32.
32359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
32360         file: multiarch copysignf for PowerPC32.
32362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
32363         and truncf multiarch implementations.
32364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
32365         New file.
32366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
32367         file.
32368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
32369         multiarch trunc for PowerPC32.
32370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
32371         New file.
32372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
32373         New file.
32374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
32375         multiarch truncf for PowerPC32.
32377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
32378         and roundf multiarch implementations.
32379         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
32380         New file.
32381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
32382         file.
32383         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
32384         multiarch round for PowerPC32.
32385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
32386         New file.
32387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
32388         New file.
32389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
32390         multiarch roundf for PowerPC32.
32392         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
32393         and floorf multiarch implementations.
32394         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
32395         New file.
32396         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
32397         file.
32398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
32399         multiarch floor for PowerPC32.
32400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
32401         New file.
32402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
32403         New file.
32404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
32405         multiarch floorf for PowerPC32.
32407         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
32408         and ceilf multiarch implementations.
32409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
32410         New file.
32411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
32412         file.
32413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
32414         multiarch ceil for PowerPC32.
32415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
32416         New file.
32417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
32418         file.
32419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
32420         multiarch ceilf for PowerPC32.
32422         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
32423         is defined.
32424         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
32425         FINITEF is defined.
32426         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
32427         and finitef multiarch implementations.
32428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
32429         New file.
32430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
32431         file.
32432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
32433         multiarch finite for PowerPC32.
32434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
32435         New file.
32436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
32437         file: multiarch finitef for PowerPC32.
32439         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
32440         and isinff multiarch implementations.
32441         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
32442         file.
32443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
32444         file.
32445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
32446         multiarch isinf for PowerPC32.
32447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
32448         New file.
32449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
32450         multiarch isinff for PowerPC32.
32452         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
32453         alias when __isnan is defined.
32454         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
32455         and isnanf multiarch implementations.
32456         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
32457         file.
32458         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
32459         file.
32460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
32461         file.
32462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
32463         file.
32464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
32465         multiarch isnan for PowerPC32.
32466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
32467         New file.
32468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
32469         New file.
32470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
32471         multiarch isnanf for PowerPC32.
32473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
32474         and sqrtf multiarch implementations.
32475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
32476         file.
32477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
32478         file.
32479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
32480         multiarch sqrt for PowerPC32.
32481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
32482         file.
32483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
32484         file.
32485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
32486         multiarch sqrtf for PowerPC32.
32488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
32489         and llroundf multiarch implementations.
32490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
32491         New file.
32492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
32493         New file.
32494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
32495         New file.
32496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
32497         file: multiarch llround for PowerPC32.
32498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
32499         file: multiarch llroundf for PowerPC32.
32501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
32502         multiarch PowerPC32 fpu implementations.
32503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
32504         New file.
32505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
32506         New file.
32507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
32508         multiarch llrint for PowerPC32.
32509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
32510         New file.
32511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
32512         New file.
32513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
32514         file.
32516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
32518         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
32519         file.
32520         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
32521         file.
32522         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
32523         file.
32524         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
32525         multiarch wordcopy for PPC32.
32526         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
32527         wordcopy objects.
32528         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32529         (__libc_ifunc_impl_list): Likewise.
32530         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
32531         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
32532         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
32533         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
32534         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
32535         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
32537         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
32538         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
32539         file.
32540         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
32541         file.
32542         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
32543         file.
32544         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
32545         multiarch wcscpy for PPC32.
32546         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
32547         multiarch objects.
32548         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32549         (__libc_ifunc_impl_list): Likewise.
32550         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
32551         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
32552         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
32553         sysdeps/powerpc/power6/wcscpy.c.
32555         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
32556         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
32557         file.
32558         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
32559         file.
32560         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
32561         file.
32562         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
32563         multiarch wcsrchr for PPC32.
32564         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
32565         multiarch objects.
32566         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32567         (__libc_ifunc_impl_list): Likewise.
32568         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
32569         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
32570         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
32571         sysdeps/powerpc/power6/wcsrchr.c.
32573         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
32574         file.
32575         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
32576         file.
32577         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
32578         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
32579         multiarch wcschr for PPc32.
32580         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
32581         multiarch objects.
32582         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32583         (__libc_ifunc_impl_list): Likewise.
32584         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
32585         * sysdeps/powerpc/power6/wcschr.c: ... to here.
32586         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
32587         sysdeps/powerpc/power6/wcschr.c.
32589         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
32590         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
32591         file.
32592         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
32593         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
32594         file: multiarch strchr for PPC32.
32595         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
32596         multiarch objects.
32597         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32598         (__libc_ifunc_impl_list): Likewise.
32600         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
32601         name.
32602         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
32603         file.
32604         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
32605         file.
32606         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
32607         multiarch strchrnul for PPC32.
32608         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
32609         multiarch objects.
32610         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32611         (__libc_ifunc_impl_list): Likewise.
32613         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
32614         file.
32615         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
32616         multiarch strncasecmp for PPC32.
32617         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
32618         file.
32619         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
32620         multiarch strncasecmp_l for PPC32.
32621         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
32622         strncasecmp multiarch objects.
32623         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32624         (__libc_ifunc_impl_list): Likewise.
32626         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
32627         file.
32628         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
32629         multiarch strncasecmp for PPC32.
32630         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
32631         New file.
32632         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
32633         multiarch strcasecmp_l for PPC32.
32634         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
32635         multiarch objects.
32636         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32637         (__libc_ifunc_impl_list): Likewise.
32639         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
32640         file.
32641         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
32642         file.
32643         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
32644         multiarch strncmp for PPC32.
32645         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
32646         multiarch objects.
32647         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32648         (__libc_ifunc_impl_list): Likewise.
32650         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
32651         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
32652         file.
32653         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
32654         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
32655         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
32656         multiarch objects.
32657         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32658         (__libc_ifunc_impl_list): Likewise.
32660         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
32661         file.
32662         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
32663         file.
32664         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
32665         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
32666         multiarch objects.
32667         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32668         (__libc_ifunc_impl_list): Likewise.
32670         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
32671         file.
32672         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
32673         file.
32674         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
32675         multiarch rawmemchr for PPC32.
32676         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
32677         multiarch objects.
32678         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32679         (__libc_ifunc_impl_list): Likewise.
32681         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
32682         file.
32683         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
32684         file.
32685         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
32686         file: memrchr multiarch for PPC32.
32687         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
32688         multiarch objects.
32689         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32690         (__libc_ifunc_impl_list): Likewise.
32692         * string/memchr.c (__memchr): Using macro to redefine symbol name.
32693         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
32694         file.
32695         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
32696         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
32697         multiarch memchr for PPC32.
32698         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
32699         multiarch objects.
32700         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
32701         (__libc_ifunc_impl_list): Likewise.
32703         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
32704         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
32705         file.
32706         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
32707         file.
32708         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
32709         file: multiarch mempcpy for PPC32.
32710         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
32711         multiarch objects.
32712         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
32713         (__libc_ifunc_impl_list): Likewise.
32715         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
32716         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
32717         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
32718         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
32719         multiarch bzero for PPC32.
32720         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
32721         file.
32722         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
32723         file.
32724         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
32725         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
32726         file: multiarch memset for PPC32.
32727         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
32728         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
32729         memset multiarch objects.
32730         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
32731         (__libc_ifunc_impl_list): Likewise.
32733         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
32734         file.
32735         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
32736         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
32737         memcmp for PPC32.
32738         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
32739         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
32740         multiarch objects.
32741         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
32742         (__libc_ifunc_impl_list): Likewise.
32744         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
32745         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
32746         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
32747         file.
32748         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
32749         file.
32750         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
32751         file.
32752         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
32753         multiarch memcpy for PPC32.
32754         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
32755         multiarch objects.
32756         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
32757         (__libc_ifunc_impl_list): Likewise.
32759         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
32760         support multiarch for POWER/PPC32.
32761         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
32762         Likewise.
32763         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
32764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
32765         Implies file to make multiarch folder appers before the fpu and
32766         default folder for power4 configuration.
32768 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
32770         * scripts/bench.pl: Append volatile keyword to type.
32772 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32774         * sysdeps/sh/sotruss-lib.c: New file.
32775         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
32777 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32779         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32781 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
32783         [BZ #6810]
32784         * math/w_tgamma.c: Include <errno.h>.
32785         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
32786         * math/w_tgammaf.c: Include <errno.h>.
32787         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
32788         * math/w_tgammal.c: Include <errno.h>.
32789         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
32790         * math/auto-libm-test-in: Do not allow missing errno on tgamma
32791         underflow.  Add more tgamma tests.
32792         * math/auto-libm-test-out: Regenerated.
32793         * sysdeps/i386/fpu/libm-test-ulps: Update.
32794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32796         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
32797         sin, sinh, tan, tanh, tgamma, y0 and y1.
32798         * math/auto-libm-test-out: Regenerated.
32799         * math/libm-test.inc (TEST_COND_x86_64): New macro.
32800         (TEST_COND_x86): Likewise.
32801         (M_E2l): Remove macro.
32802         (M_E3l): Likewise.
32803         (M_2_SQRT_PIl): Likewise.
32804         (M_SQRT_PIl): Likewise.
32805         (M_1_DIV_El): Likewise.
32806         (log_test_data): Use AUTO_TESTS_f_f.
32807         (log10_test_data): Likewise.
32808         (log1p_test_data): Likewise.
32809         (log2_test_data): Likewise.
32810         (sin_test_data): Likewise.
32811         (sin_tonearest_test_data): Likewise.
32812         (sin_towardzero_test_data): Likewise.
32813         (sin_downward_test_data): Likewise.
32814         (sin_upward_test_data): Likewise.
32815         (sinh_test_data): Likewise.
32816         (sinh_tonearest_test_data): Likewise.
32817         (sinh_towardzero_test_data): Likewise.
32818         (sinh_downward_test_data): Likewise.
32819         (sinh_upward_test_data): Likewise.
32820         (tan_test_data): Likewise.
32821         (tan_tonearest_test_data): Likewise.
32822         (tan_towardzero_test_data): Likewise.
32823         (tan_downward_test_data): Likewise.
32824         (tan_upward_test_data): Likewise.
32825         (tanh_test_data): Likewise.
32826         (tgamma_test_data): Likewise.
32827         (y0_test_data): Likewise.
32828         (y1_test_data): Likewise.
32829         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
32830         (special_real_inputs): Add pi/4.
32831         * sysdeps/i386/fpu/libm-test-ulps: Update.
32832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32834 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32836         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
32837         "longjmp_target" static probes.
32838         (__longjmp): Rename to __longjmp_symbol.
32839         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32840         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
32841         on which longjmp to generate.
32842         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
32843         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
32844         probe.
32845         (__sigsetjmp): Rename to __sigsetjmp_symbol.
32846         (__sigjmp_save): Rename to __sigjmp_save_symbol.
32847         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
32848         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
32849         and __sigjmp_save_symbol based on which sigsetjmp to generated.
32850         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
32851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
32852         __longjmp_symbol based on which __longjmp to generate.
32853         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
32854         probe.
32855         (setjmp): Rename to setjmp_symbol.
32856         (__sigsetjmp): Rename to __sigsetjmp_symbol.
32857         (_setjmp): Rename to _setjmp_symbol.
32858         (__sigsetjmp): Rename to __sigsetjmp_symbol.
32859         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
32860         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
32861         which setjmp to generate.
32862         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
32863         "longjmp_target" static probes.
32865 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
32867         * benchtests/README: Add note about output arguments.
32868         * benchtests/bench-sincos.c: Remove file.
32869         * benchtests/sincos-inputs: New file.
32870         * scripts/bench.pl: Identify output arguments and define
32871         static variables for them.
32873         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
32875         [BZ #15941]
32876         * Makefile (INSTALL): Add install-plain.texi as the primary
32877         dependency.
32878         * manual/install-plain.texi: New file.
32879         * manual/install.texi: Include node directive only for
32880         non-plaintext output.
32882 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
32884         * stdlib/longlong.h: Update from GCC.
32886         [BZ #6807]
32887         [BZ #15901]
32888         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
32889         * math/w_j0f.c (y0f): Likewise.
32890         * math/w_j0l.c (__y0l): Likewise.
32891         * math/w_j1.c (y1): Likewise.
32892         * math/w_j1f.c (y1f): Likewise.
32893         * math/w_j1l.c (__y1l): Likewise
32894         * math/w_jn.c (yn): Likewise.
32895         * math/w_jnf.c (ynf): Likewise.
32896         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
32897         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
32898         value for Bessel function domain errors outside _SVID_ mode.
32899         Adjust sign of return value for yn (negative integer, 0).
32900         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
32901         by zero in return for negative x and set sign appropriately for
32902         negative n.
32903         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
32904         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32905         * math/libm-test.inc (y0_test_data): Add more tests and adjust
32906         expectations in error cases.
32907         (y1_test_data): Likewise.
32908         (yn_test_data): Likewise.
32909         * sysdeps/i386/fpu/libm-test-ulps: Update.
32910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32912 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
32914         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
32915         "64" to "64-v1".  Add "64-v2".
32916         (abi-64-options): Rename to ...
32917         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
32918         (abi-64-condition): Rename to ...
32919         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
32920         (abi-64-ld-soname): Rename to ...
32921         (abi-64-v1-ld-soname): ... this.
32922         (abi-64-v2-options): Define.
32923         (abi-64-v2-condition): Likewise.
32924         (abi-64-v2-ld-soname): Likewise.
32925         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
32926         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
32927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
32928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
32929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
32931 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
32932             Alan Modra  <amodra@gmail.com>
32934         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
32935         New versions for use with the ELFv2 ABI.
32936         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
32937         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
32938         declaration.
32939         (struct La_ppc64v2_retval): Likewise.
32940         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
32941         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
32942         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
32943         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
32944         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
32945         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
32946         Do not save or restore CR.
32947         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
32948         (_dl_profile_resolve): Do no save or restore CR.  Support extended
32949         return values for ELFv2 ABI.  Fix location of FPR return registers.
32950         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
32951         updated values for _CALL_ELF == 2.
32952         (La_regs, La_retval, int_retval): Likewise.
32954 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
32956         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
32957         (FRAME_MIN_SIZE_PARM): Likewise.
32958         (FRAME_BACKCHAIN): Likewise.
32959         (FRAME_CR_SAVE): Likewise.
32960         (FRAME_LR_SAVE): Likewise.
32961         (FRAME_TOC_SAVE): Likewise.
32962         (FRAME_PARM_SAVE): Likewise.
32963         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
32964         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
32965         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
32966         (call_mcount_parm_offset): New macro.
32967         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
32968         (PROF): Use symbolic stack frame offsets.
32969         (TAIL_CALL_SYSCALL_ERROR): Likewise.
32970         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
32971         Redefine in terms of FRAME_MIN_SIZE.
32972         (_dl_runtime_resolve): Use symbolic stack frame offsets.
32973         (_dl_profile_resolve): Likewise.  Update comment.
32974         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
32975         symbols stack frame offsets.
32976         (__sigsetjmp): Likewise.
32977         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
32978         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
32979         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
32980         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
32982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
32983         (FRAME_BACKCHAIN): Remove.
32984         (FRAME_CR_SAVE): Likewise.
32985         (FRAME_LR_SAVE): Likewise.
32986         (FRAME_COMPILER_DW): Likewise.
32987         (FRAME_LINKER_DW): Likewise.
32988         (FRAME_TOC_SAVE): Likewise.
32989         (FRAME_PARM_SAVE): Likewise.
32990         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
32991         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
32992         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
32993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
32994         (CHECK_SP): Use symbolic stack frame offsets.
32995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
32996         zone" instead of caller's parameter save area for temp storage.
32997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
32998         Likewise.  Also, use symbolic stack frame offsets.
32999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
33000         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
33001         our own stack frame instead of the caller's.
33002         (__socket): Use symbolic stack frame offsets.
33004 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
33005             Alan Modra  <amodra@gmail.com>
33007         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
33008         Define.
33009         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
33010         (PPC64_LOCAL_ENTRY_OFFSET): Define.
33011         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
33012         New function.
33013         (elf_machine_fixup_plt): Call it.
33014         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
33015         reloc arguments.
33016         (elf_machine_rela): Update call to elf_machine_plt_conflict.
33017         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
33018         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
33019         r2 before calling target.
33021 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
33022             Alan Modra  <amodra@gmail.com>
33024         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
33025         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
33026         versions of macros to support ELFv2 ABI.
33027         (LOCALENTRY): New macro.
33028         (ENTRY, EALIGN): Use it.
33029         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
33030         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
33031         fall through into ENTRY entry point.
33032         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
33033         Only define if _CALL_ELF != 2.
33035         (elf_machine_matches_host): Verify ABI version matches.
33036         (RTLD_START): Use LOCALENTRY.
33037         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
33038         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
33039         (PLT_ENTRY_WORDS): New macro.
33040         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
33041         (elf_machine_runtime_setup): Support ELFv2 ABI.
33042         (elf_machine_fixup_plt): Likewise.
33043         (elf_machine_plt_conflict): Likewise.
33044         (resolve_ifunc): Likewise.
33045         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
33046         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
33047         Likewise.
33048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
33049         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
33050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33051         (makecontext): Support ELFv2 ABI.
33052         * elf/elf.h (EF_PPC64_ABI): Define.
33054 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
33056         * sysdeps/powerpc/powerpc64/sysdep.h
33057         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
33058         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
33059         (ENTRY) [ASSEMBLER]: ... but instead here ...
33060         (EALIGN) [ASSEMBLER]: ... and here.
33061         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
33062         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
33063         (ENTRY_2) [!ASSEMBLER]: Use it.
33064         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
33065         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
33066         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
33067         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
33068         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
33069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
33070         Use PPC64_LOAD_FUNCPTR.
33072         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
33074 2013-12-04  Alan Modra  <amodra@gmail.com>
33076         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
33077         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
33078         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
33079         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
33081         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
33082         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
33083         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
33084         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
33085         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
33086         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
33088 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
33090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33091         (__makecontext): Fix incorrect CFI when backtracing out of
33092         context created via makecontext.
33093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
33094         (__setcontext): Fix incorrect CFI during switch to new context.
33095         (__novec_setcontext): Likewise.
33097 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
33099         [BZ #4772]
33100         * time/strptime_l.c (__strptime_internal): Allow modifiers
33101         in strptime.
33102         * time/tst-strptime.c (day_tests): Add testcase.
33104 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33106         * scripts/bench.pl: Skip over blank lines.
33108 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
33110         [BZ #926]
33111         * manual/time.texi (Calendar Time): Clarify what timezone functions
33112         use.
33114 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33116         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33118 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
33120         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
33121         implementation.
33122         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
33123         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
33124         * debug/memset_chk.c (__memset_chk): Likewise.
33125         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
33126         * debug/strncpy_chk.c: Likewise.
33128 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
33130         [BZ #15268]
33131         [BZ #15425]
33132         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
33133         (__ieee754_exp): For possibly underflowing results, check size of
33134         result and force underflow exception if required.
33135         * math/auto-libm-test-in: Add more tests of exp.
33136         * math/auto-libm-test-out: Regenerated.
33137         * sysdeps/i386/fpu/libm-test-ulps: Update.
33138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33140         [BZ #16283]
33141         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
33142         * math/w_exp2f.c (__exp2f): Likewise.
33143         * math/w_exp2l.c (__exp2l): Likewise.
33144         * math/auto-libm-test-in: Do not allow missing errno on exp2
33145         underflow.
33146         * math/auto-libm-test-out: Regenerated.
33148 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
33150         [BZ #16274]
33151         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
33152         handle filename validation.
33153         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
33154         (do_open): Delete.
33156 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
33158         [BZ #6786]
33159         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
33160         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
33161         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
33162         <float.h>.
33163         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
33164         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
33165         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
33166         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
33167         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
33168         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
33169         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
33170         * math/auto-libm-test-in: Don't allow missing errno from erfc.
33171         Add more erfc tests.
33172         * math/auto-libm-test-out: Regenerated.
33173         * sysdeps/i386/fpu/libm-test-ulps: Update.
33174         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33176         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
33177         exp2, expm1, j0 and j1.
33178         * math/auto-libm-test-out: Regenerated.
33179         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
33180         (erfc_test_data): Likewise.
33181         (exp_test_data): Likewise.
33182         (exp_tonearest_test_data): Likewise.
33183         (exp_towardzero_test_data): Likewise.
33184         (exp_downward_test_data): Likewise.
33185         (exp_upward_test_data): Likewise.
33186         (exp10_test_data): Likewise.
33187         (exp2_test_data): Likewise.
33188         (expm1_test_data): Likewise.
33189         (j0_test_data): Likewise.
33190         (j1_test_data): Likewise.
33191         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
33192         (input_flag_type): Add flag_xfail_rounding.
33193         (input_flags): Add xfail-rounding.
33194         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
33195         (output_for_one_input_case): Handle flag_xfail_rounding.
33196         * sysdeps/i386/fpu/libm-test-ulps: Update.
33197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33199 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
33201         [BZ #16289]
33202         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
33203         division by 0.
33205 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
33207         [BZ #16195]
33208         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
33209         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
33210         (STAP_PROBE0): New macro.
33211         (STAP_PROBE1): Likewise.
33212         (STAP_PROBE2): Likewise.
33213         (STAP_PROBE3): Likewise.
33214         (STAP_PROBE4): Likewise.
33216 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
33218         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
33220 2013-12-02  Steve Ellcey  <sellcey@mips.com>
33222         * benchtests/Makefile (bench): Add sqrt.
33223         (LDLIBS-bench-sqrt): New.
33224         * benchtests/sqrt-input: New.
33226 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
33228         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
33229         (GAIH_EAI): Likewise.
33230         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
33231         (gaih_inet): Likewise.
33232         (getaddrinfo): Don't use GAIH_EAI.
33234         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
33235         (struct gaih): Remove definition.
33237 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33239         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
33240         Use HERRNOP directly.
33242 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33244         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33246 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
33248         * math/gen-auto-libm-tests.c (test_functions): Add more
33249         single-argument functions.
33250         (special_fill_pi_2): New function.
33251         (special_fill_minus_pi_2): Likewise.
33252         (special_fill_pi_6): Likewise.
33253         (special_fill_minus_pi_6): Likewise.
33254         (special_fill_pi_3): Likewise.
33255         (special_fill_2pi_3): Likewise.
33256         (special_fill_e): Likewise.
33257         (special_fill_1_e): Likewise.
33258         (special_fill_e_minus_1): Likewise.
33259         (special_real_inputs): Add more special inputs.
33260         (output_for_one_input_case): Do not require ERANGE on underflow to
33261         zero if round-to-nearest result does not underflow to zero, unless
33262         exact results required.
33263         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
33264         atan, atanh, cbrt, cos and cosh.
33265         * math/auto-libm-test-out: Regenerated.
33266         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
33267         (acos_tonearest_test_data): Likewise.
33268         (acos_towardzero_test_data): Likewise.
33269         (acos_downward_test_data): Likewise.
33270         (acos_upward_test_data): Likewise.
33271         (acosh_test_data): Likewise.
33272         (asin_test_data): Likewise.
33273         (asin_tonearest_test_data): Likewise.
33274         (asin_towardzero_test_data): Likewise.
33275         (asin_upward_test_data): Likewise.
33276         (asinh_test_data): Likewise.
33277         (atan_test_data): Likewise.
33278         (atanh_test_data): Likewise.
33279         (cbrt_test_data): Likewise.
33280         (cos_test_data): Likewise.
33281         (cos_tonearest_test_data): Likewise.
33282         (cos_towardzero_test_data): Likewise.
33283         (cos_downward_test_data): Likewise.
33284         (cos_upward_test_data): Likewise.
33285         (cosh_test_data): Likewise.
33286         (cosh_tonearest_test_data): Likewise.
33287         (cosh_towardzero_test_data): Likewise.
33288         (cosh_downward_test_data): Likewise.
33289         (cosh_upward_test_data): Likewise.
33290         * sysdeps/i386/fpu/libm-test-ulps: Update.
33291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33293 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
33295         [BZ #6787]
33296         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
33297         * math/w_exp10f.c (__exp10f): Likewise.
33298         * math/w_exp10l.c (__exp10l): Likewise.
33299         * math/libm-test.inc (exp10_test_data): Add more tests and expect
33300         errno settings in existing tests.
33302         [BZ #14032]
33303         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
33304         precision control set to double precision.
33305         * sysdeps/i386/fpu/w_sqrt.c: New file.
33306         * math/auto-libm-test-in: Add more tests.
33307         * math/auto-libm-test-out: Update.
33309         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
33310         (sqrt_test_tonearest): New function.
33311         (sqrt_towardzero_test_data): New variable.
33312         (sqrt_test_towardzero): New function.
33313         (sqrt_downward_test_data): New variable.
33314         (sqrt_test_downward): New function.
33315         (sqrt_upward_test_data): New variable.
33316         (sqrt_test_upward): New function.
33317         (main): Call the new functions.
33319         * math/gen-auto-libm-tests.c: New file.
33320         * math/auto-libm-test-in: Likewise.
33321         * math/auto-libm-test-out: New generated file.
33322         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
33323         variables.
33324         (%beautify): Add generated representations of zero.
33325         (top level): Set $auto_input and call parse_auto_input.
33326         (beautify): Remove trailing "f" from hex float constants.
33327         (parse_args): Handle XFAIL_TEST.
33328         (convert_condition): New function.
33329         (or_value): Likewise.
33330         (or_cond_value): Likewise.
33331         (generate_testfile): Handle AUTO_TESTS_* lines.
33332         (parse_auto_input): New function.
33333         * math/libm-test.inc (XFAIL_TEST): New macro.
33334         (ERRNO_UNCHANGED): Update value.
33335         (ERRNO_EDOM): Likewise.
33336         (ERRNO_ERANGE): Likewise.
33337         (IGNORE_RESULT): Likewise.
33338         (TEST_COND_flt_32): New macro.
33339         (TEST_COND_dbl_64): Likewise.
33340         (TEST_COND_ldbl_96_intel): Likewise.
33341         (TEST_COND_ldbl_96_m68k): Likewise.
33342         (TEST_COND_ldbl_128): Likewise.
33343         (TEST_COND_ldbl_128ibm): Likewise.
33344         (TEST_COND_long32): Likewise.
33345         (TEST_COND_long64): Likewise.
33346         (TEST_COND_before_rounding): Likewise.
33347         (TEST_COND_after_rounding): Likewise.
33348         (enable_test): Handle XFAIL_TEST flag.
33349         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
33350         with finite results.
33351         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
33352         auto-libm-test-out.
33354 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33355             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33357         [BZ #16214]
33358         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
33359         __tls_get_addr_internal instead of __tls_get_offset in order to
33360         avoid GOT pointer dependency.  Make rtld export
33361         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
33362         __tls_get_addr since we are a __tls_get_offset platform.
33363         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
33364         GOT pointer being set up before.
33365         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
33367 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
33369         * manual/math.texi (Errors in Math Functions): Document accuracy
33370         goals.
33372         [BZ #15004]
33373         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
33374         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
33375         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33376         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33377         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33378         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33379         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33380         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33381         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33382         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33383         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33384         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33385         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33386         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33387         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33388         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33390         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
33391         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
33392         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
33393         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
33394         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
33395         Likewise.
33396         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
33397         Likewise.
33398         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
33399         Likewise.
33400         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
33401         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
33402         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
33403         atomic-feupdateenv and flt-rounds.
33404         * sysdeps/powerpc/nofpu/Versions (libc): Add
33405         __atomic_feholdexcept, __atomic_feclearexcept,
33406         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
33407         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
33408         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
33409         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
33410         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
33411         here.
33412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
33413         Update.
33415         * manual/arith.texi (FP Exceptions): Document that exceptions may
33416         not be raised when matherr is used.
33417         (Math Error Reporting): Document overflow in directed rounding
33418         modes.  Document that errno may not be set when finite values are
33419         returned on overflow.  Document intent to set errno on underflow
33420         only for underflow to zero.
33422         [BZ #16271]
33423         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
33424         round-to-nearest then adjust result for other rounding modes.
33425         * include/fenv.h (fegetround): Use libm_hidden_proto.
33426         * math/fegetround.c (fegetround): Use libm_hidden_def.
33427         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
33428         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
33429         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
33430         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
33431         Likewise.
33432         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
33433         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33434         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
33435         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
33437 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33439         [BZ #16077]
33440         * nss/Versions (libnss_files): Add
33441         _nss_files_gethostbyname3_r.
33442         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
33443         New function.
33444         (HOST_DB_LOOKUP): Remove macro.
33445         (_nss_files_gethostbyname_r): Implement function without the
33446         HOST_DB_LOOKUP macro.
33447         (_nss_files_gethostbyname2_r): Likewise.
33449 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
33451         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
33453 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
33455         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
33456         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
33457         warning.
33459 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33461         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
33462         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
33463         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
33464         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
33465         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
33466         __fe_nomask_env_priv and attribute_hidden.
33467         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
33468         (libc_feupdateenv_test_ppc): Likewise.
33469         (libc_feresetround_ppc): Likewise.
33470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
33471         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
33472         compat_symbol macro.
33473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
33474         (__fe_nomask_env): Likewise.
33475         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
33477 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
33479         * string/Makefile: Remove ifunc tests.
33480         * string/test-string.h: Define TEST_IFUNC.
33481         * string/test-bcopy-ifunc.c: Remove.
33482         * string/test-bzero-ifunc.c: Likewise.
33483         * string/test-memccpy-ifunc.c: Likewise.
33484         * string/test-memchr-ifunc.c: Likewise.
33485         * string/test-memcmp-ifunc.c: Likewise.
33486         * string/test-memcpy-ifunc.c: Likewise.
33487         * string/test-memmem-ifunc.c: Likewise.
33488         * string/test-memmove-ifunc.c: Likewise.
33489         * string/test-mempcpy-ifunc.c: Likewise.
33490         * string/test-memrchr-ifunc.c: Likewise.
33491         * string/test-memset-ifunc.c: Likewise.
33492         * string/test-rawmemchr-ifunc.c: Likewise.
33493         * string/test-stpcpy-ifunc.c: Likewise.
33494         * string/test-stpncpy-ifunc.c: Likewise.
33495         * string/test-strcasecmp-ifunc.c: Likewise.
33496         * string/test-strcasestr-ifunc.c: Likewise.
33497         * string/test-strcat-ifunc.c: Likewise.
33498         * string/test-strchr-ifunc.c: Likewise.
33499         * string/test-strchrnul-ifunc.c: Likewise.
33500         * string/test-strcmp-ifunc.c: Likewise.
33501         * string/test-strcpy-ifunc.c: Likewise.
33502         * string/test-strcspn-ifunc.c: Likewise.
33503         * string/test-strlen-ifunc.c: Likewise.
33504         * string/test-strncasecmp-ifunc.c: Likewise.
33505         * string/test-strncat-ifunc.c: Likewise.
33506         * string/test-strncmp-ifunc.c: Likewise.
33507         * string/test-strncpy-ifunc.c: Likewise.
33508         * string/test-strnlen-ifunc.c: Likewise.
33509         * string/test-strpbrk-ifunc.c: Likewise.
33510         * string/test-strrchr-ifunc.c: Likewise.
33511         * string/test-strspn-ifunc.c: Likewise.
33512         * string/test-strstr-ifunc.c: Likewise.
33514 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
33516         * benchtests/Makefile: Remove ifunc tests.
33517         * benchtests/bench-string.h: Define TEST_IFUNC.
33518         * benchtests/bench-bcopy-ifunc.c: Remove.
33519         * benchtests/bench-bzero-ifunc.c: Likewise.
33520         * benchtests/bench-memccpy-ifunc.c: Likewise.
33521         * benchtests/bench-memchr-ifunc.c: Likewise.
33522         * benchtests/bench-memcmp-ifunc.c: Likewise.
33523         * benchtests/bench-memcpy-ifunc.c: Likewise.
33524         * benchtests/bench-memmem-ifunc.c: Likewise.
33525         * benchtests/bench-memmove-ifunc.c: Likewise.
33526         * benchtests/bench-mempcpy-ifunc.c: Likewise.
33527         * benchtests/bench-memrchr-ifunc.c: Likewise.
33528         * benchtests/bench-memset-ifunc.c: Likewise.
33529         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
33530         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
33531         * benchtests/bench-stpcpy-ifunc.c: Likewise.
33532         * benchtests/bench-stpncpy-ifunc.c: Likewise.
33533         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
33534         * benchtests/bench-strcasestr-ifunc.c: Likewise.
33535         * benchtests/bench-strcat-ifunc.c: Likewise.
33536         * benchtests/bench-strchr-ifunc.c: Likewise.
33537         * benchtests/bench-strchrnul-ifunc.c: Likewise.
33538         * benchtests/bench-strcmp-ifunc.c: Likewise.
33539         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
33540         * benchtests/bench-strcpy-ifunc.c: Likewise.
33541         * benchtests/bench-strcspn-ifunc.c: Likewise.
33542         * benchtests/bench-strlen-ifunc.c: Likewise.
33543         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
33544         * benchtests/bench-strncat-ifunc.c: Likewise.
33545         * benchtests/bench-strncmp-ifunc.c: Likewise.
33546         * benchtests/bench-strncpy-ifunc.c: Likewise.
33547         * benchtests/bench-strnlen-ifunc.c: Likewise.
33548         * benchtests/bench-strpbrk-ifunc.c: Likewise.
33549         * benchtests/bench-strrchr-ifunc.c: Likewise.
33550         * benchtests/bench-strsep-ifunc.c: Likewise.
33551         * benchtests/bench-strspn-ifunc.c: Likewise.
33552         * benchtests/bench-strstr-ifunc.c: Likewise.
33554 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
33556         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
33558 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
33560         * resolv/netdb.h: Use __glibc_reserved instead __unused.
33561         * rt/aio.h: Likewise.
33562         * sysdeps/gnu/bits/utmp.h: Likewise.
33563         * sysdeps/gnu/bits/utmpx.h: Likewise.
33564         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
33565         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
33566         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
33567         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
33568         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
33569         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
33570         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
33571         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
33572         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
33573         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
33574         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
33575         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
33576         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
33577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
33578         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
33579         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
33580         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
33581         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
33582         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
33583         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
33584         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
33585         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
33586         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
33587         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
33588         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
33589         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33590         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
33591         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
33592         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
33593         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
33594         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
33595         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
33596         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
33597         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
33598         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
33599         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
33600         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
33601         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
33602         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
33603         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
33604         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
33605         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
33607 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
33609         [BZ #16245]
33610         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
33611         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
33613 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
33615         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
33616         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
33617         Likewise.
33619 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33621         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
33622         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
33623         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
33624         (__fesetround): Remove define.
33625         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
33626         rounding and exceptions handling.
33627         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
33628         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
33629         (__fe_nomask_env): Likewise.
33630         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
33631         __fegetround instead of fegetround.
33632         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
33633         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
33635 2013-11-21  Roland McGrath  <roland@hack.frob.com>
33637         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
33638         it's there.
33640         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
33642 2013-11-21  Meador Inge  <meadori@codesourcery.com>
33644         [BZ #11157]
33645         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
33646         (encrypt_r): Likewise.
33647         * malloc/obstack.h (obstack_free): Likewise.
33648         * posix/unistd.h (encrypt): Likewise.
33650 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
33652         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
33653         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
33654         DL_CALL_DT_FINI() that call the functions directly.
33655         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
33656         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
33657         * elf/dl-fini.c: Likewise.
33659 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
33661         * malloc/hooks.c (memalign_check): Add alignment rounding.
33662         * malloc/malloc.c (_mid_memalign): New function.
33663         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
33664         Implement by calling _mid_memalign.
33665         * manual/probes.texi (Memory Allocation Probes): Remove
33666         memory_valloc_retry and memory_pvalloc_retry.
33668 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
33670         * locale/programs/locarchive.c (open_archive): Add const
33671         qualifier to ARCHIVEFNAME and copy default fname to
33672         DEFAULT_FNAME.
33674         [BZ #15601]
33675         * libio/tst-widetext.input: Rename Oriya to Odia.
33676         * locale/iso-639.def: Likewise.
33678         * manual/probes.texi (Mathematical Function Probes): Add
33679         documentation for sin, cos, asin and acos probes.
33680         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
33681         (__sin32): Add slowasin probe.
33682         (__cos32): Add slowacos probe.
33683         (__mpsin): Add slowsin probe.
33684         (__mpcos): Add slowcos probe.
33686 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
33688         [BZ #15483]
33689         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
33690         thread-local __sim_exceptions_thread and global
33691         __sim_exceptions_global.
33692         (__sim_disabled_exceptions): Change to thread-local
33693         __sim_disabled_exceptions_thread and global
33694         __sim_disabled_exceptions_global.
33695         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
33696         and global __sim_round_mode_global.
33697         (__simulate_exceptions): Use thread-local floating-point state and
33698         set global state from it as needed.
33699         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
33700         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
33701         __sim_round_mode_thread.
33702         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
33703         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
33704         and global __sim_exceptions_global.
33705         (__sim_disabled_exceptions): Change to thread-local
33706         __sim_disabled_exceptions_thread and global
33707         __sim_disabled_exceptions_global.
33708         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
33709         and global __sim_round_mode_global.
33710         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
33711         (SIM_SET_GLOBAL): Likewise.
33712         * sysdeps/powerpc/soft-fp/sfp-machine.h
33713         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
33714         __sim_round_mode_thread.
33715         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
33716         __sim_disabled_exceptions_thread.
33717         (__sim_exceptions): Change to __sim_exceptions_thread.
33718         (__sim_disabled_exceptions): Change to
33719         __sim_disabled_exceptions_thread.
33720         (__sim_round_mode): Change to __sim_round_mode_thread.
33721         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
33722         thread-local floating-point state and set global state from it as
33723         needed.
33724         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
33725         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
33726         (__sim_disabled_exceptions): Remove extern declaration.
33727         (feenableexcept): Use thread-local floating-point state and set
33728         global state from it as needed.
33729         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
33730         extern declaration.
33731         (__sim_disabled_exceptions): Likewise.
33732         (__sim_round_mode): Likewise.
33733         (__fegetenv): Use thread-local floating-point state.
33734         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
33735         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
33736         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
33737         floating-point state and set global state from it as needed.
33738         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
33739         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
33740         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
33741         Likewise.
33742         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
33743         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
33744         Likewise.
33745         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
33746         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
33747         Use __sim_round_mode_thread.
33748         * math/test-fenv-tls.c: New file.
33749         * math/Makefile (tests): Add test-fenv-tls.
33750         ($(objpfx)test-fenv-tls): Depend on
33751         $(common-objpfx)nptl/libpthread.so.
33753 2013-11-19  Andreas Schwab  <schwab@suse.de>
33755         * locale/programs/locale.c (show_info): Decode wordarray elements.
33756         * locale/categories.def (LC_MONETARY): Add element for
33757         _NL_MONETARY_CRNCYSTR.
33758         * locale/C-monetary.c (conversion_rate): New variable.
33759         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
33760         element.
33762 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
33764         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
33765         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
33767 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
33769         * elf/Makefile (tst-auxv): New test.
33770         * elf/tst-auxv.c: New
33771         * elf/rtld.c (dl_main): Adjust AT_EXECFN
33773 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
33775         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
33776         (hidden_proto): Caller changed.
33777         (hidden_tls_proto): New macro.
33778         (libc_hidden_tls_proto): Likewise.
33779         (rtld_hidden_tls_proto): Likewise.
33780         (libm_hidden_tls_proto): Likewise.
33781         (libresolv_hidden_tls_proto): Likewise.
33782         (librt_hidden_tls_proto): Likewise.
33783         (libdl_hidden_tls_proto): Likewise.
33784         (libnss_files_hidden_tls_proto): Likewise.
33785         (libnsl_hidden_tls_proto): Likewise.
33786         (libnss_nisplus_hidden_tls_proto): Likewise.
33787         (libutil_hidden_tls_proto): Likewise.
33789 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
33791         [BZ #10253]
33792         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
33793         (decompose_rpath): Defer expansion to fillin_rpath.
33794         (_dl_init_paths): Pass linkmap to fillin_rpath.
33796 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33798         * benchtests/Makefile: Add strsep.
33799         * benchtests/bench-strsep.c: New file: strsep benchtest.
33800         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
33802 2013-11-18  Andreas Schwab  <schwab@suse.de>
33804         * locale/programs/locale.c (show_info) [case byte]: Check for
33805         '\377' instead of '\177'.
33806         * locale/C-monetary.c (not_available): Always use "\377".
33807         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
33808         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
33809         detect unavailable sign_posn locale elements.
33810         * locale/localeconv.c (__localeconv): For grouping and
33811         mon_grouping handle "\177" and "\377" like no grouping.
33812         (INT_ELEM): New macro.  Use it to set all numeric members.
33813         * locale/programs/ld-monetary.c (monetary_read)
33814         <tok_mon_grouping>: Normalize single -1 to the empty string.
33815         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
33816         Likewise.
33818 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
33820         [BZ #16055]
33821         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
33822         when we match (nil).
33823         * stdio-common/tst-sscanf.c (struct test): Add testcase.
33825 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
33827         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
33828         (NO_TEST_INLINE): Update value.
33829         (ERRNO_UNCHANGED): Likewise.
33830         (ERRNO_EDOM): Likewise.
33831         (ERRNO_ERANGE): Likewise.
33832         (IGNORE_RESULT): Likewise.
33833         (check_float_internal): Check signs of NaN results if
33834         TEST_NAN_SIGN used.
33835         (check_complex): Pass TEST_NAN_SIGN flag through to second
33836         check_float_internal call.
33837         (copysign_test_data): Add tests with quiet NaNs as second
33838         argument.  Use TEST_NAN_SIGN.
33839         (fabs_test_data): Add test of negative quiet NaN argument.  Use
33840         TEST_NAN_SIGN.
33841         (signbit_test_data): Add tests of quiet NaN argument.
33842         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
33844         * math/gen-libm-test.pl (show_exceptions): Take extra argument
33845         $ignore_result.
33846         (parse_args): Handle function results specified as IGNORE.
33847         * math/libm-test.inc (IGNORE_RESULT): New macro.
33848         (check_float_internal): Do not check numerical result if flag
33849         IGNORE_RESULT set.
33850         (check_complex): Pass through IGNORE_RESULT to second
33851         check_float_internal call.
33852         (check_int): Do not check numerical result if flag IGNORE_RESULT
33853         set.
33854         (check_long): Likewise.
33855         (check_bool): Likewise.
33856         (check_longlong): Likewise.
33857         (lrint_test_data): Add tests of infinite and NaN arguments.
33858         (lrint_tonearest_test_data): Likewise.
33859         (lrint_towardzero_test_data): Likewise.
33860         (lrint_downward_test_data): Likewise.
33861         (lrint_upward_test_data): Likewise.
33862         (llrint_test_data): Likewise.
33863         (llrint_tonearest_test_data): Likewise.
33864         (llrint_towardzero_test_data): Likewise.
33865         (llrint_downward_test_data): Likewise.
33866         (llrint_upward_test_data): Likewise.
33867         (lround_test_data): Likewise.
33868         (llround_test_data): Likewise.
33870         * math/libm-test.inc (NO_TEST_INLINE): New macro.
33871         (ERRNO_UNCHANGED): Update value.
33872         (ERRNO_EDOM): Likewise.
33873         (ERRNO_ERANGE): Likewise.
33874         (NO_TEST_INLINE_FLOAT): New macro.
33875         (NO_TEST_INLINE_DOUBLE): Likewise.
33876         (enable_test): New function.
33877         (RUN_TEST_f_f): Check enable_test before running test.
33878         (RUN_TEST_2_f): Likewise.
33879         (RUN_TEST_fff_f): Likewise.
33880         (RUN_TEST_c_f): Likewise.
33881         (RUN_TEST_f_f1): Likewise.
33882         (RUN_TEST_fF_f1): Likewise.
33883         (RUN_TEST_fI_f1): Likewise.
33884         (RUN_TEST_ffI_f1): Likewise.
33885         (RUN_TEST_c_c): Likewise.
33886         (RUN_TEST_cc_c): Likewise.
33887         (RUN_TEST_f_i): Likewise.
33888         (RUN_TEST_f_i_tg): Likewise.
33889         (RUN_TEST_ff_i_tg): Likewise.
33890         (RUN_TEST_f_b): Likewise.
33891         (RUN_TEST_f_b_tg): Likewise.
33892         (RUN_TEST_f_l): Likewise.
33893         (RUN_TEST_f_L): Likewise.
33894         (RUN_TEST_fFF_11): Likewise.
33895         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
33896         conditionals.
33897         (cosh_test_data): Likewise.
33898         (exp_test_data): Likewise.
33899         (expm1_test_data): Likewise.
33900         (hypot_test_data): Likewise.
33901         (pow_test_data): Likewise.
33902         (sinh_test_data): Likewise.
33903         (tanh_test_data): Likewise.
33904         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
33905         flags argument.
33907         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
33908         tests with quiet NaN input and output.
33909         (acosh_test_data): Likewise.
33910         (asin_test_data): Likewise.
33911         (asinh_test_data): Likewise.
33912         (atan_test_data): Likewise.
33913         (atanh_test_data): Likewise.
33914         (atan2_test_data): Likewise.
33915         (cbrt_test_data): Likewise.
33916         (cos_test_data): Likewise.
33917         (cosh_test_data): Likewise.
33918         (erf_test_data): Likewise.
33919         (erfc_test_data): Likewise.
33920         (exp_test_data): Likewise.
33921         (exp10_test_data): Likewise.
33922         (exp2_test_data): Likewise.
33923         (expm1_test_data): Likewise.
33924         (hypot_test_data): Likewise.
33925         (j0_test_data): Likewise.
33926         (j1_test_data): Likewise.
33927         (jn_test_data): Likewise.
33928         (lgamma_test_data): Likewise.
33929         (log_test_data): Likewise.
33930         (log10_test_data): Likewise.
33931         (log1p_test_data): Likewise.
33932         (log2_test_data): Likewise.
33933         (pow_test_data): Likewise.
33934         (scalb_test_data): Likewise.
33935         (sin_test_data): Likewise.
33936         (sincos_test_data): Likewise.
33937         (sinh_test_data): Likewise.
33938         (tan_test_data): Likewise.
33939         (tanh_test_data): Likewise.
33940         (tgamma_test_data): Likewise.
33941         (y0_test_data): Likewise.
33942         (y1_test_data): Likewise.
33943         (yn_test_data): Likewise.
33945         [BZ #16167]
33946         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
33947         argument being NaN and avoid computations with second argument in
33948         that case.
33949         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
33950         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
33951         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
33953 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
33955         * locale/iso-639.def: Add Chitwani Tharu (the).
33957 2013-11-14  Andreas Schwab  <schwab@suse.de>
33959         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
33960         word instead of empty string.
33962 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
33965         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
33966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
33967         (__fe_nomask_env): Likewise.
33969 2013-11-13  Steve Ellcey  <sellcey@mips.com>
33971         * benchtests/bench-timing.h: Include time.h.
33973 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
33975         [BZ #15997]
33976         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
33977         to 3.4.0 for x32.
33978         * sysdeps/unix/sysv/linux/configure: Regenerated.
33980 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
33982         [BZ #16151]
33983         * stdlib/strtod_l.c (round_and_return): Do not consider
33984         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
33985         exponent one less than half the least subnormal exponent.
33986         * stdlib/test-strtod-round-data: Add more tests.
33987         * stdlib/tst-strtod-round.c (tests): Regenerated.
33989 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33991         [BZ #14143]
33992         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
33993         (__fe_mask_env): Likewise.
33994         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
33995         libm_hidden_proto and add function prototype.
33996         (__fe_mask_env): Add function prototype.
33997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
33998         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
33999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
34000         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
34001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
34002         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
34004 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34006         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
34007         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
34009 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34011         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
34012         of htab_find_slot().
34014 2013-11-11  David S. Miller  <davem@davemloft.net>
34016         [BZ #16150]
34017         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
34018         symbol in the non-vis3 case in static builds.
34019         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
34020         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
34021         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
34022         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
34024 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
34026         [BZ #387]
34027         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
34028         it is empty.
34030 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34032         * benchtests/Makefile: Add bench-strtod.
34033         * benchtests/bench-strtod.c: New file: strtod benchtest
34035 2013-11-11  Andreas Schwab  <schwab@suse.de>
34037         [BZ #16153]
34038         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
34039         terminating NUL in key length.
34041 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34043         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
34044         Add artificial ODP entry for vDSO symbol for PPC64.
34045         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
34046         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
34048 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
34050         [BZ #15374]
34051         * nss/getent.c (services_keys): Recognize services starting with digit.
34053 2013-11-06  David S. Miller  <davem@davemloft.net>
34055         [BZ #15985]
34056         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
34057         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
34059 2013-11-06  Will Newton  <will.newton@linaro.org>
34061         * manual/memory.texi (Malloc Examples): Remove register
34062         keyword from examples.
34064 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
34066         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
34068 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
34070         [BZ #6981]
34071         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
34072         depending on [__GCC_IEC_559 > 0].
34073         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
34074         depending on [__GCC_IEC_559_COMPLEX > 0].
34076 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
34078         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
34079         to iso-639.def.
34081 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
34083         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
34085 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
34087         [BZ #16112]
34088         * malloc/malloc (malloc_info): Do not handle first bin as
34089         special case.
34091 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
34093         * locale/iso-639.def: Add Central Nahuatl (nhn).
34095 2013-11-01  Bruno Haible  <bruno@clisp.org>
34097         [BZ #7003]
34098         * manual/math.texi (BSD Random): Specify range upper bound as
34099         in POSIX.
34101 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
34103         * locale/iso-639.def: Add Meadow Mari (mhr).
34105 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
34107         [BZ #14752], [BZ #15763]
34108         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
34109         Validate name.
34110         * rt/tst_shm.c: Add test for escaping directory.
34112 2013-10-31  Andreas Schwab  <schwab@suse.de>
34114         [BZ #15917]
34115         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
34116         followed by 'x' as part of digit sequence.
34117         * stdio-common/tst-sscanf.c (double_tests2): New tests.
34119 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
34121         [BZ #16037]
34122         * configure.ac: allow GNU Make 4.0 and greater.
34123         * configure: Regenerated.
34125 2013-10-30  Will Newton  <will.newton@linaro.org>
34127         [BZ #16038]
34128         * malloc/hooks.c (memalign_check): Limit alignment to the
34129         maximum representable power of two.
34130         * malloc/malloc.c (__libc_memalign): Likewise.
34131         * malloc/tst-memalign.c (do_test): Add test for very
34132         large alignment values.
34133         * malloc/tst-posix_memalign.c (do_test): Likewise.
34135 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
34137         [BZ #11087]
34138         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
34139         (munmap_chunk): Likewise.
34140         (mremap_chunk): Likewise.
34142 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
34144         [BZ #15799]
34145         * stdlib/div.c (div): Remove obsolete code.
34146         * stdlib/ldiv.c (ldiv): Likewise.
34147         * stdlib/lldiv.c (lldiv): Likewise.
34149 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34151         [BZ #16071]
34152         * nss/nss_files/files-XXX.c (get_contents_ret): New
34153         enumerator.
34154         (get_contents): New function.
34155         (internal_getent): Use it.  Expand size of LINEBUFLEN.
34157 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
34159         * configure.in: Moved to ...
34160         * configure.ac: ... here. Change reference to configure.in
34161         to configure.ac.
34162         * sysdeps/arm/preconfigure.ac: ... here.
34163         configure.in to configure.ac.
34164         * sysdeps/gnu/configure.in: Moved to ...
34165         * sysdeps/gnu/configure.ac: ... here.
34166         * sysdeps/i386/configure.in: Moved to ...
34167         * sysdeps/i386/configure.ac: ... here.
34168         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
34169         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
34170         * sysdeps/mach/configure.in: Moved to ...
34171         * sysdeps/mach/configure.ac: ... here.
34172         * sysdeps/mach/hurd/configure.in: Moved to ...
34173         * sysdeps/mach/hurd/configure.ac: ... here.
34174         * sysdeps/powerpc/configure.in: Moved to ...
34175         * sysdeps/powerpc/configure.ac: ... here.
34176         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
34177         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
34178         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
34179         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
34180         * sysdeps/s390/s390-32/configure.in: Moved to ...
34181         * sysdeps/s390/s390-32/configure.ac: ... here.
34182         * sysdeps/s390/s390-64/configure.in: Moved to ...
34183         * sysdeps/s390/s390-64/configure.ac: ... here.
34184         * sysdeps/sh/configure.in: Moved to ...
34185         * sysdeps/sh/configure.ac: ... here.
34186         * sysdeps/sparc/configure.in: Moved to ...
34187         * sysdeps/sparc/configure.ac: ... here.
34188         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
34189         * sysdeps/unix/sysv/linux/configure.ac: ... here.
34190         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
34191         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
34192         * sysdeps/x86_64/configure.in: Moved to ...
34193         * sysdeps/x86_64/configure.ac: ... here.
34194         * sysdeps/x86_64/preconfigure.in: Moved to ...
34195         * sysdeps/x86_64/preconfigure.ac: ... here.
34196         * aclocal.m4: Change reference to configure.in to configure.ac.
34197         * config.h.in: Likewise.
34198         * manual/install.texi: Likewise.
34199         * manual/maint.texi: Likewise.
34200         * Makefile: Likewise.
34201         * malloc/Makefile: Likewise.
34202         * nscd/Makefile: Likewise.
34203         * Makeconfig: Change reference to configure.in and
34204         preconfigure.in to configure.ac and preconfigure.ac
34205         respectively.
34206         * INSTALL: Regenerated.
34207         * configure: Likewise.
34208         * sysdeps/gnu/configure: Likewise.
34209         * sysdeps/i386/configure: Likewise.
34210         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
34211         * sysdeps/mach/configure: Likewise.
34212         * sysdeps/mach/hurd/configure: Likewise.
34213         * sysdeps/powerpc/configure: Likewise.
34214         * sysdeps/powerpc/powerpc32/configure: Likewise.
34215         * sysdeps/powerpc/powerpc64/configure: Likewise.
34216         * sysdeps/s390/s390-32/configure: Likewise.
34217         * sysdeps/s390/s390-64/configure: Likewise.
34218         * sysdeps/sh/configure: Likewise.
34219         * sysdeps/sparc/configure: Likewise.
34220         * sysdeps/unix/sysv/linux/configure: Likewise.
34221         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
34222         * sysdeps/x86_64/configure: Likewise.
34223         * sysdeps/x86_64/preconfigure: Likewise.
34225 2013-10-29  Andreas Schwab  <schwab@suse.de>
34227         * stdio-common/Makefile (tst-swscanf-ENV): Define.
34229 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34231         * benchtests/pow-inputs: Add new inputs.
34233         * benchtests/exp-inputs: Add new inputs.
34235         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
34236         conditional check for return value.
34237         (__cos32): Likewise.
34239 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34241         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
34242         to provide a boost for large inputs with word alignment.
34243         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
34244         implementation based on optimized PPC64 strcpy.
34245         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
34246         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
34247         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
34248         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
34250 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
34252         [BZ #2801]
34253         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
34255 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
34257         [BZ #14876]
34258         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
34259         * time/tst-strptime.c (day_tests): Add testcase.
34261 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
34263         [BZ #14029]
34264         * manual/pattern.texi: Acknowledge that fnmatch can fail.
34266 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
34268         [BZ #16074]
34269         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
34270         MAP_FAILED on error.
34272 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
34274         [BZ #16072]
34275         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
34276         heap for large requests.
34278 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
34280         [BZ #9954]
34281         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
34282         result if the result has no associated interface.
34283         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
34284         interface for all 127.X.Y.Z addresses.
34286 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
34288         * locale/iso-639.def: Add Ligurian (lij)
34290 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
34292         [BZ #15825]
34293         * sunrpc/rpc_main.c: Document rpcgen -5.
34295 2013-10-19  Michael Stahl  <mstahl@redhat.com>
34297         * elf/rtld.c (do_preload): Print the reason why preloading failed.
34299 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
34301         [BZ #10278]
34302         * posix/glob.c: Match only directories when trailing slash is present.
34303         * posix/tst-gnuglob.c (my_opendir): Do not open files.
34304         (main): Add testcase.
34306 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
34308         [BZ #15670]
34309         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
34311 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
34313         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
34314         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
34315         AUTH_DES and cindex for FIPS 140-2.
34316         (DES Encryption): Add cindex FIPS 46-3.
34318         * locale/locarchive.h (struct locarhandle): Add fname.
34319         * locale/programs/localedef.c (main): Pass ARGV[remaining]
34320         if an optional argument was specified to --list-archive,
34321         otherwise NULL.
34322         * locale/programs/locarchive.c (show_archive_content): Take new
34323         argument fname and pass it via ah.fname to open_archive.
34324         * locale/programs/localedef.h: Update decl.
34325         (open_archive): If AH->fname is non-null, open that file
34326         rather than the default file name, and don't ignore ENOENT.
34327         (create_archive): Set AH.fname to NULL.
34328         (delete_locales_from_archive): Likewise.
34329         (add_locales_to_archive): Likewise.
34330         * locale/programs/locfile.c (write_all_categories): Likewise.
34332 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
34333             Aldy Hernandez  <aldyh@redhat.com>
34335         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
34336         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
34337         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
34338         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
34339         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
34340         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
34341         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
34342         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
34343         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
34344         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
34345         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
34346         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
34347         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
34348         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
34349         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
34350         Likewise.
34351         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
34352         Likewise.
34353         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
34354         Likewise.
34355         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
34356         Likewise.
34357         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
34358         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
34359         Likewise.
34360         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
34361         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
34362         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
34363         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
34364         Likewise.
34365         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
34366         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
34367         * sysdeps/powerpc/preconfigure: Likewise.
34368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
34369         Likewise.
34370         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
34371         Replace contents of file by #include of <fenv_libc.h>.
34372         * sysdeps/powerpc/soft-fp/sfp-machine.h
34373         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
34374         and <sys/prctl.h>.
34375         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
34376         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
34377         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
34378         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
34379         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
34380         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
34381         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
34382         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
34383         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
34384         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
34385         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
34386         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
34387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
34388         Allow copysignl PLT reference to be missing.
34390 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
34391             Joseph Myers  <joseph@codesourcery.com
34393         [BZ #15948]
34394         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
34395         single character.
34396         (add_to_tablewc): Assert sequence of wide characters is nonempty.
34398 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
34400         * elf/tst-tls-dlinfo.c: Don't include tls.h.
34401         * elf/tst-tls1.c: Likewise.
34402         * elf/tst-tls10.h: Likewise.
34403         * elf/tst-tls14.c: Likewise.
34404         * elf/tst-tls2.c: Likewise.
34405         * elf/tst-tls3.c: Likewise.
34406         * elf/tst-tls4.c: Likewise.
34407         * elf/tst-tls5.c: Likewise.
34408         * elf/tst-tls6.c: Likewise.
34409         * elf/tst-tls7.c: Likewise.
34410         * elf/tst-tls8.c: Likewise.
34411         * elf/tst-tls9.c: Likewise.
34412         * elf/tst-tlsmod1.c: Likewise.
34413         * elf/tst-tlsmod13.c: Likewise.
34414         * elf/tst-tlsmod13a.c: Likewise.
34415         * elf/tst-tlsmod14a.c: Likewise.
34416         * elf/tst-tlsmod16a.c: Likewise.
34417         * elf/tst-tlsmod16b.c: Likewise.
34418         * elf/tst-tlsmod2.c: Likewise.
34419         * elf/tst-tlsmod3.c: Likewise.
34420         * elf/tst-tlsmod4.c: Likewise.
34421         * elf/tst-tlsmod5.c: Likewise.
34422         * elf/tst-tlsmod6.c: Likewise.
34424 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
34426         [BZ #12486]
34427         * malloc/malloc.c: remove checks for statistics.
34429 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
34431         [BZ #15277]
34432         * inet/inet_net.c (inet_network): Detect additional invalid strings.
34433         * inet/tst-network.c: Add testcase.
34435 2013-10-17  Andreas Schwab  <schwab@suse.de>
34437         [BZ #15218]
34438         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
34439         to determine canonical name.
34441 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
34443         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
34444         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
34445         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34446         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34447         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34448         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34449         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34450         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34451         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
34452         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34453         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
34454         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34455         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34456         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34457         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34458         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34459         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34460         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34461         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
34462         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34463         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34464         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34465         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34466         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
34467         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
34468         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34469         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34470         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
34471         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34472         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
34473         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34474         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34475         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
34476         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34477         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
34478         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34479         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34480         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
34481         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
34482         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34483         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
34484         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
34485         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
34486         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
34487         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
34488         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34489         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
34490         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
34491         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
34492         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
34493         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
34494         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34495         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
34496         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
34497         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34498         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
34499         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34500         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
34502 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
34504         [BZ #16041]
34505         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
34506         make result into a quiet NaN.
34508 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
34510         * soft-fp/adddf3.c: Fix horizontal whitespace.
34511         * soft-fp/addsf3.c: Likewise.
34512         * soft-fp/addtf3.c: Likewise.
34513         * soft-fp/divdf3.c: Likewise.
34514         * soft-fp/divsf3.c: Likewise.
34515         * soft-fp/divtf3.c: Likewise.
34516         * soft-fp/double.h: Likewise.
34517         * soft-fp/eqdf2.c: Likewise.
34518         * soft-fp/eqsf2.c: Likewise.
34519         * soft-fp/eqtf2.c: Likewise.
34520         * soft-fp/extenddftf2.c: Likewise.
34521         * soft-fp/extended.h: Likewise.
34522         * soft-fp/extendsfdf2.c: Likewise.
34523         * soft-fp/extendsftf2.c: Likewise.
34524         * soft-fp/extendxftf2.c: Likewise.
34525         * soft-fp/fixdfdi.c: Likewise.
34526         * soft-fp/fixdfsi.c: Likewise.
34527         * soft-fp/fixdfti.c: Likewise.
34528         * soft-fp/fixsfdi.c: Likewise.
34529         * soft-fp/fixsfsi.c: Likewise.
34530         * soft-fp/fixsfti.c: Likewise.
34531         * soft-fp/fixtfdi.c: Likewise.
34532         * soft-fp/fixtfsi.c: Likewise.
34533         * soft-fp/fixtfti.c: Likewise.
34534         * soft-fp/fixunsdfdi.c: Likewise.
34535         * soft-fp/fixunsdfsi.c: Likewise.
34536         * soft-fp/fixunsdfti.c: Likewise.
34537         * soft-fp/fixunssfdi.c: Likewise.
34538         * soft-fp/fixunssfsi.c: Likewise.
34539         * soft-fp/fixunssfti.c: Likewise.
34540         * soft-fp/fixunstfdi.c: Likewise.
34541         * soft-fp/fixunstfsi.c: Likewise.
34542         * soft-fp/fixunstfti.c: Likewise.
34543         * soft-fp/floatdidf.c: Likewise.
34544         * soft-fp/floatdisf.c: Likewise.
34545         * soft-fp/floatditf.c: Likewise.
34546         * soft-fp/floatsidf.c: Likewise.
34547         * soft-fp/floatsisf.c: Likewise.
34548         * soft-fp/floatsitf.c: Likewise.
34549         * soft-fp/floattidf.c: Likewise.
34550         * soft-fp/floattisf.c: Likewise.
34551         * soft-fp/floattitf.c: Likewise.
34552         * soft-fp/floatundidf.c: Likewise.
34553         * soft-fp/floatundisf.c: Likewise.
34554         * soft-fp/floatunditf.c: Likewise.
34555         * soft-fp/floatunsidf.c: Likewise.
34556         * soft-fp/floatunsisf.c: Likewise.
34557         * soft-fp/floatunsitf.c: Likewise.
34558         * soft-fp/floatuntidf.c: Likewise.
34559         * soft-fp/floatuntisf.c: Likewise.
34560         * soft-fp/floatuntitf.c: Likewise.
34561         * soft-fp/fmadf4.c: Likewise.
34562         * soft-fp/fmasf4.c: Likewise.
34563         * soft-fp/fmatf4.c: Likewise.
34564         * soft-fp/gedf2.c: Likewise.
34565         * soft-fp/gesf2.c: Likewise.
34566         * soft-fp/getf2.c: Likewise.
34567         * soft-fp/ledf2.c: Likewise.
34568         * soft-fp/lesf2.c: Likewise.
34569         * soft-fp/letf2.c: Likewise.
34570         * soft-fp/muldf3.c: Likewise.
34571         * soft-fp/mulsf3.c: Likewise.
34572         * soft-fp/multf3.c: Likewise.
34573         * soft-fp/negdf2.c: Likewise.
34574         * soft-fp/negsf2.c: Likewise.
34575         * soft-fp/negtf2.c: Likewise.
34576         * soft-fp/op-1.h: Likewise.
34577         * soft-fp/op-2.h: Likewise.
34578         * soft-fp/op-4.h: Likewise.
34579         * soft-fp/op-8.h: Likewise.
34580         * soft-fp/op-common.h: Likewise.
34581         * soft-fp/quad.h: Likewise.
34582         * soft-fp/single.h: Likewise.
34583         * soft-fp/soft-fp.h: Likewise.
34584         * soft-fp/sqrtdf2.c: Likewise.
34585         * soft-fp/sqrtsf2.c: Likewise.
34586         * soft-fp/sqrttf2.c: Likewise.
34587         * soft-fp/subdf3.c: Likewise.
34588         * soft-fp/subsf3.c: Likewise.
34589         * soft-fp/subtf3.c: Likewise.
34590         * soft-fp/truncdfsf2.c: Likewise.
34591         * soft-fp/trunctfdf2.c: Likewise.
34592         * soft-fp/trunctfsf2.c: Likewise.
34593         * soft-fp/trunctfxf2.c: Likewise.
34594         * soft-fp/unorddf2.c: Likewise.
34595         * soft-fp/unordsf2.c: Likewise.
34596         * soft-fp/unordtf2.c: Likewise.
34598 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
34600         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
34601         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
34603 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
34605         * elf/dl-libc.c: Clear initfini list after freeing.
34607 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
34609         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
34610         * soft-fp/addsf3.c: Likewise.
34611         * soft-fp/addtf3.c: Likewise.
34612         * soft-fp/divdf3.c: Likewise.
34613         * soft-fp/divsf3.c: Likewise.
34614         * soft-fp/divtf3.c: Likewise.
34615         * soft-fp/double.h: Likewise.
34616         * soft-fp/eqdf2.c: Likewise.
34617         * soft-fp/eqsf2.c: Likewise.
34618         * soft-fp/eqtf2.c: Likewise.
34619         * soft-fp/extenddftf2.c: Likewise.
34620         * soft-fp/extended.h: Likewise.
34621         * soft-fp/extendsfdf2.c: Likewise.
34622         * soft-fp/extendsftf2.c: Likewise.
34623         * soft-fp/extendxftf2.c: Likewise.
34624         * soft-fp/fixdfdi.c: Likewise.
34625         * soft-fp/fixdfsi.c: Likewise.
34626         * soft-fp/fixdfti.c: Likewise.
34627         * soft-fp/fixsfdi.c: Likewise.
34628         * soft-fp/fixsfsi.c: Likewise.
34629         * soft-fp/fixsfti.c: Likewise.
34630         * soft-fp/fixtfdi.c: Likewise.
34631         * soft-fp/fixtfsi.c: Likewise.
34632         * soft-fp/fixtfti.c: Likewise.
34633         * soft-fp/fixunsdfdi.c: Likewise.
34634         * soft-fp/fixunsdfsi.c: Likewise.
34635         * soft-fp/fixunsdfti.c: Likewise.
34636         * soft-fp/fixunssfdi.c: Likewise.
34637         * soft-fp/fixunssfsi.c: Likewise.
34638         * soft-fp/fixunssfti.c: Likewise.
34639         * soft-fp/fixunstfdi.c: Likewise.
34640         * soft-fp/fixunstfsi.c: Likewise.
34641         * soft-fp/fixunstfti.c: Likewise.
34642         * soft-fp/floatdidf.c: Likewise.
34643         * soft-fp/floatdisf.c: Likewise.
34644         * soft-fp/floatditf.c: Likewise.
34645         * soft-fp/floatsidf.c: Likewise.
34646         * soft-fp/floatsisf.c: Likewise.
34647         * soft-fp/floatsitf.c: Likewise.
34648         * soft-fp/floattidf.c: Likewise.
34649         * soft-fp/floattisf.c: Likewise.
34650         * soft-fp/floattitf.c: Likewise.
34651         * soft-fp/floatundidf.c: Likewise.
34652         * soft-fp/floatundisf.c: Likewise.
34653         * soft-fp/floatunsidf.c: Likewise.
34654         * soft-fp/floatunsisf.c: Likewise.
34655         * soft-fp/floatuntidf.c: Likewise.
34656         * soft-fp/floatuntisf.c: Likewise.
34657         * soft-fp/floatuntitf.c: Likewise.
34658         * soft-fp/fmadf4.c: Likewise.
34659         * soft-fp/fmasf4.c: Likewise.
34660         * soft-fp/fmatf4.c: Likewise.
34661         * soft-fp/gedf2.c: Likewise.
34662         * soft-fp/gesf2.c: Likewise.
34663         * soft-fp/getf2.c: Likewise.
34664         * soft-fp/ledf2.c: Likewise.
34665         * soft-fp/lesf2.c: Likewise.
34666         * soft-fp/letf2.c: Likewise.
34667         * soft-fp/muldf3.c: Likewise.
34668         * soft-fp/mulsf3.c: Likewise.
34669         * soft-fp/multf3.c: Likewise.
34670         * soft-fp/negdf2.c: Likewise.
34671         * soft-fp/negsf2.c: Likewise.
34672         * soft-fp/negtf2.c: Likewise.
34673         * soft-fp/op-1.h: Likewise.
34674         * soft-fp/op-2.h: Likewise.
34675         * soft-fp/op-4.h: Likewise.
34676         * soft-fp/op-8.h: Likewise.
34677         * soft-fp/op-common.h: Likewise.
34678         * soft-fp/quad.h: Likewise.
34679         * soft-fp/single.h: Likewise.
34680         * soft-fp/soft-fp.h: Likewise.
34681         * soft-fp/sqrtdf2.c: Likewise.
34682         * soft-fp/sqrtsf2.c: Likewise.
34683         * soft-fp/sqrttf2.c: Likewise.
34684         * soft-fp/subdf3.c: Likewise.
34685         * soft-fp/subsf3.c: Likewise.
34686         * soft-fp/subtf3.c: Likewise.
34687         * soft-fp/truncdfsf2.c: Likewise.
34688         * soft-fp/trunctfdf2.c: Likewise.
34689         * soft-fp/trunctfsf2.c: Likewise.
34690         * soft-fp/trunctfxf2.c: Likewise.
34691         * soft-fp/unorddf2.c: Likewise.
34692         * soft-fp/unordsf2.c: Likewise.
34693         * soft-fp/unordtf2.c: Likewise.
34695 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
34697         [BZ #15672]
34698         * misc/error.c (error_tail): Fix possible buffer overflow.
34700 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
34702         [BZ #13028]
34703         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
34704         address.
34706 2013-10-14  P. J. McDermott  <pj@pehjota.net>
34708         [BZ #832]
34709         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
34710         testing pipefail option.
34712 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
34714         * soft-fp/double.h: Indent preprocessor directives inside #if.
34715         * soft-fp/extended.h: Likewise.
34716         * soft-fp/op-2.h: Likewise.
34717         * soft-fp/op-4.h: Likewise.
34718         * soft-fp/op-common.h: Likewise.
34719         * soft-fp/quad.h: Likewise.
34720         * soft-fp/single.h: Likewise.
34721         * soft-fp/soft-fp.h: Likewise.
34723 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
34725         * iconv/iconv_prog.c: Fix typos.
34726         * stdio-common/psiginfo-data.h: Likewise.
34728 2013-10-12   Reuben Thomas <rrt@sc3d.org>
34730         [BZ #15764]
34731         * locale/setlocale.c: Fix typo.
34733 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
34735         [BZ #16036]
34736         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
34737         signaling NaN arguments.
34738         * soft-fp/unordsf2.c (__unordsf2): Likewise.
34739         * soft-fp/unordtf2.c (__unordtf2): Likewise.
34741         [BZ #14910]
34742         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
34743         unordered operands.
34744         * soft-fp/gesf2.c (__gesf2): Likewise.
34745         * soft-fp/getf2.c (__getf2): Likewise.
34746         * soft-fp/ledf2.c (__ledf2): Likewise.
34747         * soft-fp/lesf2.c (__lesf2): Likewise.
34748         * soft-fp/letf2.c (__letf2): Likewise.
34750         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
34751         * soft-fp/eqsf2.c (__eqsf2): Likewise.
34752         * soft-fp/eqtf2.c (__eqtf2): Likewise.
34753         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
34754         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
34755         * soft-fp/fixdfti.c (__fixdfti): Likewise.
34756         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
34757         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
34758         * soft-fp/fixsfti.c (__fixsfti): Likewise.
34759         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
34760         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
34761         * soft-fp/fixtfti.c (__fixtfti): Likewise.
34762         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
34763         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
34764         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
34765         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
34766         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
34767         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
34768         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
34769         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
34770         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
34771         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
34772         * soft-fp/floatdisf.c (__floatdisf): Likewise.
34773         * soft-fp/floatsisf.c (__floatsisf): Likewise.
34774         * soft-fp/floattidf.c (__floattidf): Likewise.
34775         * soft-fp/floattisf.c (__floattisf): Likewise.
34776         * soft-fp/floattitf.c (__floattitf): Likewise.
34777         * soft-fp/floatundidf.c (__floatundidf): Likewise.
34778         * soft-fp/floatundisf.c (__floatundisf): Likewise.
34779         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
34780         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
34781         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
34782         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
34783         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
34784         * soft-fp/gesf2.c (__gesf2): Likewise.
34785         * soft-fp/getf2.c (__getf2): Likewise.
34786         * soft-fp/ledf2.c (__ledf2): Likewise.
34787         * soft-fp/lesf2.c (__lesf2): Likewise.
34788         * soft-fp/letf2.c (__letf2): Likewise.
34790         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
34791         Undefine and redefine.
34792         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
34793         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
34794         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
34795         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
34796         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
34797         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
34798         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
34799         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
34800         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
34801         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
34802         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
34803         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
34804         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
34805         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
34806         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
34808         [BZ #16032]
34809         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
34810         without decrementing exponent if mantissa >= that for the
34811         denominator, not >.
34812         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
34813         denominator, not >.  Decrement exponent in < case instead of
34814         incrementing in >= case.
34815         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
34816         without decrementing exponent if mantissa >= that for the
34817         denominator, not >.
34819         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
34820         computing saturated result for unsigned overflow.
34822 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34823             Jeff Law  <law@redhat.com>
34825         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
34826         (atan2Mp): Add systemtap probe marker.
34827         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
34828         (__ieee754_log): Add systemtap probe marker.
34829         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
34830         (atanMp): Add systemtap probe marker.
34831         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
34832         (tanMp): Add systemtap probe marker.
34833         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
34834         (__slowexp): Add systemtap probe marker.
34835         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
34836         (__slowpow): Add systemtap probe marker.
34837         * manual/probes.texi: Document probes.
34839 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
34841         [BZ #15362]
34842         * libio/fileops.c (_IO_new_file_write): Return count of bytes
34843         written.
34844         (_IO_new_file_xsputn): Don't return EOF if nothing has been
34845         written.
34846         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
34847         written to buffer but not flushed.
34848         * libio/iofwrite_u.c:  Likewise.
34849         * libio/iopadn.c:  Return bytes returned even if EOF was
34850         encountered.
34851         * libio/iowpadn.c:  Likewise.
34852         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
34853         if _IO_padn does not write the whole buffer.
34854         [!COMPILE_WPRINTF] (PAD): Likewise.
34856 2013-10-10  David S. Miller  <davem@davemloft.net>
34858         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
34859         directory block.
34861 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
34863         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
34864         instead of FSF address.
34865         * soft-fp/fixdfti.c: Likewise.
34866         * soft-fp/fixsfti.c: Likewise.
34867         * soft-fp/fixtfti.c: Likewise.
34868         * soft-fp/fixunsdfti.c: Likewise.
34869         * soft-fp/fixunssfti.c: Likewise.
34870         * soft-fp/fixunstfti.c: Likewise.
34871         * soft-fp/floattidf.c: Likewise.
34872         * soft-fp/floattisf.c: Likewise.
34873         * soft-fp/floattitf.c: Likewise.
34874         * soft-fp/floatuntidf.c: Likewise.
34875         * soft-fp/floatuntisf.c: Likewise.
34876         * soft-fp/floatuntitf.c: Likewise.
34877         * soft-fp/trunctfxf2.c: Likewise.
34879         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
34880         * soft-fp/fixdfti.c: Likewise.
34881         * soft-fp/fixsfti.c: Likewise.
34882         * soft-fp/fixtfti.c: Likewise.
34883         * soft-fp/fixunsdfti.c: Likewise.
34884         * soft-fp/fixunssfti.c: Likewise.
34885         * soft-fp/fixunstfti.c: Likewise.
34886         * soft-fp/floattidf.c: Likewise.
34887         * soft-fp/floattisf.c: Likewise.
34888         * soft-fp/floattitf.c: Likewise.
34889         * soft-fp/floatuntidf.c: Likewise.
34890         * soft-fp/floatuntisf.c: Likewise.
34891         * soft-fp/floatuntitf.c: Likewise.
34892         * soft-fp/trunctfxf2.c: Likewise.
34894 2013-10-10  David S. Miller  <davem@davemloft.net>
34896         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34898 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
34900         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
34901         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
34902         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
34903         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
34904         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
34905         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
34906         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
34908         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
34909         for NaNs before doing comparisons on argument.
34910         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
34911         Likewise.
34913 2013-10-10  Will Newton  <will.newton@linaro.org>
34915         * malloc/hooks.c (memalign_check): Ensure the value of bytes
34916         passed to _int_memalign does not overflow.
34918 2013-10-10  Torvald Riegel  <triegel@redhat.com>
34920         * scripts/bench.pl: Add include-sources directive.
34921         * benchtests/README: Update documentation.
34923 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
34925         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
34926         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
34927         instead of FP_INIT_ROUNDMODE.
34928         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
34929         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
34931         [BZ #16034]
34932         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
34933         copy class of input value.
34934         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
34935         not handle exceptions.
34936         * soft-fp/negsf2.c (__negsf2): Likewise.
34937         * soft-fp/negtf2.c (__negtf2): Likewise.
34938         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
34940 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
34942         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
34943         semicolon.  From Linux kernel.
34945 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
34947         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
34949 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
34951         [BZ #156]
34952         * manual/socket.texi: Added statement about buffer
34953         for gethostbyname2_r.
34955 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
34957         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
34958         Use .p2align directive instead, throughout.
34959         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
34960         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
34961         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
34962         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34963         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34964         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
34965         * sysdeps/x86_64/strchr.S: Likewise.
34966         * sysdeps/x86_64/strrchr.S: Likewise.
34968 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
34970         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
34972         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
34974         * sysdeps/generic/math_private.h (__mpsin1): Remove
34975         declaration.
34976         (__mpcos1): Likewise.
34977         (__mpsin): New argument __range_reduce.
34978         (__mpcos): Likewise.
34979         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34980         (slow): Use __mpsin and __mpcos.
34981         (slow1): Likewise.
34982         (slow2): Likewise.
34983         (sloww): Likewise.
34984         (sloww1): Likewise.
34985         (sloww2): Likewise.
34986         (bsloww): Likewise.
34987         (bsloww1): Likewise.
34988         (bsloww2): Likewise.
34989         (cslow2): Likewise.
34990         (csloww): Likewise.
34991         (csloww1): Likewise.
34992         (csloww2): Likewise.
34993         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
34994         range_reduce.  Merge in __mpsin1.
34995         (__mpcos): Likewise.
34996         (__mpsin1): Remove.
34997         (__mpcos1): Likewise.
34999 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
35001         * locale/loadlocale.c (_nl_intern_locale_data): Use
35002         LOCFILE_ALIGNED_P.
35003         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
35004         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
35005         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
35006         obstack data is appropriately aligned.
35007         (obstack_int32_grow_fast): Likewise.
35008         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
35009         * locale/programs/locfile.c (add_locale_uint32): Likewise.
35010         (add_locale_uint32_array): Likewise.
35012 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
35014         * benchtests/Makefile: Remove ARGLIST and RET variables.
35015         ($(objpfx)bench-%.c): Pass only function name to the script.
35016         * benchtests/README: Update documentation.
35017         * benchtests/acos-inputs: Add new directives.
35018         * benchtests/acosh-inputs: Likewise.
35019         * benchtests/asin-inputs: Likewise.
35020         * benchtests/asinh-inputs: Likewise.
35021         * benchtests/atan-inputs: Likewise.
35022         * benchtests/atanh-inputs: Likewise.
35023         * benchtests/cos-inputs: Likewise.
35024         * benchtests/cosh-inputs: Likewise.
35025         * benchtests/exp-inputs: Likewise.
35026         * benchtests/log-inputs: Likewise.
35027         * benchtests/pow-inputs: Likewise.
35028         * benchtests/rint-inputs: Likewise.
35029         * benchtests/sin-inputs: Likewise.
35030         * benchtests/sinh-inputs: Likewise.
35031         * benchtests/tan-inputs: Likewise.
35032         * benchtests/tanh-inputs: Likewise.
35033         * scripts/bench.pl: Add support for new directives.
35035 2013-10-07  Alan Modra  <amodra@gmail.com>
35037         * README: Fix careless merge.
35039 2013-10-05  Alan Modra  <amodra@gmail.com>
35041         * NEWS: Mention powerpc64le support and bugs fixed.
35042         * README: Both big-endian and little-endian powerpc64 supported.
35044 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35046         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
35047         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
35048         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
35049         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
35051 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
35053         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
35054         match prototype.
35056 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
35058         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
35059         Move -mhard-float appending from
35060         ports/sysdeps/powerpc/powerpc32/Makefile.
35061         [$(with-fp) = yes] (ASFLAGS): Likewise.
35062         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
35063         * sysdeps/powerpc/nofpu: Move directory from
35064         ports/sysdeps/powerpc/nofpu.
35065         * sysdeps/powerpc/soft-fp: Move directory from
35066         ports/sysdeps/powerpc/soft-fp.
35067         * sysdeps/powerpc/powerpc32/405: Move directory from
35068         ports/sysdeps/powerpc/powerpc32/405.
35069         * sysdeps/powerpc/powerpc32/440: Move directory from
35070         ports/sysdeps/powerpc/powerpc32/440.
35071         * sysdeps/powerpc/powerpc32/464: Move directory from
35072         ports/sysdeps/powerpc/powerpc32/464.
35073         * sysdeps/powerpc/powerpc32/476: Move directory from
35074         ports/sysdeps/powerpc/powerpc32/476.
35075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
35076         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
35077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
35078         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
35079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
35080         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
35081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
35082         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
35083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
35084         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
35085         * README: Update for powerpc-*-linux-gnu software floating point
35086         support in libc.
35088         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
35089         case to powerpc/powerpc32*.
35090         * sysdeps/unix/sysv/linux/configure: Regenerated.
35092         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
35093         (_FPU_MASK_OM): Define as 0x04.
35094         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
35095         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
35096         0x00c10080.
35097         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
35098         0x0000003c.
35099         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
35101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
35102         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
35103         getcontext_e500.
35104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
35105         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
35106         setcontext_e500.
35107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
35108         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
35109         and setcontext_e500.
35111 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
35113         * locale/iso-3166.def: Update iso-1366.def and related occurrences
35115 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35117         * manual/threads.texi (Default Thread Attributes): Fix typo.
35119 2013-10-04  Will Newton  <will.newton@linaro.org>
35121         * malloc/Makefile: Add tst-memalign.
35122         * malloc/tst-memalign.c: New file.
35124         * malloc/tst-posix_memalign.c: Add comments.
35125         (do_test): Add comments and call free on all potentially
35126         allocated pointers. Add space after cast.
35128         * malloc/tst-pvalloc.c: Add comments.
35129         (do_test): Add comments and call free on all potentially
35130         allocated pointers. Remove duplicate check for NULL pointer.
35131         Add space after cast.
35133         * malloc/tst-valloc.c: Add comments.
35134         (do_test): Add comments and call free on all potentially
35135         allocated pointers. Remove duplicate check for NULL pointer.
35136         Add space after cast.
35138 2013-10-04  Alan Modra  <amodra@gmail.com>
35140         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
35141         Use stdint types in rather than __attribute__((mode())).
35142         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
35144 2013-10-04  Alan Modra  <amodra@gmail.com>
35146         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
35147         Correct handling of unaligned relocs for little-endian.
35148         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
35150 2013-10-04  Alan Modra  <amodra@gmail.com>
35152         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
35153         * configure: Regenerate.
35154         * nptl/shlib-versions: Powerpc*le starts at 2.18.
35155         * shlib-versions: Likewise.
35157 2013-10-04  Alan Modra  <amodra@gmail.com>
35159         * string/tester.c (test_memrchr): Increment reported test cycle.
35161 2013-10-04  Alan Modra  <amodra@gmail.com>
35163         * string/test-memcpy.c (do_one_test): When reporting errors, print
35164         string address and don't overrun end of string.
35166 2013-10-04  Alan Modra  <amodra@gmail.com>
35168         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
35169         insrdi.  Make better use of reg selection to speed exit slightly.
35170         Schedule entry path a little better.  Remove useless "are we done"
35171         checks on entry to main loop.  Handle wrapping around zero address.
35172         Correct main loop count.  Handle single left-over word from main
35173         loop inline rather than by using loop_small.  Remove extra word
35174         case in loop_small caused by wrong loop count.  Add little-endian
35175         support.
35176         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
35177         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
35178         cache hint.
35179         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
35180         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
35181         support.  Avoid rlwimi.
35182         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
35184 2013-10-04  Alan Modra  <amodra@gmail.com>
35186         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
35187         insrdi.  Formatting.
35188         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
35189         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
35190         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
35191         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
35192         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
35193         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
35195 2013-10-04  Alan Modra  <amodra@gmail.com>
35197         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
35198         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
35199         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
35200         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
35201         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
35202         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
35203         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
35204         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
35205         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
35206         use of regs.  Use power7 mtocrf.  Tidy function tails.
35208 2013-10-04  Alan Modra  <amodra@gmail.com>
35210         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
35211         Formatting.  Consistently use rXXX register defines or rN defines.
35212         Use early exit labels that avoid restoring unused non-volatile regs.
35213         Make cr field use more consistent with rWORDn compares.  Rename
35214         regs used as shift registers for unaligned loop, using rN defines
35215         for short lifetime/multiple use regs.
35216         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
35217         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
35218         addi 1,1,64 to pop stack frame.  Simplify return value code.
35219         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
35221 2013-10-04  Alan Modra  <amodra@gmail.com>
35223         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
35224         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
35225         rather than rlwimi.
35226         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
35227         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
35228         little-endian support.  Correct typos.
35229         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
35230         rather than rlwimi.
35231         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
35232         in loop and entry code to keep "and." results.
35233         (strchr): Add little-endian support.  Comment.  Move cntlzd
35234         earlier in tail.
35235         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
35237 2013-10-04  Alan Modra  <amodra@gmail.com>
35239         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
35240         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
35241         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
35242         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
35244 2013-10-04  Alan Modra  <amodra@gmail.com>
35246         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
35247         (rTMP): Define as r11.
35248         (strcmp): Add little-endian support.  Optimise tail.
35249         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
35250         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
35251         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
35252         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
35253         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
35254         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35255         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
35257 2013-10-04  Alan Modra  <amodra@gmail.com>
35259         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
35260         little-endian support.  Remove unnecessary "are we done" tests.
35261         Handle "s" wrapping around zero and extremely large "size".
35262         Correct main loop count.  Handle single left-over word from main
35263         loop inline rather than by using small_loop.  Correct comments.
35264         Delete "zero" tail, use "end_max" instead.
35265         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
35267 2013-10-04  Alan Modra  <amodra@gmail.com>
35269         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
35270         support.  Don't branch over align.
35271         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
35272         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
35273         support.  Rearrange tmp reg use to suit.  Comment.
35274         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
35276 2013-10-04  Alan Modra  <amodra@gmail.com>
35278         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
35280 2013-10-04  Alan Modra  <amodra@gmail.com>
35282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
35283         conditional form of branch and link when obtaining pc.
35284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
35286 2013-10-04  Alan Modra  <amodra@gmail.com>
35288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
35289         HIWORD/LOWORD.
35290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
35291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
35293 2013-10-04  Alan Modra  <amodra@gmail.com>
35295         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
35296         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
35297         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
35298         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
35299         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
35300         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
35301         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
35302         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
35303         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
35304         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
35306 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
35307             Alistair Popple <alistair@ozlabs.au.ibm.com>
35308             Alan Modra <amodra@gmail.com>
35310         [BZ #15723]
35311         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
35312         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
35313         _dl_hwcap access for little-endian.
35314         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
35315         destroy vmx regs when saving unaligned.
35316         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
35317         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
35318         destroy vmx regs when saving unaligned.
35320 2013-10-04  Alan Modra  <amodra@gmail.com>
35322         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
35323         Don't use a union to pack hi/low value.
35325 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
35327         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
35328         for little-endian.
35329         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
35330         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
35331         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
35332         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
35333         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
35335 2013-10-04  Alan Modra  <amodra@gmail.com>
35337         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
35338         constants to usual value for .cst8 section, and remove redundant
35339         high address load.
35340         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
35341         constant for 0x1p52.  Load little-endian words of double from
35342         correct stack offsets.
35344 2013-10-04  Alan Modra  <amodra@gmail.com>
35346         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
35347         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
35348         words of double from correct stack offsets.
35349         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
35350         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
35351         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
35352         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
35353         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
35354         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
35355         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
35356         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
35357         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
35358         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
35359         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
35360         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
35361         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
35362         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
35363         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
35364         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
35365         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
35367 2013-10-04  Alan Modra  <amodra@gmail.com>
35369         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
35370         64-bit int/double union.
35371         (_FPU_SETCW): Likewise.
35372         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
35373         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
35375 2013-10-04  Alan Modra  <amodra@gmail.com>
35377         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
35378         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
35380 2013-10-04  Alan Modra  <amodra@gmail.com>
35382         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
35383         use vector int constants.
35384         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
35386 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
35388         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
35389         array with long long.
35390         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
35391         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
35392         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
35393         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
35394         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
35395         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
35396         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
35397         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
35398         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
35399         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
35400         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
35401         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
35402         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
35404 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
35406         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
35407         (__signbit): Likewise.  Correct for little-endian.
35408         (__signbitl): Call __signbit.
35409         (lrint): Correct for little-endian.
35410         (lrintf): Call lrint.
35412 2013-10-04  Alan Modra  <amodra@gmail.com>
35414         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
35415         union 32-bit int array member with 64-bit int array.
35416         (t515, tm256): Double rather than long double.
35417         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
35419 2013-10-04  Alan Modra  <amodra@gmail.com>
35421         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
35422         Delete.
35423         (IEEE854_LONG_DOUBLE_BIAS): Delete.
35424         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
35425         version of math_ldbl.h.
35427 2013-10-04  Alan Modra  <amodra@gmail.com>
35429         [BZ #15734], [BZ #15735]
35430         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
35431         all uses of ieee875 long double macros and unions.  Simplify test
35432         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
35433         ldbl_extract_mantissa value for ix,iy exponents.  Properly
35434         normalize after ldbl_extract_mantissa, and don't add hidden bit
35435         already handled.  Don't treat low word of ieee854 mantissa like
35436         low word of IBM long double and mask off bit when testing for
35437         zero.
35438         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
35439         all uses of ieee875 long double macros and unions.  Simplify tests
35440         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
35441         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
35442         two1022, instead use their values.  Recognise that tests for large
35443         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
35444         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
35445         Rewrite all uses of ieee875 long double macros and unions.  Simplify
35446         test for 0.0L and nan.  Correct negation.
35447         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
35448         ieee875 long double macros and unions.  Correct output for large
35449         magnitude x.  Correct absolute value calculation.
35450         (__erfcl): Likewise.
35451         * math/libm-test.inc: Add tests for errors discovered in IBM long
35452         double versions of fmodl, remainderl, erfl and erfcl.
35454 2013-10-04  Alan Modra  <amodra@gmail.com>
35456         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
35457         all uses of ieee854 long double macros and unions.  Simplify tests
35458         for long doubles that are fully specified by the high double.
35459         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
35460         Likewise.
35461         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
35462         Remove dead code too.
35463         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
35464         (__ieee754_ynl): Likewise.
35465         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
35466         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
35467         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
35468         Remove dead code too.
35469         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
35470         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
35471         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
35472         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
35473         Simplify.
35474         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
35475         Simplify.
35476         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
35477         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
35478         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
35479         Comment on variable precision.
35480         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
35481         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35482         Likewise.
35483         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
35484         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
35485         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
35486         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
35487         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
35489 2013-10-04  Alan Modra  <amodra@gmail.com>
35491         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
35492         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
35493         all uses of ieee854 long double macros and unions.
35494         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
35495         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35496         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
35497         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
35498         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
35499         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
35500         Likewise.
35501         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
35502         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35503         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
35504         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35505         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
35506         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
35507         Simplify sign and nan test too.
35508         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
35509         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
35510         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
35511         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
35512         Likewise.
35513         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
35514         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
35515         Likewise.
35516         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35517         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
35518         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
35519         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
35520         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
35521         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
35523 2013-10-04  Alan Modra  <amodra@gmail.com>
35525         * stdio-common/printf_size.c (__printf_size): Don't use
35526         union ieee854_long_double in fpnum union.
35527         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
35528         signbit macro to retrieve sign from long double.
35529         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
35530         retrieve sign from long double.
35531         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
35532         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
35533         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
35534         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
35535         * math/test-misc.c (main): Don't use union ieee854_long_double.
35537 2013-10-04  Alan Modra  <amodra@gmail.com>
35539         [BZ #15680]
35540         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
35541         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
35542         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
35543         calculation.  Remove unnecessary test for denormal exponent.
35544         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
35545         Correct handling of denormals.  Avoid undefined shift behaviour.
35546         Correct normalisation of low mantissa when low double is denormal.
35547         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
35548         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
35549         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
35550         Correct normalisation of low mantissa.  Test for overflow of high
35551         mantissa and normalise.
35552         (ldbl_nearbyint): Use more readable constant for two52.
35553         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
35554         (__mpn_construct_long_double): Fix test for overflow of high
35555         mantissa and correct normalisation.  Avoid undefined shift.
35557 2013-10-04  Alan Modra  <amodra@gmail.com>
35559         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
35560         (union ibm_extended_long_double): Define as an array of ieee754_double.
35561         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
35562         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
35563         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
35564         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35565         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
35566         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
35567         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
35568         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
35569         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35570         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
35571         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
35573 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
35575         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
35576         page size instead of calling getpagesize.
35578         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
35579         (LOCFILE_ALIGN_MASK): Likewise.
35580         (LOCFILE_ALIGN_UP): Likewise.
35581         (LOCFILE_ALIGNED_P): Likewise.
35582         * locale/programs/ld-collate.c (collate_output): Use the new
35583         macros instead of __alignof__ (int32_t).
35584         * locale/weight.h (findidx): Likewise.
35586 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
35588         [BZ #431]
35589         * manual/string.texi: Fix strncat and wcsncat.
35591 2013-10-03  Brooks Moses  <bmoses@google.com>
35593         [BZ #15915]
35594         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
35595         * Makerules: ...here, and adjust associated comments.
35597 2013-10-02  Will Newton  <will.newton@linaro.org>
35599         * malloc/Makefile: Add tst-pvalloc.
35600         * malloc/tst-pvalloc.c: New file.
35602 2013-10-02  Will Newton  <will.newton@linaro.org>
35604         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
35605         improve test coverage.
35607 2013-10-02  Will Newton  <will.newton@linaro.org>
35609         * malloc/Makefile: Add tst-posix_memalign.
35610         * malloc/tst-posix_memalign.c: New file.
35612 2013-10-01  Eric Blake  <eblake@redhat.com>
35614         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
35615         Use __THROWNL rather than __THROW on static functions.
35617 2013-09-30  Petr Machata  <pmachata@redhat.com>
35619         * elf/elf.h (R_AARCH64_ABS16): New macro.
35620         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
35621         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
35622         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
35623         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
35624         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
35625         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
35626         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
35627         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
35628         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
35629         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
35630         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
35631         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
35632         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
35633         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
35634         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
35635         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
35636         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
35637         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
35638         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
35639         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
35640         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
35641         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
35642         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
35643         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
35644         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
35645         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
35646         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
35647         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
35648         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
35649         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
35650         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
35651         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
35652         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
35653         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
35654         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
35655         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
35656         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
35657         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
35658         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
35659         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
35660         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
35661         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
35662         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
35663         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
35664         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
35665         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
35666         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
35667         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
35668         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
35669         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
35670         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
35671         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
35672         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
35673         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
35674         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
35675         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
35676         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
35677         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
35678         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
35679         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
35680         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
35681         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
35682         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
35683         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
35684         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
35685         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
35686         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
35687         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
35688         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
35689         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
35690         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
35691         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
35692         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
35693         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
35694         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
35695         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
35696         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
35697         (R_AARCH64_TLSDESC_LDR): Likewise.
35698         (R_AARCH64_TLSDESC_ADD): Likewise.
35699         (R_AARCH64_TLSDESC_CALL): Likewise.
35701 2013-09-30  Andreas Schwab  <schwab@suse.de>
35703         [BZ #15048]
35704         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
35705         the nss database lookup.
35706         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35707         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
35709 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
35711         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
35713 2013-09-28  P. J. McDermott  <pj@pehjota.net>
35715         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
35716         ${Bash-specific parameter/pattern/string} parameter expansion.
35717         * sysdeps/unix/make-syscalls.sh: Likewise.
35719 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35721         * sysdeps/sh/stackguard-macros.h: New file.
35723 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
35725         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
35726         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
35727         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
35728         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
35729         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35730         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
35732 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35734         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
35735         Fix thread ID register.
35737 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
35739         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
35740         [POSIX || UNIX98]: Require rather than permitting all symbols from
35741         <time.h>.
35742         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
35743         element of struct sched_param.
35744         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
35745         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
35746         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
35747         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
35748         constant.
35750 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
35752         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
35753         argument calculation.
35755 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
35757         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
35758         Expect macro.
35759         [POSIX] (pthread_attr_t): Do not require type.
35760         [POSIX] (pthread_cond_t): Likewise.
35761         [POSIX] (pthread_condattr_t): Likewise.
35762         [POSIX] (pthread_key_t): Likewise.
35763         [POSIX] (pthread_mutex_t): Likewise.
35764         [POSIX] (pthread_mutexattr_t): Likewise.
35765         [POSIX] (pthread_once_t): Likewise.
35766         [POSIX] (pthread_t): Likewise.
35767         [POSIX-based standards] (pthread_atfork): Expect function.
35769 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
35770             Richard Sandiford  <richard@codesourcery.com>
35772         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
35773         (swap_endianness_p): New extern variable.
35774         (set_big_endian): New inline function.
35775         (maybe_swap_uint32): Likewise.
35776         (maybe_swap_uint32_array): Likewise.
35777         (maybe_swap_uint32_obstack): Likewise.
35778         * locale/programs/locfile.c: Include <stdbool.h>.
35779         (swap_endianness_p): New variable.
35780         (add_locale_uint32): Call maybe_swap_uint32.
35781         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
35782         (write_locale_data): Call maybe_swap_uint32_array.
35783         * locale/programs/ld-collate.c (obstack_int32_grow): Call
35784         maybe_swap_uint32.
35785         (obstack_int32_grow_fast): Likewise.
35786         (output_weightwc): Call maybe_swap_uint32_obstack.
35787         (collate_output): Likewise.
35788         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
35789         (OPT_LITTLE_ENDIAN): Likewise.
35790         (options): Add --little-endian and --big-endian options.
35791         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
35792         * locale/programs/locarchive.c: Include "locfile.h".
35793         (GET): New macro.
35794         (SET): Likewise.
35795         (INC): Likewise.
35796         (create_archive): Use the new macros to access fields of
35797         structures directly mapped from or written to locale archives.
35798         (oldlocrecentcmp): Likewise.
35799         (enlarge_archive): Likewise.
35800         (insert_name): Likewise.
35801         (add_alias): Likewise.
35802         (add_locale): Likewise.
35803         (delete_locales_from_archive): Likewise.
35804         (show_archive_content): Likewise.
35805         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
35806         locale data.
35808 2013-09-24  Roland McGrath  <roland@hack.frob.com>
35810         * manual/freemanuals.texi: Updated from (newly) canonical copy at
35811         http://www.gnu.org/doc/freemanuals.texi.
35812         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
35814 2013-09-24  Will Newton  <will.newton@linaro.org>
35816         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
35817         macro.
35819 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
35821         * locale/hashval.h (compute_hashval): Interpret bytes of key as
35822         unsigned char.
35824 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
35826         * manual/threads.texi (POSIX Threads): Fix a typo.
35828 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
35830         [BZ #14547]
35831         * string/tst-strcoll-overflow.c: New test case.
35832         * string/Makefile (xtests): Add tst-strcoll-overflow.
35833         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
35834         cache if string sizes may cause integer overflow.
35836         [BZ #14547]
35837         * string/strcoll_l.c (coll_seq): New members rule, idx,
35838         save_idx and back_us.
35839         (get_next_seq_nocache): New function.
35840         (do_compare_nocache): New function.
35841         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
35842         when malloc fails.
35844 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
35846         [BZ #15754]
35847         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
35848         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
35849         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
35851         [BZ #15754]
35852         * elf/Makefile (tests): Add tst-ptrguard1.
35853         (tests-static): Add tst-ptrguard1-static.
35854         (tst-ptrguard1-ARGS): Define.
35855         (tst-ptrguard1-static-ARGS): Define.
35856         * elf/tst-ptrguard1.c: New file.
35857         * elf/tst-ptrguard1-static.c: New file.
35858         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
35859         * sysdeps/i386/stackguard-macros.h: Likewise.
35860         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35861         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35862         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35863         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35864         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35865         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35867 2013-09-23  Hector Marco  <hecmargi@upv.es>
35868             Ismael Ripoll  <iripoll@disca.upv.es>
35869             Carlos O'Donell  <carlos@redhat.com>
35871         [BZ #15754]
35872         * sysdeps/generic/stackguard-macros.h: Define
35873         __pointer_chk_guard_local and POINTER_CHK_GUARD.
35874         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
35875         Define __pointer_chk_guard_local.
35876         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
35877         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
35879 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
35881         [BZ #15859]
35882         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
35884 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
35886         * include/string.h (__ffs): Declare as hidden.
35887         * string/ffs.c (__ffs): Define as hidden.
35888         * sysdeps/i386/ffs.c (__ffs): Likewise.
35889         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
35890         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
35891         * sysdeps/s390/ffs.c (__ffs): Likewise.
35892         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
35894 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
35896         * NEWS: Mention malloc probes.
35898         * malloc/arena.c (new_heap): New memory_heap_new probe.
35899         (grow_heap): New memory_heap_more probe.
35900         (shrink_heap): New memory_heap_less probe.
35901         (heap_trim): New memory_heap_free probe.
35902         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
35903         (systrim): New memory_sbrk_less probe.
35904         * manual/probes.texi: Document them.
35906         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
35907         * manual/probes.texi: Document it.
35909         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
35910         (__libc_realloc): Add memory_realloc_retry probe.
35911         (__libc_memalign): Add memory_memalign_retry probe.
35912         (__libc_valloc): Add memory_valloc_retry probe.
35913         (__libc_pvalloc): Add memory_pvalloc_retry probe.
35914         (__libc_calloc): Add memory_calloc_retry probe.
35915         * manual/probes.texi: Document them.
35917         * malloc/arena.c (get_free_list): Add probe
35918         memory_arena_reuse_free_list.
35919         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
35920         and memory_arena_reuse.
35921         (arena_get2) [!PER_THREAD]: Likewise.
35922         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
35923         memory_arena_reuse_realloc.
35924         * manual/probes.texi: Document them.
35926         * malloc/malloc.c (__libc_free): Add
35927         memory_mallopt_free_dyn_thresholds probe.
35928         (__libc_mallopt): Add multiple memory_mallopt probes.
35929         * manual/probes.texi: Document them.
35931         * malloc/malloc.c: Include stap-probe.h.
35932         (__libc_mallopt): Add memory_mallopt probe.
35933         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
35934         * manual/probes.texi: New.
35935         * manual/Makefile (chapters): Add probes.
35936         * manual/threads.texi: Set next node.
35938 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
35940         [BZ #15963, #13985]
35941         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
35942         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
35943         Add `Chinese' to `nan' entry name.
35945 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35947         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
35948         (POLYNOMIAL): Likewise.
35949         (TAYLOR_SINCOS): Likewise.
35950         (TAYLOR_SLOW): Likewise.
35951         (__sin): Use TAYLOR_SINCOS.
35952         (__cos): Likewise.
35953         (slow): Use TAYLOR_SLOW.
35954         (sloww): Likewise.
35955         (bsloww): Likewise.
35956         (csloww): Likewise.
35958 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35960         * stdlib/strtod_l.c: Fix buffer overrun.
35962 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35964         * benchtests/Makefile (bench): Add sincos.
35965         * benchtests/bench-sincos.c: New file.
35967         * math/libm-test.inc (cos_test_data): New test inputs.
35968         (sin_test_data): Likewise.
35970         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
35971         macro.
35972         (__sin): Use it.
35973         (__cos): Likewise.
35974         (slow1): Likewise.
35975         (slow2): Likewise.
35976         (sloww1): Likewise.
35977         (sloww2): Likewise.
35978         (bsloww1): Likewise.
35979         (bsloww2): Likewise.
35980         (cslow2): Likewise.
35981         (csloww1): Likewise.
35982         (csloww2): Likewise.
35984         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
35985         function.
35986         (__sin): Use it.
35987         (__cos): Likewise.
35989         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
35990         gotos.
35991         (__cos): Likewise.
35993 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
35995         * config.h.in (HAVE_MIPS_NAN2008): New macro.
35996         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
35997         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
35998         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
35999         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
36000         * elf/cache.c (print_entry): Handle the new cache flags.
36002 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
36003             Aldy Hernandez  <aldyh@redhat.com>
36005         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
36006         Change condition to [_SOFT_FLOAT].
36007         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
36008         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
36009         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
36010         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
36011         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
36012         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
36013         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
36014         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
36015         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
36016         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
36017         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
36018         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
36019         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
36020         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
36021         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
36022         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
36023         declaration.
36025 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
36027         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
36028         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
36029         (__longjmp): Use LOAD_GP to load saved GPRs.
36030         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
36031         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
36032         (__sigsetjmp): Use SAVE_GP to save GPRs.
36034         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
36035         Do not append -msoft-float.
36036         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
36038 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36040         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
36042 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
36044         [BZ #15966]
36045         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
36046         (_FPU_GETCW): Use initial "__" on variable and field names but not
36047         on macro parameter name.
36048         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
36049         parentheses around reference to macro parameter.
36051 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
36053         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
36054         prototype.
36055         (ctype_startup): Use uint32_t in cast and sizeof for
36056         ctype->charnames.
36058 2013-09-11  Jia Liu  <proljc@gmail.com>
36060         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
36061         __daddr_t_defined.
36062         [__FreeBSD__]: Likewise.
36064 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
36066         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
36067         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
36068         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
36069         (strchr): Remove __strchr_sse42 ifunc selection.
36070         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
36071         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
36073 2013-09-11  Will Newton  <will.newton@linaro.org>
36075         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
36076         parameter to RES. Remove hardcoded 1000 value.
36077         * benchtests/bench-skeleton.c (main): Pass RES parameter
36078         to TIMING_INIT and multiply result by 1000.
36080 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36082         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36084 2013-09-11  Andreas Schwab  <schwab@suse.de>
36086         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
36087         if not defined.
36088         (O_TMPFILE) [__USE_GNU]: Define.
36089         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
36090         Define.
36092 2013-09-11  Will Newton  <will.newton@linaro.org>
36094         [BZ #15857]
36095         * malloc/malloc.c (__libc_memalign): Check the value of bytes
36096         does not overflow.
36098 2013-09-11  Will Newton  <will.newton@linaro.org>
36100         [BZ #15856]
36101         * malloc/malloc.c (__libc_valloc): Check the value of bytes
36102         does not overflow.
36104 2013-09-11  Will Newton  <will.newton@linaro.org>
36106         [BZ #15855]
36107         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
36108         does not overflow.
36110 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
36112         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
36113         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36114         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36115         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36116         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36118 2013-09-10  Allan McRae  <allan@archlinux.org>
36120         [BZ #15748]
36121         * manual/arith.texi (Parsing of Floats): Clarify
36122         cross-reference.
36124         [BZ #15849]
36125         * manual/install.texi (Running make install): Mention
36126         --enable-pt-chown.
36127         * INSTALL: Regenerated.
36129 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
36131         * csu/init-first.c (_init): Remove the !SHARED condition around
36132         FPU control word initialization.
36133         * elf/dl-support.c (_dl_fpu_control): New variable.
36134         (_dl_aux_init) <AT_FPUCW>: Initialize it.
36135         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
36136         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
36137         * math/test-fpucw-static.c: New file.
36138         * math/test-fpucw-ieee.c: New file.
36139         * math/test-fpucw-ieee-static.c: New file.
36140         * math/Makefile (tests): Add `test-fpucw-ieee' and
36141         `$(tests-static)'.
36142         (tests-static): New variable.
36143         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
36144         dependency to...
36145         [($(build-shared),yes)]
36146         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
36147         ... this.
36148         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
36149         New dependency.
36151 2013-09-09  Allan McRae  <allan@archlinux.org>
36153         [BZ #15939]
36154         * manual/string.texi (Collation Functions): Fix typo in
36155         strcoll example.
36156         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
36158         [BZ #15893]
36159         * stdlib/isomac.c (get_null_defines): Fix memory leak.
36161         [BZ #15892]
36162         * libio/memstream.c (open_memstream): Fix memory leak.
36163         * libio/wmemstream.c (open_wmemstream): Likewise.
36165         [BZ #15895]
36166         * nscd/netgroupcache.c: Fix nesting of ifdefs.
36168 2013-09-09  Will Newton  <will.newton@linaro.org>
36170         * malloc/Makefile: Add tst-realloc to tests.
36171         * malloc/tst-realloc.c: New file.
36173 2013-09-09  Allan McRae  <allan@archlinux.org>
36175         [BZ #15844]
36176         * COPYING: Update from GNU website to fix FSF address.
36177         * COPYING.LIB: Likewise.
36179 2013-09-06  David S. Miller  <davem@davemloft.net>
36181         * po/zh_TW.po: Update Chinese (traditional) translation from
36182         translation project.
36184 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
36185             Joseph Myers  <joseph@codesourcery.com>
36187         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
36188         "localeinfo.h".
36189         (obstack_chunk_alloc): New macro.
36190         (obstack_chunk_free): Likewise.
36191         (record_offset): New function.
36192         (init_locale_data): Likewise.
36193         (align_locale_data): Likewise.
36194         (add_locale_empty): Likewise.
36195         (add_locale_raw_data): Likewise.
36196         (add_locale_raw_obstack): Likewise.
36197         (add_locale_string): Likewise.
36198         (add_locale_wstring): Likewise.
36199         (add_locale_uint32): Likewise.
36200         (add_locale_uint32_array): Likewise.
36201         (add_locale_char): Likewise.
36202         (start_locale_structure): Likewise.
36203         (end_locale_structure): Likewise.
36204         (start_locale_prelude): Likewise.
36205         (end_locale_prelude): Likewise.
36206         (write_locale_data): Take locale_file structure rather than an
36207         iovec.
36208         * locale/programs/locfile.h: Include "obstack.h".
36209         (struct locale_file): Change to store locale file contents instead
36210         of header.
36211         (init_locale_data): New prototype.
36212         (align_locale_data): Likewise.
36213         (add_locale_empty): Likewise.
36214         (add_locale_raw_data): Likewise.
36215         (add_locale_raw_obstack): Likewise.
36216         (add_locale_string): Likewise.
36217         (add_locale_wstring): Likewise.
36218         (add_locale_uint32): Likewise.
36219         (add_locale_uint32_array): Likewise.
36220         (add_locale_char): Likewise.
36221         (start_locale_structure): Likewise.
36222         (end_locale_structure): Likewise.
36223         (start_locale_prelude): Likewise.
36224         (end_locale_prelude): Likewise.
36225         (write_locale_data): Update prototype.
36226         * locale/programs/3level.h (struct TABLE): Remove result field.
36227         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
36228         Use new locale_file interface.
36229         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
36230         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
36231         * locale/programs/ld-address.c (address_output): Use new
36232         locale_file interface.
36233         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
36234         NO_ADD_LOCALE.
36235         (collate_finish): Don't call collseq_table_finalize.
36236         (collate_output): Use new locale_file interface.
36237         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
36238         in file.
36239         (NO_FINALIZE): Change to NO_ADD_LOCALE.
36240         (TABLE): Move defines earlier in file.
36241         (ELEMENT): Likewise.
36242         (DEFAULT): Likewise.
36243         (wctrans_table_add): Move macro and inline function earlier in
36244         file.
36245         (struct wctype_table): Move type earlier in file.
36246         (add_locale_wctype_table): New static prototype.
36247         (struct locale_ctype_t): Use logical types instead of struct iovec
36248         pointers for members.
36249         (ctype_output): Use new locale_file interface.
36250         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
36251         new locale_file interface.
36252         (allocate_arrays): Update for use of new locale_file interface.
36253         * locale/programs/ld-identification.c (identification_output): Use
36254         new locale_file interface.
36255         * locale/programs/ld-measurement.c (measurement_output): Likewise.
36256         * locale/programs/ld-messages.c (messages_output): Likewise.
36257         * locale/programs/ld-monetary.c (monetary_output): Likewise.
36258         * locale/programs/ld-name.c (name_output): Likewise.
36259         * locale/programs/ld-numeric.c (numeric_output): Likewise.
36260         * locale/programs/ld-paper.c (paper_output): Likewise.
36261         * locale/programs/ld-telephone.c (telephone_output): Likewise.
36262         * locale/programs/ld-time.c (time_output): Likewise.
36264 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36266         * benchtests/Makefile: Add memrchr benchmark.
36267         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
36268         benchmark as memrchr.
36269         * benchtests/bench-memrchr-ifunc.c: New file.
36270         * benchtests/bench-memrchr.c: New file.
36272 2013-09-06   Will Newton  <will.newton@linaro.org>
36274         * benchtests/Makefile (string-bench): Add memcpy.
36276 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
36277             Cong Wang  <amwang@redhat.com>
36279         [BZ #15850]
36280         * sysdeps/unix/sysv/linux/bits/in.h
36281         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
36282         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
36283         before __USE_KERNEL_IPV6_DEFS uses.
36284         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
36285         IPPROTO_BEETPH.
36286         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
36287         sockaddr_in6, or ipv6_mreq.
36289 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36291         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
36292         memory access for final bytes in some large inputs.
36293         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
36295 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36297         * string/test-memrchr.c: New file.
36298         * string/test-memrchr-ifunc.c: New file.
36299         * string/Makefile: Add new memrchr testcase.
36301 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
36303         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
36304         fanotify_init returns EPERM.
36306 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
36308         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
36309         errors.
36310         (top level): Treat second token from macro or constant entries for
36311         allowed headers as allowed.
36312         * include/complex.h: Condition internal declarations on
36313         [!_ISOMAC].
36314         * include/fenv.h: Condition include of <stdbool.h> and internal
36315         declarations on [!_ISOMAC].
36317 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
36319         [BZ #15923]
36320         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
36322 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
36324         * configure.in (--enable-versioning): Remove configure option.
36325         (libc_cv_asm_symver_directive): Remove configure test.
36326         (libc_cv_ld_version_script_option): Likewise.
36327         (VERSIONING): Remove variable and AC_SUBST.
36328         (DO_VERSIONING): Remove AC_DEFINE.
36329         * configure: Regenerated.
36330         * config.h.in (DO_VERSIONING): Remove macro.
36331         * Makerules [$(versioning) = yes]: Change conditionals to
36332         [$(build-shared) = yes].
36333         * config.make.in (versioning): Remove variable.
36334         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
36335         [$(build-shared) = yes].
36336         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
36337         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
36338         * elf/Makefile [$(versioning) = yes]: Change conditionals to
36339         [$(build-shared) = yes].
36340         * extra-lib.mk [$(versioning) = yes]: Likewise.
36341         * hurd/Makefile [$(versioning) = yes]: Likewise.
36342         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
36343         [SHARED].
36344         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
36345         [SHARED].
36346         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
36347         [SHARED && !NO_HIDDEN].
36348         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
36349         [SHARED].
36350         [SHARED && DO_VERSIONING]: Likewise..
36351         * libio/Makefile [$(versioning) = yes]: Change conditionals to
36352         [$(build-shared) = yes].
36353         * manual/install.texi (--disable-versioning): Remove
36354         documentation.
36355         * INSTALL: Regenerated.
36356         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
36357         to [SHARED].
36358         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
36359         [$(build-shared) = yes].
36360         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
36361         * sysdeps/i386/i686/multiarch/strstr-c.c
36362         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
36363         [SHARED && !NO_HIDDEN].
36364         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
36365         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
36366         * sysdeps/powerpc/powerpc32/dl-machine.c
36367         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
36368         * sysdeps/powerpc/powerpc32/sysdep.h
36369         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
36370         to [SHARED && PIC && !NO_HIDDEN].
36371         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
36372         conditional to [SHARED].
36374 2013-09-04   Will Newton  <will.newton@linaro.org>
36376         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
36377         * benchtests/bench-string.h: Include bench-timing.h instead
36378         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
36379         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
36380         call to HP_TIMING_DIFF_INIT.
36381         * benchtests/bench-memccpy.c: Use bench-timing.h macros
36382         instead of hp-timing.h macros.
36383         * benchtests/bench-memchr.c: Likewise.
36384         * benchtests/bench-memcmp.c: Likewise.
36385         * benchtests/bench-memcpy.c: Likewise.
36386         * benchtests/bench-memmem.c: Likewise.
36387         * benchtests/bench-memmove.c: Likewise.
36388         * benchtests/bench-memset.c: Likewise.
36389         * benchtests/bench-rawmemchr.c: Likewise.
36390         * benchtests/bench-strcasecmp.c: Likewise.
36391         * benchtests/bench-strcasestr.c: Likewise.
36392         * benchtests/bench-strcat.c: Likewise.
36393         * benchtests/bench-strchr.c: Likewise.
36394         * benchtests/bench-strcmp.c: Likewise.
36395         * benchtests/bench-strcpy.c: Likewise.
36396         * benchtests/bench-strcpy_chk.c: Likewise.
36397         * benchtests/bench-strlen.c: Likewise.
36398         * benchtests/bench-strncasecmp.c: Likewise.
36399         * benchtests/bench-strncat.c: Likewise.
36400         * benchtests/bench-strncmp.c: Likewise.
36401         * benchtests/bench-strncpy.c: Likewise.
36402         * benchtests/bench-strnlen.c: Likewise.
36403         * benchtests/bench-strpbrk.c: Likewise.
36404         * benchtests/bench-strrchr.c: Likewise.
36405         * benchtests/bench-strspn.c: Likewise.
36406         * benchtests/bench-strstr.c: Likewise.
36408 2013-09-04  Will Newton  <will.newton@linaro.org>
36410         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
36412 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
36414         [BZ #15427]
36415         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
36416         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
36417         * math/libm-test.inc (lgamma_test_data): Add more tests.
36418         * sysdeps/i386/fpu/libm-test-ulps: Update.
36419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36421 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
36423         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
36424         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36425         Add ifunc.
36426         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
36427         Add strcmp-sse2-unaligned
36428         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
36430 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
36432         * Versions.def (libc): Add GLIBC_2.19.
36434 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
36436         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
36437         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
36439 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
36441         [BZ #14155]
36442         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
36443         intermediate calculations in recurrence.
36444         (__ieee754_ynf): Likewise.
36445         * math/libm-test.inc (jn_test_data): Do not allow spurious
36446         underflow exception.  Add more tests.
36447         (yn_test_data): Add more tests.
36448         * sysdeps/i386/fpu/libm-test-ulps: Update.
36449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36451 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
36453         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
36455 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
36457         * csu/init-first.c: Fix then/than typos.
36458         * locale/programs/ld-collate.c: Likewise.
36459         * locale/programs/linereader.h: Likewise.
36460         * manual/charset.texi: Likewise.
36461         * manual/filesys.texi: Likewise.
36462         * manual/stdio.texi: Likewise.
36463         * manual/string.texi: Likewise.
36464         * stdlib/fmtmsg.c: Likewise.
36465         * sysdeps/i386/stpncpy.S: Likewise.
36466         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
36467         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
36468         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
36469         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
36471 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
36473         * elf/dl-open.c: Fix typos.
36474         * iconvdata/gbbig5.c: Likewise.
36475         * iconvdata/iso-2022-jp.c: Likewise.
36476         * iconv/gconv_int.h: Likewise.
36477         * iconv/loop.c: Likewise.
36478         * nis/rpcsvc/nis.h: Likewise.
36479         * resolv/ns_name.c: Likewise.
36480         * stdio-common/vfscanf.c: Likewise.
36481         * streams/stropts.h: Likewise.
36482         * sunrpc/rpc_thread.c: Likewise.
36483         * sysdeps/i386/strpbrk.S: Likewise.
36484         * sysdeps/ieee754/k_standard.c: Likewise.
36485         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
36486         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
36487         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
36488         * sysdeps/mach/hurd/profil.c: Likewise.
36489         * sysdeps/s390/dl-procinfo.h: Likewise.
36490         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
36491         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
36492         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
36493         * sysdeps/x86_64/dl-trampoline.S: Likewise.
36494         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
36496 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
36498         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
36499         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
36501 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
36503         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
36504         aix specific files.
36505         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
36506         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
36507         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
36508         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
36509         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
36510         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
36511         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
36512         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
36514 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
36515             Roland McGrath  <roland@hack.frob.com>
36517         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
36518         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
36520 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36522         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
36523         __executable_start symbol instead of _start.
36525 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
36527         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
36528         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
36529         Move macros to...
36530         * sysdeps/gnu/ldsodefs.h: ... this new file.
36532         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
36533         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
36534         instead of ELFOSABI_LINUX.
36536         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
36537         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
36538         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
36539         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
36540         Likewise.
36541         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
36542         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
36543         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
36544         Likewise.
36545         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
36546         (ibm_extended_long_double): Add ieee_nan member.
36547         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
36548         (do_test): New function.
36550         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
36551         TEST_TRUNC.
36552         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
36553         functions, renamed from truncdfsf_test, trunctfsf_test,
36554         trunctfdf_test.
36555         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
36556         functions.
36557         (do_test): Run all these.
36559 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
36561         * argp/argp-help.c: Fix typos.
36562         * argp/argp-parse.c: Likewise.
36563         * debug/backtracesyms.c: Likewise.
36564         * elf/elf.h: Likewise.
36565         * malloc/malloc.c: Likewise.
36566         * nis/nis_print.c: Likewise.
36567         * resolv/res_comp.c: Likewise.
36568         * stdlib/stdlib.h: Likewise.
36569         * sunrpc/clnt_tcp.c: Likewise.
36570         * sunrpc/clnt_udp.c: Likewise.
36571         * sunrpc/clnt_unix.c: Likewise.
36572         * sysdeps/unix/bsd/ptsname.c: Likewise.
36573         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
36574         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
36575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
36576         Likewise.
36577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
36578         Likewise.
36579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
36580         Likewise.
36581         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
36583 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36585         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
36586         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
36588 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
36590         [BZ #15897]
36591         * dlfcn/Makefile (tests): Add bug-dl-leaf.
36592         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
36593         ($(objpfx)bug-dl-leaf): New rule.
36594         ($(objpfx)bug-dl-leaf.so): Likewise.
36595         ($(objpfx)bug-dl-leaf.out): Likewise.
36596         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
36597         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
36598         * dlfcn/bug-dl-leaf.c: New test.
36599         * dlfcn/bug-dl-leaf-lib.c: Likewise.
36600         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
36601         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
36602         (dlclose): Likewise.
36603         (dlmopen): Likewise.
36605 2013-08-27  Roland McGrath  <roland@hack.frob.com>
36607         * include/netdb.h [!_ISOMAC]:
36608         Don't include <tls.h>.
36609         (h_errno, __libc_h_errno): Move declaration and macros out of
36610         [_LIBC_REENTRANT].
36612         * include/resolv.h [_RESOLV_H_]:
36613         Don't include <tls.h>.
36614         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
36615         * resolv/res_libc.c: Don't include <tls.h>.
36616         (_res): Use __attribute__ ((nocommon)) in place of
36617         __attribute__ ((section (".bss"))).
36619         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
36620         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
36622         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
36624         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
36625         only under [SIOCGIFCONF && SIOCGIFNETMASK].
36627         * resolv/res_mkquery.c: Include <sys/time.h>.
36629         * inet/ifreq.c: Moved to ...
36630         * sysdeps/unix/ifreq.c: ... here.
36631         * inet/ifreq.c: New file, true stub version.
36633         * socket/sa_len.c: New file.
36634         * socket/Makefile (aux): Add it.
36635         * sysdeps/unix/sysv/linux/Makefile
36636         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
36637         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
36638         and #include <socket/sa_len.c>.
36639         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
36640         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
36642         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
36643         * bits/socket.h: ... here.
36645         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
36646         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
36647         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
36649 2013-08-27  Andreas Schwab  <schwab@suse.de>
36651         [BZ #15736]
36652         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
36653         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
36654         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
36655         * string/test-strcasecmp.c (test_main): Run tests in several
36656         locales.
36657         * string/test-strncasecmp.c (test_main): Likewise.
36659         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
36660         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
36661         to __strcasecmp_nonascii and __strncasecmp_nonascii.
36662         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
36663         (__strncasecmp_ssse3) [PIC]: Likewise.
36665 2013-08-26  Roland McGrath  <roland@hack.frob.com>
36667         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
36669         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
36670         instead of explicitly declaring xdecrypt.
36671         * nis/nss_nis/nis-publickey.c: Likewise.
36673 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36675         [BZ #15890]
36676         * nscd/aicache.c: Include res_hconf.h.
36677         (addhstaiX): Initialize res_hconf.
36679 2013-08-26  Andreas Schwab  <schwab@suse.de>
36681         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
36682         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
36684 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36686         * nscd/aicache.c (addhstaiX): Fix indentation.
36688 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
36690         * configure.ac: Quote $build_pt_chown test.
36691         * configure: Regenerated.
36693 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
36695         [BZ #15532]
36696         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
36697         * math/s_cexpf.c (__cexpf): Likewise.
36698         * math/s_cexpl.c (__cexpl): Likewise.
36699         * math/libm-test.inc (cexp_test_data): Correct expected return
36700         value for NaN + i0.  Add another test.
36702 2013-08-22  David S. Miller  <davem@davemloft.net>
36704         * po/ca.po: Update Catalan translation from translation project.
36705         * po/uk.po: Add Ukrainian translations from translation project.
36707 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
36709         [BZ #15797]
36710         * math/s_fdim.c (__fdim): Check for infinite arguments if result
36711         is infinite, not alongside NaN test.
36712         * math/s_fdimf.c (__fdimf): Likewise.
36713         * math/s_fdiml.c (__fdiml): Likewise.
36714         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
36715         errno is unchanged.
36717 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
36719         * argp/argp-help.c: Fix typos.
36720         * crypt/speeds.c: Likewise.
36721         * csu/check_fds.c: Likewise.
36722         * elf/dl-load.c: Likewise.
36723         * elf/dl-open.c: Likewise.
36724         * elf/reldep3.c: Likewise.
36725         * elf/reldep.c: Likewise.
36726         * elf/sprof.c: Likewise.
36727         * iconv/iconv_charmap.c: Likewise.
36728         * iconv/skeleton.c: Likewise.
36729         * iconv/strtab.c: Likewise.
36730         * io/lockf64.c: Likewise.
36731         * libio/libioP.h: Likewise.
36732         * resolv/gai_notify.c: Likewise.
36733         * resolv/ns_name.c: Likewise.
36734         * resolv/ns_samedomain.c: Likewise.
36735         * resolv/res_send.c: Likewise.
36736         * stdlib/random.c: Likewise.
36737         * sunrpc/rpc/xdr.h: Likewise.
36738         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
36739         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
36740         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36741         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36742         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36743         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
36744         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
36745         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36746         * sysdeps/mach/hurd/check_fds.c: Likewise.
36747         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
36748         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
36749         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
36750         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
36751         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
36752         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
36753         * sysdeps/pthread/aio_notify.c: Likewise.
36754         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
36755         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
36756         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
36757         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
36758         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
36760 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
36762         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
36763         version if bit_Slow_SSE4_2 is set.
36764         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36765         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36767 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36769         [BZ #15867]
36770         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
36771         trampoline stack frame information.
36772         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
36773         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
36774         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
36775         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
36776         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
36777         * sysdeps/unix/sysv/linux/powerpc/init-first.c
36778         (_libc_vdso_platform_setup): Initialize the signal trampolines.
36779         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
36780         sa_flags value.
36781         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
36782         interrupting a syscall and set with option SA_SIGINFO.
36784 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
36786         [BZ #15531]
36787         * math/s_cproj.c (__cproj): Only return an infinity if one part of
36788         argument is infinite.
36789         * math/s_cprojf.c (__cprojf): Likewise.
36790         * math/s_cprojl.c (__cprojl): Likewise.
36791         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
36792         * math/libm-test.inc (cproj_test_data): Add more tests.
36794         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
36796         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
36797         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
36798         size.  Use __ffs to determine corresponding shift.
36800 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
36801             Roland McGrath  <roland@hack.frob.com>
36803         * Makefile (INSTALL): Remove trailing blank lines from output of
36804         makeinfo.
36806 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36808         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
36809         Align 32 bit compat elf_greg to 8 bytes.
36811 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
36813         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
36815 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
36817         * string/strcoll_l.c (coll_seq): New structure.
36818         (get_next_seq_cached): New function.
36819         (get_next_seq): New function.
36820         (do_compare): New function.
36821         (STRCOLL): Use GNU style definition.  Simplify implementation
36822         by using get_next_seq, get_next_seq_cached and do_compare.
36824 2013-08-16  Florian Weimer  <fweimer@redhat.com>
36826         [BZ #14699]
36827         CVE-2013-4237
36828         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
36829         member.
36830         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
36831         member.
36832         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
36833         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
36834         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
36835         conditional.
36836         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
36837         GETDENTS_64BIT_ALIGNED.
36838         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
36839         * manual/filesys.texi (Reading/Closing Directory): Document
36840         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
36841         strongly.
36842         * manual/conf.texi (Limits for Files): Add portability note to
36843         NAME_MAX, PATH_MAX.
36844         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
36846 2013-08-13  Andreas Schwab  <schwab@suse.de>
36848         [BZ #15749]
36849         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
36850         of fabs.
36851         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
36852         LDBL_MAX_EXP >= 16384]: Add tests for it.
36854 2013-08-12  David S. Miller  <davem@davemloft.net>
36856         * version.h (RELEASE): Set to "development".
36857         (VERSION): Set to "2.18.90".
36858         * NEWS: Add 2.19 section.
36860 2013-08-03  David S. Miller  <davem@davemloft.net>
36862         * po/ko.po: Update Korean translation from translation project.
36864 2013-08-01  David S. Miller  <davem@davemloft.net>
36866         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
36867         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
36868         Bilka.
36870 2013-07-30  David S. Miller  <davem@davemloft.net>
36872         * po/fr.po: Update French translation from translation project.
36874 2013-07-28  David S. Miller  <davem@davemloft.net>
36876         * po/cs.po: Update Czech translation from translation project.
36878         * po/sv.po: Update Swedish translation from translation project.
36880 2013-07-27  David S. Miller  <davem@davemloft.net>
36882         * po/eo.po: Update Esperanto translation from translation project.
36884         * po/vi.po: Update Vietnamese translation from translation project.
36886         * po/de.po: Update German translation from translation project.
36888 2013-07-26  David S. Miller  <davem@davemloft.net>
36890         * po/bg.po: Update Bulgarian translation from translation project.
36892         * po/nl.po: Update Dutch translation from translation project.
36893         * po/pl.po: Update Polish translation from translation project.
36894         * po/ru.po: Update Russian translation from translation project.
36896 2013-07-24  David S. Miller  <davem@davemloft.net>
36898         * po/libc.pot: Update.
36900 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36902         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
36903         variable page size.
36904         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
36905         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
36906         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
36908 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36910         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
36912 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36913             Andreas Schwab  <schwab@suse.de>
36914             Roland McGrath  <roland@hack.frob.com>
36915             Joseph Myers  <joseph@codesourcery.com>
36916             Carlos O'Donell  <carlos@redhat.com>
36918         [BZ #15755]
36919         * config.h.in: Define HAVE_PT_CHOWN.
36920         * config.make.in (build-pt-chown): New variable.
36921         * configure.in (--enable-pt_chown): New configure option.
36922         * configure: Regenerate.
36923         * login/Makefile: Include Makeconfig.  Build pt_chown only if
36924         build-pt-chown is enabled.
36925         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
36926         pt_chown to fix pty ownership.
36927         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
36928         CLOSE_ALL_FDS.
36929         * manual/install.texi (Configuring and compiling): Mention
36930         --enable-pt_chown. Add @findex for grantpt.
36931         * INSTALL: Regenerate.
36933 2013-07-20  David S. Miller  <davem@davemloft.net>
36935         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
36936         difference between 32-bit and 64-bit.
36938 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
36940         [BZ #15711]
36941         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
36942         Avoid system header dependency with -ffreestanding.
36943         ($(objpfx)bits/syscall%d): Likewise.
36945 2013-07-13  David S. Miller  <davem@davemloft.net>
36947         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
36948         underflows from atanl/atan2l due to bug 15319.
36949         (casinh_test_data): Likewise.
36951 2013-07-07  David S. Miller  <davem@davemloft.net>
36953         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
36955 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
36957         * sysdeps/i386/fpu/libm-test-ulps: Update.
36958         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36960 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36962         * configure.in (--enable-lock-elision): Fix message text.
36963         * INSTALL: Regenerate.
36964         * configure: Regenerate.
36966 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36968         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36970 2013-07-03  Andreas Jaeger  <aj@suse.de>
36972         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
36973         define.
36974         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
36975         (ptrace_peeksiginfo_args): Add.
36976         (__ptrace_peeksiginfo_flags): Add.
36977         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36978         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36979         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36981 2013-07-03  Allan McRae  <allan@archlinux.org>
36983         * sysdeps/i386/fpu/libm-test-ulps: Update.
36985 2013-07-02  David S. Miller  <davem@davemloft.net>
36987         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36989 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
36991         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36993 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
36995         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
36996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36998 2013-07-02  Andi Kleen <ak@linux.intel.com>
37000         * config.h.in (ENABLE_LOCK_ELISION): Add.
37001         * configure.in (--enable-lock-elision): Add option.
37002         * manual/install.texi: Document --enable lock elision.
37003         * configure: Regenerate
37004         * INSTALL: Regenerate.
37006 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
37008         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
37009         SSE4.2 strcasecmp for libc.a.
37010         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
37012 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
37014         [BZ #13304]
37015         * soft-fp/op-common.h (_FP_FMA): New macro.
37016         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
37017         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
37018         (_FP_MUL_MEAT_1_imm): ... here.
37019         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
37020         (_FP_MUL_MEAT_1_wide): ... here.
37021         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
37022         (_FP_MUL_MEAT_1_hard): ... here.
37023         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
37024         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
37025         (_FP_MUL_MEAT_2_wide): ... here.
37026         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
37027         (_FP_MUL_MEAT_2_wide_3mul): ... here.
37028         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
37029         (_FP_MUL_MEAT_2_gmp): ... here.
37030         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
37031         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
37032         (_FP_MUL_MEAT_4_wide): ... here.
37033         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
37034         (_FP_MUL_MEAT_4_gmp): ... here.
37035         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
37036         (_FP_WFRACBITS_DW_S): Likewise.
37037         (_FP_WFRACXBITS_DW_S): Likewise.
37038         (_FP_HIGHBIT_DW_S): Likewise.
37039         (FP_FMA_S): Likewise.
37040         (_FP_FRAC_HIGH_DW_S): Likewise.
37041         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
37042         (_FP_WFRACBITS_DW_D): Likewise.
37043         (_FP_WFRACXBITS_DW_D): Likewise.
37044         (_FP_HIGHBIT_DW_D): Likewise.
37045         (FP_FMA_D): Likewise.
37046         (_FP_FRAC_HIGH_DW_D): Likewise.
37047         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
37048         (_FP_WFRACBITS_DW_E): Likewise.
37049         (_FP_WFRACXBITS_DW_E): Likewise.
37050         (_FP_HIGHBIT_DW_E): Likewise.
37051         (FP_FMA_E): Likewise.
37052         (_FP_FRAC_HIGH_DW_E): Likewise.
37053         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
37054         (_FP_WFRACBITS_DW_Q): Likewise.
37055         (_FP_WFRACXBITS_DW_Q): Likewise.
37056         (_FP_HIGHBIT_DW_Q): Likewise.
37057         (FP_FMA_Q): Likewise.
37058         (_FP_FRAC_HIGH_DW_Q): Likewise.
37059         * soft-fp/fmasf4.c: New file.
37060         * soft-fp/fmadf4.c: Likewise.
37061         * soft-fp/fmatf4.c: Likewise.
37063 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37065         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37066         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
37067         Silvermont.
37068         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
37069         macro.
37070         (index_Slow_SSE4_2): Likewise.
37071         (index_Prefer_PMINUB_for_stringop): Likewise.
37072         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
37073         bit_Slow_SSE4_2 is set.
37074         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
37075         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37077 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37079         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
37080         rtld_global._dl_hwcap2.
37081         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
37082         POWER8.
37083         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
37084         POWER8 feature descriptions defined in _dl_hwcap2.
37085         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
37086         string handling for POWER8 feature bits.
37087         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
37088         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
37089         _dl_powerpc_cap_flags.
37090         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
37091         * sysdeps/powerpc/rtld-global-offsets.sym
37092         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
37093         _dl_hwcap2 in the rtld_global_ro structure.
37095 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37097         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
37098         hardware capabilities in support of AT_HWCAP2.
37099         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
37100         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
37101         GLRO(dl_hwcap2).
37102         (_dl_show_auxv): Add support for calling _dl_procinfo to display
37103         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
37104         explicitly the unknown a_type display mechanism is used.
37105         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
37106         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
37107         struct member.
37108         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
37109         to macro prototype for AT_HWCAP2 support.
37110         * sysdeps/i386/dl-procinfo.h: Likewise.
37111         * sysdeps/s390/dl-procinfo.h: Likewise.
37112         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
37113         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
37114         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
37115         return -1 for unknown a_type display fallback.
37116         * sysdeps/sparc/dl-procinfo.h: Likewise.
37117         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
37118         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
37120 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
37122         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
37123         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
37125 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
37127         [BZ #12492]
37128         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
37129         mprotect making __stack_prot writable.
37131 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
37132             Joseph Myers  <joseph@codesourcery.com>
37134         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
37135         as being properly aligned.
37137 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
37139         * dlfcn/modstatic5.c: New file.
37140         * dlfcn/tststatic5.c: New file.
37141         * dlfcn/Makefile (tests): Add tststatic5.
37142         (tests-static): Likewise.
37143         (modules-names): Add modstatic5.
37144         (tststatic5-ENV): New variable.
37145         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
37147         [BZ #15022]
37148         * elf/dl-support.c (_dl_main_map): New variable.
37149         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
37150         (_dl_nns, _dl_load_adds): Set to 1.
37151         (_dl_initial_searchlist): Refer to _dl_main_map.
37152         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
37153         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
37154         call to _dl_get_origin.
37155         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
37156         around call_map.
37157         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
37158         * dlfcn/modstatic3.c: New file.
37159         * dlfcn/tststatic3.c: New file.
37160         * dlfcn/tststatic4.c: New file.
37161         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
37162         (tests-static): Likewise.
37163         (modules-names): Add modstatic3.
37164         (tststatic3-ENV, tststatic4-ENV): New variables.
37165         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
37166         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
37168 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
37170         * configure.in (CC): Require GCC version 4.4 or later.
37171         * configure: Regenerated.
37172         * manual/install.texi (Tools for Compilation): Update GCC version
37173         requirement.
37174         * INSTALL: Regenerated.
37176 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37178         [BZ #15674]
37179         * string/test-memcmp.c (check2): New.
37180         (main): Call check2.
37182         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
37184 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
37186         [BZ #15022]
37187         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
37188         over to...
37189         (dl_open_worker) [!SHARED]: ... here.
37191 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37193         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
37195 2013-06-25  Richard Henderson  <rth@redhat.com>
37197         * locale/programs/locarchive.c: Include <libc-internal.h>
37199 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
37201         * manual/texinfo.tex: Update to version 2013-06-21.17, with
37202         trailing whitespace removed.
37204 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
37206         [BZ #10283]
37207         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
37208         * locale/programs/locarchive.c: Include libc-mmap.h.
37209         (prepare_address_space): Take two new outputs (the mmap base and len).
37210         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
37211         values.
37212         (create_archive): Declare new mmap base and len values for
37213         prepare_address_space, and store the result in ah.
37214         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
37215         (enlarge_archive): If ah->mmap_base is not NULL, use that and
37216         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
37217         Declare new mmap base and len values for
37218         prepare_address_space, and store the result in new_ah.
37219         (open_archive): Declare new mmap base and len values for
37220         prepare_address_space, and store the result in ah.
37221         (close_archive): If ah->mmap_base is not NULL, use that and
37222         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
37223         * sysdeps/generic/libc-mmap.h: New file.
37225 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
37227         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
37228         (ALIGN_UP): Likewise.
37229         (PTR_ALIGN_DOWN): Likewise.
37230         (PTR_ALIGN_UP): Likewise.
37232 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37234         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
37235         entry mapped to PPC_PLATFORM_POWER8.
37236         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
37237         POWER8.
37238         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
37239         (_dl_string_platform): Add case for exporting platform position for
37240         POWER8.
37241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
37242         search path to sysdeps/powerpc/powerpc32/power8 directory.
37243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
37244         search path to sysdeps/powerpc/powerpc64/power8 directory.
37245         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
37246         power7 directories.
37247         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
37248         power7 directories.
37250 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37252         * INSTALL: Regenerate.
37254         * nscd/connections.c (nscd_init): Fix comment.
37256 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
37258         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
37260         [BZ #15667]
37261         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
37262         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
37264 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
37266         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
37267         DL_DST_REQ_STATIC.
37268         (DL_DST_REQ_STATIC): Remove macro.
37270 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
37272         [BZ #7006]
37273         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
37274         with a shift of 0 bits.
37276 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
37278         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
37279         $(tststatic-ENV).
37281 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37283         [BZ #15655]
37284         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
37286 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37288         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
37289         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
37290         accepts -fno-tree-loop-distribute-patterns.
37291         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
37292         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
37293         recursive call.
37294         * string/memset.c (memset): Likewise.
37295         * string/test-memmove.c (simple_memmove): Disable loop transformation
37296         to library calls.
37297         * string/test-memset.c (simple_memset): Likewise.
37298         * benchtests/bench-memmove.c (simple_memmove): Likewise.
37299         * benchtests/bench-memset.c (simple_memset): Likewise.
37300         * configure: Regenerated.
37302 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
37304         * math/test-misc.c (main): Ignore fesetround failure when failures
37305         of subsequent rounding tests would be ignored.
37307         [BZ #15654]
37308         * math/fedisblxcpt.c (fedisableexcept): Return 0.
37309         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
37310         * math/fegetenv.c (__fegetenv): Return 0.
37311         * math/fegetexcept.c (fegetexcept): Return 0.
37312         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
37313         FE_TONEAREST.
37314         * math/feholdexcpt.c (feholdexcept): Return 0.
37315         * math/fesetenv.c (__fesetenv): Return 0.
37316         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
37317         argument FE_TONEAREST.
37318         * math/feupdateenv.c (__feupdateenv): Return 0.
37319         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
37321 2013-06-18  Roland McGrath  <roland@hack.frob.com>
37323         * elf/rtld-Rules (rtld-compile-command.S): New variable.
37324         (rtld-compile-command.s, rtld-compile-command.c): New variables.
37325         ($(objpfx)rtld-%.os rules): Use them.
37327 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37329         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
37330         fields.
37332 2013-06-17  Roland McGrath  <roland@hack.frob.com>
37334         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
37335         length of target pattern, then descending length of dependency pattern.
37336         * configure.in (AWK): Require gawk 3.1.2 or newer.
37337         * manual/install.texi (Tools for Compilation): Say that we do.
37338         * configure: Regenerated.
37340         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
37341         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
37342         * scripts/sysd-rules.awk: ... this new script.
37343         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
37344         than a glob-style pattern.
37346 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
37348         * math/test-misc.c (main): Do not treat incorrectly rounded
37349         conversions as failure unless ROUNDING_TESTS passes.
37351 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
37353         [BZ #15631]
37354         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
37355         restore exception state around main square root computation, then
37356         check for inexactness explicitly.
37358         * math/libm-test.inc (fma_test_data): Add another test.
37360 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37362         * manual/threads.texi (Non-POSIX Extensions): New document
37363         node.  Document pthread_getattr_default_np and
37364         pthread_setattr_default_np.
37366         * Versions.def (libpthread): Add GLIBC_2.18.
37367         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
37368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37369         Likewise.
37370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37371         Likewise.
37372         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37373         Likewise.
37374         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37375         Likewise.
37376         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
37377         Likewise.
37378         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37379         Likewise.
37380         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37381         Likewise.
37382         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
37383         Likewise.
37384         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
37385         Likewise.
37387 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37389         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37390         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
37392 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37393             H.J. Lu  <hjl.tools@gmail.com>
37395         [BZ #15627]
37396         * sysdeps/x86_64/rtld-memset.c: Remove file.
37397         * sysdeps/x86_64/rtld-memset.S: New file.
37399 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
37401         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
37402         (test_in_one_mode): Take arguments for whether the rounding mode
37403         is supported for each floating-point type.
37404         (do_test): Pass new arguments to test_in_one_mode using
37405         ROUNDING_TESTS.
37407 2013-06-13  Roland McGrath  <roland@hack.frob.com>
37409         * posix/tst-waitid.c (do_test): Distinguish different instances of
37410         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
37411         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
37412         before entering the kernel for waitpid.
37414 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
37416         * NEWS: Fix note on clock function precision.  Text by Roland
37417         McGrath.
37419 2013-06-13  Roland McGrath  <roland@hack.frob.com>
37421         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
37422         it into place only when and if the sanity check passes.
37424 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
37426         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
37427         output for whether conversion result is exact.  Take argument
37428         indicating whether type is IBM long double.
37429         (round_for_all): Change need_exact field to ibm_ld.
37430         * stdlib/tst-strtod-round.c (struct exactness): New type.
37431         (struct test): Change bool ld_ok field to struct exactness exact.
37432         (TEST): Update all definitions for change to field.
37433         (tests): Regenerate array contents.
37434         (test_in_one_mode): Take pointer to new field instead of old ld_ok
37435         field value.  Check for IBM long double here.
37436         (do_test): Update calls to test_in_one_mode.
37438 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
37440         [BZ #12515]
37441         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
37442         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
37444 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37446         [BZ #15605]
37447         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
37448         generated by the compiler on loop optimizations.
37449         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
37450         general definitions.
37452 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
37454         * math/bug-nextafter.c: Include <math-tests.h>.
37455         (main): Only test for exceptions if EXCEPTION_TESTS is true for
37456         the relevant type.
37457         * math/bug-nexttoward.c: Include <math-tests.h>.
37458         (main): Only test for exceptions if EXCEPTION_TESTS is true for
37459         the relevant type.
37460         * math/test-misc.c: Include <math-tests.h>.
37461         (main): Only test for exceptions if EXCEPTION_TESTS is true for
37462         the relevant type.
37464 2013-06-12  Andreas Jaeger  <aj@suse.de>
37466         * po/ia.po: Update Interlingua translation from translation
37467         project.
37469 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
37471         * include/fenv.h: Include stdbool.h.
37472         (struct rm_ctx): New structure.
37473         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
37474         Define macro.
37475         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
37476         (SET_RESTORE_ROUNDF): Likewise.
37477         (SET_RESTORE_ROUNDL): Likewise.
37478         (SET_RESTORE_ROUND_NOEX): Likewise.
37479         (SET_RESTORE_ROUND_NOEXF): Likewise.
37480         (SET_RESTORE_ROUND_NOEXL): Likewise.
37481         (SET_RESTORE_ROUND_53BIT): Likewise.
37482         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
37483         (libc_feresetround_noexf_ctx): Likewise.
37484         (libc_feresetround_noexl_ctx): Likewise.
37485         (libc_feholdsetround_53bit_ctx): Likewise.
37486         (libc_feresetround_53bit_ctx): Likewise.
37487         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
37488         (libc_feholdexcept_setround_sse_ctx): New function.
37489         (libc_fesetenv_sse_ctx): Likewise.
37490         (libc_feupdateenv_sse_ctx): Likewise.
37491         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
37492         (libc_feholdexcept_setround_387_ctx): Likewise.
37493         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
37494         (libc_feholdsetround_387_prec_ctx): Likewise.
37495         (libc_feholdsetround_387_ctx): Likewise.
37496         (libc_feholdsetround_387_53bit_ctx): Likewise.
37497         (libc_feholdsetround_sse_ctx): Likewise.
37498         (libc_feresetround_sse_ctx): Likewise.
37499         (libc_feresetround_387_ctx): Likewise.
37500         (libc_feupdateenv_387_ctx): Likewise.
37501         (libc_feholdexcept_setroundf_ctx): Define macro.
37502         (libc_fesetenvf_ctx): Likewise.
37503         (libc_feupdateenvf_ctx): Likewise.
37504         (libc_feholdsetroundf_ctx): Likewise.
37505         (libc_feresetroundf_ctx): Likewise.
37506         (libc_feholdexcept_setround_ctx): Likewise.
37507         (libc_fesetenv_ctx): Likewise.
37508         (libc_feupdateenv_ctx): Likewise.
37509         (libc_feholdsetround_ctx): Likewise.
37510         (libc_feresetround_ctx): Likewise.
37511         (libc_feholdexcept_setroundl_ctx): Likewise.
37512         (libc_feupdateenvl_ctx): Likewise.
37513         (libc_feholdsetroundl_ctx): Likewise.
37514         (libc_feresetroundl_ctx): Likewise.
37515         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
37516         (libc_feresetround_53bit_ctx): Likewise.
37518 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37520         * locale/iso-639.def: Convert to UTF-8.
37522 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
37524         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
37525         (EXCEPTION_TESTS_double): Likewise.
37526         (EXCEPTION_TESTS_long_double): Likewise.
37527         (EXCEPTION_TESTS): Likewise.
37528         * math/libm-test.inc (test_exceptions): Only test exceptions if
37529         EXCEPTION_TESTS (FLOAT).
37531 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37533         * benchtests/Makefile (string-bench): Add strcpy_chk and
37534         stpcpy_chk.
37535         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
37536         * benchtests/bench-stpcpy_chk.c: New file.
37537         * benchtests/bench-strcpy_chk-ifunc.c: New file.
37538         * benchtests/bench-strcpy_chk.c: New file.
37539         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
37540         code.
37541         (do_test): Likewise.
37543 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37545         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
37546         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
37547         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
37548         with tabs where appropriate.
37549         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
37550         dl-procinfo.h.
37551         [PPC_PLATFORM_PPC440]: Likewise.
37552         [PPC_PLATFORM_PPC464]: Likewise.
37553         [PPC_PLATFORM_PPC476]: Likewise.
37554         (_dl_string_platform): Add support for detecting ppc405, ppc440,
37555         ppc464, and ppc476 platform strings merging from ports/
37556         dl-procinfo.h.
37558 2013-06-11  Andreas Schwab  <schwab@suse.de>
37560         [BZ #14991]
37561         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
37562         (from_ucs4_idx): Regenerate.
37563         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
37564         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
37565         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
37566         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
37567         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
37568         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
37569         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
37570         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
37571         from FROM_LOOP and TO_LOOP specific macros.
37572         (BODY): Handle combining characters.
37573         * iconvdata/BIG5HKSCS.irreversible: Update.
37574         * iconvdata/BIG5HKSCS.precomposed: New file.
37575         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
37576         characters.
37577         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
37579 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37581         * include/sys/time.h: Fix indentation and add copyright header.
37583         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
37584         (do_test): Likewise.
37585         * string/test-memchr.c (do_one_test): Likewise.
37586         (do_test): Likewise.
37587         * string/test-memcmp.c (do_one_test): Likewise.
37588         (do_test): Likewise.
37589         * string/test-memcpy.c (do_one_test): Likewise.
37590         (do_test): Likewise.
37591         * string/test-memmem.c (do_one_test): Likewise.
37592         (do_test): Likewise.
37593         (do_random_tests): Likewise.
37594         * string/test-memmove.c (do_one_test): Likewise.
37595         (do_test): Likewise.
37596         * string/test-memset.c (do_one_test): Likewise.
37597         (do_test): Likewise.
37598         * string/test-rawmemchr.c (do_one_test): Likewise.
37599         (do_test): Likewise.
37600         * string/test-strcasecmp.c (do_one_test): Likewise.
37601         (do_test): Likewise.
37602         * string/test-strcasestr.c (do_one_test): Likewise.
37603         (do_test): Likewise.
37604         * string/test-strcat.c (do_one_test): Likewise.
37605         (do_test): Likewise.
37606         * string/test-strchr.c (do_one_test): Likewise.
37607         (do_test): Likewise.
37608         * string/test-strcmp.c (do_one_test): Likewise.
37609         (do_test): Likewise.
37610         * string/test-strcpy.c (do_one_test): Likewise.
37611         (do_test): Likewise.
37612         * string/test-string.h: Likewise.
37613         (test_init): Likewise.
37614         * string/test-strlen.c (do_one_test): Likewise.
37615         (do_test): Likewise.
37616         * string/test-strncasecmp.c (do_one_test): Likewise.
37617         (do_test): Likewise.
37618         * string/test-strncat.c (do_one_test): Likewise.
37619         (do_test): Likewise.
37620         * string/test-strncmp.c (do_one_test): Likewise.
37621         (do_test_limit): Likewise.
37622         (do_test): Likewise.
37623         * string/test-strncpy.c (do_one_test): Likewise.
37624         (do_test): Likewise.
37625         * string/test-strnlen.c (do_one_test): Likewise.
37626         (do_test): Likewise.
37627         * string/test-strpbrk.c (do_one_test): Likewise.
37628         (do_test): Likewise.
37629         * string/test-strrchr.c (do_one_test): Likewise.
37630         (do_test): Likewise.
37631         * string/test-strspn.c (do_one_test): Likewise.
37632         (do_test): Likewise.
37633         * string/test-strstr.c (do_one_test): Likewise.
37634         (do_test): Likewise.
37636         * benchtests/Makefile (string-bench): Add string benchmarks.
37637         * benchtests/bench-bcopy-ifunc.c: New file.
37638         * benchtests/bench-bcopy.c: New file.
37639         * benchtests/bench-bzero-ifunc.c: New file.
37640         * benchtests/bench-bzero.c: New file.
37641         * benchtests/bench-memccpy-ifunc.c: New file.
37642         * benchtests/bench-memccpy.c: New file.
37643         * benchtests/bench-memchr-ifunc.c: New file.
37644         * benchtests/bench-memchr.c: New file.
37645         * benchtests/bench-memcmp-ifunc.c: New file.
37646         * benchtests/bench-memcmp.c: New file.
37647         * benchtests/bench-memmem-ifunc.c: New file.
37648         * benchtests/bench-memmem.c: New file.
37649         * benchtests/bench-memmove-ifunc.c: New file.
37650         * benchtests/bench-memmove.c: New file.
37651         * benchtests/bench-mempcpy-ifunc.c: New file.
37652         * benchtests/bench-mempcpy.c: New file.
37653         * benchtests/bench-memset-ifunc.c: New file.
37654         * benchtests/bench-memset.c: New file.
37655         * benchtests/bench-rawmemchr-ifunc.c: New file.
37656         * benchtests/bench-rawmemchr.c: New file.
37657         * benchtests/bench-stpcpy-ifunc.c: New file.
37658         * benchtests/bench-stpcpy.c: New file.
37659         * benchtests/bench-stpncpy-ifunc.c: New file.
37660         * benchtests/bench-stpncpy.c: New file.
37661         * benchtests/bench-strcasecmp-ifunc.c: New file.
37662         * benchtests/bench-strcasecmp.c: New file.
37663         * benchtests/bench-strcasestr-ifunc.c: New file.
37664         * benchtests/bench-strcasestr.c: New file.
37665         * benchtests/bench-strcat-ifunc.c: New file.
37666         * benchtests/bench-strcat.c: New file.
37667         * benchtests/bench-strchr-ifunc.c: New file.
37668         * benchtests/bench-strchr.c: New file.
37669         * benchtests/bench-strchrnul-ifunc.c: New file.
37670         * benchtests/bench-strchrnul.c: New file.
37671         * benchtests/bench-strcmp-ifunc.c: New file.
37672         * benchtests/bench-strcmp.c: New file.
37673         * benchtests/bench-strcpy-ifunc.c: New file.
37674         * benchtests/bench-strcpy.c: New file.
37675         * benchtests/bench-strcspn-ifunc.c: New file.
37676         * benchtests/bench-strcspn.c: New file.
37677         * benchtests/bench-strlen-ifunc.c: New file.
37678         * benchtests/bench-strlen.c: New file.
37679         * benchtests/bench-strncasecmp-ifunc.c: New file.
37680         * benchtests/bench-strncasecmp.c: New file.
37681         * benchtests/bench-strncat-ifunc.c: New file.
37682         * benchtests/bench-strncat.c: New file.
37683         * benchtests/bench-strncmp-ifunc.c: New file.
37684         * benchtests/bench-strncmp.c: New file.
37685         * benchtests/bench-strncpy-ifunc.c: New file.
37686         * benchtests/bench-strncpy.c: New file.
37687         * benchtests/bench-strnlen-ifunc.c: New file.
37688         * benchtests/bench-strnlen.c: New file.
37689         * benchtests/bench-strpbrk-ifunc.c: New file.
37690         * benchtests/bench-strpbrk.c: New file.
37691         * benchtests/bench-strrchr-ifunc.c: New file.
37692         * benchtests/bench-strrchr.c: New file.
37693         * benchtests/bench-strspn-ifunc.c: New file.
37694         * benchtests/bench-strspn.c: New file.
37695         * benchtests/bench-strstr-ifunc.c: New file.
37696         * benchtests/bench-strstr.c: New file.
37698         * benchtests/Makefile: Disable parallel execution of targets.
37699         (string-bench): Add memcpy.
37700         (benchset): New variable to store a list of benchmark sets.
37701         (bench-func): Renamed from bench.
37702         (bench-set): New target.
37703         (bench): Depend on bench-func and bench-set.
37704         * benchtests/README: Add section on benchmark sets.
37705         * benchtests/bench-memcpy-ifunc.c: New file.
37706         * benchtests/bench-memcpy.c: New file.
37707         * benchtests/bench-string.h: New file.
37709 2013-06-11  Andreas Schwab  <schwab@suse.de>
37711         [BZ #15577]
37712         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
37713         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
37714         values in the triple.
37715         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
37716         terminator in the group key.
37718 2013-06-11  Andreas Jaeger  <aj@suse.de>
37720         * po/zh_TW.po: Update Chinese (traditional) translation from
37721         translation project.
37723 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37725         * include/time.h (__clock_gettime): Add libc_hidden_proto.
37726         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
37727         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
37728         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37729         (clock_getcpuclockid): Likewise.
37730         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
37731         Add weak_alias and libc_hidden_def.
37732         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
37733         * rt/clock_gettime.c (clock_gettime): Rename to
37734         __clock_gettime.  Add weak_alias and libc_hidden_def.
37735         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
37736         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
37737         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
37738         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
37739         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
37740         Likewise.
37741         * rt/clock_settime.c (clock_settime): Rename to
37742         __clock_settime.  Add weak_alias and libc_hidden_def.
37743         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
37745 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
37747         * mach/err_boot.sub: Remove trailing whitespace.
37748         * mach/err_ipc.sub: Likewise.
37749         * mach/err_mach.sub: Likewise.
37751         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
37752         (ROUNDING_TESTS_double): Likewise.
37753         (ROUNDING_TESTS_long_double): Likewise.
37754         (ROUNDING_TESTS): Likewise.
37755         * math/libm-test.inc: Include <math-tests.h>.
37756         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
37757         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
37758         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
37759         (IF_ROUND_INIT_FE_UPWARD): Likewise.
37761 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37763         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
37764         of assigning.
37766 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
37768         * sysdeps/gnu/errlist.awk: Do not generate space at end of
37769         otherwise empty TRANS lines.
37770         * sysdeps/gnu/errlist.c: Regenerated.
37772         * catgets/gencat.c (error_print): Use (void) in function
37773         definition.
37774         * crypt/crypt_util.c (__init_des): Likewise.
37775         * crypt/speeds.c (Stop): Likewise.
37776         (main): Likewise.
37777         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
37778         * inet/ruserpass.c (token): Likewise.
37779         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
37780         * intl/localealias.c (extend_alias_table): Likewise.
37781         * intl/plural-exp.c (init_germanic_plural): Likewise.
37782         * libio/fcloseall.c (__fcloseall): Likewise.
37783         * libio/genops.c (_IO_flush_all): Likewise.
37784         (_IO_flush_all_linebuffered): Likewise.
37785         (_IO_cleanup): Likewise.
37786         (_IO_iter_begin): Likewise.
37787         (_IO_iter_end): Likewise.
37788         (_IO_list_lock): Likewise.
37789         (_IO_list_unlock): Likewise.
37790         (_IO_list_resetlock): Likewise.
37791         * libio/getchar.c (getchar): Likewise.
37792         * libio/getchar_u.c (getchar_unlocked): Likewise.
37793         * libio/getwchar.c (getwchar): Likewise.
37794         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
37795         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
37796         * login/getpt.c (__getpt): Likewise.
37797         * login/tst-utmp.c (main): Likewise.
37798         * malloc/hooks.c (__malloc_check_init): Likewise.
37799         * malloc/malloc.c (__malloc_stats): Likewise.
37800         * malloc/mtrace.c (tr_break): Likewise.
37801         (mtrace): Likewise.
37802         (muntrace): Likewise.
37803         * misc/fstab.c (endfsent): Likewise.
37804         * misc/getclktck.c (__getclktck): Likewise.
37805         * misc/getdtsz.c (__getdtablesize): Likewise.
37806         * misc/gethostid.c (gethostid): Likewise.
37807         * misc/getpagesize.c (__getpagesize): Likewise.
37808         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
37809         (__get_nprocs): Likewise.
37810         (__get_phys_pages): Likewise.
37811         (__get_avphys_pages): Likewise.
37812         * misc/getttyent.c (getttyent): Likewise.
37813         (setttyent): Likewise.
37814         (endttyent): Likewise.
37815         * misc/getusershell.c (getusershell): Likewise.
37816         (endusershell): Likewise.
37817         (setusershell): Likewise.
37818         (initshells): Likewise.
37819         * misc/hsearch.c (__hdestroy): Likewise.
37820         * misc/sync.c (sync): Likewise.
37821         * misc/syslog.c (closelog_internal): Likewise.
37822         (closelog): Likewise.
37823         * misc/ttyslot.c (ttyslot): Likewise.
37824         * misc/vhangup.c (vhangup): Likewise.
37825         * posix/fork.c (__fork): Likewise.
37826         * posix/getegid.c (__getegid): Likewise.
37827         * posix/geteuid.c (__geteuid): Likewise.
37828         * posix/getgid.c (__getgid): Likewise.
37829         * posix/getpid.c (__getpid): Likewise.
37830         * posix/getppid.c (__getppid): Likewise.
37831         * posix/getuid.c (__getuid): Likewise.
37832         * posix/pause.c (pause): Likewise.
37833         * posix/setpgrp.c (setpgrp): Likewise.
37834         * posix/setsid.c (__setsid): Likewise.
37835         * posix/test-vfork.c (noop): Likewise.
37836         * resolv/gethnamaddr.c (_endhtent): Likewise.
37837         (_gethtent): Likewise.
37838         (ht_endhostent): Likewise.
37839         (gethostent): Likewise.
37840         (dns_service): Likewise.
37841         * stdlib/drand48.c (drand48): Likewise.
37842         * stdlib/lrand48.c (lrand48): Likewise.
37843         * stdlib/mrand48.c (mrand48): Likewise.
37844         * stdlib/rand.c (rand): Likewise.
37845         * stdlib/random.c (__random): Likewise.
37846         * stdlib/setenv.c (clearenv): Likewise.
37847         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
37848         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
37849         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
37850         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
37851         (__get_nprocs): Likewise.
37852         (__get_phys_pages): Likewise.
37853         (__get_avphys_pages): Likewise.
37854         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
37855         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
37856         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
37857         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
37858         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
37859         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
37860         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
37861         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
37862         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
37863         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
37864         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
37865         * sysdeps/mach/hurd/sync.c (sync): Likewise.
37866         * sysdeps/posix/clock.c (clock): Likewise.
37867         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
37868         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
37869         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
37870         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
37871         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
37872         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
37873         (__get_nprocs_conf): Likewise.
37874         (__get_phys_pages): Likewise.
37875         (__get_avphys_pages): Likewise.
37876         * time/clock.c (clock): Likewise.
37877         * time/tzset.c (__tzname_max): Likewise.
37879 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
37881         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
37882         (__bswap_32): Do not use "register".
37883         * crypt/crypt.c (_ufc_doit_r): Likewise.
37884         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
37885         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
37886         * gmon/gmon.c (__monstartup): Likewise.
37887         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
37888         * hurd/hurdmalloc.c (more_memory): Likewise.
37889         (malloc): Likewise.
37890         (free): Likewise.
37891         (realloc): Likewise.
37892         (malloc_fork_prepare): Likewise.
37893         (malloc_fork_parent): Likewise.
37894         (malloc_fork_child): Likewise.
37895         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
37896         (_svcauth_des): Likewise.
37897         * inet/inet_lnaof.c (inet_lnaof): Likewise.
37898         * inet/inet_net.c (inet_network): Likewise.
37899         * inet/inet_netof.c (inet_netof): Likewise.
37900         * inet/rcmd.c (__validuser2_sa): Likewise.
37901         * io/fts.c (fts_open): Likewise.
37902         (fts_load): Likewise.
37903         (fts_close): Likewise.
37904         (fts_read): Likewise.
37905         (fts_children): Likewise.
37906         (fts_build): Likewise.
37907         (fts_stat): Likewise.
37908         (fts_sort): Likewise.
37909         (fts_alloc): Likewise.
37910         (fts_lfree): Likewise.
37911         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
37912         (_IO_file_xsgetn): Likewise.
37913         (_IO_file_xsgetn_mmap): Likewise.
37914         * libio/iofopncook.c (_IO_cookie_read): Likewise.
37915         (_IO_cookie_write): Likewise.
37916         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
37917         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
37918         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
37919         * malloc/obstack.c (_obstack_begin): Likewise.
37920         (_obstack_begin_1): Likewise.
37921         (_obstack_newchunk): Likewise.
37922         (_obstack_allocated_p): Likewise.
37923         (obstack_free): Likewise.
37924         (_obstack_memory_used): Likewise.
37925         * misc/getttyent.c (getttynam): Likewise.
37926         (getttyent): Likewise.
37927         (skip): Likewise.
37928         (value): Likewise.
37929         * misc/getusershell.c (initshells): Likewise.
37930         * misc/syslog.c (__vsyslog_chk): Likewise.
37931         * misc/ttyslot.c (ttyslot): Likewise.
37932         * nis/nis_hash.c (__nis_hash): Likewise.
37933         * posix/fnmatch_loop.c (FCT): Likewise.
37934         * posix/getconf.c (print_all): Likewise.
37935         (main): Likewise.
37936         * posix/getopt.c (exchange): Likewise.
37937         * posix/glob.c (globfree): Likewise.
37938         (prefix_array): Likewise.
37939         (__glob_pattern_type): Likewise.
37940         * resolv/arpa/nameser.h (NS_GET16): Likewise.
37941         (NS_GET32): Likewise.
37942         (NS_PUT16): Likewise.
37943         (NS_PUT32): Likewise.
37944         * resolv/gethnamaddr.c (getanswer): Likewise.
37945         (gethostbyname2): Likewise.
37946         (gethostbyaddr): Likewise.
37947         (_gethtent): Likewise.
37948         (_gethtbyname2): Likewise.
37949         (_gethtbyaddr): Likewise.
37950         * resolv/ns_print.c (dst_s_get_int16): Likewise.
37951         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
37952         * resolv/res_init.c (__res_vinit): Likewise.
37953         (net_mask): Likewise.
37954         * resolv/res_mkquery.c (outchar): Likewise.
37955         (PRINT): Likewise.
37956         * stdio-common/printf_fp.c (outchar): Likewise.
37957         (PRINT): Likewise.
37958         * stdio-common/printf_fphex.c (outchar): Likewise.
37959         (PRINT): Likewise.
37960         * stdio-common/printf_size.c (outchar): Likewise.
37961         (PRINT): Likewise.
37962         * stdio-common/test_rdwr.c (main): Likewise.
37963         * stdio-common/tfformat.c (matches): Likewise.
37964         * stdio-common/vfprintf.c (outchar): Likewise.
37965         (printf_unknown): Likewise.
37966         (buffered_vfprintf): Likewise.
37967         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
37968         * stdio-common/xbug.c (AppendToBuffer): Likewise.
37969         (ReadFile): Likewise.
37970         * stdlib/qsort.c (SWAP): Likewise.
37971         (_quicksort): Likewise.
37972         * stdlib/setenv.c (__add_to_environ): Likewise.
37973         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
37974         * stdlib/strtol_l.c (__strtol_l): Likewise.
37975         * stdlib/tst-strtod.c (main): Likewise.
37976         * stdlib/tst-strtol.c (main): Likewise.
37977         * stdlib/tst-strtoll.c (main): Likewise.
37978         * string/bits/string2.h (__strcmp_cc): Likewise.
37979         (__strcmp_cg): Likewise.
37980         (__strcspn_c1): Likewise.
37981         (__strcspn_c2): Likewise.
37982         (__strcspn_c3): Likewise.
37983         (__strspn_c1): Likewise.
37984         (__strspn_c2): Likewise.
37985         (__strspn_c3): Likewise.
37986         (__strsep_1c): Likewise.
37987         (__strsep_2c): Likewise.
37988         (__strsep_3c): Likewise.
37989         * string/memccpy.c (__memccpy): Likewise.
37990         * string/stpcpy.c (__stpcpy): Likewise.
37991         * string/strcmp.c (strcmp): Likewise.
37992         * string/strrchr.c (strrchr): Likewise.
37993         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
37994         Likewise.
37995         * sysdeps/mach/hurd/getcwd.c
37996         (_hurd_canonicalize_directory_name_internal): Likewise.
37997         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
37998         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
37999         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
38000         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
38001         Likewise, in both definitions.
38002         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
38003         definitions.
38004         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
38005         64] (__bswap_64): Likewise.
38006         * time/test_time.c (main): Likewise.
38007         * time/tzfile.c (__tzfile_read): Likewise.
38008         (__tzfile_compute): Likewise.
38009         * time/tzset.c (__tzset_parse_tz): Likewise.
38010         (tzset_internal): Likewise.
38011         (compute_change): Likewise.
38012         * wcsmbs/wcscat.c (__wcscat): Likewise.
38013         * wcsmbs/wcschr.c (wcschr): Likewise.
38014         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
38015         * wcsmbs/wcscspn.c (wcscspn): Likewise.
38016         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
38017         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
38018         * wcsmbs/wcsspn.c (wcsspn): Likewise.
38019         * wcsmbs/wcsstr.c (wcsstr): Likewise.
38020         * wcsmbs/wmemchr.c (wmemchr): Likewise.
38021         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
38022         * wcsmbs/wmemset.c (wmemset): Likewise.
38024 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
38026         * scripts/config.guess: Update to version 2013-05-16.
38027         * scripts/config.sub: Update to version 2013-04-24.
38028         * scripts/install-sh: Update to version 2011-11-20.07.
38029         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
38030         * scripts/move-if-change: Update to version 2012-01-06 07:23.
38032 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
38034         * debug/fgetws_u_chk.c: Fix leading whitespaces.
38035         * elf/sln.c: Likewise.
38036         * hurd/hurd/ioctl.h: Likewise.
38037         * hurd/hurdmalloc.c: Likewise.
38038         * hurd/xattr.c: Likewise.
38039         * include/shlib-compat.h: Likewise.
38040         * inet/ruserpass.c: Likewise.
38041         * libio/iofgets_u.c: Likewise.
38042         * libio/iofgetws_u.c: Likewise.
38043         * locale/programs/ld-identification.c: Likewise.
38044         * locale/programs/ld-time.c: Likewise.
38045         * mach/msg-destroy.c: Likewise.
38046         * nss/nss_files/files-netgrp.c: Likewise.
38047         * resolv/res_data.c: Likewise.
38048         * soft-fp/op-1.h: Likewise.
38049         * soft-fp/op-2.h: Likewise.
38050         * soft-fp/op-4.h: Likewise.
38051         * soft-fp/op-common.h: Likewise.
38052         * stdio-common/printf_fphex.c: Likewise.
38053         * stdlib/strtod_l.c: Likewise.
38054         * sunrpc/rpc/clnt.h: Likewise.
38055         * sysdeps/generic/framestate.c: Likewise.
38056         * sysdeps/i386/bsd-_setjmp.S: Likewise.
38057         * sysdeps/i386/bsd-setjmp.S: Likewise.
38058         * sysdeps/i386/__longjmp.S: Likewise.
38059         * sysdeps/i386/setjmp.S: Likewise.
38060         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38061         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38062         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38063         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
38064         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38065         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
38066         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38067         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38068         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38069         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
38070         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
38071         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
38072         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
38073         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
38074         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
38075         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38076         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
38077         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
38078         * sysdeps/ieee754/support.c: Likewise.
38079         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38080         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
38081         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
38082         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
38083         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
38084         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
38085         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
38086         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
38087         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
38088         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
38089         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
38090         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
38091         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
38092         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
38093         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
38094         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
38095         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
38096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
38098 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
38100         * posix/transbug.c: Remove executable mode.
38102 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
38104         * crypt/speeds.c: Remove trailing whitespace.
38105         * dlfcn/default.c: Likewise.
38106         * elf/ifuncdep2.c: Likewise.
38107         * elf/ifuncmain1.c: Likewise.
38108         * elf/ifuncmain1vis.c: Likewise.
38109         * elf/testobj.h: Likewise.
38110         * elf/tst-stackguard1.c: Likewise.
38111         * gmon/sys/gmon.h: Likewise.
38112         * hurd/hurdmsg.c: Likewise.
38113         * hurd/new-fd.c: Likewise.
38114         * hurd/ports-get.c: Likewise.
38115         * iconvdata/ibm1008_420.c: Likewise.
38116         * inet/tst-getni1.c: Likewise.
38117         * inet/tst-getni2.c: Likewise.
38118         * libio/ioungetc.c: Likewise.
38119         * libio/wfiledoalloc.c: Likewise.
38120         * manual/libm-err-tab.pl: Likewise.
38121         * math/w_dremf.c: Likewise.
38122         * misc/ftruncate.c: Likewise.
38123         * posix/bug-glob2.c: Likewise.
38124         * posix/tst-pcre.c: Likewise.
38125         * posix/wait4.c: Likewise.
38126         * resolv/README: Likewise.
38127         * resolv/res_debug.h: Likewise.
38128         * resolv/tst-inet_ntop.c: Likewise.
38129         * setjmp/bug269-setjmp.c: Likewise.
38130         * soft-fp/extended.h: Likewise.
38131         * soft-fp/op-1.h: Likewise.
38132         * soft-fp/op-2.h: Likewise.
38133         * soft-fp/op-4.h: Likewise.
38134         * soft-fp/op-8.h: Likewise.
38135         * soft-fp/testit.c: Likewise.
38136         * stdio-common/bug16.c: Likewise.
38137         * stdlib/random.c: Likewise.
38138         * sunrpc/rpcsvc/rquota.x: Likewise.
38139         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
38140         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38141         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38142         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38143         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38144         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38145         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38146         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38147         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38148         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38149         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38150         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
38151         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38152         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
38153         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38154         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
38155         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
38156         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38157         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
38158         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38159         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38160         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38161         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
38162         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
38163         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
38164         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
38165         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
38166         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
38167         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38168         * sysdeps/ieee754/s_lib_version.c: Likewise.
38169         * sysdeps/mach/hurd/check_fds.c: Likewise.
38170         * sysdeps/mach/hurd/getsockname.c: Likewise.
38171         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
38172         * sysdeps/mach/hurd/recvfrom.c: Likewise.
38173         * sysdeps/powerpc/bits/link.h: Likewise.
38174         * sysdeps/powerpc/dl-procinfo.c: Likewise.
38175         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
38176         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
38177         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
38178         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
38179         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
38180         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
38181         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
38182         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
38183         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
38184         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
38185         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
38186         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
38187         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
38188         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
38189         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
38190         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
38191         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
38192         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
38193         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38194         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38195         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
38196         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38197         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
38198         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
38199         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
38200         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
38201         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38202         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38203         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
38204         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
38205         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
38206         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38207         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38208         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
38209         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
38210         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
38211         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
38212         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
38213         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
38214         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
38215         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
38216         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
38217         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
38218         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
38219         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
38220         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
38221         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
38222         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
38223         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
38224         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38225         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38226         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
38227         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
38228         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
38229         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
38230         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
38231         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38232         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
38233         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
38234         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
38235         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
38236         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
38237         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
38238         * sysdeps/powerpc/sysdep.h: Likewise.
38239         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38240         * sysdeps/s390/s390-64/sub_n.S: Likewise.
38241         * sysdeps/sh/dl-trampoline.S: Likewise.
38242         * sysdeps/sh/memset.S: Likewise.
38243         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
38244         * sysdeps/sh/strlen.S: Likewise.
38245         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
38246         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
38247         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
38248         * sysdeps/sparc/sparc32/rem.S: Likewise.
38249         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
38250         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
38251         * sysdeps/sparc/sparc32/strchr.S: Likewise.
38252         * sysdeps/sparc/sparc32/udiv.S: Likewise.
38253         * sysdeps/sparc/sparc32/urem.S: Likewise.
38254         * sysdeps/sparc/sparc64/add_n.S: Likewise.
38255         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38256         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
38257         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
38258         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
38259         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
38260         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
38261         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
38262         * sysdeps/unix/bsd/times.c: Likewise.
38263         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
38264         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
38265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
38266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
38267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
38268         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
38269         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
38270         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
38271         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
38272         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
38273         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
38274         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
38275         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
38276         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
38277         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
38278         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
38279         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
38280         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
38281         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
38282         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
38283         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
38284         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
38285         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
38286         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
38287         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
38288         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
38289         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
38290         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38291         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
38292         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
38293         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
38294         * sysdeps/x86_64/strcspn.S: Likewise.
38296 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38298         * locale/C-translit.h: Revert #include <stdint.h> because this is a
38299         generated file.  Regenerate properly from gen-translit.pl.
38300         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
38301         locale/C-translit.h.
38303 2013-06-05  Andreas Schwab  <schwab@suse.de>
38305         [BZ #15100]
38306         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
38307         week as 6 instead of -1.
38308         * time/tst-strptime.c (day_tests): Add test case.
38310 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
38312         * sysdeps/generic/math_private.h
38313         (libc_feholdexcept_setround_53bit): Replace with
38314         libc_feholdsetround_53bit.
38315         (libc_feupdateenv_53bit): Replace with
38316         libc_feresetround_53bit.
38317         (SET_RESTORE_ROUND_53BIT): Adjust.
38319 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
38321         * string/test-strchrnul.c: Add copyright header.
38323         * posix/tst-getaddrinfo4.c: Increase test timeout.
38325 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
38327         [BZ #15536]
38328         * math/libm-test.inc (MAX_EXP): Remove
38329         (MIN_EXP): Define.
38330         (ulp): Use MIN_EXP - MANT_DIG.
38331         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
38333 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
38335         * po/be.po: Revert last change.
38336         * po/zh_CN.po: Likewise.
38337         * po/header.pot: Likewise.
38339 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
38341         * Makefile ($(common-objpfx)linkobj/libc.so): Define
38342         link-libc-deps to empty as target-specific variable.
38343         * Makerules (link-libc-args): New variable.
38344         (libc-for-link): Likewise.
38345         (link-libc-deps): Likewise.
38346         (lib%.so): Depend on $(link-libc-deps).  Link with
38347         $(link-libc-args).
38348         (build-module): Link with $(link-libc-args).
38349         (build-module-asneeded): Likewise.
38350         (build-module-helper-objlist): Filter out $(link-libc-deps) from
38351         list of objects.
38352         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
38353         target-specific variable.
38354         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
38355         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
38356         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
38357         libc.
38358         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
38359         libc and ld.so.
38360         ($(objpfx)libpcprofile.so): Likewise.
38361         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
38362         libc_nonshared.a.
38363         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
38364         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
38365         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
38366         $(link-libc-deps).
38367         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
38368         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
38369         * login/Makefile ($(objpfx)libutil.so): Likewise.
38370         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
38371         * math/Makefile ($(objpfx)libm.so): Likewise.
38372         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
38373         $(objpfx)libnsl.so): Define libc-for-link as target-specific
38374         variable instead of depending directly on libc.
38375         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
38376         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
38377         $(link-libc-deps).
38378         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
38379         libc.
38380         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
38381         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
38382         ($(objpfx)libanl.so): Likewise.
38383         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
38384         ld.so.
38385         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
38386         $(link-libc-deps).
38387         * sysdeps/i386/fpu/Makefile: Remove file.
38388         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
38389         ($(objpfx)libm.so): Remove dependency on ld.so.
38391 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
38393         [BZ # 15553]
38394         * nis/yp_xdr.c (XDRMAXNAME): Define.
38395         (XDRMAXRECORD): Define.
38396         (xdr_domainname): Use XDRMAXNAME.
38397         (xdr_mapname): Likewise.
38398         (xdr_peername): Likewise.
38399         (xdr_keydat): Use XDRMAXRECORD.
38400         (xdr_valdat): Likewise.
38402 2013-05-30  Jeff Law  <law@redhat.com>
38404         [BZ #14256]
38405         * manual/errno.texi (ESTALE): Update to account for more than
38406         just NFS file systems.
38407         * sysdeps/gnu/errlist.c: Regenerated.
38409 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
38411         [BZ #15465]
38412         * elf/Makefile (tests): Add tst-null-argv.
38413         (modules-names):  Add tst-null-argv-lib.
38414         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
38415         (tst-null-argv-ENV): Set environment for tst-null-argv.
38416         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
38417         (RTLD_PROGNAME): New macro.
38418         * elf/tst-null-argv.c: New test case.
38419         * elf/tst-null-argv-lib.c: Library for test case.
38420         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
38421         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
38422         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
38423         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
38424         * elf/dl-init.c (call_init): Likewise.
38425         (_dl_init): Likewise.
38426         * elf/dl-load.c (print_search_path): Likewise.
38427         (_dl_map_object): Likewise.
38428         * elf/dl-lookup.c (do_lookup_x): Likewise.
38429         (add_dependency): Likewise.
38430         (_dl_lookup_symbol_x): Likewise.
38431         (_dl_debug_bindings): Likewise.
38432         * elf/dl-open.c (_dl_show_scope): Likewise.
38433         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
38434         * elf/dl-version.c (match_symbol): Likewise.
38435         (_dl_check_map_versions): Likewise.
38436         * elf/rtld.c (dl_main): Likewise.
38437         (print_unresolved): Use RTLD_PROGNAME.
38438         (print_missing_version): Likewise.
38439         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
38440         (elf_machine_rela): Likewise.
38441         * sysdeps/powerpc/powerpc32/dl-machine.c
38442         (__process_machine_rela): Likewise.
38443         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38444         Likewise.
38445         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
38446         Likewise.
38447         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
38448         Likewise.
38449         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38450         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
38451         Likewise.
38452         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
38453         Likewise.
38454         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38456 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
38458         * po/be.po: Add descriptive title.
38459         * po/zh_CN.po: Likewise.
38460         * po/header.pot: Likewise.
38462 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
38464         * locale/programs/locarchive.c (create_archive): Inlucde fname in
38465         error message.
38466         (enlarge_archive): Likewise.
38468 2013-05-28  Ben North  <ben@redfrontdoor.org>
38470         * manual/arith.texi (frexp): It is the magnitude of the return
38471         value which lies in [0.5, 1), not the return value itself.
38473 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38475         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38477 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
38479         * stdio-common/bug26.c (main): Correct fscanf template.
38481         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
38482         declare _dl_skip_args.
38484         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
38485         Don't declare.
38487         * manual/platform.texi: Add missing @end deftypefun.
38489 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
38491         [BZ #15529]
38492         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
38493         bit of mantissa of 2^16382.
38494         * math/libm-test.inc (hypot_test_data): Add more tests.
38496         * math/libm-test.inc: Add drem and pow10 to list of tested
38497         functions.
38498         (pow10_test): New function.
38499         (drem_test): Likewise.
38500         (drem_test_tonearest): Likewise.
38501         (drem_test_towardzero): Likewise.
38502         (drem_test_downward): Likewise.
38503         (drem_test_upward): Likewise.
38504         (main): Call the new functions.
38506         * math/libm-test.inc (finite_test_data): Remove.
38507         (finite_test): Run tests from isfinite_test_data.
38508         (gamma_test_data): Remove.
38509         (gamma_test): Run tests from lgamma_test_data.
38510         * sysdeps/i386/fpu/libm-test-ulps: Update.
38511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38513 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38515         * manual/platform.texi: Add PowerPC PPR function set documentation.
38516         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
38517         implementation.
38519 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
38521         * math/libm-test.inc (MAX_EXP): Define.
38522         (ULPDIFF): Define.
38523         (ulp): New function.
38524         (check_float_internal): Use ULPDIFF.
38525         (cpow_test): Disable failing test.
38526         (check_ulp): Test ulp() implemetnation.
38527         (main): Call check_ulp before starting tests.
38529 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
38531         * math/gen-libm-test.pl (generate_testfile): Do not handle
38532         START_DATA and END_DATA.
38533         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
38534         END_DATA.
38535         (acos_tonearest_test_data): Likewise.
38536         (acos_towardzero_test_data): Likewise.
38537         (acos_downward_test_data): Likewise.
38538         (acos_upward_test_data): Likewise.
38539         (acosh_test_data): Likewise.
38540         (asin_test_data): Likewise.
38541         (asin_tonearest_test_data): Likewise.
38542         (asin_towardzero_test_data): Likewise.
38543         (asin_downward_test_data): Likewise.
38544         (asin_upward_test_data): Likewise.
38545         (asinh_test_data): Likewise.
38546         (atan_test_data): Likewise.
38547         (atanh_test_data): Likewise.
38548         (atan2_test_data): Likewise.
38549         (cabs_test_data): Likewise.
38550         (cacos_test_data): Likewise.
38551         (cacosh_test_data): Likewise.
38552         (carg_test_data): Likewise.
38553         (casin_test_data): Likewise.
38554         (casinh_test_data): Likewise.
38555         (catan_test_data): Likewise.
38556         (catanh_test_data): Likewise.
38557         (cbrt_test_data): Likewise.
38558         (ccos_test_data): Likewise.
38559         (ccosh_test_data): Likewise.
38560         (ceil_test_data): Likewise.
38561         (cexp_test_data): Likewise.
38562         (cimag_test_data): Likewise.
38563         (clog_test_data): Likewise.
38564         (clog10_test_data): Likewise.
38565         (conj_test_data): Likewise.
38566         (copysign_test_data): Likewise.
38567         (cos_test_data): Likewise.
38568         (cos_tonearest_test_data): Likewise.
38569         (cos_towardzero_test_data): Likewise.
38570         (cos_downward_test_data): Likewise.
38571         (cos_upward_test_data): Likewise.
38572         (cosh_test_data): Likewise.
38573         (cosh_tonearest_test_data): Likewise.
38574         (cosh_towardzero_test_data): Likewise.
38575         (cosh_downward_test_data): Likewise.
38576         (cosh_upward_test_data): Likewise.
38577         (cpow_test_data): Likewise.
38578         (cproj_test_data): Likewise.
38579         (creal_test_data): Likewise.
38580         (csin_test_data): Likewise.
38581         (csinh_test_data): Likewise.
38582         (csqrt_test_data): Likewise.
38583         (ctan_test_data): Likewise.
38584         (ctan_tonearest_test_data): Likewise.
38585         (ctan_towardzero_test_data): Likewise.
38586         (ctan_downward_test_data): Likewise.
38587         (ctan_upward_test_data): Likewise.
38588         (ctanh_test_data): Likewise.
38589         (ctanh_tonearest_test_data): Likewise.
38590         (ctanh_towardzero_test_data): Likewise.
38591         (ctanh_downward_test_data): Likewise.
38592         (ctanh_upward_test_data): Likewise.
38593         (erf_test_data): Likewise.
38594         (erfc_test_data): Likewise.
38595         (exp_test_data): Likewise.
38596         (exp_tonearest_test_data): Likewise.
38597         (exp_towardzero_test_data): Likewise.
38598         (exp_downward_test_data): Likewise.
38599         (exp_upward_test_data): Likewise.
38600         (exp10_test_data): Likewise.
38601         (exp2_test_data): Likewise.
38602         (expm1_test_data): Likewise.
38603         (fabs_test_data): Likewise.
38604         (fdim_test_data): Likewise.
38605         (finite_test_data): Likewise.
38606         (floor_test_data): Likewise.
38607         (fma_test_data): Likewise.
38608         (fma_towardzero_test_data): Likewise.
38609         (fma_downward_test_data): Likewise.
38610         (fma_upward_test_data): Likewise.
38611         (fmax_test_data): Likewise.
38612         (fmin_test_data): Likewise.
38613         (fmod_test_data): Likewise.
38614         (fpclassify_test_data): Likewise.
38615         (frexp_test_data): Likewise.
38616         (gamma_test_data): Likewise.
38617         (hypot_test_data): Likewise.
38618         (ilogb_test_data): Likewise.
38619         (isfinite_test_data): Likewise.
38620         (isgreater_test_data): Likewise.
38621         (isgreaterequal_test_data): Likewise.
38622         (isinf_test_data): Likewise.
38623         (isless_test_data): Likewise.
38624         (islessequal_test_data): Likewise.
38625         (islessgreater_test_data): Likewise.
38626         (isnan_test_data): Likewise.
38627         (isnormal_test_data): Likewise.
38628         (issignaling_test_data): Likewise.
38629         (isunordered_test_data): Likewise.
38630         (j0_test_data): Likewise.
38631         (j1_test_data): Likewise.
38632         (jn_test_data): Likewise.
38633         (ldexp_test_data): Likewise.
38634         (lgamma_test_data): Likewise.
38635         (lrint_test_data): Likewise.
38636         (lrint_tonearest_test_data): Likewise.
38637         (lrint_towardzero_test_data): Likewise.
38638         (lrint_downward_test_data): Likewise.
38639         (lrint_upward_test_data): Likewise.
38640         (llrint_test_data): Likewise.
38641         (llrint_tonearest_test_data): Likewise.
38642         (llrint_towardzero_test_data): Likewise.
38643         (llrint_downward_test_data): Likewise.
38644         (llrint_upward_test_data): Likewise.
38645         (log_test_data): Likewise.
38646         (log10_test_data): Likewise.
38647         (log1p_test_data): Likewise.
38648         (log2_test_data): Likewise.
38649         (logb_test_data): Likewise.
38650         (logb_downward_test_data): Likewise.
38651         (lround_test_data): Likewise.
38652         (llround_test_data): Likewise.
38653         (modf_test_data): Likewise.
38654         (nearbyint_test_data): Likewise.
38655         (nextafter_test_data): Likewise.
38656         (nexttoward_test_data): Likewise.
38657         (pow_test_data): Likewise.
38658         (pow_tonearest_test_data): Likewise.
38659         (pow_towardzero_test_data): Likewise.
38660         (pow_downward_test_data): Likewise.
38661         (pow_upward_test_data): Likewise.
38662         (remainder_test_data): Likewise.
38663         (remainder_tonearest_test_data): Likewise.
38664         (remainder_towardzero_test_data): Likewise.
38665         (remainder_downward_test_data): Likewise.
38666         (remainder_upward_test_data): Likewise.
38667         (remquo_test_data): Likewise.
38668         (rint_test_data): Likewise.
38669         (rint_tonearest_test_data): Likewise.
38670         (rint_towardzero_test_data): Likewise.
38671         (rint_downward_test_data): Likewise.
38672         (rint_upward_test_data): Likewise.
38673         (round_test_data): Likewise.
38674         (scalb_test_data): Likewise.
38675         (scalbn_test_data): Likewise.
38676         (scalbln_test_data): Likewise.
38677         (signbit_test_data): Likewise.
38678         (sin_test_data): Likewise.
38679         (sin_tonearest_test_data): Likewise.
38680         (sin_towardzero_test_data): Likewise.
38681         (sin_downward_test_data): Likewise.
38682         (sin_upward_test_data): Likewise.
38683         (sincos_test_data): Likewise.
38684         (sinh_test_data): Likewise.
38685         (sinh_tonearest_test_data): Likewise.
38686         (sinh_towardzero_test_data): Likewise.
38687         (sinh_downward_test_data): Likewise.
38688         (sinh_upward_test_data): Likewise.
38689         (sqrt_test_data): Likewise.
38690         (tan_test_data): Likewise.
38691         (tan_tonearest_test_data): Likewise.
38692         (tan_towardzero_test_data): Likewise.
38693         (tan_downward_test_data): Likewise.
38694         (tan_upward_test_data): Likewise.
38695         (tanh_test_data): Likewise.
38696         (tgamma_test_data): Likewise.
38697         (trunc_test_data): Likewise.
38698         (y0_test_data): Likewise.
38699         (y1_test_data): Likewise.
38700         (yn_test_data): Likewise.
38701         (significand_test_data): Likewise.
38703         * math/gen-libm-test.pl (@functions): Remove variable.
38704         (generate_testfile): Don't handle START and END lines.
38705         * math/libm-test.inc (START): New macro.
38706         (END): Likewise.
38707         (END_COMPLEX): Likewise.
38708         (acos_test): Use END macro without arguments.
38709         (acos_test_tonearest): Likewise.
38710         (acos_test_towardzero): Likewise.
38711         (acos_test_downward): Likewise.
38712         (acos_test_upward): Likewise.
38713         (acosh_test): Likewise.
38714         (asin_test): Likewise.
38715         (asin_test_tonearest): Likewise.
38716         (asin_test_towardzero): Likewise.
38717         (asin_test_downward): Likewise.
38718         (asin_test_upward): Likewise.
38719         (asinh_test): Likewise.
38720         (atan_test): Likewise.
38721         (atanh_test): Likewise.
38722         (atan2_test): Likewise.
38723         (cabs_test): Likewise.
38724         (cacos_test): Use END_COMPLEX macro without arguments.
38725         (cacosh_test): Likewise.
38726         (carg_test): Use END macro without arguments.
38727         (casin_test): Use END_COMPLEX macro without arguments.
38728         (casinh_test): Likewise.
38729         (catan_test): Likewise.
38730         (catanh_test): Likewise.
38731         (cbrt_test): Use END macro without arguments.
38732         (ccos_test): Use END_COMPLEX macro without arguments.
38733         (ccosh_test): Likewise.
38734         (ceil_test): Use END macro without arguments.
38735         (cexp_test): Use END_COMPLEX macro without arguments.
38736         (cimag_test): Use END macro without arguments.
38737         (clog_test): Use END_COMPLEX macro without arguments.
38738         (clog10_test): Likewise.
38739         (conj_test): Likewise.
38740         (copysign_test): Use END macro without arguments.
38741         (cos_test): Likewise.
38742         (cos_test_tonearest): Likewise.
38743         (cos_test_towardzero): Likewise.
38744         (cos_test_downward): Likewise.
38745         (cos_test_upward): Likewise.
38746         (cosh_test): Likewise.
38747         (cosh_test_tonearest): Likewise.
38748         (cosh_test_towardzero): Likewise.
38749         (cosh_test_downward): Likewise.
38750         (cosh_test_upward): Likewise.
38751         (cpow_test): Use END_COMPLEX macro without arguments.
38752         (cproj_test): Likewise.
38753         (creal_test): Use END macro without arguments.
38754         (csin_test): Use END_COMPLEX macro without arguments.
38755         (csinh_test): Likewise.
38756         (csqrt_test): Likewise.
38757         (ctan_test): Likewise.
38758         (ctan_test_tonearest): Likewise.
38759         (ctan_test_towardzero): Likewise.
38760         (ctan_test_downward): Likewise.
38761         (ctan_test_upward): Likewise.
38762         (ctanh_test): Likewise.
38763         (ctanh_test_tonearest): Likewise.
38764         (ctanh_test_towardzero): Likewise.
38765         (ctanh_test_downward): Likewise.
38766         (ctanh_test_upward): Likewise.
38767         (erf_test): Use END macro without arguments.
38768         (erfc_test): Likewise.
38769         (exp_test): Likewise.
38770         (exp_test_tonearest): Likewise.
38771         (exp_test_towardzero): Likewise.
38772         (exp_test_downward): Likewise.
38773         (exp_test_upward): Likewise.
38774         (exp10_test): Likewise.
38775         (exp2_test): Likewise.
38776         (expm1_test): Likewise.
38777         (fabs_test): Likewise.
38778         (fdim_test): Likewise.
38779         (finite_test): Likewise.
38780         (floor_test): Likewise.
38781         (fma_test): Likewise.
38782         (fma_test_towardzero): Likewise.
38783         (fma_test_downward): Likewise.
38784         (fma_test_upward): Likewise.
38785         (fmax_test): Likewise.
38786         (fmin_test): Likewise.
38787         (fmod_test): Likewise.
38788         (fpclassify_test): Likewise.
38789         (frexp_test): Likewise.
38790         (gamma_test): Likewise.
38791         (hypot_test): Likewise.
38792         (ilogb_test): Likewise.
38793         (isfinite_test): Likewise.
38794         (isgreater_test): Likewise.
38795         (isgreaterequal_test): Likewise.
38796         (isinf_test): Likewise.
38797         (isless_test): Likewise.
38798         (islessequal_test): Likewise.
38799         (islessgreater_test): Likewise.
38800         (isnan_test): Likewise.
38801         (isnormal_test): Likewise.
38802         (issignaling_test): Likewise.
38803         (isunordered_test): Likewise.
38804         (j0_test): Likewise.
38805         (j1_test): Likewise.
38806         (jn_test): Likewise.
38807         (ldexp_test): Likewise.
38808         (lgamma_test): Likewise.
38809         (lrint_test): Likewise.
38810         (lrint_test_tonearest): Likewise.
38811         (lrint_test_towardzero): Likewise.
38812         (lrint_test_downward): Likewise.
38813         (lrint_test_upward): Likewise.
38814         (llrint_test): Likewise.
38815         (llrint_test_tonearest): Likewise.
38816         (llrint_test_towardzero): Likewise.
38817         (llrint_test_downward): Likewise.
38818         (llrint_test_upward): Likewise.
38819         (log_test): Likewise.
38820         (log10_test): Likewise.
38821         (log1p_test): Likewise.
38822         (log2_test): Likewise.
38823         (logb_test): Likewise.
38824         (logb_test_downward): Likewise.
38825         (lround_test): Likewise.
38826         (llround_test): Likewise.
38827         (modf_test): Likewise.
38828         (nearbyint_test): Likewise.
38829         (nextafter_test): Likewise.
38830         (nexttoward_test): Likewise.
38831         (pow_test): Likewise.
38832         (pow_test_tonearest): Likewise.
38833         (pow_test_towardzero): Likewise.
38834         (pow_test_downward): Likewise.
38835         (pow_test_upward): Likewise.
38836         (remainder_test): Likewise.
38837         (remainder_test_tonearest): Likewise.
38838         (remainder_test_towardzero): Likewise.
38839         (remainder_test_downward): Likewise.
38840         (remainder_test_upward): Likewise.
38841         (remquo_test): Likewise.
38842         (rint_test): Likewise.
38843         (rint_test_tonearest): Likewise.
38844         (rint_test_towardzero): Likewise.
38845         (rint_test_downward): Likewise.
38846         (rint_test_upward): Likewise.
38847         (round_test): Likewise.
38848         (scalb_test): Likewise.
38849         (scalbn_test): Likewise.
38850         (scalbln_test): Likewise.
38851         (signbit_test): Likewise.
38852         (sin_test): Likewise.
38853         (sin_test_tonearest): Likewise.
38854         (sin_test_towardzero): Likewise.
38855         (sin_test_downward): Likewise.
38856         (sin_test_upward): Likewise.
38857         (sincos_test): Likewise.
38858         (sinh_test): Likewise.
38859         (sinh_test_tonearest): Likewise.
38860         (sinh_test_towardzero): Likewise.
38861         (sinh_test_downward): Likewise.
38862         (sinh_test_upward): Likewise.
38863         (sqrt_test): Likewise.
38864         (tan_test): Likewise.
38865         (tan_test_tonearest): Likewise.
38866         (tan_test_towardzero): Likewise.
38867         (tan_test_downward): Likewise.
38868         (tan_test_upward): Likewise.
38869         (tanh_test): Likewise.
38870         (tgamma_test): Likewise.
38871         (trunc_test): Likewise.
38872         (y0_test): Likewise.
38873         (y1_test): Likewise.
38874         (yn_test): Likewise.
38875         (significand_test): Likewise.
38877 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
38879         [BZ #15381]
38880         * libio/genops.c (_IO_no_init): Initialize wide struct info.
38882 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
38884         [BZ #14894]
38885         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
38886         __ppc_mdoio and __ppc_mdoom.
38887         * manual/platform.texi: Document new functions __ppc_yield,
38888         __ppc_mdoio and __ppc_mdoom.
38890 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
38892         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
38893         (main): Mention "tls" pseudo-hwcap is legacy.
38894         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
38896 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
38898         * math/gen-libm-test.pl (parse_args): Output only string of
38899         arguments as text for test name, not full call or descriptions of
38900         tests for extra outputs.
38901         (generate_testfile): Do not pass function name to parse_args.
38902         Generate this_func variable from START.
38903         * math/libm-test.inc (struct test_f_f_data): Rename test_name
38904         field to arg_str.
38905         (struct test_ff_f_data): Likewise.
38906         (test_ff_f_data_nexttoward): Likewise.
38907         (struct test_fi_f_data): Likewise.
38908         (struct test_fl_f_data): Likewise.
38909         (struct test_if_f_data): Likewise.
38910         (struct test_fff_f_data): Likewise.
38911         (struct test_c_f_data): Likewise.
38912         (struct test_f_f1_data): Likewise.  Remove field extra_name.
38913         (struct test_fF_f1_data): Likewise.
38914         (struct test_ffI_f1_data): Likewise.
38915         (struct test_c_c_data): Rename test_name field to arg_str.
38916         (struct test_cc_c_data): Likewise.
38917         (struct test_f_i_data): Likewise.
38918         (struct test_ff_i_data): Likewise.
38919         (struct test_f_l_data): Likewise.
38920         (struct test_f_L_data): Likewise.
38921         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
38922         and extra2_name.
38923         (COMMON_TEST_SETUP): New macro.
38924         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
38925         (COMMON_TEST_CLEANUP): Likewise.
38926         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
38927         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
38928         macros.
38929         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
38930         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
38931         macros.
38932         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
38933         (RUN_TEST_fff_f): Take argument string.  Call new setup and
38934         cleanup macros.
38935         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
38936         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
38937         macros.
38938         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
38939         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
38940         macros.
38941         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
38942         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
38943         cleanup macros.
38944         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
38945         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
38946         cleanup macros.
38947         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
38948         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
38949         cleanup macros.
38950         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
38951         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
38952         macros.
38953         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
38954         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
38955         macros.
38956         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
38957         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
38958         macros.
38959         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
38960         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
38961         cleanup macros.
38962         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
38963         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
38964         cleanup macros.
38965         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
38966         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
38967         macros.
38968         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
38969         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
38970         cleanup macros.
38971         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
38972         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
38973         macros.
38974         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
38975         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
38976         macros.
38977         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
38978         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
38979         cleanup macros.
38980         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
38982 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
38984         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
38985         to _sifields.sigfault.
38986         (si_addr_lsb): Define new macro.
38987         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
38988         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
38989         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
38991 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
38993         [BZ #15441]
38994         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
38995         returns -1.
38996         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
38997         null return -1.
38998         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
38999         loading the domain.
39001 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
39003         * math/gen-libm-test.pl (parse_args): Do not include expected
39004         result in test name.
39005         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
39006         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39007         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39008         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
39009         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39012 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
39014         * benchtests/Makefile: Sort function entries.
39016         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
39017         tanh, asinh, acosh, atanh.
39018         * benchtests/acos-inputs: New file.
39019         * benchtests/acosh-inputs: New file.
39020         * benchtests/asin-inputs: New file.
39021         * benchtests/asinh-inputs: New file.
39022         * benchtests/atanh-inputs: New file.
39023         * benchtests/cosh-inputs: New file.
39024         * benchtests/log-inputs: New file.
39025         * benchtests/sinh-inputs: New file.
39026         * benchtests/tanh-inputs: New file.
39028 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
39030         [BZ #15339]
39031         * posix/tst-getaddrinfo4.c: New test.
39032         * posix/Makefile (tests): Add it.
39034 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39036         [BZ #15339]
39037         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
39038         when no services were used.
39039         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
39040         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
39042 2013-05-21  Andreas Schwab  <schwab@suse.de>
39044         [BZ #15014]
39045         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
39046         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
39047         successful.
39048         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
39049         redundant variable declarations and reallocation of buffer when
39050         parsing as IPv6 address.  Always set NSS status when called from
39051         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
39052         buffer too small.  Correct computation of needed size.
39053         * nss/Makefile (tests): Add test-digits-dots.
39054         * nss/test-digits-dots.c: New test.
39056 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39058         * benchtests/Makefile: Remove instructions for adding
39059         benchmark tests.
39060         * benchtests/README: New file to explain how to execute and
39061         enhance the benchmark tests.
39063 2013-05-21  Andreas Schwab  <schwab@suse.de>
39065         [BZ #15493]
39066         * setjmp/Makefile (tests): Add tst-sigsetjmp.
39067         * setjmp/tst-sigsetjmp.c: New test.
39069 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
39071         * sysdeps/x86_64/memset.S (memset): New implementation.
39072         (__bzero): Likewise.
39073         (__memset_tail): New function.
39075 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
39077         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
39078         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
39079         __memcpy_sse2_unaligned ifunc selection.
39080         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
39081         Add memcpy-sse2-unaligned.S.
39082         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39083         Add: __memcpy_sse2_unaligned.
39085 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
39087         [BZ #15490]
39088         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
39089         math_force_eval before restoring floating-point envrionment.
39090         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
39091         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
39092         Likewise.
39093         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
39094         <math_private.h>.
39095         (__nearbyintl): Use math_force_eval before restoring
39096         floating-point environment.
39097         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
39099         * math/gen-libm-test.pl (special_functions): Remove.
39100         (parse_args): Don't handle TEST_extra.  Handle functions with no
39101         return value.
39102         * math/libm-test.inc (struct test_sincos_data): Replace with
39103         struct test_fFF_11_data.
39104         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
39105         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
39106         (sincos_test_data): Change element type to struct
39107         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
39108         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
39109         RUN_TEST_LOOP_sincos.
39110         * math/README.libm-test: Don't mention special handling of
39111         individual functions.
39112         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
39113         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39114         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39115         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
39116         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39119         * math/gen-libm-test.pl (get_variable): Remove function.
39120         (parse_args): Don't show pointer parameters to call in test
39121         names.  Use "extra output N" in test names for extra outputs
39122         rather than naming variables.
39124 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
39126         [BZ #15488]
39127         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
39128         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
39129         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
39130         double tests.
39131         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
39132         disable.
39133         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
39134         check_long_double.
39136         * math/gen-libm-test.pl (@tests): Remove variable.
39137         ($count): Likewise.
39138         (new_test): Remove function.
39139         (show_exceptions): New function.
39140         (special_functions): Use show_exceptions instead of new_test.
39141         (parse_args): Likewise.
39142         (generate_testfile): Pass only function name in generated call to
39143         print_max_error or print_complex_max_error.
39144         (get_ulps): Do not handle complex tests specially.
39145         (output_test): Rename to ...
39146         (get_all_ulps_for_test): ... this.  Return a string rather than
39147         printing to a file.  Require ulps to be present.
39148         (output_ulps): Generate arrays rather than #defines.
39149         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
39150         (struct ulp_data): New type.
39151         (BUILD_COMPLEX_ULP): Remove macro.
39152         (compare_ulp_data): New function.
39153         (find_ulps): Likewise.
39154         (find_test_ulps): Likewise.
39155         (find_function_ulps): Likewise.
39156         (find_complex_function_ulps): Likewise.
39157         (print_max_error): Determine allowed ulps using
39158         find_function_ulps.
39159         (print_complex_max_error): Determine allowed ulps using
39160         find_complex_function_ulps.
39161         (check_float_internal): Determine max ulps using find_test_ulps.
39162         (check_float): Do not take max_ulp parameter.  Update call to
39163         check_float_internal.
39164         (check_complex): Likewise.
39165         (check_int): Do not take max_ulp parameter.
39166         (check_long): Likewise.
39167         (check_bool): Likewise.
39168         (check_longlong): Likewise.
39169         (struct test_f_f_data): Remove max_ulp field.
39170         (struct test_ff_f_data): Likewise.
39171         (struct test_ff_f_data_nexttoward): Likewise.
39172         (struct test_fi_f_data): Likewise.
39173         (struct test_fl_f_data): Likewise.
39174         (struct test_if_f_data): Likewise.
39175         (struct test_fff_f_data): Likewise.
39176         (struct test_c_f_data): Likewise.
39177         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
39178         (struct test_fF_f1_data): Likewise.
39179         (struct test_ffI_f1_data): Likewise.
39180         (struct test_c_c_data): Remove max_ulp field.
39181         (struct test_cc_c_data): Likewise.
39182         (struct test_f_i_data): Likewise.
39183         (struct test_ff_i_data): Likewise.
39184         (struct test_f_l_data): Likewise.
39185         (struct test_f_L_data): Likewise.
39186         (struct test_sincos_data): Likewise.
39187         (RUN_TEST_f_f): Do not handle ulps.
39188         (RUN_TEST_LOOP_f_f): Likewise.
39189         (RUN_TEST_2_f): Likewise.
39190         (RUN_TEST_LOOP_2_f): Likewise.
39191         (RUN_TEST_fff_f): Likewise.
39192         (RUN_TEST_LOOP_fff_f): Likewise.
39193         (RUN_TEST_c_f): Likewise.
39194         (RUN_TEST_LOOP_c_f): Likewise.
39195         (RUN_TEST_f_f1): Likewise.
39196         (RUN_TEST_LOOP_f_f1): Likewise.
39197         (RUN_TEST_fF_f1): Likewise.
39198         (RUN_TEST_LOOP_fF_f1): Likewise.
39199         (RUN_TEST_fI_f1): Likewise.
39200         (RUN_TEST_LOOP_fI_f1): Likewise.
39201         (RUN_TEST_ffI_f1): Likewise.
39202         (RUN_TEST_LOOP_ffI_f1): Likewise.
39203         (RUN_TEST_c_c): Likewise.
39204         (RUN_TEST_LOOP_c_c): Likewise.
39205         (RUN_TEST_cc_c): Likewise.
39206         (RUN_TEST_LOOP_cc_c): Likewise.
39207         (RUN_TEST_f_i): Likewise.
39208         (RUN_TEST_LOOP_f_i): Likewise.
39209         (RUN_TEST_f_i_tg): Likewise.
39210         (RUN_TEST_LOOP_f_i_tg): Likewise.
39211         (RUN_TEST_ff_i_tg): Likewise.
39212         (RUN_TEST_LOOP_ff_i_tg): Likewise.
39213         (RUN_TEST_f_b): Likewise.
39214         (RUN_TEST_LOOP_f_b): Likewise.
39215         (RUN_TEST_f_b_tg): Likewise.
39216         (RUN_TEST_LOOP_f_b_tg): Likewise.
39217         (RUN_TEST_f_l): Likewise.
39218         (RUN_TEST_LOOP_f_l): Likewise.
39219         (RUN_TEST_f_L): Likewise.
39220         (RUN_TEST_LOOP_f_L): Likewise.
39221         (RUN_TEST_sincos): Likewise.
39222         (RUN_TEST_LOOP_sincos): Likewise.
39224 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
39226         [BZ #15480]
39227         [BZ #15485]
39228         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
39229         main case of finite arguments, set rounding mode to FE_TONEAREST
39230         and discard exceptions.
39231         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
39232         exceptions.
39233         (remainder_tonearest_test_data): New variable.
39234         (remainder_test_tonearest): New function.
39235         (remainder_towardzero_test_data): New variable.
39236         (remainder_test_towardzero): New function.
39237         (remainder_downward_test_data): New variable.
39238         (remainder_test_downward): New function.
39239         (remainder_upward_test_data): New variable.
39240         (remainder_test_upward): New function.
39241         (main): Call the new test functions.
39243         * math/libm-test.inc (struct test_f_f1_data): Remove field
39244         extra_init.
39245         (struct test_fF_f1_data): Likewise.
39246         (struct test_ffI_f1_data): Likewise.
39247         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
39248         based on value of EXTRA_EXPECTED.
39249         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
39250         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
39251         EXTRA_VAR based on value of EXTRA_EXPECTED.
39252         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
39253         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
39254         EXTRA_VAR based on value of EXTRA_EXPECTED.
39255         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
39256         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
39257         EXTRA_VAR based on value of EXTRA_EXPECTED.
39258         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
39259         * math/gen-libm-test.pl (parse_args): Don't output initializers
39260         for extra output values.
39262         * math/libm-test.inc (check_int): Expect result to be exactly
39263         equal to expected value and do not handle ulps.
39264         (check_long): Likewise.
39265         (check_longlong): Likewise.
39267         * math/libm-test.inc (ceil_test_data): Test for "inexact"
39268         exceptions.
39269         (cimag_test_data): Likewise.
39270         (conj_test_data): Likewise.
39271         (copysign_test_data): Likewise.
39272         (cproj_test_data): Likewise.
39273         (creal_test_data): Likewise.
39274         (fabs_test_data): Likewise.
39275         (fdim_test_data): Likewise.
39276         (finite_test_data): Likewise.
39277         (floor_test_data): Likewise.
39278         (fmax_test_data): Likewise.
39279         (fmin_test_data): Likewise.
39280         (fmod_test_data): Likewise.
39281         (fpclassify_test_data): Likewise.
39282         (frexp_test_data): Likewise.
39283         (ilogb_test_data): Likewise.
39284         (isfinite_test_data): Likewise.
39285         (isgreater_test_data): Likewise.
39286         (isgreaterequal_test_data): Likewise.
39287         (isinf_test_data): Likewise.
39288         (isless_test_data): Likewise.
39289         (islessequal_test_data): Likewise.
39290         (islessgreater_test_data): Likewise.
39291         (isnan_test_data): Likewise.
39292         (isnormal_test_data): Likewise.
39293         (issignaling_test_data): Likewise.
39294         (isunordered_test_data): Likewise.
39295         (ldexp_test_data): Likewise.
39296         (lrint_test_data): Likewise.
39297         (lrint_test_data) [TEST_FLOAT]: Disable one test.
39298         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
39299         (lrint_tonearest_test_data): Test for "inexact" exceptions.
39300         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
39301         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
39302         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
39303         test input.
39304         (lrint_towardzero_test_data): Test for "inexact" exceptions.
39305         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
39306         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
39307         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
39308         that test input.
39309         (lrint_downward_test_data): Test for "inexact" exceptions.
39310         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
39311         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
39312         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
39313         test input.
39314         (lrint_upward_test_data): Test for "inexact" exceptions.
39315         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
39316         test input.
39317         (llrint_test_data): Test for "inexact" exceptions.
39318         (llrint_test_data) [TEST_FLOAT]: Disable one test.
39319         (llrint_tonearest_test_data): Test for "inexact" exceptions.
39320         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
39321         (llrint_towardzero_test_data): Test for "inexact" exceptions.
39322         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
39323         (llrint_downward_test_data): Test for "inexact" exceptions.
39324         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
39325         (llrint_upward_test_data): Test for "inexact" exceptions.
39326         (logb_test_data): Likewise.
39327         (logb_downward_test_data): Likewise.
39328         (nextafter_test_data): Likewise.
39329         (nexttoward_test_data): Likewise.
39330         (remainder_test_data): Likewise.
39331         (remquo_test_data): Likewise.
39332         (scalbn_test_data): Likewise.
39333         (scalbln_test_data): Likewise.
39334         (signbit_test_data): Likewise.
39335         (sqrt_test_data): Likewise.
39336         (significand_test_data): Likewise.
39338 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
39340         [BZ #15424]
39341         * benchtests/bench-modf.c (struct args): Mark arg0 as
39342         volatile.
39343         * scripts/bench.pl: Mark members of struct args as volatile.
39345 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39347         [BZ # 15497]
39348         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
39349         negative infinity on POWER6 or lower.
39350         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
39352 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
39354         [BZ #15442]
39355         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
39356         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
39357         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
39358         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
39359         (_FP_SETQNAN): New macro.
39360         (_FP_SETQNAN_SEMIRAW): Likewise.
39361         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
39362         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
39363         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
39364         (FP_EXTEND): Use _FP_FRAC_SNANP.
39365         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
39366         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
39367         into account.
39368         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
39369         New macro.
39370         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
39371         Likewise.
39373 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
39375         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
39376         with DIVIDE_BY_ZERO_EXCEPTION.
39377         (gamma_test_data): Likewise.
39378         (lgamma_test_data): Likewise.
39379         (log_test_data): Likewise.
39380         (log10_test_data): Likewise.
39381         (log2_test_data): Likewise.
39382         (tgamma_test_data): Likewise.
39384         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
39385         (acos_test_tonearest): Likewise.
39386         (acos_test_towardzero): Likewise.
39387         (acos_test_downward): Likewise.
39388         (acos_test_upward): Likewise.
39389         (acosh_test): Likewise.
39390         (asin_test): Likewise.
39391         (asin_test_tonearest): Likewise.
39392         (asin_test_towardzero): Likewise.
39393         (asin_test_downward): Likewise.
39394         (asin_test_upward): Likewise.
39395         (asinh_test): Likewise.
39396         (atan_test): Likewise.
39397         (atanh_test): Likewise.
39398         (atan2_test): Likewise.
39399         (cabs_test): Likewise.
39400         (cacos_test): Likewise.
39401         (cacosh_test): Likewise.
39402         (casin_test): Likewise.
39403         (casinh_test): Likewise.
39404         (catan_test): Likewise.
39405         (catanh_test): Likewise.
39406         (cbrt_test): Likewise.
39407         (ccos_test): Likewise.
39408         (ccosh_test): Likewise.
39409         (cexp_test): Likewise.
39410         (clog_test): Likewise.
39411         (clog10_test): Likewise.
39412         (cos_test): Likewise.
39413         (cos_test_tonearest): Likewise.
39414         (cos_test_towardzero): Likewise.
39415         (cos_test_downward): Likewise.
39416         (cos_test_upward): Likewise.
39417         (cosh_test): Likewise.
39418         (cosh_test_tonearest): Likewise.
39419         (cosh_test_towardzero): Likewise.
39420         (cosh_test_downward): Likewise.
39421         (cosh_test_upward): Likewise.
39422         (cpow_test): Likewise.
39423         (csin_test): Likewise.
39424         (csinh_test): Likewise.
39425         (csqrt_test): Likewise.
39426         (ctan_test): Likewise.
39427         (ctan_test_tonearest): Likewise.
39428         (ctan_test_towardzero): Likewise.
39429         (ctan_test_downward): Likewise.
39430         (ctan_test_upward): Likewise.
39431         (ctanh_test): Likewise.
39432         (ctanh_test_tonearest): Likewise.
39433         (ctanh_test_towardzero): Likewise.
39434         (ctanh_test_downward): Likewise.
39435         (ctanh_test_upward): Likewise.
39436         (erf_test): Likewise.
39437         (erfc_test): Likewise.
39438         (exp_test): Likewise.
39439         (exp_test_tonearest): Likewise.
39440         (exp_test_towardzero): Likewise.
39441         (exp_test_downward): Likewise.
39442         (exp_test_upward): Likewise.
39443         (exp10_test): Likewise.
39444         (exp2_test): Likewise.
39445         (expm1_test): Likewise.
39446         (fmod_test): Likewise.
39447         (gamma_test): Likewise.
39448         (hypot_test): Likewise.
39449         (j0_test): Likewise.
39450         (j1_test): Likewise.
39451         (jn_test): Likewise.
39452         (lgamma_test): Likewise.
39453         (log_test): Likewise.
39454         (log10_test): Likewise.
39455         (log1p_test): Likewise.
39456         (log2_test): Likewise.
39457         (logb_test_downward): Likewise.
39458         (pow_test): Likewise.
39459         (pow_test_tonearest): Likewise.
39460         (pow_test_towardzero): Likewise.
39461         (pow_test_downward): Likewise.
39462         (pow_test_upward): Likewise.
39463         (remainder_test): Likewise.
39464         (remquo_test): Likewise.
39465         (sin_test): Likewise.
39466         (sin_test_tonearest): Likewise.
39467         (sin_test_towardzero): Likewise.
39468         (sin_test_downward): Likewise.
39469         (sin_test_upward): Likewise.
39470         (sincos_test): Likewise.
39471         (sinh_test): Likewise.
39472         (sinh_test_tonearest): Likewise.
39473         (sinh_test_towardzero): Likewise.
39474         (sinh_test_downward): Likewise.
39475         (sinh_test_upward): Likewise.
39476         (sqrt_test): Likewise.
39477         (tan_test): Likewise.
39478         (tan_test_tonearest): Likewise.
39479         (tan_test_towardzero): Likewise.
39480         (tan_test_downward): Likewise.
39481         (tan_test_upward): Likewise.
39482         (tanh_test): Likewise.
39483         (tgamma_test): Likewise.
39484         (y0_test): Likewise.
39485         (y1_test): Likewise.
39486         (yn_test): Likewise.
39488         * math/gen-libm-test.pl (adjust_arg): Remove function.
39489         (special_function): Remove argument $in_func.  Only handle
39490         generating output for tables of tests, not inside functions.
39491         (parse_args): Likewise.
39492         (generate_testfile): Remove variable $in_func.  Update call to
39493         parse_args.
39494         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
39495         (MINUS_ZERO_INIT): Rename macro to minus_zero.
39496         (PLUS_INFTY_INIT): Rename macro to plus_infty.
39497         (MINUS_INFTY_INIT): Rename macro to minus_infty.
39498         (QNAN_VALUE_INIT): Rename macro to qnan_value.
39499         (MAX_VALUE_INIT): Rename macro to max_value.
39500         (MIN_VALUE_INIT): Rename macro to min_value.
39501         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
39502         (plus_zero): Remove variable.
39503         (minus_zero): Likewise.
39504         (plus_infty): Likewise.
39505         (minus_infty): Likewise.
39506         (qnan_value): Likewise.
39507         (max_value): Likewise.
39508         (min_value): Likewise.
39509         (min_subnorm_value): Likewise.
39511 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39513         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
39514         uint64_t or uint32_t usage.
39515         * crypt/sha256-block.c: Likewise.
39516         * crypt/sha256-crypt.c: Likewise.
39517         * crypt/sha256.c: Likewise.
39518         * crypt/sha512-block.c: Likewise.
39519         * crypt/sha512-crypt.c: Likewise.
39520         * crypt/sha512.c: Likewise.
39521         * debug/backtrace-tst.c: Likewise.
39522         * debug/pcprofiledump.c: Likewise.
39523         * elf/cache.c: Likewise.
39524         * elf/dl-cache.c: Likewise.
39525         * elf/dl-misc.c: Likewise.
39526         * elf/dl-profile.c: Likewise.
39527         * elf/dl-support.c: Likewise.
39528         * elf/ldconfig.c: Likewise.
39529         * elf/sprof.c: Likewise.
39530         * iconv/dummy-repertoire.c: Likewise.
39531         * iconv/iconv_charmap.c: Likewise.
39532         * iconv/skeleton.c: Likewise.
39533         * iconvdata/8bit-generic.c: Likewise.
39534         * iconvdata/cp737.h: Likewise.
39535         * iconvdata/cp775.h: Likewise.
39536         * iconvdata/ibm1008.h: Likewise.
39537         * iconvdata/ibm1025.h: Likewise.
39538         * iconvdata/ibm1046.h: Likewise.
39539         * iconvdata/ibm1097.h: Likewise.
39540         * iconvdata/ibm1112.h: Likewise.
39541         * iconvdata/ibm1122.h: Likewise.
39542         * iconvdata/ibm1123.h: Likewise.
39543         * iconvdata/ibm1124.h: Likewise.
39544         * iconvdata/ibm1129.h: Likewise.
39545         * iconvdata/ibm1130.h: Likewise.
39546         * iconvdata/ibm1132.h: Likewise.
39547         * iconvdata/ibm1133.h: Likewise.
39548         * iconvdata/ibm1137.h: Likewise.
39549         * iconvdata/ibm1140.h: Likewise.
39550         * iconvdata/ibm1141.h: Likewise.
39551         * iconvdata/ibm1142.h: Likewise.
39552         * iconvdata/ibm1143.h: Likewise.
39553         * iconvdata/ibm1144.h: Likewise.
39554         * iconvdata/ibm1145.h: Likewise.
39555         * iconvdata/ibm1146.h: Likewise.
39556         * iconvdata/ibm1147.h: Likewise.
39557         * iconvdata/ibm1148.h: Likewise.
39558         * iconvdata/ibm1149.h: Likewise.
39559         * iconvdata/ibm1153.h: Likewise.
39560         * iconvdata/ibm1154.h: Likewise.
39561         * iconvdata/ibm1155.h: Likewise.
39562         * iconvdata/ibm1156.h: Likewise.
39563         * iconvdata/ibm1157.h: Likewise.
39564         * iconvdata/ibm1158.h: Likewise.
39565         * iconvdata/ibm1160.h: Likewise.
39566         * iconvdata/ibm1161.h: Likewise.
39567         * iconvdata/ibm1162.h: Likewise.
39568         * iconvdata/ibm1163.h: Likewise.
39569         * iconvdata/ibm1164.h: Likewise.
39570         * iconvdata/ibm1166.h: Likewise.
39571         * iconvdata/ibm1167.h: Likewise.
39572         * iconvdata/ibm12712.h: Likewise.
39573         * iconvdata/ibm1390.h: Likewise.
39574         * iconvdata/ibm1399.h: Likewise.
39575         * iconvdata/ibm16804.h: Likewise.
39576         * iconvdata/ibm4517.h: Likewise.
39577         * iconvdata/ibm4899.h: Likewise.
39578         * iconvdata/ibm4909.h: Likewise.
39579         * iconvdata/ibm4971.h: Likewise.
39580         * iconvdata/ibm5347.h: Likewise.
39581         * iconvdata/ibm803.h: Likewise.
39582         * iconvdata/ibm856.h: Likewise.
39583         * iconvdata/ibm901.h: Likewise.
39584         * iconvdata/ibm902.h: Likewise.
39585         * iconvdata/ibm9030.h: Likewise.
39586         * iconvdata/ibm9066.h: Likewise.
39587         * iconvdata/ibm921.h: Likewise.
39588         * iconvdata/ibm922.h: Likewise.
39589         * iconvdata/ibm9448.h: Likewise.
39590         * iconvdata/isiri-3342.h: Likewise.
39591         * iconvdata/jis0201.h: Likewise.
39592         * include/link.h: Likewise.
39593         * include/netdb.h: Likewise.
39594         * inet/check_native.c: Likewise.
39595         * inet/check_pf.c: Likewise.
39596         * inet/getipv4sourcefilter.c: Likewise.
39597         * inet/getnameinfo.c: Likewise.
39598         * inet/getsourcefilter.c: Likewise.
39599         * inet/htonl.c: Likewise.
39600         * inet/setipv4sourcefilter.c: Likewise.
39601         * inet/setsourcefilter.c: Likewise.
39602         * inet/test-inet6_opt.c: Likewise.
39603         * inet/tst-network.c: Likewise.
39604         * locale/C-collate.c: Likewise.
39605         * locale/C-ctype.c: Likewise.
39606         * locale/C-time.c: Likewise.
39607         * locale/C-translit.h: Likewise.
39608         * locale/loadarchive.c: Likewise.
39609         * locale/programs/3level.h: Likewise.
39610         * locale/programs/charmap.c: Likewise.
39611         * locale/programs/charmap.h: Likewise.
39612         * locale/programs/ld-address.c: Likewise.
39613         * locale/programs/ld-collate.c: Likewise.
39614         * locale/programs/ld-ctype.c: Likewise.
39615         * locale/programs/ld-identification.c: Likewise.
39616         * locale/programs/ld-measurement.c: Likewise.
39617         * locale/programs/ld-messages.c: Likewise.
39618         * locale/programs/ld-monetary.c: Likewise.
39619         * locale/programs/ld-name.c: Likewise.
39620         * locale/programs/ld-numeric.c: Likewise.
39621         * locale/programs/ld-paper.c: Likewise.
39622         * locale/programs/ld-telephone.c: Likewise.
39623         * locale/programs/ld-time.c: Likewise.
39624         * locale/programs/linereader.c: Likewise.
39625         * locale/programs/locale.c: Likewise.
39626         * locale/programs/locarchive.c: Likewise.
39627         * locale/programs/locfile.h: Likewise.
39628         * locale/programs/repertoire.c: Likewise.
39629         * locale/programs/simple-hash.c: Likewise.
39630         * locale/programs/simple-hash.h: Likewise.
39631         * malloc/memusage.c: Likewise.
39632         * malloc/memusagestat.c: Likewise.
39633         * nis/nis_defaults.c: Likewise.
39634         * nis/nis_hash.c: Likewise.
39635         * nis/nis_print.c: Likewise.
39636         * nis/nis_xdr.c: Likewise.
39637         * nscd/connections.c: Likewise.
39638         * nscd/hstcache.c: Likewise.
39639         * nscd/nscd_gethst_r.c: Likewise.
39640         * nscd/nscd_getserv_r.c: Likewise.
39641         * nscd/nscd_helper.c: Likewise.
39642         * nscd/servicescache.c: Likewise.
39643         * nss/makedb.c: Likewise.
39644         * nss/nss_db/db-XXX.c: Likewise.
39645         * nss/nss_db/db-initgroups.c: Likewise.
39646         * nss/nss_db/db-netgrp.c: Likewise.
39647         * nss/nss_files/files-network.c: Likewise.
39648         * nss/nss_files/files-parse.c: Likewise.
39649         * posix/bug-regex5.c: Likewise.
39650         * posix/fnmatch_loop.c: Likewise.
39651         * posix/regcomp.c: Likewise.
39652         * posix/regexec.c: Likewise.
39653         * posix/tst-rfc3484-2.c: Likewise.
39654         * posix/tst-rfc3484-3.c: Likewise.
39655         * posix/tst-rfc3484.c: Likewise.
39656         * resolv/nss_dns/dns-canon.c: Likewise.
39657         * resolv/nss_dns/dns-network.c: Likewise.
39658         * resolv/res_init.c: Likewise.
39659         * resolv/res_mkquery.c: Likewise.
39660         * resolv/tst-aton.c: Likewise.
39661         * stdlib/cxa_atexit.c: Likewise.
39662         * stdlib/cxa_finalize.c: Likewise.
39663         * stdlib/gen-fpioconst.c: Likewise.
39664         * stdlib/strtol_l.c: Likewise.
39665         * string/tst-endian.c: Likewise.
39666         * sunrpc/auth_des.c: Likewise.
39667         * sunrpc/clnt_udp.c: Likewise.
39668         * sunrpc/rtime.c: Likewise.
39669         * sunrpc/svcauth_des.c: Likewise.
39670         * sunrpc/xdr.c: Likewise.
39671         * sunrpc/xdr_intXX_t.c: Likewise.
39672         * sunrpc/xdr_rec.c: Likewise.
39673         * sysdeps/generic/ldconfig.h: Likewise.
39674         * sysdeps/generic/ldsodefs.h: Likewise.
39675         * sysdeps/generic/memusage.h: Likewise.
39676         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
39677         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
39678         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
39679         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
39680         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39681         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39682         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
39683         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
39684         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39685         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
39686         * sysdeps/posix/getaddrinfo.c: Likewise.
39687         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39688         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39689         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
39690         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39691         * sysdeps/powerpc/test-gettimebase.c: Likewise.
39692         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
39693         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
39694         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
39695         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
39696         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
39697         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
39698         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
39699         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
39700         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
39701         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
39702         * sysdeps/x86_64/dl-tls.h: Likewise.
39703         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
39704         * time/alt_digit.c: Likewise.
39705         * time/era.c: Likewise.
39706         * wcsmbs/tst-c16c32-1.c: Likewise.
39708 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
39710         * math/libm-test.inc (struct test_sincos_data): New type.
39711         (RUN_TEST_LOOP_sincos): New macro.
39712         (sincos_test_data): New variable.
39713         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
39715 2013-05-16  Richard Henderson  <rth@redhat.com>
39717         * math/atest-exp2.c (LIMB64): New macro.
39718         (CONSTSZ): New macro.
39719         (mp_exp1, mp_exp_m1, mp_log2): New variables.
39720         (hexdig): Move ...
39721         (print_mpn_fp): ... to function scope.
39722         (read_mpn_hex): Remove.
39723         (get_log2): Remove.
39724         (exp2_mpn): Use mp_log2.
39725         (main): Use mp_exp1.
39727 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
39729         * math/libm-test.inc: Remove comment about not testing "inexact"
39730         exceptions.
39731         (INEXACT_EXCEPTION): New macro.
39732         (NO_INEXACT_EXCEPTION): Likewise.
39733         (INVALID_EXCEPTION_OK): Update value.
39734         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39735         (OVERFLOW_EXCEPTION_OK): Likewise.
39736         (UNDERFLOW_EXCEPTION_OK): Likewise.
39737         (IGNORE_ZERO_INF_SIGN): Likewise.
39738         (ERRNO_UNCHANGED): Likewise.
39739         (ERRNO_EDOM): Likewise.
39740         (ERRNO_ERANGE): Likewise.
39741         (test_exceptions): Handle testing "inexact" exceptions.
39742         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
39743         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
39744         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
39745         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
39746         INEXACT_EXCEPTION.
39747         (rint_towardzero_test_data): Likewise.
39748         (rint_downward_test_data): Likewise.
39749         (rint_upward_test_data): Likewise.
39751         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
39752         with OVERFLOW_EXCEPTION.
39753         (exp10_test_data): Likewise.
39754         (exp2_test_data): Likewise.
39755         (expm1_test_data): Likewise.
39756         (lgamma_test_data): Likewise.
39757         (pow_test_data): Likewise.
39758         (tgamma_test_data): Likewise.
39759         (yn_test_data): Remove duplicate test of overflow.
39761         * math/libm-test.inc (struct test_cc_c_data): New type.
39762         (RUN_TEST_LOOP_cc_c): New macro.
39763         (cpow_test_data): New variable.
39764         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
39766         * math/libm-test.inc (struct test_f_L_data): New type.
39767         (RUN_TEST_LOOP_f_L): New macro.
39768         (llrint_test_data): New variable.
39769         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
39770         (llrint_tonearest_test_data): New variable.
39771         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
39772         (llrint_towardzero_test_data): New variable.
39773         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
39774         (llrint_downward_test_data): New variable.
39775         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
39776         (llrint_upward_test_data): New variable.
39777         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
39778         (llround_test_data): New variable.
39779         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
39781 2013-05-13  Peter Collingbourne  <pcc@google.com>
39783         * math/atest-exp2.c (get_log2): Remove const attribute.
39785 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
39787         * math/libm-test.inc (struct test_f_l_data): New type.
39788         (RUN_TEST_LOOP_f_l): New macro.
39789         (lrint_test_data): New variable.
39790         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
39791         (lrint_tonearest_test_data): New variable.
39792         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
39793         (lrint_towardzero_test_data): New variable.
39794         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
39795         (lrint_downward_test_data): New variable.
39796         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
39797         (lrint_upward_test_data): New variable.
39798         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
39799         (lround_test_data): New variable.
39800         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
39802 2013-05-15  Peter Collingbourne  <pcc@google.com>
39804         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
39805         (EXTRACT_WORDS64) Use where appropriate.
39806         (INSERT_WORDS64) Likewise.
39808         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
39809         constraints with x constraints.
39810         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
39812         * malloc/obstack.c (_obstack_compat): Add initializer.
39814 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
39816         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
39817         si_trapno and add si_addr_lsb to _sifields.sigfault.
39818         (si_trapno): Remove macro.
39819         (si_addr_lsb): Define new macro.
39820         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
39822 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
39824         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
39825         instead of TEST_f_l.
39826         (llrint_test_tonearest): Likewise.
39827         (llrint_test_towardzero): Likewise.
39828         (llrint_test_downward): Likewise.
39829         (llrint_test_upward): Likewise.
39830         (llround_test): Likewise.
39832         * math/libm-test.inc (struct test_f_i_data): Add comment.
39833         (RUN_TEST_LOOP_f_b): New macro.
39834         (RUN_TEST_LOOP_f_b_tg): Likewise.
39835         (finite_test_data): New variable.
39836         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
39837         (isfinite_test_data): New variable.
39838         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
39839         (isinf_test_data): New variable.
39840         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
39841         (isnan_test_data): New variable.
39842         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
39843         (isnormal_test_data): New variable.
39844         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
39845         (issignaling_test_data): New variable.
39846         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
39847         (signbit_test_data): New variable.
39848         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
39850         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
39851         with INVALID_EXCEPTION.
39852         (acosh_test_data): Likewise.
39853         (asin_test_data): Likewise.
39854         (atanh_test_data): Likewise.
39855         (fmod_test_data): Likewise.
39856         (log_test_data): Likewise.
39857         (log10_test_data): Likewise.
39858         (log2_test_data): Likewise.
39859         (pow_test_data): Likewise.
39860         (sqrt_test_data): Likewise.
39861         (y0_test_data): Likewise.
39862         (y1_test_data): Likewise.
39863         (yn_test_data): Likewise.
39865         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
39866         function contents.
39868         * math/libm-test.inc (struct test_ff_i_data): New type.
39869         (RUN_TEST_LOOP_ff_i_tg): New macro.
39870         (isgreater_test_data): New variable.
39871         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
39872         (isgreaterequal_test_data): New variable.
39873         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
39874         (isless_test_data): New variable.
39875         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
39876         (islessequal_test_data): New variable.
39877         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
39878         (islessgreater_test_data): New variable.
39879         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
39880         (isunordered_test_data): New variable.
39881         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
39883 2013-05-14  David S. Miller  <davem@davemloft.net>
39885         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39887 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
39889         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
39891         * math/libm-test.inc (struct test_fF_f1_data): Change type of
39892         extra_test to int.
39893         (struct test_f_i_data): Change type of max_ulp to int.
39895         * math/libm-test.inc (test_ffI_f1_data): New type.
39896         (RUN_TEST_LOOP_ffI_f1): New macro.
39897         (remquo_test_data): New variable.
39898         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
39900         * setjmp/tst-setjmp-fp.c: New file.
39901         * setjmp/Makefile (tests): Add tst-setjmp-fp.
39902         (link-libm): New variable.
39903         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
39905         * math/libm-test.inc (struct test_f_i_data): New type.
39906         (RUN_TEST_LOOP_f_i): New macro.
39907         (RUN_TEST_LOOP_f_i_tg): Likewise.
39908         (fpclassify_test_data): New variable.
39909         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
39910         (ilogb_test_data): New variable.
39911         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
39913         * math/libm-test.inc (scalbln_test): Correct function name in END
39914         call.
39916         * math/libm-test.inc (struct test_f_f1_data): Add comment.
39917         (RUN_TEST_LOOP_fI_f1): New macro.
39918         (frexp_test_data): New variable.
39919         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
39921         * math/libm-test.inc (struct test_fF_f1_data): New type.
39922         (RUN_TEST_LOOP_fF_f1): New macro.
39923         (modf_test_data): New variable.
39924         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
39926         * math/libm-test.inc (struct test_f_f1_data): New type.
39927         (RUN_TEST_LOOP_f_f1): New macro.
39928         (gamma_test_data): New variable.
39929         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
39930         (lgamma_test_data): New variable.
39931         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
39933 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
39935         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
39936         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
39937         (main): Comment "tls" pseudo-hwcap.
39939 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
39941         * math/libm-test.inc (struct test_fl_f_data): New type.
39942         (RUN_TEST_LOOP_fl_f): New variable.
39943         (scalbln_test_data): New variable.
39944         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
39946         * math/libm-test.inc (struct test_fi_f_data): New type.
39947         (RUN_TEST_LOOP_fi_f): New macro.
39948         (ldexp_test_data): New variable.
39949         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
39950         (scalbn_test_data): New variable.
39951         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
39953         * math/libm-test.inc (struct test_c_f_data): New type.
39954         (RUN_TEST_LOOP_c_f): New macro.
39955         (cabs_test_data): New variable.
39956         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
39957         (carg_test_data): New variable.
39958         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
39959         (cimag_test_data): New variable.
39960         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
39961         (creal_test_data): New variable.
39962         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
39964         * math/libm-test.inc (struct test_if_f_data): New type.
39965         (RUN_TEST_LOOP_if_f): New macro.
39966         (jn_test_data): New variable.
39967         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
39968         (yn_test_data): New variable.
39969         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
39971         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
39973 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39975         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
39976         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
39978 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
39980         * benchtests/Makefile (CPPFLAGS-nonlib): Add
39981         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
39982         (bench-deps): Add bench-timing.h.
39983         * benchtests-bench-skeleton.c: Include bench-timing.h.
39984         (main): Use TIMING_* macros instead of clock_gettime.
39985         * benchtests/bench-timing.h: New file.
39987         [BZ #14582]
39988         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
39989         Renamed from _LIB_VERSION.
39990         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
39992 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
39994         * math/libm-test.inc (struct test_fff_f_data): New type.
39995         (RUN_TEST_LOOP_fff_f): New macro.
39996         (fma_test_data): New variable.
39997         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
39998         (fma_towardzero_test_data): New variable.
39999         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
40000         (fma_downward_test_data): New variable.
40001         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
40002         (fma_upward_test_data): New variable.
40003         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
40005         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
40006         (struct test_c_c_data): New type.
40007         (RUN_TEST_LOOP_c_c): New macro.
40008         (cacos_test_data): New variable.
40009         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
40010         (cacosh_test_data): New variable.
40011         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
40012         (casin_test_data): New variable.
40013         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
40014         (casinh_test_data): New variable.
40015         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
40016         (catan_test_data): New variable.
40017         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
40018         (catanh_test_data): New variable.
40019         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
40020         (ccos_test_data): New variable.
40021         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
40022         (ccosh_test_data): New variable.
40023         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
40024         (cexp_test_data): New variable.
40025         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
40026         (clog_test_data): New variable.
40027         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
40028         (clog10_test_data): New variable.
40029         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
40030         (conj_test_data): New variable.
40031         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
40032         (cproj_test_data): New variable.
40033         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
40034         (csin_test_data): New variable.
40035         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
40036         (csinh_test_data): New variable.
40037         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
40038         (csqrt_test_data): New variable.
40039         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
40040         (ctan_test_data): New variable.
40041         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
40042         (ctan_tonearest_test_data): New variable.
40043         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
40044         (ctan_towardzero_test_data): New variable.
40045         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
40046         (ctan_downward_test_data): New variable.
40047         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
40048         (ctan_upward_test_data): New variable.
40049         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
40050         (ctanh_test_data): New variable.
40051         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
40052         (ctanh_tonearest_test_data): New variable.
40053         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
40054         (ctanh_towardzero_test_data): New variable.
40055         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
40056         (ctanh_downward_test_data): New variable.
40057         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
40058         (ctanh_upward_test_data): New variable.
40059         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
40060         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
40061         of BUILD_COMPLEX.
40063         * math/libm-test.inc (struct test_ff_f_data): New type.
40064         (struct test_ff_f_data_nexttoward): Likewise.
40065         (RUN_TEST_LOOP_2_f): New macro.
40066         (RUN_TEST_LOOP_ff_f): Likewise.
40067         (atan2_test_data): New variable.
40068         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
40069         (copysign_test_data): New variable.
40070         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
40071         (fdim_test_data): New variable.
40072         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
40073         (fmax_test_data): New variable.
40074         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
40075         (fmin_test_data): New variable.
40076         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
40077         (fmod_test_data): New variable.
40078         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
40079         (hypot_test_data): New variable.
40080         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
40081         (nextafter_test_data): New variable.
40082         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
40083         (nexttoward_test_data): New variable.
40084         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
40085         (pow_test_data): New variable.
40086         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
40087         (pow_tonearest_test_data): New variable.
40088         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
40089         (pow_towardzero_test_data): New variable.
40090         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
40091         (pow_downward_test_data): New variable.
40092         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
40093         (pow_upward_test_data): New variable.
40094         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
40095         (remainder_test_data): New variable.
40096         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
40097         (scalb_test_data): New variable.
40098         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
40099         * sysdeps/i386/fpu/libm-test-ulps: Update.
40101 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
40103         * math/libm-test.inc (fma_test): Use max_value instead of local
40104         variable fltmax.
40105         (nextafter_test): Likewise.
40107         * math/libm-test.inc (acos_towardzero_test_data): New variable.
40108         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40109         (acos_downward_test_data): New variable.
40110         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40111         (acos_upward_test_data): New variable.
40112         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40113         (acosh_test_data): New variable.
40114         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
40115         (asin_test_data): New variable.
40116         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
40117         (asin_tonearest_test_data): New variable.
40118         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40119         (asin_towardzero_test_data): New variable.
40120         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40121         (asin_downward_test_data): New variable.
40122         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40123         (asin_upward_test_data): New variable.
40124         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40125         (asinh_test_data): New variable.
40126         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
40127         (atan_test_data): New variable.
40128         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
40129         (atanh_test_data): New variable.
40130         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
40131         (cbrt_test_data): New variable.
40132         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
40133         (ceil_test_data): New variable.
40134         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
40135         (cos_test_data): New variable.
40136         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
40137         (cos_tonearest_test_data): New variable.
40138         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40139         (cos_towardzero_test_data): New variable.
40140         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40141         (cos_downward_test_data): New variable.
40142         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40143         (cos_upward_test_data): New variable.
40144         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40145         (cosh_test_data): New variable.
40146         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
40147         (cosh_tonearest_test_data): New variable.
40148         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40149         (cosh_towardzero_test_data): New variable.
40150         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40151         (cosh_downward_test_data): New variable.
40152         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40153         (cosh_upward_test_data): New variable.
40154         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40155         (erf_test_data): New variable.
40156         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
40157         (erfc_test_data): New variable.
40158         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
40159         (exp_test_data): New variable.
40160         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
40161         (exp_tonearest_test_data): New variable.
40162         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40163         (exp_towardzero_test_data): New variable.
40164         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40165         (exp_downward_test_data): New variable.
40166         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40167         (exp_upward_test_data): New variable.
40168         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40169         (exp10_test_data): New variable.
40170         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
40171         (exp2_test_data): New variable.
40172         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
40173         (expm1_test_data): New variable.
40174         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
40175         (fabs_test_data): New variable.
40176         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
40177         (floor_test_data): New variable.
40178         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
40179         (j0_test_data): New variable.
40180         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
40181         (j1_test_data): New variable.
40182         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
40183         (log_test_data): New variable.
40184         (log_test): Run tests with RUN_TEST_LOOP_f_f.
40185         (log10_test_data): New variable.
40186         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
40187         (log1p_test_data): New variable.
40188         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
40189         (log2_test_data): New variable.
40190         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
40191         (logb_test_data): New variable.
40192         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
40193         (logb_downward_test_data): New variable.
40194         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40195         (nearbyint_test_data): New variable.
40196         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
40197         (rint_test_data): New variable.
40198         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
40199         (rint_tonearest_test_data): New variable.
40200         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40201         (rint_towardzero_test_data): New variable.
40202         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40203         (rint_downward_test_data): New variable.
40204         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40205         (rint_upward_test_data): New variable.
40206         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40207         (round_test_data): New variable.
40208         (round_test): Run tests with RUN_TEST_LOOP_f_f.
40209         (sin_test_data): New variable.
40210         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
40211         (sin_tonearest_test_data): New variable.
40212         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40213         (sin_towardzero_test_data): New variable.
40214         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40215         (sin_downward_test_data): New variable.
40216         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40217         (sin_upward_test_data): New variable.
40218         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40219         (sinh_test_data): New variable.
40220         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
40221         (sinh_tonearest_test_data): New variable.
40222         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40223         (sinh_towardzero_test_data): New variable.
40224         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40225         (sinh_downward_test_data): New variable.
40226         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40227         (sinh_upward_test_data): New variable.
40228         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40229         (sqrt_test_data): New variable.
40230         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
40231         (tan_test_data): New variable.
40232         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
40233         (tan_tonearest_test_data): New variable.
40234         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40235         (tan_towardzero_test_data): New variable.
40236         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40237         (tan_downward_test_data): New variable.
40238         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40239         (tan_upward_test_data): New variable.
40240         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40241         (tanh_test_data): New variable.
40242         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
40243         (tgamma_test_data): New variable.
40244         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
40245         (trunc_test_data): New variable.
40246         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
40247         (y0_test_data): New variable.
40248         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
40249         (y1_test_data): New variable.
40250         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
40251         (significand_test_data): New variable.
40252         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
40254 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
40256         [BZ #12387]
40257         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
40259 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
40261         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
40263 2013-05-10  Andreas Jaeger  <aj@suse.de>
40265         [BZ #15448]
40266         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
40267         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
40269 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
40271         * math/gen-libm-test.pl (adjust_arg): New function.
40272         (special_functions): Handle generating output in both functions
40273         and arrays.
40274         (parse_args): Likewise.
40275         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
40276         $in_func argument to parse_args.
40277         * math/libm-test.inc (struct test_f_f_data): New type.
40278         (IF_ROUND_INIT_): New macro.
40279         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
40280         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
40281         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
40282         (IF_ROUND_INIT_FE_UPWARD): Likewise.
40283         (ROUND_RESTORE_): Likewise.
40284         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
40285         (ROUND_RESTORE_FE_TONEAREST): Likewise.
40286         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
40287         (ROUND_RESTORE_FE_UPWARD): Likewise.
40288         (RUN_TEST_LOOP_f_f): New macro.
40289         (acos_test_data): New variable.
40290         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
40291         (acos_tonearest_test_data): New variable.
40292         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40294 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40296         * benchtests/bench-skeleton.c (startup): Fix coding style.
40298 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
40300         [BZ #6809]
40301         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
40302         negative infinity argument.
40303         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
40304         negative infinity argument.
40305         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
40306         negative infinity argument.
40307         * math/libm-test.inc (tgamma_test): Expect errno to be set for
40308         domain errors.
40310 2013-05-10  Florian Weimer  <fweimer@redhat.com>
40312         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
40313         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
40314         * iconv/iconv_prog.c (main): Likewise.
40315         * locale/programs/charmap-dir.c (charmap_readdir)
40316         (fopen_uncompressed): Likewise.
40317         * locale/programs/locfile.c (siblings_uncached)
40318         (write_locale_data): Use lstat64 instead of lstat.
40319         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
40320         stat.
40322 2013-05-10  Andreas Jaeger  <aj@suse.de>
40324         [BZ #15395]
40325         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
40326         localization.
40327         Include <locale.h>.
40329 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
40331         * elf/dl-close.c (_dl_close_worker): Add comments.
40333 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
40335         [BZ #15359]
40336         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
40337         high part of pi/2.
40338         (__ieee754_rem_pio2l): Update comments.
40340         [BZ #15429]
40341         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
40342         high part of pi/2.
40343         (__ieee754_rem_pio2l): Update comments.
40345         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
40346         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
40348         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
40349         M_PI_4l.
40351         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
40352         (M_PI_34_LOG10El): Likewise.
40353         (M_PI2_LOG10El): Likewise.
40354         (M_PI4_LOG10El): Likewise.
40355         (M_PI_LOG10El): Likewise.
40357 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40359         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40361 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
40363         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
40364         (MINUS_ZERO_INIT): Likewise.
40365         (PLUS_INFTY_INIT): Likewise.
40366         (MINUS_INFTY_INIT): Likewise.
40367         (QNAN_VALUE_INIT): Likewise.
40368         (MAX_VALUE_INIT): Likewise.
40369         (MIN_VALUE_INIT): Likewise.
40370         (MIN_SUBNORM_VALUE_INIT): Likewise.
40371         (plus_zero): Initialize with PLUS_ZERO_INIT.
40372         (minus_zero): Initialize with MINUS_ZERO_INIT.
40373         (plus_infty): Initialize with PLUS_INFTY_INIT.
40374         (minus_infty): Initialize with MINUS_INFTY_INIT.
40375         (qnan_value): Initialize with QNAN_VALUE_INIT.
40376         (max_value): Initialize with MAX_VALUE_INIT.
40377         (min_value): Initialize with MIN_VALUE_INIT.
40378         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
40380         * math/libm-test.inc (RUN_TEST_if_f): New macro.
40381         (jn_test): Use TEST_if_f instead of TEST_ff_f.
40382         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
40383         (yn_test): Use TEST_if_f instead of TEST_ff_f.
40385         * math/libm-test.inc (RUN_TEST_f_f): New macro.
40386         (RUN_TEST_2_f): Likewise.
40387         (RUN_TEST_ff_f): Likewise.
40388         (RUN_TEST_fi_f): Likewise.
40389         (RUN_TEST_fl_f): Likewise.
40390         (RUN_TEST_fff_f): Likewise.
40391         (RUN_TEST_c_f): Likewise.
40392         (RUN_TEST_f_f1): Likewise.
40393         (RUN_TEST_fF_f1): Likewise.
40394         (RUN_TEST_fI_f1): Likewise.
40395         (RUN_TEST_ffI_f1): Likewise.
40396         (RUN_TEST_c_c): Likewise.
40397         (RUN_TEST_cc_c): Likewise.
40398         (RUN_TEST_f_i): Likewise.
40399         (RUN_TEST_f_i_tg): Likewise.
40400         (RUN_TEST_ff_i_tg): Likewise.
40401         (RUN_TEST_f_b): Likewise.
40402         (RUN_TEST_f_b_tg): Likewise.
40403         (RUN_TEST_f_l): Likewise.
40404         (RUN_TEST_f_L): Likewise.
40405         (RUN_TEST_sincos): Likewise.
40406         * math/gen-libm-test.pl (new_test): Take new argument to indicate
40407         whether to show exceptions.  Do not include ");\n" in return
40408         value.
40409         (special_functions): Output call to RUN_TEST_sincos instead of
40410         check_float calls.  Update calls to new_test.
40411         (parse_args): Output call to single RUN_TEST_* macro instead of
40412         check_* calls and other assignments.  Update calls to new_test.
40414         [BZ #2546]
40415         [BZ #2560]
40416         [BZ #5159]
40417         [BZ #15426]
40418         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
40419         input to result for tgamma overflow.
40420         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
40421         (gamma_coeff): New variable.
40422         (NCOEFF): New macro.
40423         (gamma_positive): New function.
40424         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
40425         underflow here.  Use gamma_positive instead of exp (lgamma) for
40426         other arguments.
40427         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
40428         (gamma_coeff): New variable.
40429         (NCOEFF): New macro.
40430         (gammaf_positive): New function.
40431         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
40432         underflow here.  Use gamma_positive instead of exp (lgamma) for
40433         other arguments.
40434         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
40435         (gamma_coeff): New variable.
40436         (NCOEFF): New macro.
40437         (gammal_positive): New function.
40438         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
40439         underflow here.  Use gamma_positive instead of exp (lgamma) for
40440         other arguments.
40441         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
40442         (gamma_coeff): New variable.
40443         (NCOEFF): New macro.
40444         (gammal_positive): New function.
40445         (__ieee754_gammal_r): Handle positive infinity, overflow and
40446         underflow here.  Handle NaN the same as positive infinity.  Remove
40447         check x < 0xffffffff for negative integers.  Use gamma_positive
40448         instead of exp (lgamma) for other arguments.
40449         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
40450         (gamma_coeff): New variable.
40451         (NCOEFF): New macro.
40452         (gammal_positive): New function.
40453         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
40454         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
40455         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
40456         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
40457         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
40458         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
40459         * sysdeps/generic/math_private.h (__gamma_productf): New
40460         prototype.
40461         (__gamma_product): Likewise.
40462         (__gamma_productl): Likewise.
40463         * math/Makefile (libm-calls): Add gamma_product.
40464         * math/libm-test.inc (tgamma_test): Add more tests.
40465         * sysdeps/i386/fpu/libm-test-ulps: Update.
40466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40468 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
40470         * benchtests/bench-skeleton.c (main): Preheat CPU.
40472 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
40474         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
40476 2013-05-07  Roland McGrath  <roland@hack.frob.com>
40478         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
40479         and _dl_skip_args_internal.
40481 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
40483         * manual/message.texi (Message Translation): Talk about users.
40484         Message to key mapping impacts design.
40486 2013-05-06  Roland McGrath  <roland@hack.frob.com>
40488         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
40490         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
40492         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
40493         * sysdeps/wordsize-64/glob64.c: ... here.
40495         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
40496         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
40497         New macros.
40499         * debug/getlogin_r_chk.c: Moved to ...
40500         * login/getlogin_r_chk.c: ... here.
40501         * debug/Makefile (routines): Move getlogin_r_chk to ...
40502         * login/Makefile (routines): ... here.
40503         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
40504         * login/Versions (libc: GLIBC_2.4): ... here.
40506         * io/poll.c (__poll): Renamed from poll.
40507         Add libc_hidden_def.
40508         (poll): Define as weak alias.
40510         * debug/ptsname_r_chk.c: Moved to ...
40511         * login/ptsname_r_chk.c: ... here.
40512         * debug/Makefile (routines): Move ptsname_r_chk to ...
40513         * login/Makefile (routines): ... here.
40514         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
40515         * login/Versions (libc: GLIBC_2.4): ... here.
40517         * posix/getlogin.c: Moved to ...
40518         * login/getlogin.c: ... here.
40519         * posix/getlogin_r.c: Moved to ...
40520         * login/getlogin_r.c: ... here.
40521         * posix/getlogin_r.c: Moved to ...
40522         * login/getlogin_r.c: ... here.
40523         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
40524         * login/Makefile (routines): ... here.
40525         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
40526         * login/Versions (libc: GLIBC_2.0): ... here.
40528         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
40529         (setrlimit): Define as weak alias.
40531         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
40532         Call __ names for open, ftruncate, and close.
40533         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
40534         (truncate): Define as weak alias.
40536 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
40538         * math/gen-libm-test.pl (parse_args): Initialize x before each
40539         test of frexp, modf and remquo.
40541         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
40542         test signgam value.
40544 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40546         [BZ #15418]
40547         [BZ #15419]
40548         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
40549         internal tests.
40550         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40552 2013-05-06  Roland McGrath  <roland@hack.frob.com>
40554         * elf/dl-writev.h: New file.
40555         * elf/dl-misc.c: Include it.
40556         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
40557         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
40559 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
40561         * math/libm-test.inc (noXFails): Remove variable.
40562         (noXPasses): Likewise.
40563         (BUILD_COMPLEX_INT): Remove macro.
40564         (print_screen): Remove xfail argument.
40565         (print_screen_max_error): Likewise.
40566         (update_stats): Likewise.
40567         (print_max_error): Likewise.  Update calls to other affected
40568         functions.
40569         (print_complex_max_error): Likewise.
40570         (test_single_exception): Update calls to print_screen.
40571         (test_single_errno): Likewise.
40572         (check_float_internal): Remove xfail argument.  Update calls to
40573         other affected functions.
40574         (check_float): Likewise.
40575         (check_complex): Likewise.
40576         (check_int): Likewise.
40577         (check_long): Likewise.
40578         (check_bool): Likewise.
40579         (check_longlong): Likewise.
40580         (main): Don't print noXFails and noXPasses.
40581         * math/gen-libm-test.pl (top level): Don't mention expected
40582         failure handling in comment.
40583         (new_test): Don't handle expected failures.
40584         (parse_args): Don't mention expected failure handling in comment.
40585         (generate_testfile): Don't handle expected failures.
40586         (parse_ulps): Likewise.
40587         (print_ulps_file): Likewise.
40588         (get_failure): Remove function.
40589         (output_test): Don't handle expected failures.
40590         * make/README.libm-test: Don't mention expected failure handling.
40592         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
40593         (minus_zero): Likewise.
40594         (plus_infty): Likewise.
40595         (minus_infty): Likewise.
40596         (qnan_value): Likewise.
40597         (max_value): Likewise.
40598         (min_value): Likewise.
40599         (min_subnorm_value): Likewise.
40600         (initialize): Do not initialize those variables dynamically.
40602 2013-05-03  Roland McGrath  <roland@hack.frob.com>
40604         * io/open.c (__open_2): Moved to ...
40605         * io/open_2.c: ... this new file.
40606         * io/open64.c (__open64_2): Moved to ...
40607         * io/open64_2.c: ... this new file.
40608         * io/openat.c (__openat_2): Moved to ...
40609         * io/openat_2.c: ... this new file.
40610         * io/openat64.c (__openat64_2): Moved to ...
40611         * io/openat64_2.c: ... this new file.
40612         * io/Makefile (routines): Add them.
40613         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
40614         * sysdeps/unix/sysv/linux/open_2.c: File removed.
40615         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
40616         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
40617         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
40618         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
40619         (__openat64): Add hidden_ver.
40620         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
40621         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
40623         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
40624         Separately conditionalize setting of GLRO(dl_sysinfo) so
40625         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
40626         as well, but the actual setting is only under [NEED_DL_SYSINFO].
40628 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40630         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
40631         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
40632         definition.
40633         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
40634         * sysdeps/unix/sysv/linux/powerpc/init-first.c
40635         (_libc_vdso_platform_setup): Add __vdso_time initialization.
40636         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
40637         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
40639 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
40641         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
40642         test signgam value.
40644         * math/libm-test.inc (hypot_test): Do not use
40645         IGNORE_ZERO_INF_SIGN.
40647 2013-05-03  Andreas Jaeger  <aj@suse.de>
40649         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
40650         Linux 3.9.
40651         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
40652         (PF_MAX): Adjust for VSOCK change.
40654 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40656         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40658 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
40660         [BZ #15264]
40661         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
40662         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
40663         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
40665 2013-05-02  David S. Miller  <davem@davemloft.net>
40667         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40669 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
40671         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
40673 2013-05-01  Roland McGrath  <roland@hack.frob.com>
40675         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
40677 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
40679         [BZ #14952]
40680         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
40681         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
40682         Use __attribute__ ((__gnu_inline__)).
40683         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
40684         Don't use __attribute__ ((__gnu_inline__)).
40686 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
40688         [BZ #15423]
40689         * math/s_catan.c (__catan): Handle small real or imaginary part of
40690         input specially to avoid spurious underflow.
40691         * math/s_catanf.c (__catanf): Likewise.
40692         * math/s_catanh.c (__catanh): Likewise.
40693         * math/s_catanhf.c (__catanhf): Likewise.
40694         * math/s_catanhl.c (__catanhl): Likewise.
40695         * math/s_catanl.c (__catanl): Likewise.
40696         * math/libm-test.inc (catan_test): Add more tests.
40697         (catanh_test): Likewise.
40698         * sysdeps/i386/fpu/libm-test-ulps: Update.
40699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40701 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40703         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40705 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
40707         [BZ #15416]
40708         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
40709         accurately for denominator in atan2.
40710         * math/s_catanf.c (__catanf): Likewise.
40711         * math/s_catanh.c (__catanh): Likewise.
40712         * math/s_catanhf.c (__catanhf): Likewise.
40713         * math/s_catanhl.c (__catanhl): Likewise.
40714         * math/s_catanl.c (__catanl): Likewise.
40715         * math/libm-test.inc (catan_test): Add more tests.
40716         (catanh_test): Likewise.
40717         * sysdeps/i386/fpu/libm-test-ulps: Update.
40718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40720 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40722         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
40724         * benchtests/Makefile (bench): Remove slow benchmarks.
40725         * benchtests/atan-inputs: Add slow benchmark inputs.
40726         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
40727         (BENCH_FUNC): Accept variant offset.
40728         (VARIANT): Define.
40729         * benchtests/bench-skeleton.c (main): Run benchmark for each
40730         variant.
40731         * benchtests/cos-inputs: Add slow benchmark inputs.
40732         * benchtests/exp-inputs: Likewise.
40733         * benchtests/pow-inputs: Likewise.
40734         * benchtests/sin-inputs: Likewise.
40735         * benchtests/slowatan-inputs: Remove.
40736         * benchtests/slowatan.c: Remove.
40737         * benchtests/slowcos-inputs: Remove.
40738         * benchtests/slowcos.c: Remove.
40739         * benchtests/slowexp-inputs: Remove.
40740         * benchtests/slowexp.c: Remove.
40741         * benchtests/slowpow-inputs: Remove.
40742         * benchtests/slowpow.c: Remove.
40743         * benchtests/slowsin-inputs: Remove.
40744         * benchtests/slowsin.c: Remove.
40745         * benchtests/slowtan-inputs: Remove.
40746         * benchtests/slowtan.c: Remove.
40747         * benchtests/tan-inputs: Add slow benchmark inputs.
40748         * scripts/bench.pl: Parse comments and directives.
40750         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
40751         in CPPFLAGS.
40752         ($(objpfx)bench-%.c): Remove *-ITER.
40753         * benchtests/bench-modf.c: Remove definition of ITER.
40754         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
40755         (main): Loop for DURATION seconds instead of fixed number of
40756         iterations.
40757         * scripts/bench.pl: Don't expect iterations in parameters.
40759 2013-04-29  Roland McGrath  <roland@hack.frob.com>
40761         * io/fchdir.c (__fchdir): Renamed from fchdir.
40762         (fchdir): Define as weak alias.
40764 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
40766         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
40767         (ERRNO_EDOM): Likewise.
40768         (ERRNO_ERANGE): Likewise.
40769         (noErrnoTests): New variable.
40770         (init_max_error): Set errno to 0.
40771         (test_single_errno): New function.
40772         (test_errno): Likewise.
40773         (check_float_internal): Call test_errno.  Set errno to 0.
40774         (check_complex): Refer to errno tests in comment.
40775         (check_int): Call test_errno.  Set errno to 0.
40776         (check_long): Likewise.
40777         (check_bool): Likewise.
40778         (check_longlong): Likewise.
40779         (cos_test): Use ERRNO_* flags for errno tests instead of
40780         check_int.
40781         (expm1_test): Likewise.
40782         (fmod_test): Likewise.
40783         (ilogb_test): Likewise.
40784         (lgamma_test): Likewise.
40785         (pow_test): Likewise.
40786         (remainder_test): Likewise.
40787         (sin_test): Likewise.
40788         (tan_test): Likewise.
40789         (yn_test): Likewise.
40790         (initialize): Set errno to 0.
40791         (main): Print number of errno tests.
40792         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
40794 2013-04-29  Andreas Jaeger  <aj@suse.de>
40796         [BZ #15084]
40797         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
40798         and RES_USEVC.
40800         [BZ #15085]
40801         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
40802         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
40803         unimplemented.
40805         [BZ #15380]
40806         * stdlib/random.c (__initstate): Return NULL if
40807         __initstate fails.
40809         [BZ #15086]
40810         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
40811         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
40812         RES_SNGLKUPREOP.
40814 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40816         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40818 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
40820         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
40821         of individual tests.
40822         (casin_test): Likewise.
40823         (casinh_test): Likewise.
40825 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
40827         [BZ #15409]
40828         * math/s_catan.c (__catan): Handle arguments with large real or
40829         imaginary part separately without squaring.
40830         * math/s_catanf.c (__catanf): Likewise.
40831         * math/s_catanh.c (__catanh): Likewise.
40832         * math/s_catanhf.c (__catanhf): Likewise.
40833         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
40834         and redefine.
40835         (__catanhl): Handle arguments with large real or imaginary part
40836         separately without squaring.
40837         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
40838         and redefine.
40839         (__catanl): Handle arguments with large real or imaginary part
40840         separately without squaring.
40841         * math/libm-test.inc (catan_test): Add more tests.
40842         (catanh_test): Likewise.
40843         * sysdeps/i386/fpu/libm-test-ulps: Update.
40844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40846 2013-04-27  Andreas Jaeger  <aj@suse.de>
40848         [BZ #15007]
40849         * stdlib/stdlib.h: Update guards for qecvt.
40850         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
40851         <stdlib.h>.
40853 2013-04-27  Allan McRae  <allan@archlinux.org>
40855         * sysdeps/i386/fpu/libm-test-ulps: Update.
40857 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
40859         [BZ #15406]
40860         * math/s_catan.c: Include <float.h>.
40861         (__catan): Ensure underflow exception occurs for underflowed
40862         result.
40863         * math/s_catanf.c: Include <float.h>.
40864         (__catanf): Ensure underflow exception occurs for underflowed
40865         result.
40866         * math/s_catanh.c: Include <float.h>.
40867         (__catanh): Ensure underflow exception occurs for underflowed
40868         result.
40869         * math/s_catanhf.c: Include <float.h>.
40870         (__catanhf): Ensure underflow exception occurs for underflowed
40871         result.
40872         * math/s_catanhl.c: Include <float.h>.
40873         (__catanhl): Ensure underflow exception occurs for underflowed
40874         result.
40875         * math/s_catanl.c: Include <float.h>.
40876         (__catanl): Ensure underflow exception occurs for underflowed
40877         result.
40878         * math/libm-test.inc (catan_test): Add more tests.
40879         (catanh_test): Likewise.
40881         [BZ #15405]
40882         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
40883         underflowed result.
40884         * math/s_ccoshf.c (__ccoshf): Likewise.
40885         * math/s_ccoshl.c (__ccoshl): Likewise.
40886         * math/s_csin.c (__csin): Likewise.
40887         * math/s_csinf.c (__csinf): Likewise.
40888         * math/s_csinh.c (__csinh): Likewise.
40889         * math/s_csinhf.c (__csinhf): Likewise.
40890         * math/s_csinhl.c (__csinhl): Likewise.
40891         * math/s_csinl.c (__csinl): Likewise.
40892         * math/libm-test.inc (ccos_test): Add more tests.
40893         (ccosh_test): Likewise.
40894         (csin_test): Likewise.
40895         (csinh_test): Likewise.
40897 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40899         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
40900         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
40901         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
40902         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
40903         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
40904         powerpc/power5+/fpu folders.
40905         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
40908 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
40910         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40912 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
40914         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
40915         additions to variable.
40916         [$(config-machine) = x86_64] (modules-names): Likewise.
40917         ($(objpfx)tst-audit3): Remove dependency.
40918         ($(objpfx)tst-audit3.out): Likewise.
40919         ($(objpfx)tst-audit4): Likewise.
40920         ($(objpfx)tst-audit4.out): Likewise.
40921         ($(objpfx)tst-audit5): Likewise.
40922         ($(objpfx)tst-audit5.out): Likewise.
40923         ($(objpfx)tst-audit6): Likewise.
40924         ($(objpfx)tst-audit6.out): Likewise.
40925         ($(objpfx)tst-audit7): Likewise.
40926         ($(objpfx)tst-audit7.out): Likewise.
40927         (tst-audit3-ENV): Remove variable.
40928         (tst-audit4-ENV): Likewise.
40929         (tst-audit5-ENV): Likewise.
40930         (tst-audit6-ENV): Likewise.
40931         (tst-audit7-ENV): Likewise.
40932         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
40933         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
40934         addition to variable.
40935         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
40936         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
40937         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
40938         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
40939         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
40940         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
40941         tst-audit3, tst-audit4 and tst-audit5.
40942         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
40943         tst-audit6 and tst-audit7.
40944         [$(subdir) = elf] (modules-names): Add audit modules for those
40945         tests.
40946         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
40947         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
40948         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
40949         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
40950         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
40951         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
40952         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
40953         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
40954         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
40955         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
40956         [$(subdir) = elf] (tst-audit3-ENV): New variable.
40957         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
40958         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
40959         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
40960         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
40961         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
40962         Likewise.
40963         [$(subdir) = elf && $(config-cflags-avx) = yes]
40964         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
40965         [$(subdir) = elf && $(config-cflags-avx) = yes]
40966         (CFLAGS-tst-auditmod4a.c): Likewise.
40967         [$(subdir) = elf && $(config-cflags-avx) = yes]
40968         (CFLAGS-tst-auditmod4b.c): Likewise.
40969         [$(subdir) = elf && $(config-cflags-avx) = yes]
40970         (CFLAGS-tst-auditmod6b.c): Likewise.
40971         [$(subdir) = elf && $(config-cflags-avx) = yes]
40972         (CFLAGS-tst-auditmod6c.c): Likewise.
40973         [$(subdir) = elf && $(config-cflags-avx) = yes]
40974         (CFLAGS-tst-auditmod7b.c): Likewise.
40975         * elf/tst-audit3.c: Move to ...
40976         * sysdeps/x86_64/tst-audit3.c: ... here.
40977         * elf/tst-audit4.c: Move to ...
40978         * sysdeps/x86_64/tst-audit4.c: ... here.
40979         * elf/tst-audit5.c: Move to ...
40980         * sysdeps/x86_64/tst-audit5.c: ... here.
40981         * elf/tst-audit6.c: Move to ...
40982         * sysdeps/x86_64/tst-audit6.c: ... here.
40983         * elf/tst-audit7.c: Move to ...
40984         * sysdeps/x86_64/tst-audit7.c: ... here.
40985         * elf/tst-auditmod3a.c: Move to ...
40986         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
40987         * elf/tst-auditmod3b.c: Move to ...
40988         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
40989         * elf/tst-auditmod4a.c: Move to ...
40990         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
40991         * elf/tst-auditmod4b.c: Move to ...
40992         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
40993         * elf/tst-auditmod5a.c: Move to ...
40994         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
40995         * elf/tst-auditmod5b.c: Move to ...
40996         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
40997         * elf/tst-auditmod6a.c: Move to ...
40998         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
40999         * elf/tst-auditmod6b.c: Move to ...
41000         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
41001         * elf/tst-auditmod6c.c: Move to ...
41002         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
41003         * elf/tst-auditmod7a.c: Move to ...
41004         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
41005         * elf/tst-auditmod7b.c: Move to ...
41006         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
41008 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
41010         [BZ #15366]
41011         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
41012         define unconditionally.
41013         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
41014         define unconditionally.
41015         (INT8_C, INT16_C, etc.): Likewise.
41017 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
41019         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
41020         __ehdr_start with hidden visibility.
41022         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
41024 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
41026         * math/libm-test.inc (cos_test): Use accurate hex constants.
41027         (sincost_test): Likewise.
41029 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
41031         * math/libm-test.inc (catan_test): Add more tests.
41032         (catanh_test): Likewise.
41034         * math/s_catanf.c (__catanf): Use suffixed floating-point
41035         constants.
41036         * math/s_catanhf.c (__catanhf): Likewise.
41037         * math/s_catanhl.c (__catanhl): Likewise.
41038         * math/s_catanl.c (__catanl): Likewise.
41040         [BZ #15394]
41041         * math/s_catan.c (__catan): Calculate imaginary part of result
41042         with log1p not log unless computing log of number close to 0.
41043         * math/s_catanf.c (__catanf): Likewise.
41044         * math/s_catanl.c (__catanl): Likewise.
41045         * math/s_catanh.c (__catanh): Calculate real part of result with
41046         log1p not log unless computing log of number close to 0.
41047         * math/s_catanhf.c (__catanhf): Likewise.
41048         * math/s_catanhl.c (__catanhl): Likewise.
41049         * math/libm-test.inc (catan_test): Add more tests.
41050         (catanh_test): Likewise.
41051         * sysdeps/i386/fpu/libm-test-ulps: Update.
41052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41054 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41056         * benchtests/Makefile: Mention files in which fast and slow
41057         paths of math functions are implemented.
41059 2013-04-23  Roland McGrath  <roland@hack.frob.com>
41061         * sysdeps/posix/timespec_get.c: New file.
41063 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41065         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
41066         POWER.
41067         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
41068         for POWER.
41069         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
41070         powerpc/power5/fpu folders.
41071         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
41072         * benchtests/Makefile: Add modf testcase.
41073         * benchtests/bench-modf.c: New file: Benchmark test for mo
41075 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
41077         [BZ #14888]
41078         * time/Makefile (tests): Add tst-strptime-whitespace.
41079         * time/strptime_l.c (get_number): Use ISSPACE.
41080         (__strptime_internal): Likewise.
41081         * time/tst-strptime-whitespace.c: New test case.
41083 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
41085         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
41086         member.
41087         (_nss_files_init): Set it here.
41089 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
41091         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
41092         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
41093         unsigned.
41095 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
41097         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
41099 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
41101         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
41102         size just once.
41104 2013-04-21  David S. Miller  <davem@davemloft.net>
41106         * po/ru.po: Update Russion translation from translation project.
41108 2013-04-17  Adam Conrad  <adconrad@0c3.net>
41110         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
41111         and setfsgid.
41113 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
41115         * configure.in: Remove i386 configure warning. Remove i386 case.
41116         * configure: Regenerate.
41117         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
41118         Add example to error message.
41119         * sysdeps/i386/configure: Regenerate.
41121 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
41123         * benchtests/Makefile (bench): Add cos, tan, slowcos and
41124         slowtan.
41125         * benchtests/cos-inputs: New file.
41126         * benchtests/slowcos-inputs: New file.
41127         * benchtests/slowcos.c: New file.
41128         * benchtests/slowtan-inputs: New file.
41129         * benchtests/slowtan.c: New file.
41130         * benchtests/tan-inputs: New file.
41132 2013-04-16  Roland McGrath  <roland@hack.frob.com>
41134         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
41135         considered kosher.
41137 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41139         * benchtests/Makefile: Include cppflags-iterator.mk to add
41140         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
41142         * Makefile.in (bench-clean): New target.
41143         * benchtests/Makefile (bench-clean): Likewise.
41145 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
41147         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
41149 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
41151         * stdio-common/tstdiomisc.c: Fix coding-style violation.
41153 2013-04-15  Andreas Schwab  <schwab@suse.de>
41155         * nscd/grpcache.c (cache_addgr): Properly check for short write.
41156         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41157         * nscd/pwdcache.c (cache_addpw): Likewise.
41158         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
41159         more than recsize.
41161 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41163         * benchtests/Makefile (bench): Write all output to
41164         bench-out.tmp together.
41166 2013-04-15  Andreas Schwab  <schwab@suse.de>
41168         * nscd/nscd.c (main): Don't fork again after closing files.
41170 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41172         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
41174         * benchtests/Rules (bench-deps): Collect dependencies into a
41175         single variable.  Add Makefile to dependencies.
41176         ($(objpfx)bench-%.c): Depend on bench-deps.
41178 2013-04-12  Roland McGrath  <roland@hack.frob.com>
41179             Xavier Roche  <roche+kml2@exalead.com>
41181         [BZ #15361]
41182         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
41183         just that it's a file descriptor.
41184         * manual/llio.texi (Synchronizing AIO Operations): Update description
41185         for EBADF error from aio_fsync.
41187 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
41189         * Rules (bench): Move target definition...
41190         * benchtests/Makefile: ... here.
41192 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
41194         * math/libm-test.inc (cos_test): Fix PI/2 test.
41195         (sincos_test): Likewise.
41196         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
41197         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
41199 2013-04-11  Andreas Schwab  <schwab@suse.de>
41201         [BZ #13988]
41202         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
41203         accept exponent character only when digits were seen.
41204         * stdio-common/Makefile (tests): Add bug26.
41205         * stdio-common/bug26.c: New file.
41207         [BZ #14293]
41208         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
41209         non-freeable.
41211 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41213         * Makeconfig (rtld-prefix): Define built linker prefix.
41214         * Rules (run-bench): Use it.
41215         * math/Makefile (run-regen-ulps): Likewise.
41217         * Rules (bench): Remove eval.
41219 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41220             Roland McGrath  <roland@hack.frob.com>
41221             Ondrej Bilka  <neleai@seznam.cz>
41223         [BZ #15346]
41224         * time/getdate.c: Include ctype.h and alloca.h.
41225         (__getdate_r): Trim leading and trailing spaces of input.
41226         * time/tst-getdate.c (tests): Add tests with leading and
41227         trailing spaces.
41229 2013-04-08  Roland McGrath  <roland@hack.frob.com>
41231         [BZ #14280]
41232         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
41233         when computing value.
41235 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
41237         * math/README.libm-test (How can I generate "libm-test-ulps"?):
41238         Use testrun.sh to run libm tests.
41240         [BZ #15309]
41241         * elf/dl-open.c (dl_open_worker): memset all of seen array.
41243 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
41245         [BZ #15264]
41246         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
41248 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
41250         * Makefile.in (regen-ulps): New target.
41251         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
41252         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
41253         [ifneq (no,$(PERL)] (regen-ulps): New target.
41254         [ifeq (no,$(PERL)] (regen-ulps): New target.
41255         * math/libm-test.inc (ulps_file_name): Define.
41256         (output_dir): New variable.
41257         (options): Add "output-dir" option.
41258         (parse_opt): Handle 'o' case.
41259         (main): If output_dir is non-NULL use it as a prefix
41260         otherwise use "".
41261         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
41263 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
41265         [BZ #10060, #10062]
41266         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
41267         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
41268         fail configure if __sync_val_compare_and_swap is not inlined.
41269         * sysdeps/i386/configure: Regenerate.
41270         * configure.in: Build for i686 when configured for i386.
41271         * configure: Regenerate.
41272         * README: Remove i386 reference.
41274 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
41276         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
41277         * sysdeps/s390/s390-64/sysdep.h: Likewise.
41279 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
41281         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
41282         (lmsnanval): New variables.
41283         (F): Add conversion tests.
41284         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
41285         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
41287         * stdio-common/tstdiomisc.c (F): Properly collect individual
41288         tests' results.
41290         [BZ #14686, #15336]
41291         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
41292         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
41293         Instead, use input NaN values or generate a qNaN by arithmetic
41294         operation.  Also fix bugs to comply with the standard.
41295         * math/libm-test.inc (remainder_test): Add more tests.
41297         [BZ #15335, #15342]
41298         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
41299         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
41300         input NaN values or generate a qNaN by arithmetic operation.
41302         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
41303         unreachable code.
41305         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
41306         definitions.
41308 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
41310         [BZ #14478]
41311         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
41312         underflowed result.
41313         * math/s_cexpf.c (__cexpf): Likewise.
41314         * math/s_cexpl.c (__cexpl): Likewise.
41315         * math/libm-test.inc (cexp_test): Add more tests.
41317 2013-04-03  Andreas Schwab  <schwab@suse.de>
41319         [BZ #15330]
41320         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
41321         order arrays from heap if bigger than alloca cutoff.
41323 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
41325         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
41326         (SNAN_TESTS_double): Refer to GCC PR56831.
41327         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
41328         GCC PR56828.
41330 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
41332         * Rules (bench): Move bench.out after the run is complete.
41334         * Rules (bench): Echo currently running benchmark.
41336         * benchtests/Makefile (bench): Add atan and slowatan.
41337         * benchtests/atan-inputs: New file.
41338         * benchtests/slowatan-inputs: New file.
41339         * benchtests/slowatan.c: New file.
41341         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
41342         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
41343         its value.
41345         [BZ #15305]
41346         * sysdeps/unix/sysv/linux/kernel-features.h
41347         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
41348         __ASSUME_XFS_RESTRICTED_CHOWN.
41349         * sysdeps/unix/sysv/linux/pathconf.c
41350         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
41351         Save and restore errno.
41353 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
41355         [BZ #15327]
41356         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
41357         arguments using __kernel_casinh.
41358         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
41359         arguments using __kernel_casinhf.
41360         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
41361         arguments using __kernel_casinhl.
41362         * math/libm-test.inc (cacosh_test): Add more tests.
41363         * sysdeps/i386/fpu/libm-test-ulps: Update.
41364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41366 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41368         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
41369         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
41371         * bench/Makefile (bench): Add sin and slowsin.
41372         * benchtests/sin-inputs: New file.
41373         * benchtests/slowsin-inputs: New file.
41374         * benchtests/slowsin.c: New file.
41376         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
41377         (bench): Add slowexp and slowpow.
41378         (exp-ITER): Increase iterations.
41379         (pow-ITER): Likewise.
41380         * benchtests/exp-inputs: Change input.
41381         * benchtests/pow-inputs: Likewise.
41382         * benchtests/slowexp-inputs: New file.
41383         * benchtests/slowexp.c: New file.
41384         * benchtests/slowpow-inputs: New file.
41385         * benchtests/slowpow.c: New file.
41387 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41389         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
41390         instructions.
41391         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
41392         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
41393         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
41394         * benchtests/Makefile: Add rint benchtest.
41395         * benchtests/rint-inputs: Input for rint benchtest.
41397 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
41399         * Versions.def (libm): Add GLIBC_2.18.
41400         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
41401         hidden libm prototypes.
41402         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
41403         * math/Makefile (libm-calls): Add s_issignaling.
41404         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
41405         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
41406         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
41407         declaration.
41408         * math/math.h [__USE_GNU] (issignaling): New macro.
41409         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
41410         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
41411         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
41412         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
41413         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
41414         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
41415         * manual/arith.texi (issignaling): New section.
41416         * manual/libm-err-tab.pl (@all_functions): Update comment.
41417         * math/gen-libm-test.pl (parse_args): Apply special handling for
41418         issignaling.
41419         * math/libm-test.inc (print_float, issignaling_test): New
41420         functions.
41421         (check_float_internal): Add issignaling checks.
41422         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
41423         default definition.
41424         * sysdeps/powerpc/math-tests.h: New file.
41425         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
41426         tests.
41427         * math/test-snan.c (TEST_FUNC): Likewise.
41429 2013-03-30  David S. Miller  <davem@davemloft.net>
41431         * po/de.po: Update from translation team.
41433 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
41435         [BZ #10357]
41436         * math/k_casinh.c (__kernel_casinh): Handle arguments with
41437         imaginary part less than 1.0 and real part less than 0.5
41438         specially.
41439         * math/k_casinhf.c (__kernel_casinhf): Likewise.
41440         * math/k_casinhl.c (__kernel_casinhl): Likewise.
41441         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
41442         (cacos_test): Add more tests.
41443         (casin_test): Likewise.
41444         (casinh_test): Likewise.
41445         * sysdeps/i386/fpu/libm-test-ulps: Update.
41446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41448 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41450         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
41451         ONE with its value.
41453         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
41454         (__pow_mp): Replace ONE and MONE with their values.
41455         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
41456         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
41457         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
41458         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
41459         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
41460         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
41462         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
41464         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
41465         (__pow_mp): Replace ZERO and MZERO with their values.
41466         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
41467         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
41468         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
41469         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
41470         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
41471         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
41472         (__sqr): Likewise.
41474         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
41476         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
41478 2013-03-28  Roland McGrath  <roland@hack.frob.com>
41480         * include/stdlib.h [!SHARED] (__call_tls_dtors):
41481         Declare with __attribute__ ((weak)).
41482         * stdlib/exit.c (__libc_atexit) [!SHARED]:
41483         Call __call_tls_dtors only if it's not NULL.
41485 2013-03-28  Roland McGrath  <roland@hack.frob.com>
41487         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
41488         didn't do it already, then set _dl_phdr and _dl_phnum based on the
41489         magic __ehdr_start linker symbol if it's defined.
41490         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
41491         them up here if it was already done.
41493         * elf/dl-support.c (_dl_phdr): Make pointer to const.
41494         (_dl_aux_init): Use const in cast when setting it.
41495         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
41496         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
41497         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
41499         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
41500         Declare them here.
41501         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
41502         * csu/libc-tls.c: Nor here.
41503         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
41505         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
41506         (__libc_message): Never call vsyslog.
41508 2013-03-28  Alan Modra  <amodra@gmail.com>
41510         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
41511         Define as empty.
41512         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
41513         Likewise.
41515 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41517         [BZ #15214]
41518         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
41519         underflow.
41520         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41522 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41524         [BZ #15304]
41525         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
41526         Don't add gid passed as argument.
41528         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
41530 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
41532         [BZ #15307]
41533         * math/k_casinh.c (__kernel_casinh): Handle arguments with
41534         imaginary part between 1.0 and 1.5 and real part less than 0.5
41535         specially.
41536         * math/k_casinhf.c (__kernel_casinhf): Likewise.
41537         * math/k_casinhl.c (__kernel_casinhl): Likewise.
41538         * math/libm-test.inc (cacos_test): Add more tests.
41539         (casin_test): Likewise.
41540         (casinh_test): Likewise.
41541         * sysdeps/i386/fpu/libm-test-ulps: Update.
41542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41544 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41546         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
41547         constants.
41548         (norm): Likewise.
41549         (denorm): Likewise.
41550         (__dbl_mp): Likewise.
41551         (add_magnitudes): Likewise.
41552         (sub_magnitudes): Likewise.
41553         (__add): Likewise.
41554         (__sub): Likewise.
41555         (__mul): Likewise.
41556         (__sqr): Likewise.
41557         (__inv): Likewise.
41558         (__dvd): Likewise.
41560         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
41561         commented code.
41562         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
41563         (__dubcos): Likewise.
41564         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
41565         (__ieee754_acos): Likewise.
41566         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
41567         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
41568         (__exp1): Likewise.
41569         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
41570         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
41571         (log1): Likewise.
41572         (my_log2): Likewise.
41573         (checkint): Likewise.
41574         * sysdeps/ieee754/dbl-64/e_remainder.c
41575         (__ieee754_remainder): Likewise.
41576         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
41577         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
41578         (bsloww): Likewise.
41579         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
41581         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
41582         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
41583         MANTISSA_STORE_T to store computations on mantissa.  Use
41584         macros for rounding and division.
41585         (denorm): Likewise.
41586         (__dbl_mp): Likewise.
41587         (add_magnitudes): Likewise.
41588         (sub_magnitudes): Likewise.
41589         (__mul): Likewise.
41590         (__sqr): Likewise.
41591         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
41592         powers of two in terms of TWOPOW macro.
41593         (mp_no): Make type of mantissa as MANTISSA_T.
41594         [!RADIXI]: Define RADIXI.
41595         [!TWO52]: Define TWO52.
41596         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
41598 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41600         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
41601         llroundl symbol when building for PPC32.
41603 2013-03-24  Mark H Weaver  <mhw@netris.org>
41605         * manual/arith.texi (Normalization Functions): Fix prototypes for
41606         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
41608 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41610         [BZ #13889]
41611         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
41612         high value to check if expl overflow.
41613         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
41614         to check for underflow and overflow.
41615         * math/libm-test.inc: Add exp test.
41617 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
41619         [BZ #11120]
41620         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
41621         with NOT_IN_libc.
41623 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41625         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
41626         symbol.
41628 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
41630         * math/gen-libm-test.pl (parse_args, special_functions): Properly
41631         wrap blocks consisting of several statements.
41633         * sysdeps/generic/math-tests.h: New file.
41634         * sysdeps/i386/fpu/math-tests.h: Likewise.
41635         * math/test-snan.c: Include it.
41636         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
41638 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
41640         [BZ #15285]
41641         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
41642         (__ieee754_j0l): Do not improve calculations using cos of twice
41643         input for inputs above LDBL_MAX / 2.0L.
41644         (__ieee754_y0l): Likewise.
41645         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
41646         (__ieee754_j1l): Do not improve calculations using cos of twice
41647         input for inputs above LDBL_MAX / 2.0L.
41648         (__ieee754_y1l): Likewise.
41649         * math/libm-test.inc (j0_test): Add another test.
41650         (j1_test): Likewise.
41651         (y0_test): Likewise.
41652         (y1_test): Likewise.
41653         * sysdeps/i386/fpu/libm-test-ulps: Update.
41655 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41657         * Rules ($(objpfx)bench-%.c): Include code from a C source
41658         file.
41660 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
41662         [BZ #15287]
41663         * math/k_casinh.c (__kernel_casinh): Handle arguments with
41664         imaginary part 1.0 and real part less than 0.5 specially.
41665         * math/k_casinhf.c (__kernel_casinhf): Likewise.
41666         * math/k_casinhl.c (__kernel_casinhl): Likewise.
41667         * math/libm-test.inc (cacos_test): Add more tests.
41668         (casin_test): Likewise.
41669         (casinh_test): Likewise.
41670         * sysdeps/i386/fpu/libm-test-ulps: Update.
41671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41673 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41675         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
41676         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
41678 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
41680         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
41681         * config.make.in (config-cflags-sse4): Remove variable.
41682         (config-cflags-avx): Likewise.
41683         (config-cflags-sse2avx): Likewise.
41684         (config-cflags-novzeroupper): Likewise.
41685         (config-asflags-i686): Likewise.
41686         (have-mfma4): Likewise.
41687         (have-as-vis3): Likewise.
41688         (MIG): Likewise.
41689         * configure.in (MIG): Do not AC_SUBST.
41690         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
41691         (libc_cv_cc_sse4): Do not AC_SUBST.
41692         (libc_cv_cc_avx): Likewise.
41693         (libc_cv_cc_sse2avx): Likewise.
41694         (libc_cv_cc_novzeroupper): Likewise.
41695         (libc_cv_cc_fma4): Likewise.
41696         (libc_cv_as_i686): Likewise.
41697         (libc_cv_sparc_as_vis3): Likewise.
41698         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
41699         LIBC_CONFIG_VAR.
41700         (config-asflags-i686): Likewise.
41701         (config-cflags-avx): Likewise.
41702         (config-cflags-sse2avx): Likewise.
41703         (have-mfma4): Likewise.
41704         (config-cflags-novzeroupper): Likewise.
41705         * sysdeps/mach/configure.in (MIG): Likewise.
41706         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
41707         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
41708         LIBC_CONFIG_VAR.
41709         (config-cflags-avx): Likewise.
41710         (config-cflags-sse2avx): Likewise.
41711         (have-mfma4): Likewise.
41712         (config-cflags-novzeroupper): Likewise.
41713         * configure: Regenerated.
41714         * sysdeps/i386/configure: Likewise.
41715         * sysdeps/mach/configure: Likewise.
41716         * sysdeps/sparc/configure: Likewise.
41717         * sysdeps/x86_64/configure: Likewise.
41719 2013-03-20  Roland McGrath  <roland@hack.frob.com>
41721         [BZ #14812]
41722         * locale/programs/localedef.c (options): Put N_ translation marker
41723         on argument names, not just descriptions.
41725 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41727         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
41729 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
41731         [BZ #14176]
41732         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
41734 2013-03-19  Roland McGrath  <roland@hack.frob.com>
41736         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
41737         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
41738         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
41739         [!BEFORE_ABORT] (before_abort): New function.
41740         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
41741         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
41742         (writev_for_fatal): New function.
41743         (WRITEV_FOR_FATAL): New macro; call that.
41744         (backtrace_and_maps): New function.
41745         (BEFORE_ABORT): New macro; call that.
41746         (struct str_list): Type removed.
41747         (__libc_message, __libc_fatal): Functions removed.
41748         Include <sysdeps/posix/libc_fatal.c> instead.
41750 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
41752         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
41753         constants.
41754         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
41755         double constants.
41757 2013-03-19  Andreas Schwab  <schwab@suse.de>
41759         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
41760         * sysdeps/gnu/configure: Regenerate.
41762         * configure.in: Substitute libc_cv_rtlddir.
41763         * configure: Regenerate.
41764         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
41765         * Makeconfig (rtlddir, inst_rtlddir): New variables.
41766         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
41767         * elf/Makefile (install-others, CFLAGS-interp.c)
41768         (ldso_install, common-ldd-rewrite): Likewise.
41769         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
41770         $(inst_slibdir)/$(rtld-installed-name).
41771         * scripts/rellns-sh: Add -p option.
41772         * Makerules (make-shlib-link): Use rellns-sh to get relative name
41773         for source.
41775 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41777         * manual/nptl.texi: Renamed to ...
41778         * manual/threads.texi: ... this.
41779         * manual/Makefile (chapters): Update.
41781 2013-03-18  Roland McGrath  <roland@hack.frob.com>
41783         [BZ #14812]
41784         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
41785         on argument names, not just descriptions.
41786         * malloc/memusagestat.c (options): Likewise.
41787         * nss/getent.c (options): Likewise.
41789 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
41791         [BZ #14812]
41792         * iconv/iconv_prog.c (options): Put N_ translation marker
41793         on argument names, not just descriptions.
41794         * iconv/iconvconfig.c (options): Likewise.
41796 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
41798         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
41799         implementation which is faster on all x86_64 architectures.
41800         Tested on AMD, Intel Nehalem, SNB, IVB.
41801         * sysdeps/x86_64/strnlen.S: Likewise.
41803         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
41804         Remove all multiarch strlen and strnlen versions.
41805         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
41806         Remove strlen and strnlen related parts.
41808         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
41809         Inline strlen part.
41810         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
41812         * sysdeps/x86_64/multiarch/strlen.S: Remove.
41813         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
41814         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
41815         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
41816         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
41817         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
41819 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
41821         * manual/memory.texi (Malloc Tunable Parameters):
41822         Sort parameters alphabetically. Add comments for missing entries.
41824 2013-03-17  David S. Miller  <davem@davemloft.net>
41826         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41828 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
41830         [BZ #15283]
41831         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
41832         for arguments at most half maximum finite value.
41833         * math/libm-test.inc (j0_test): Add more tests.
41834         (j1_test): Likewise.
41835         (y0_test): Likewise.
41836         (y1_test): Likewise.
41837         * sysdeps/i386/fpu/libm-test-ulps: Update.
41838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41840         [BZ #14155]
41841         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
41842         1 / x and functions P and Q for arguments above 0x1p256L.
41843         (__ieee754_y0l): Likewise.
41844         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
41845         (__ieee754_y1l): Likewise.
41846         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
41847         (j1_test): Likewise.
41848         (y0_test): Likewise.
41849         (y1_test): Likewise.
41851 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
41853         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
41854         variable.
41856 2013-03-15  Roland McGrath  <roland@hack.frob.com>
41858         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
41859         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
41860         zero since it's initialized to EXEC_PAGESIZE.
41862         * sysdeps/unix/sysv/linux/ldsodefs.h
41863         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
41864         * sysdeps/generic/ldsodefs.h: ... here.
41866 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
41868         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
41870         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
41871         math/test-snan.c.
41872         * math/test-snan.c: Renamed from
41873         sysdeps/powerpc/fpu/test-powerpc-snan.c.
41874         * math/Makefile (tests): Add test-snan.
41875         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
41876         test-powerpc-snan.
41878         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
41879         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
41880         functions.
41881         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
41882         __builtin_nan family of functions.
41883         * math/libm-test.inc (initialize): Initialize qnan_value with
41884         __builtin_nan family of functions.
41885         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
41886         Remove variables.
41887         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
41888         Remove functions.
41889         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
41890         storage class.  Initialize qNaN_var and sNaN_var with
41891         __builtin_nan and __builtin_nans families of functions,
41892         respectively.
41894         * math/libm-test.inc (acosh_test): Also test with qNaN input.
41895         (sqrt_test): Remove duplicate test with qNaN input.
41896         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
41897         (round_test, signbit_test, significand_test): Note missing +/-Inf
41898         as well as qNaN tests.
41900         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
41901         qNaN_var.  Fix a few strings, too.
41902         * math/libm-test.inc (nan_value): Rename to qnan_value.
41903         * math/gen-libm-test.pl (%beautify): Adjust to that.
41904         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
41905         * math/test-misc.c (main): Likewise.
41906         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
41907         to __qnan_bytes, and __qnan_union, respectively.
41908         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
41909         Likewise.
41910         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
41911         and lqnanval, respectively.
41912         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
41913         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
41914         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
41915         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
41917         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
41918         * math/test-misc.c (main) [__x86_64__]: Enable test for long
41919         doubles.
41921         * math/test-misc.c (main): Fix copy'n'pastos.
41922         * misc/tst-efgcvt.c (special): Likewise.
41924         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
41925         Remove declarations.
41927 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41929         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
41930         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
41931         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
41932         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
41934 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41936         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
41937         macro to return vdso values correctly in IFUNC implementations.
41938         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
41939         Optimization by using IFUNC.
41941 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41942             Richard Henderson  <rth@redhat.com>
41943             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41945         * Makefile.in (bench): New target.
41946         * NEWS: Mention the benchmark framework.
41947         * Rules (bench): Likewise.
41948         (binaries-bench): Generate binaries for functions to
41949         benchmark.
41950         * benchtests/Makefile: New makefile for benchmark tests.
41951         * benchtests/bench-skeleton.c: New skeleton file for benchmark
41952         programs.
41953         * benchtests/exp-inputs: New input file for EXP function.
41954         * benchtests/pow-inputs: New input file for POW function.
41955         * scripts/bench.pl: New script to generate source files for
41956         benchmark programs.
41958 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41960         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
41961         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
41962         computations on mantissa.  Use macros for rounding and
41963         division.
41964         (denorm): Likewise.
41965         (__dbl_mp): Likewise.
41966         (add_magnitudes): Likewise.
41967         (sub_magnitudes): Likewise.
41968         (__mul): Likewise.
41969         (__sqr): Likewise.
41970         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
41971         powers of two in terms of TWOPOW macro.
41972         (mp_no): Make type of mantissa as MANTISSA_T.
41973         [!RADIXI]: Define RADIXI.
41974         [!TWO52]: Define TWO52.
41975         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
41977         * manual/nptl.texi (cindex): Modify threads to pthreads.
41979 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
41981         * sysdeps/x86_64/preconfigure: Regenerated.
41983 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
41985         [BZ #14155]
41986         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
41987         0x1p28 and above.
41988         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
41989         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
41990         0x1p28 and above.
41991         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
41992         * math/libm-test.inc (j0_test): Do not allow one spurious
41993         underflow exception.
41994         (y1_test): Likewise.
41996 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
41998         * manual/Makefile (chapters): Add nptl.
41999         * manual/debug.texi (Debugging Support): Add link to Threads
42000         chapter.
42001         * manual/nptl.texi: New file.
42003         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
42005 2013-03-14  Petr Baudis  <pasky@ucw.cz>
42007         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
42008         for non-NULL pointer before the memory validity test. Pointed
42009         out by Holger Brunck <holger.brunck@keymile.com>.
42011 2013-03-13  Andreas Schwab  <schwab@suse.de>
42013         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
42014         instead of .os.
42016 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
42018         * timezone/zic.c: Update from tzcode 2013b.
42020 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
42022         * manual/install.texi (Configuring and compiling):
42023         Mention i686 and i586.
42024         * INSTALL: Regenerate.
42026 2013-03-12  Roland McGrath  <roland@hack.frob.com>
42028         * sysdeps/init_array/elf-init.c: New file.
42029         * csu/elf-init.c
42030         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
42031         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
42033         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
42034         __gmon_start__ as global, but as static with a .preinit_array pointer.
42035         * sysdeps/init_array/gmon-start.c: New file.  Use that.
42036         * sysdeps/init_array/crti.S: New file, empty except for comments.
42037         * sysdeps/init_array/crtn.S: Likewise.
42039 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
42041         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
42042         definining bcopy.
42043         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42044         Remove Prefer_SSE_for_memop.
42045         * sysdeps/x86_64/multiarch/init-arch.h: Remove
42046         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
42047         HAS_PREFER_SSE_FOR_MEMOP.
42048         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
42049         memset-x86-64.
42050         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
42051         Remove bzero, memset ifunc support.
42052         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
42053         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
42054         * sysdeps/x86_64/multiarch/memset.S: Likewise.
42055         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
42057 2013-03-11  Andreas Schwab  <schwab@suse.de>
42059         [BZ #15234]
42060         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
42061         by SHLIB_COMPAT.
42062         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
42063         (GLIBC_2.16): Remove pthread_atfork.
42065 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
42067         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
42068         (ptestcases.h): Likewise.
42070 2013-03-08  Roland McGrath  <roland@hack.frob.com>
42072         * Makeconfig ($(common-objpfx)config.status): Depend on
42073         sysdeps/*/preconfigure{,.in} too.
42075 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
42077         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
42078         (__free_hook): Use void * instead of __malloc_ptr_t.
42079         (__malloc_hook): Likewise.
42080         (__realloc_hook): Likewise.
42081         (__memalign_hook): Likewise.
42082         (__after_morecore_hook): Likewise.
42083         * malloc/arena.c (save_malloc_hook): Likewise.
42084         (save_free_hook): Likewise.
42085         * malloc/hooks.c (malloc_hook_ini): Likewise.
42086         (realloc_hook_ini): Likewise.
42087         (memalign_hook_ini): Likewise.
42088         * malloc/malloc.c (malloc_hook_ini): Likewise.
42089         (realloc_hook_ini): Likewise.
42090         (memalign_hook_ini): Likewise.
42091         (__free_hook): Likewise.
42092         (__malloc_hook): Likewise.
42093         (__realloc_hook): Likewise.
42094         (__memalign_hook): Likewise.
42095         (__libc_malloc): Likewise.
42096         (__libc_free): Likewise.
42097         (__libc_realloc): Likewise.
42098         (__libc_memalign): Likewise.
42099         (__libc_valloc): Likewise.
42100         (__libc_pvalloc): Likewise.
42101         (__libc_calloc): Likewise.
42102         (__posix_memalign): Likewise.
42103         * malloc/morecore.c (__sbrk): Likewise.
42104         (__default_morecore): Likewise.
42106         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
42108         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
42109         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
42110         __malloc_ptrdiff_t.
42112         * malloc/malloc.h (__malloc_size_t): Remove macro.
42113         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
42114         __malloc_size_t.
42115         (old_memalign_hook): Likewise.
42116         (old_realloc_hook): Likewise.
42117         (struct hdr): Likewise.
42118         (flood): Likewise.
42119         (mallochook): Likewise.
42120         (memalignhook): Likewise.
42121         (reallochook): Likewise.
42122         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
42123         (tr_old_realloc_hook): Likewise.
42124         (tr_old_memalign_hook): Likewise.
42125         (tr_mallochook): Likewise.
42126         (tr_reallochook): Likewise.
42127         (tr_memalignhook): Likewise.
42129 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42131         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
42132         default_ldbl_pack and using as default implementation.
42133         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
42134         implementation.
42135         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
42136         redundant definition.
42137         (ldbl_insert_mantissa): Likewise.
42138         (ldbl_canonicalize): Likewise.
42139         (ldbl_nearbyint): Likewise.
42140         (ldbl_pack): Rename to ldbl_pack_ppc.
42141         (ldbl_unpack): Rename to ldbl_unpack_ppc.
42142         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
42143         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
42145 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
42147         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
42148         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
42149         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
42150         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
42151         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
42152         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
42153         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
42154         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
42156 2013-03-07  Andreas Jaeger  <aj@suse.de>
42158         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42159         bits/mman-linux.h.
42161 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
42163         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
42164         Include mpa.h and declare __MPEXP.
42165         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
42166         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
42167         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
42168         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
42169         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
42170         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
42171         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
42173         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
42174         (__slowpow): Use long double EXPL and LOGL functions to
42175         compute POW.
42176         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
42177         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
42178         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
42179         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
42180         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
42181         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
42183         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
42184         intermediate variable to calculate exponent.
42185         (__sqr): Likewise.
42186         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
42187         Likewise.
42188         (__sqr): Likewise.
42190         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
42191         [!NO__SQR]: Define __sqr.
42192         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
42193         and NO__SQR.  Remove all code except __mul and __sqr.  Include
42194         sysdeps/ieee754/dbl-64/mpa.c.
42195         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
42197         [BZ #12723]
42198         * posix/Makefile (tests): Add tst-pathconf.
42199         * posix/tst-pathconf.c: New test case.
42200         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
42201         _PC_PIPE_BUF.
42202         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
42204 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
42206         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
42208 2013-03-06  Andreas Jaeger  <aj@suse.de>
42210         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
42211         definition via __MAP_ANONYMOUS.
42213         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
42214         it's not part of Linux headers.
42216         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
42217         (MAP_HUGE_MASK): Define.
42219         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
42220         Define.
42221         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
42222         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
42223         Define.
42224         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
42225         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
42226         Define.
42227         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
42228         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
42229         Define.
42230         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
42232         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
42233         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
42234         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
42235         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
42236         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
42237         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
42239         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42240         Handle f2fs.
42242         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42243         Handle f2fs and efivarfs.
42245         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
42246         f2fs.
42248         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
42249         (EFIVARFS_MAGIC): Add.
42250         (F2FS_LINK_MAX): Add.
42252 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
42254         * stdio-common/vfprintf.c: Replace __builtin_expect with
42255         __glibc_unlikely.
42257 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
42259         [BZ #13550]
42260         * sysdeps/generic/bp-sym.h: Remove file.
42261         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
42262         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
42263         <bp-sym.h> and <bp-asm.h>.
42264         (__longjmp): Don't use BP_SYM.
42265         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
42266         and <bp-asm.h>.
42267         (memcpy): Don't use BP_SYM.
42268         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
42269         <bp-sym.h> and <bp-asm.h>.
42270         (memcpy): Don't use BP_SYM.
42271         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
42272         <bp-asm.h>.
42273         (memcpy): Don't use BP_SYM.
42274         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
42275         <bp-asm.h>.
42276         (memset): Don't use BP_SYM.
42277         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
42278         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
42279         (__bzero): Don't use BP_SYM.
42280         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
42281         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
42282         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
42283         <bp-sym.h> and <bp-asm.h>.
42284         (memcmp): Don't use BP_SYM.  Remove comment about bounded
42285         pointers.
42286         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
42287         <bp-sym.h> and <bp-asm.h>.
42288         (memcpy): Don't use BP_SYM.
42289         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
42290         <bp-sym.h> and <bp-asm.h>.
42291         (memset): Don't use BP_SYM.
42292         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
42293         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
42294         (__bzero): Don't use BP_SYM.
42295         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
42296         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
42297         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
42298         <bp-sym.h> and <bp-asm.h>.
42299         (strncmp): Don't use BP_SYM.  Remove comment about bounded
42300         pointers.
42301         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
42302         <bp-sym.h> and <bp-asm.h>.
42303         (memcpy): Don't use BP_SYM.
42304         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
42305         <bp-sym.h> and <bp-asm.h>.
42306         (memset): Don't use BP_SYM.
42307         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
42308         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
42309         (__bzero): Don't use BP_SYM.
42310         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
42311         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
42312         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
42313         <bp-sym.h> and <bp-asm.h>.
42314         (__memchr): Don't use BP_SYM.
42315         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
42316         <bp-sym.h> and <bp-asm.h>.
42317         (memcmp): Don't use BP_SYM.  Remove comment about bounded
42318         pointers.
42319         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
42320         <bp-sym.h> and <bp-asm.h>.
42321         (memcpy): Don't use BP_SYM.
42322         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
42323         <bp-sym.h> and <bp-asm.h>.
42324         (__mempcpy): Don't use BP_SYM.
42325         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
42326         <bp-sym.h> and <bp-asm.h>.
42327         (__memrchr): Don't use BP_SYM.
42328         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
42329         <bp-sym.h> and <bp-asm.h>.
42330         (memset): Don't use BP_SYM.
42331         (__bzero): Likewise.
42332         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
42333         <bp-sym.h> and <bp-asm.h>.
42334         (__rawmemchr): Don't use BP_SYM.
42335         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
42336         <bp-sym.h> and <bp-asm.h>.
42337         (__STRCMP): Don't use BP_SYM.
42338         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
42339         <bp-sym.h> and <bp-asm.h>.
42340         (strchr): Don't use BP_SYM.
42341         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
42342         <bp-sym.h> and <bp-asm.h>.
42343         (__strchrnul): Don't use BP_SYM.
42344         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
42345         <bp-sym.h> and <bp-asm.h>.
42346         (strlen): Don't use BP_SYM.
42347         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
42348         <bp-sym.h> and <bp-asm.h>.
42349         (strncmp): Don't use BP_SYM.  Remove comment about bounded
42350         pointers.
42351         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
42352         <bp-sym.h> and <bp-asm.h>.
42353         (__strnlen): Don't use BP_SYM.
42354         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
42355         <bp-sym.h> and <bp-asm.h>.
42356         (__GI__setjmp): Don't use BP_SYM.
42357         (_setjmp): Likewise.
42358         (__sigsetjmp): Likewise.
42359         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
42360         (L(start_addresses)): Don't use BP_SYM.
42361         (_start): Likewise.
42362         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
42363         <bp-asm.h>.
42364         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
42365         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
42366         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
42367         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
42368         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
42369         <bp-asm.h>.
42370         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
42371         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
42372         about bounded pointers.
42373         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
42374         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
42375         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
42376         <bp-asm.h>.
42377         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
42378         about bounded pointers.  Remove GKM FIXME comments.
42379         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
42380         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
42381         <bp-asm.h>.
42382         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
42383         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
42384         Remove GKM FIXME comments.
42385         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
42386         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
42387         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
42388         <bp-asm.h>.
42389         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
42390         about bounded pointers.  Remove GKM FIXME comment.
42391         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
42392         and <bp-asm.h>.
42393         (strncmp): Don't use BP_SYM.  Remove comment about bounded
42394         pointers.
42395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
42396         <bp-sym.h> and <bp-asm.h>.
42397         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
42398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
42399         <bp-sym.h> and <bp-asm.h>.
42400         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
42401         comment.
42403 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
42405         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
42406         call free(NULL).
42408 2013-03-05  David S. Miller  <davem@davemloft.net>
42410         * po/es.po: Update from translation team.
42412 2013-03-05  Andreas Jaeger  <aj@suse.de>
42414         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
42415         <bits/mman-linux.h>.
42416         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
42417         is fine.
42418         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
42419         <bits/mman-linux.h> to end of file.
42420         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
42421         is fine.
42422         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
42423         <bits/mman-linux.h> to end of file.
42424         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
42425         is fine.
42426         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
42427         <bits/mman-linux.h> to end of file.
42429         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
42430         (MCL_CURRENT, MCL_FUTURE): Define here.
42432 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42434         [BZ #15232]
42435         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
42436         attribute_hidden.
42437         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
42439 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42441         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
42442         fourth parameter needed for rt_sigprocmask syscall.
42443         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
42444         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
42445         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
42446         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
42447         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
42448         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
42450 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
42452         [BZ #13550]
42453         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
42454         comment about bounded pointers.
42455         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
42456         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
42458 2013-03-04  Andreas Jaeger  <aj@suse.de>
42460         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
42461         common definitions.
42463         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
42464         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
42465         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
42466         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42467         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
42468         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42470 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42472         [BZ #15055]
42473         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
42474         __ieee754_sqrl instead of __sqrl.
42476 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
42478         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
42479         * sysdeps/powerpc/fpu_control.h: ... here.
42480         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
42481         * sysdeps/powerpc/bits/fenvinline.h: ... here.
42482         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
42483         * sysdeps/powerpc/bits/mathinline.h: ... here.
42485 2013-03-01  Roland McGrath  <roland@hack.frob.com>
42487         * elf/dl-hwcaps.c (_dl_important_hwcaps):
42488         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
42489         to just [NEED_DL_SYSINFO_DSO].
42490         * elf/dl-support.c: Likewise.
42491         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
42492         * elf/rtld.c (dl_main): Likewise.
42493         * elf/setup-vdso.h (setup_vdso): Likewise.
42494         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
42495         * sysdeps/unix/sysv/linux/dl-sysdep.c
42496         (_dl_discover_osversion): Likewise.
42498 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
42500         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
42501         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
42503 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
42505         * NEWS: Mention libm performance improvements and non-x86 PI
42506         futex support.
42508         * csu/libc-start.c (__pthread_initialize_minimal): Change
42509         function arguments.
42510         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
42512 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
42514         [BZ #13550]
42515         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
42516         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
42517         <bp-sym.h> and <bp-asm.h>.
42518         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
42519         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
42520         and <bp-asm.h>.
42521         (memcpy): Don't use BP_SYM.
42522         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
42523         <bp-asm.h>.
42524         (__mpn_add_n): Don't use BP_SYM.
42525         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
42526         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
42527         and <bp-asm.h>.
42528         (__mpn_addmul_1): Don't use BP_SYM.
42529         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
42530         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
42531         <bp-sym.h>.
42532         (_setjmp): Don't use BP_SYM.
42533         (__novmx_setjmp): Likewise.
42534         (__GI__setjmp): Likewise.
42535         (__vmx_setjmp): Likewise.
42536         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
42537         <bp-sym.h>.
42538         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
42539         (__bzero): Don't use BP_SYM.
42540         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
42541         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
42542         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
42543         <bp-sym.h> and <bp-asm.h>.
42544         (memcpy): Don't use BP_SYM.
42545         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
42546         <bp-sym.h> and <bp-asm.h>.
42547         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
42548         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
42549         <bp-sym.h> and <bp-asm.h>.
42550         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
42551         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
42552         <bp-asm.h>.
42553         (__mpn_lshift): Don't use BP_SYM.
42554         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
42555         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
42556         <bp-asm.h>.
42557         (memset): Don't use BP_SYM.
42558         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
42559         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
42560         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
42561         <bp-asm.h>.
42562         (__mpn_mul_1): Don't use BP_SYM.
42563         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
42564         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
42565         <bp-sym.h> and <bp-asm.h>.
42566         (memcmp): Don't use BP_SYM.
42567         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
42568         <bp-sym.h> and <bp-asm.h>.
42569         (memcpy): Don't use BP_SYM.
42570         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
42571         <bp-sym.h> and <bp-asm.h>.
42572         (memset): Don't use BP_SYM.
42573         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
42574         <bp-sym.h> and <bp-asm.h>.
42575         (strncmp): Don't use BP_SYM.
42576         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
42577         <bp-sym.h> and <bp-asm.h>.
42578         (memcpy): Don't use BP_SYM.
42579         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
42580         <bp-sym.h> and <bp-asm.h>.
42581         (memset): Don't use BP_SYM.
42582         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
42583         <bp-sym.h> and <bp-asm.h>.
42584         (__memchr): Don't use BP_SYM.
42585         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
42586         <bp-sym.h> and <bp-asm.h>.
42587         (memcmp): Don't use BP_SYM.
42588         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
42589         <bp-sym.h> and <bp-asm.h>.
42590         (memcpy): Don't use BP_SYM.
42591         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
42592         <bp-sym.h> and <bp-asm.h>.
42593         (__mempcpy): Don't use BP_SYM.
42594         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
42595         <bp-sym.h> and <bp-asm.h>.
42596         (__memrchr): Don't use BP_SYM.
42597         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
42598         <bp-sym.h> and <bp-asm.h>.
42599         (memset): Don't use BP_SYM.
42600         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
42601         <bp-sym.h> and <bp-asm.h>.
42602         (__rawmemchr): Don't use BP_SYM.
42603         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
42604         <bp-sym.h> and <bp-asm.h>.
42605         (__STRCMP): Don't use BP_SYM.
42606         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
42607         <bp-sym.h> and <bp-asm.h>.
42608         (strchr): Don't use BP_SYM.
42609         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
42610         <bp-sym.h> and <bp-asm.h>.
42611         (__strchrnul): Don't use BP_SYM.
42612         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
42613         <bp-sym.h> and <bp-asm.h>.
42614         (strlen): Don't use BP_SYM.
42615         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
42616         <bp-sym.h> and <bp-asm.h>.
42617         (strncmp): Don't use BP_SYM.
42618         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
42619         <bp-sym.h> and <bp-asm.h>.
42620         (__strnlen): Don't use BP_SYM.
42621         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
42622         <bp-asm.h>.
42623         (__mpn_rshift): Don't use BP_SYM.
42624         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
42625         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
42626         <bp-sym.h> and <bp-asm.h>.
42627         (__sigsetjmp): Don't use BP_SYM.
42628         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
42629         (L(start_addresses)): Don't use BP_SYM.
42630         (_start): Likewise.
42631         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
42632         <bp-asm.h>.
42633         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
42634         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
42635         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
42636         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
42637         <bp-asm.h>.
42638         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
42639         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
42640         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
42641         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
42642         <bp-asm.h>.
42643         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
42644         comments.
42645         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
42646         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
42647         <bp-asm.h>.
42648         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
42649         FIXME comments.
42650         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
42651         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
42652         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
42653         <bp-asm.h>.
42654         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
42655         comment.
42656         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
42657         and <bp-asm.h>.
42658         (strncmp): Don't use BP_SYM,
42659         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
42660         <bp-asm.h>.
42661         (__mpn_sub_n): Don't use BP_SYM.
42662         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
42663         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
42664         and <bp-asm.h>.
42665         (__mpn_submul_1): Don't use BP_SYM.
42666         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
42667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
42668         <bp-sym.h> and <bp-asm.h>.
42669         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
42670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
42671         <bp-sym.h> and <bp-asm.h>.
42672         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
42673         comment.
42675 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42677         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
42678         Use ZK to minimize writes to Z.
42679         (sub_magnitudes): Simplify code a bit.
42680         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
42681         Use ZK to minimize writes to Z.
42682         (sub_magnitudes): Simplify code a bit.
42684 2013-02-27  Roland McGrath  <roland@hack.frob.com>
42686         * csu/gmon-start.c: Add special exception to license text.
42688 2013-02-27  Richard Henderson  <rth@redhat.com>
42690         * scripts/config.guess: Update from config.git.
42691         * scripts/config.sub: Likewise.
42693 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
42695         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
42697         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
42699         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
42701         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
42703         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
42705 2013-02-26  Roland McGrath  <roland@hack.frob.com>
42707         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
42708         [$(build-shared = yes].
42710 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42712         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
42713         (__mul): Reduce iterations for calculating mantissa.
42715         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
42716         MPTWO.
42717         (__mpranred): Likewise.
42719         [BZ #15160]
42720         * malloc/memusagestat.c (main): Draw graphs for heap and stack
42721         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
42723 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
42725         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
42726         Define __attribute__.
42728 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42730         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
42731         unused.
42732         * posix/regex_internal.h (__attribute): Remove.
42733         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
42734         (re_string_context_at): Likewise.
42735         (bitset_not): Use __attribute__ and mark function as possibly
42736         unused.
42737         (bitset_merge): Likewise.
42738         (bitset_mask): Likewise.
42739         (re_string_char_size_at): Likewise.
42740         (re_string_wchar_at): Likewise.
42741         (re_string_elem_size_at): Likewise.
42743 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42745         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
42746         code.
42747         (cc32): Likewise.
42749         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
42750         (__acr): Likewise.
42751         (__cpy): Likewise.
42752         (norm): Likewise.
42753         (denorm): Likewise.
42754         (__dbl_mp): Likewise.
42755         (add_magnitudes): Likewise.
42756         (sub_magnitudes): Likewise.
42757         (__mul): Likewise.
42758         (__inv): Likewise.
42760         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
42761         style.
42763         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
42764         style.
42766         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
42767         code.
42769         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
42770         up changes with default code.
42771         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
42772         Likewise.
42774 2013-02-24  Allan McRae  <allan@archlinux.org>
42776         * manual/socket.texi (The Internet Namespace): Order menu items
42777         to match that in the file.
42779         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
42780         node listing of the info page menu.
42782 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
42784         [BZ #13550]
42785         * sysdeps/i386/bp-asm.h: Remove file.
42786         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
42787         (PARMS): Do not use macros from bp-asm.h.
42788         (S1): Likewise.
42789         (S2): Likewise.
42790         (SIZE): Likewise.
42791         (__mpn_add_n): Do not use BP_SYM
42792         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
42793         "bp-asm.h".
42794         (PARMS): Do not use macros from bp-asm.h.
42795         (S1): Likewise.
42796         (SIZE): Likewise.
42797         (__mpn_addmul_1): Do not use BP_SYM
42798         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
42799         "bp-asm.h".
42800         (PARMS): Do not use macros from bp-asm.h.
42801         (SIGMSK): Likewise.
42802         (_setjmp): Likewise.  Do not use BP_SYM.
42803         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
42804         "bp-asm.h".
42805         (PARMS): Do not use macros from bp-asm.h.
42806         (SIGMSK): Likewise.
42807         (setjmp): Likewise.  Do not use BP_SYM.
42808         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
42809         "bp-asm.h".
42810         (PARMS): Do not use macros from bp-asm.h.
42811         (__frexp): Do not use BP_SYM.
42812         (frexp): Likewise.
42813         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
42814         "bp-asm.h".
42815         (PARMS): Do not use macros from bp-asm.h.
42816         (__frexpf): Do not use BP_SYM.
42817         (frexpf): Likewise.
42818         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
42819         "bp-asm.h".
42820         (PARMS): Do not use macros from bp-asm.h.
42821         (__frexpl): Do not use BP_SYM.
42822         (frexpl): Likewise.
42823         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
42824         "bp-asm.h".
42825         (PARMS): Do not use macros from bp-asm.h.
42826         (__remquo): Do not use BP_SYM.
42827         (remquo): Likewise.
42828         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
42829         "bp-asm.h".
42830         (PARMS): Do not use macros from bp-asm.h.
42831         (__remquof): Do not use BP_SYM.
42832         (remquof): Likewise.
42833         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
42834         "bp-asm.h".
42835         (PARMS): Do not use macros from bp-asm.h.
42836         (__remquol): Do not use BP_SYM.
42837         (remquol): Likewise.
42838         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
42839         "bp-asm.h".
42840         (PARMS): Do not use macros from bp-asm.h.
42841         (DEST): Likewise.
42842         (SRC): Likewise.
42843         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
42844         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
42845         "bp-asm.h".
42846         (PARMS): Do not use macros from bp-asm.h.
42847         (strlen): Do not use BP_SYM.
42848         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
42849         "bp-asm.h".
42850         (PARMS): Do not use macros from bp-asm.h.
42851         (S1): Likewise.
42852         (S2): Likewise.
42853         (SIZE): Likewise.
42854         (__mpn_add_n): Do not use BP_SYM.
42855         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
42856         "bp-asm.h".
42857         (PARMS): Do not use macros from bp-asm.h.
42858         (S1): Likewise.
42859         (SIZE): Likewise.
42860         (__mpn_addmul_1): Do not use BP_SYM.
42861         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
42862         weak_alias.
42863         (bzero): Likewise.
42864         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
42865         "bp-asm.h".
42866         (PARMS): Do not use macros from bp-asm.h.
42867         (S): Likewise.
42868         (SIZE): Likewise.
42869         (__mpn_lshift): Do not use BP_SYM.
42870         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
42871         "bp-asm.h".
42872         (PARMS): Do not use macros from bp-asm.h.
42873         (DEST): Likewise.
42874         (SRC): Likewise.
42875         (LEN): Likewise.
42876         (memcpy): Likewise.  Do not use BP_SYM.
42877         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
42878         libc_hidden_def and weak_alias.
42879         (mempcpy): Do not use BP_SYM in weak_alias.
42880         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
42881         "bp-asm.h".
42882         (PARMS): Do not use macros from bp-asm.h.
42883         (DEST): Likewise.
42884         (LEN): Likewise.
42885         [!BZERO_P] (CHR): Likewise.
42886         (memset): Likewise.  Do not use BP_SYM.
42887         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
42888         "bp-asm.h".
42889         (PARMS): Do not use macros from bp-asm.h.
42890         (S1): Likewise.
42891         (SIZE): Likewise.
42892         (__mpn_mul_1): Do not use BP_SYM.
42893         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
42894         "bp-asm.h".
42895         (PARMS): Do not use macros from bp-asm.h.
42896         (S): Likewise.
42897         (SIZE): Likewise.
42898         (__mpn_rshift): Do not use BP_SYM.
42899         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
42900         "bp-asm.h".
42901         (PARMS): Do not use macros from bp-asm.h.
42902         (STR): Likewise.
42903         (CHR): Likewise.
42904         (strchr): Likewise.  Do not use BP_SYM.
42905         (index): Do not use BP_SYM in weak_alias.
42906         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
42907         "bp-asm.h".
42908         (PARMS): Do not use macros from bp-asm.h.
42909         (DEST): Likewise.
42910         (SRC): Likewise.
42911         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
42912         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
42913         "bp-asm.h".
42914         (PARMS): Do not use macros from bp-asm.h.
42915         (strlen): Do not use BP_SYM.
42916         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
42917         "bp-asm.h".
42918         (PARMS): Do not use macros from bp-asm.h.
42919         (S1): Likewise.
42920         (S2): Likewise.
42921         (SIZE): Likewise.
42922         (__mpn_sub_n): Do not use BP_SYM.
42923         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
42924         "bp-asm.h".
42925         (PARMS): Do not use macros from bp-asm.h.
42926         (S1): Likewise.
42927         (SIZE): Likewise.
42928         (__mpn_submul_1): Do not use BP_SYM.
42929         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
42930         "bp-asm.h".
42931         (PARMS): Do not use macros from bp-asm.h.
42932         (S1): Likewise.
42933         (S2): Likewise.
42934         (SIZE): Likewise.
42935         (__mpn_add_n): Do not use BP_SYM.
42936         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
42937         weak_alias.
42938         (bzero): Likewise.
42939         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
42940         "bp-asm.h".
42941         (PARMS): Do not use macros from bp-asm.h.
42942         (BLK2): Likewise.
42943         (LEN): Likewise.
42944         (memcmp): Do not use BP_SYM.
42945         (bcmp): Do not use BP_SYM in weak_alias.
42946         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
42947         "bp-asm.h".
42948         (PARMS): Do not use macros from bp-asm.h.
42949         (DEST): Likewise.
42950         (SRC): Likewise.
42951         (LEN): Likewise.
42952         (memcpy): Likewise.  Do not use BP_SYM.
42953         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
42954         "bp-asm.h".
42955         (PARMS): Do not use macros from bp-asm.h.
42956         (DEST): Likewise.
42957         (SRC): Likewise.
42958         (LEN): Likewise.
42959         (memmove): Likewise.  Do not use BP_SYM.
42960         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
42961         "bp-asm.h".
42962         (PARMS): Do not use macros from bp-asm.h.
42963         (DEST): Likewise.
42964         (SRC): Likewise.
42965         (LEN): Likewise.
42966         (__mempcpy): Likewise.  Do not use BP_SYM.
42967         (mempcpy): Do not use BP_SYM in weak_alias.
42968         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
42969         "bp-asm.h".
42970         (PARMS): Do not use macros from bp-asm.h.
42971         (DEST): Likewise.
42972         (LEN): Likewise.
42973         [!BZERO_P] (CHR): Likewise.
42974         (memset): Likewise.  Do not use BP_SYM.
42975         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
42976         "bp-asm.h".
42977         (PARMS): Do not use macros from bp-asm.h.
42978         (STR2): Likewise.
42979         (strcmp): Do not use BP_SYM.
42980         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
42981         "bp-asm.h".
42982         (PARMS): Do not use macros from bp-asm.h.
42983         (STR): Likewise.
42984         (DELIM): Likewise.
42985         [USE_AS_STRTOK_R] (SAVE): Likewise.
42986         (FUNCTION): Likewise.  Do not use BP_SYM.
42987         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
42988         aliases.
42989         (strtok_r): Likewise.
42990         (__GI___strtok_r): Likewise.
42991         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
42992         (PARMS): Do not use macros from bp-asm.h.
42993         (S): Likewise.
42994         (SIZE): Likewise.
42995         (__mpn_lshift): Do not use BP_SYM.
42996         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
42997         (PARMS): Do not use macros from bp-asm.h.
42998         (STR): Likewise.
42999         (CHR): Likewise.
43000         (__memchr): Do not use BP_SYM.
43001         (memchr): Do not use BP_SYM in weak_alias.
43002         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
43003         (PARMS): Do not use macros from bp-asm.h.
43004         (BLK2): Likewise.
43005         (LEN): Likewise.
43006         (memcmp): Do not use BP_SYM.
43007         (bcmp): Do not use BP_SYM in weak_alias.
43008         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
43009         (PARMS): Do not use macros from bp-asm.h.
43010         (S1): Likewise.
43011         (SIZE): Likewise.
43012         (__mpn_mul_1): Do not use BP_SYM.
43013         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
43014         "bp-asm.h".
43015         (PARMS): Do not use macros from bp-asm.h.
43016         (STR): Likewise.
43017         (CHR): Likewise.
43018         (__rawmemchr): Do not use BP_SYM.
43019         (rawmemchr): Do not use BP_SYM in weak_alias.
43020         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
43021         (PARMS): Do not use macros from bp-asm.h.
43022         (S): Likewise.
43023         (SIZE): Likewise.
43024         (__mpn_rshift): Do not use BP_SYM.
43025         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
43026         (PARMS): Do not use macros from bp-asm.h.
43027         (SIGMSK): Likewise.
43028         (__sigsetjmp): Likewise.  Do not use BP_SYM.
43029         * sysdeps/i386/start.S: Do not include "bp-sym.h".
43030         (_start): Do not use BP_SYM.
43031         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
43032         (PARMS): Do not use macros from bp-asm.h.
43033         (DEST): Likewise.
43034         (SRC): Likewise.
43035         (__stpcpy): Likewise.  Do not use BP_SYM.
43036         (stpcpy): Do not use BP_SYM in weak_alias.
43037         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
43038         "bp-asm.h".
43039         (PARMS): Do not use macros from bp-asm.h.
43040         (DEST): Likewise.
43041         (SRC): Likewise.
43042         (LEN): Likewise.
43043         (__stpncpy): Likewise.  Do not use BP_SYM.
43044         (stpncpy): Do not use BP_SYM in weak_alias.
43045         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
43046         (PARMS): Do not use macros from bp-asm.h.
43047         (STR): Likewise.
43048         (CHR): Likewise.
43049         (strchr): Likewise.  Do not use BP_SYM.
43050         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
43051         "bp-asm.h".
43052         (PARMS): Do not use macros from bp-asm.h.
43053         (STR): Likewise.
43054         (CHR): Likewise.
43055         (__strchrnul): Likewise.  Do not use BP_SYM.
43056         (strchrnul): Do not use BP_SYM in weak_alias.
43057         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
43058         "bp-asm.h".
43059         (PARMS): Do not use macros from bp-asm.h.
43060         (STOP): Likewise.
43061         (strcspn): Do not use BP_SYM.
43062         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
43063         "bp-asm.h".
43064         (PARMS): Do not use macros from bp-asm.h.
43065         (STR): Likewise.
43066         (STOP): Likewise.
43067         (strpbrk): Likewise.  Do not use BP_SYM.
43068         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
43069         "bp-asm.h".
43070         (PARMS): Do not use macros from bp-asm.h.
43071         (STR): Likewise.
43072         (CHR): Likewise.
43073         (strrchr): Likewise.  Do not use BP_SYM.
43074         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
43075         (PARMS): Do not use macros from bp-asm.h.
43076         (SKIP): Likewise.
43077         (strspn): Do not use BP_SYM.
43078         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
43079         (PARMS): Do not use macros from bp-asm.h.
43080         (STR): Likewise.
43081         (DELIM): Likewise.
43082         (SAVE): Likewise.
43083         (FUNCTION): Likewise.  Do not use BP_SYM.
43084         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
43085         aliases.
43086         (strtok_r): Likewise.
43087         (__GI___strtok_r): Likewise.
43088         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
43089         (PARMS): Do not use macros from bp-asm.h.
43090         (S1): Likewise.
43091         (S2): Likewise.
43092         (SIZE): Likewise.
43093         (__mpn_sub_n): Do not use BP_SYM.
43094         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
43095         "bp-asm.h".
43096         (PARMS): Do not use macros from bp-asm.h.
43097         (S1): Likewise.
43098         (SIZE): Likewise.
43099         (__mpn_submul_1): Do not use BP_SYM.
43100         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
43101         <bp-sym.h>.
43102         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
43103         and <bp-asm.h>.
43104         (PARMS): Do not use macros from bp-asm.h.
43105         (FLAGS): Likewise.
43106         (PTID): Likewise.
43107         (TLS): Likewise.
43108         (CTID): Likewise.
43109         (__clone): Do not use BP_SYM.
43110         (clone): Do not use BP_SYM in weak_alias.
43111         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
43112         and <bp-asm.h>.
43113         (PARMS): Do not use macros from bp-asm.h.
43114         (LEN): Likewise.
43115         (__mmap64): Do not use BP_SYM.
43116         (mmap64): Do not use BP_SYM in weak_alias.
43117         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
43118         <bp-sym.h> and <bp-asm.h>.
43119         (PARMS): Do not use macros from bp-asm.h.
43120         (__posix_fadvise64_l64): Do not use BP_SYM.
43121         * sysdeps/unix/sysv/linux/i386/semtimedop.S
43122         (PARMS): Do not use macros from bp-asm.h.
43123         (NSOPS): Likewise.
43124         (semtimedop): Do not use BP_SYM.
43125         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
43126         and <bp-asm.h>.
43128 2013-02-21  Allan McRae  <allan@archlinux.org>
43130         * manual/message.texi (Charset conversion in gettext):
43131         Move @end statement to beginning of line.
43133 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43135         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
43136         static.
43137         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
43138         Likewise.
43140         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
43141         (denorm): Likewise.
43142         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
43143         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
43145 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43147         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
43148         tail-call to the resolved function if pltexit isn't needed.
43150 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43152         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
43153         or Y being zero as being unlikely.
43154         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
43155         Likewise.
43157 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
43159         * manual/nss.texi (System Databases and Name Service Switch):
43160         Remove frobnicate @pxref.
43162 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
43164         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
43165         __attribute__ ((unused)) to __attribute__ ((__unused__)).
43167 2013-02-20  Petr Machata  <pmachata@redhat.com>
43169         * elf/elf.h (R_ARM_TARGET1): New macro.
43170         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
43171         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
43172         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
43173         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
43174         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
43175         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
43176         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
43177         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
43178         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
43179         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
43180         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
43181         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
43182         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
43183         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
43184         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
43185         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
43186         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
43187         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
43188         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
43189         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
43190         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
43191         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
43192         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
43193         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
43194         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
43195         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
43196         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
43197         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
43198         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
43199         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
43200         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
43201         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
43202         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
43203         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
43204         (R_ARM_THM_GOT_BREL12): Likewise.
43205         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
43206         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
43207         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
43208         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
43209         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
43210         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
43211         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
43212         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
43213         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
43215 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
43217         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
43218         __attribute_used__ to __attribute__ ((unused)).
43220 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
43222         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
43223         powerpc mpa.c.
43224         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
43225         comment formatting.
43226         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
43228 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
43230         [BZ #13550]
43231         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
43232         Remove macro.
43233         (ENTER): Remove both macro definitions.
43234         (LEAVE): Likewise.
43235         (CHECK_BOUNDS_LOW): Likewise.
43236         (CHECK_BOUNDS_HIGH): Likewise.
43237         (CHECK_BOUNDS_BOTH): Likewise.
43238         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
43239         (RETURN_BOUNDED_POINTER): Likewise.
43240         (RETURN_NULL_BOUNDED_POINTER): Likewise.
43241         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
43242         (POP_ERRNO_LOCATION_RETURN): Likewise.
43243         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
43244         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
43245         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
43246         macros.
43247         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
43248         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
43249         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
43250         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
43251         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
43252         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
43253         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
43254         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
43255         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
43256         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
43257         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
43258         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
43259         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
43260         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
43261         removed macros.
43262         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
43263         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
43264         macros.
43265         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
43266         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
43267         * sysdeps/i386/i586/memset.S (memset): Likewise.
43268         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
43269         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
43270         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
43271         macros.
43272         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
43273         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
43274         Change uses of L(2) to L(out).
43275         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
43276         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
43277         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
43278         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
43279         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
43280         removed macros.
43281         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
43282         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
43283         macros.
43284         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
43285         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
43286         (RETURN): Do not use macro LEAVE.
43287         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
43288         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
43289         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
43290         * sysdeps/i386/i686/memset.S (memset): Likewise.
43291         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
43292         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
43293         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
43294         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
43295         Likewise.
43296         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
43297         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
43298         L(1_2) and L(1_3) into L(1).
43299         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
43300         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
43301         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
43302         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
43303         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
43304         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
43305         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
43306         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
43307         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
43308         macros.
43309         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
43310         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
43311         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
43312         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
43313         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
43314         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
43315         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
43316         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
43317         * sysdeps/i386/strcspn.S (strcspn): Likewise.
43318         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
43319         * sysdeps/i386/strrchr.S (strrchr): Likewise.
43320         * sysdeps/i386/strspn.S (strspn): Likewise.
43321         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
43322         conditional code.
43323         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
43324         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
43325         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
43326         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
43327         L(1_3) into L(1_1).
43328         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
43329         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
43330         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
43331         macros.
43332         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
43334 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
43336         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
43337         macro.
43339 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
43341         * math/atest-exp.c (exp_mpn): Remove ROUND.
43342         * math/atest-exp2.c (exp_mpn): Likewise.
43343         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
43345         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
43346         * stdlib/tst-tls-atexit-lib.c: Likewise.
43347         * stdlib/tst-tls-atexit.c: Likewise.
43349 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
43351         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
43352         and __attribute_alloc_size__.
43354 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
43356         * include/programs/xmalloc.h: Change __attribute_alloc_size to
43357         __attribute_alloc_size__.
43358         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
43359         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
43361 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
43363         * include/programs/xmalloc.h: New file.
43364         * catgets/gencat.c: Include it.
43365         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
43366         * elf/pldd.c: Likewise.
43367         * iconv/iconv_charmap.c: Likewise.
43368         * iconv/iconvconfig.c: Likewise.
43369         * iconv/strtab.c: Likewise.
43370         * locale/programs/locale.c: Likewise.
43371         * locale/programs/localedef.h: Likewise.
43372         * locale/programs/simple-hash.c: Likewise.
43373         * nscd/nscd.h: Likewise.
43374         * nss/makedb.c: Likewise.
43375         * sysdeps/generic/ldconfig.h: Likewise.
43377 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
43379         * Versions.def: Add GLIBC_2.18.
43380         * include/link.h (struct link_map): New member l_tls_dtor_count.
43381         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
43382         (__call_tls_dtors): Likewise.
43383         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
43384         __cxa_thread_atexit_impl.
43385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43386         Likewise.
43387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43388         Likewise.
43389         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
43390         Likewise.
43391         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
43392         Likewise.
43393         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
43394         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
43395         Likewise.
43396         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
43397         Likewise.
43398         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
43399         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
43400         Likewise.
43401         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
43402         (tests): Add test case tst-tls-atexit.
43403         (modules-names): Add shared library for tst-tls-atexit.
43404         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
43405         (GLIBC_PRIVATE): Add __call_tls_dtors.
43406         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
43407         for libstdc++.
43408         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
43409         * stdlib/tst-tls-atexit.c: New test case.
43410         * stdlib/tst-tls-atexit-lib.c: New test case.
43412         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
43414         * elf/Versions (ld): Add _dl_find_dso_for_object.
43415         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
43416         * elf/dl-open.c (_dl_find_dso_for_object): New function.
43417         (dl_open_worker): Use _dl_find_dso_for_object.
43418         * elf/dl-sym.c (do_sym): Likewise.
43419         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
43421 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43423         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
43424         Syntactic changes only.
43425         (_dl_runtime_profile): Do a tail-call to the resolved function.
43427 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
43429         [BZ #13550]
43430         * sysdeps/x86_64/bp-asm.h: Remove file.
43431         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
43432         <bp-sym.h> and <bp-asm.h>.
43433         (__clone): Do not use BP_SYM.
43434         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
43435         <bp-sym.h> and <bp-asm.h>.
43436         * sysdeps/unix/x86_64/sysdep.S: Likewise.
43437         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
43438         "bp-asm.h".
43439         (_setjmp): Do not use BP_SYM.
43440         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
43441         "bp-asm.h".
43442         (setjmp): Do not use BP_SYM.
43443         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
43444         libc_hidden_def.
43445         (mempcpy): Do not use BP_SYM in weak_alias.
43446         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
43447         "bp-asm.h".
43448         (strchr): Do not use BP_SYM.
43449         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
43450         "bp-asm.h".
43451         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
43452         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
43453         (_start): Do not use BP_SYM.
43454         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
43455         "bp-asm.h".
43456         (strcat): Do not use BP_SYM.
43457         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
43458         "bp-asm.h".
43459         (STRCMP): Do not use BP_SYM.
43460         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
43461         "bp-asm.h".
43462         (STRCPY): Do not use BP_SYM.
43463         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
43464         "bp-asm.h".
43465         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
43466         "bp-asm.h".
43467         (FUNCTION): Do not use BP_SYM.
43468         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
43469         weak_alias.
43470         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
43472 2013-02-17  Andreas Jaeger  <aj@suse.de>
43474         * time/Versions: Sort entries.
43475         * string/Versions: Likewise.
43476         * resolv/Versions: Likewise.
43477         * posix/Versions: Likewise.
43478         * iconv/Versions: Likewise.
43479         * elf/Versions: Likewise.
43480         * wcsmbs/Versions: Likewise.
43482 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43484         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
43485         loop termination condition.
43487         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
43488         variable to calculate EZ.
43489         (__sqr): Likewise.
43491         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
43492         the lower precision input.
43494 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
43496         [BZ #13550]
43497         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
43498         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
43499         (run-via-rtld-prefix): Do not handle %-bp tests.
43500         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
43501         (all-object-suffixes): Remove .ob.
43502         (bppfx): Remove variable.
43503         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
43504         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
43505         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
43506         [$(build-bounded) = yes] (libtype.ob): Likewise.
43507         * Makerules (elide-routines.ob): Remove variable.
43508         (do-tests-clean): Do not handle *-bp.out.
43509         (common-mostlyclean): Do not handle *-bp and *-bp.out.
43510         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
43511         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
43512         (tests): Do not include $(tests-bp.out).
43513         (xtests): Do not include $(xtests-bp.out).
43514         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
43515         [$(build-bounded) = yes] ($(addprefix
43516         $(objpfx),$(binaries-bounded))): Remove rule.
43517         ($(objpfx)%-bp.out): Remove rule.
43518         * config.make.in (build-bounded): Remove variable.
43519         * crypt/Makefile [$(build-bounded) = yes]
43520         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
43521         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
43522         append to variable.
43523         [$(build-bounded) = yes] (install-lib): Likewise.
43524         [$(build-bounded) = yes] (generated): Likewise.
43525         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
43526         Remove rule.
43527         * intl/Makefile [$(build-bounded) = yes]
43528         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
43529         * math/Makefile [$(build-bounded) = yes]
43530         ($(tests:%=$(objpfx)%-bp): Likewise.
43531         * misc/Makefile [$(build-bounded) = yes]
43532         ($(objpfx)tst-tsearch-bp): Likewise.
43533         * nptl/Makeconfig (bounded-thread-library): Remove variable.
43534         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
43535         Remove dependency.
43536         * string/Makefile (o-objects.ob): Remove variable.
43537         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
43538         (CFLAGS-.ob): Remove variable.
43539         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
43540         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
43541         both definitions of variable.
43542         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
43543         (ASFLAGS-.ob): Remove variable.
43545 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
43547         [BZ #13550]
43548         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
43549         Remove __BOUNDED_POINTERS__ from condition.
43550         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
43551         * string/bits/string2.h [!__NO_STRING_INLINES &&
43552         !__BOUNDED_POINTERS__]: Likewise.
43553         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
43554         Likewise.
43555         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
43556         Remove conditional code.
43557         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
43558         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
43559         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
43560         condition.
43562         [BZ #13550]
43563         * csu/libc-start.c: Do not include <bp-sym.h>.
43564         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
43565         * elf/dl-open.c: Do not include <bp-sym.h>.
43566         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
43567         * math/fegetenv.c: Do not include <bp-sym.h>.
43568         (fegetenv): Do not use BP_SYM in versioned symbols.
43569         * nptl/sysdeps/pthread/bits/libc-lockP.h
43570         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
43571         <bp-sym.h>.
43572         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43573         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
43574         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43575         (__pthread_mutex_destroy): Likewise.
43576         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43577         (__pthread_mutex_lock): Likewise.
43578         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43579         (__pthread_mutex_trylock): Likewise.
43580         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43581         (__pthread_mutex_unlock): Likewise.
43582         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43583         (__pthread_mutexattr_init): Likewise.
43584         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43585         (__pthread_mutexattr_destroy): Likewise.
43586         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43587         (__pthread_mutexattr_settype): Likewise.
43588         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43589         (__pthread_rwlock_init): Likewise.
43590         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43591         (__pthread_rwlock_destroy): Likewise.
43592         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43593         (__pthread_rwlock_rdlock): Likewise.
43594         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43595         (__pthread_rwlock_tryrdlock): Likewise.
43596         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43597         (__pthread_rwlock_wrlock): Likewise.
43598         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43599         (__pthread_rwlock_trywrlock): Likewise.
43600         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43601         (__pthread_rwlock_unlock): Likewise.
43602         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43603         (__pthread_key_create): Likewise.
43604         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43605         (__pthread_setspecific): Likewise.
43606         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43607         (__pthread_getspecific): Likewise.
43608         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
43609         Likewise.
43610         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43611         (_pthread_cleanup_push_defer): Likewise.
43612         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43613         (_pthread_cleanup_pop_restore): Likewise.
43614         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43615         (pthread_setcancelstate): Likewise.
43616         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
43617         <bp-sym.h>.
43618         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
43619         (memchr): Do not use BP_SYM in weak_alias.
43620         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
43621         (fegetenv): Do not use BP_SYM in versioned symbols.
43622         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
43623         (fesetenv): Do not use BP_SYM in versioned symbols.
43624         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
43625         (feupdateenv): Do not use BP_SYM in versioned symbols.
43626         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
43627         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
43628         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
43629         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
43630         (open64): Do not use BP_SYM in weak_alias.
43631         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
43632         (fegetenv): Do not use BP_SYM in versioned symbols.
43633         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
43634         (fesetenv): Do not use BP_SYM in versioned symbols.
43635         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
43636         (feupdateenv): Do not use BP_SYM in versioned symbols.
43637         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
43638         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
43639         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
43640         (feraiseexcept): Do not use BP_SYM in versioned symbols.
43641         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
43642         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
43643         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
43644         <bp-sym.h>.
43645         (__libc_start_main): Do not use BP_SYM.
43647 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
43649         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
43650         redundant return line.
43651         (norm): Likewise.
43652         (denorm): Likewise.
43653         (dbl_mp): Likewise.
43654         (sub_magnitudes): Likewise.
43655         (__add): Likewise.
43656         (__sub): Likewise.
43657         (__mul): Likewise.
43658         (__inv): Likewise.
43659         (__dvd): Likewise.
43660         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
43661         (norm): Likewise.
43662         (denorm): Likewise.
43663         (dbl_mp): Likewise.
43664         (sub_magnitudes): Likewise.
43665         (__add): Likewise.
43666         (__sub): Likewise.
43667         (__mul): Likewise.
43668         (__inv): Likewise.
43669         (__dvd): Likewise.
43671         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
43672         instead of __mul.
43673         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43674         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
43675         (cc32): Likewise.
43677         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
43678         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
43679         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
43680         of __mul for squares.
43681         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
43682         function
43683         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
43684         Likewise.
43685         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
43686         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43688 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
43690         [BZ #13550]
43691         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
43692         code.
43693         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
43694         prototype or function definition.  Rename ubp_* variables and
43695         parameters.  Remove argv definitions conditional on
43696         [__BOUNDED_POINTERS__].
43697         * debug/backtrace.c (__backtrace): Do not use __unbounded.
43698         * elf/dl-runtime.c (_dl_fixup): Likewise.
43699         * include/set-hooks.h (RUN_HOOK): Likewise.
43700         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
43701         definition.
43702         * string/strcpy.c (strcpy): Do not use __unbounded.
43703         * sysdeps/generic/frame.h (struct layout): Likewise.
43704         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
43705         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
43706         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
43707         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
43708         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
43709         (__backtrace): Likewise.
43710         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
43711         use __ptrvalue.
43712         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
43713         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
43714         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
43715         Likewise.
43716         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
43717         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
43718         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
43719         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
43720         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
43721         Do not use __unbounded.
43722         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
43723         Rename __unboundedrlimits parameter to rlimits in prototype.
43724         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
43725         Do not use __unbounded.
43726         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
43727         not use __ptrvalue.
43728         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
43729         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
43730         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
43731         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
43732         __ptrvalue or __unbounded.
43733         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
43734         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
43735         use __unbounded.
43736         (__new_msgctl): Do not use __ptrvalue.
43737         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
43738         __unbounded.
43739         (__libc_msgrcv): Do not use __ptrvalue.
43740         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
43741         startup_info): Do not use __unbounded.
43742         (__libc_start_main): Likewise.  Rename ubp_* variables and
43743         parameters.  Remove argv definitions conditional on
43744         [__BOUNDED_POINTERS__].
43745         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
43746         __ptrvalue.
43747         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
43748         use __unbounded.
43749         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
43750         or __ptrvalue.
43751         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
43752         use __unbounded.
43753         (__new_shmctl): Do not use __ptrvalue.
43754         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
43755         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
43756         Likewise.
43757         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
43758         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
43759         (__libc_sigaction): Likewise.
43760         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
43761         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
43762         Likewise.
43763         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
43765 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
43767         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
43769         * string/mempcpy.c: Implement by calling memcpy.
43771 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
43773         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
43775         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
43776         evaluation.
43778         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
43779         values in the mantissa.
43781         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
43782         minimize writes to Z.
43783         (sub_magnitudes): Simplify code a bit.
43785 2013-02-12  Roland McGrath  <roland@hack.frob.com>
43787         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
43788         from the message.  The linker prefixes all warnings with that already.
43790 2013-02-12  Andreas Schwab  <schwab@suse.de>
43792         [BZ #15078]
43793         * posix/regexec.c (extend_buffers): Add parameter min_len.
43794         (check_matching): Pass minimum needed length.
43795         (clean_state_log_if_needed): Likewise.
43796         (get_subexp): Likewise.
43797         * posix/Makefile (tests): Add bug-regex34.
43798         (bug-regex34-ENV): Define.
43799         * posix/bug-regex34.c: New file.
43801         [BZ #11561]
43802         * posix/regcomp.c (parse_bracket_exp): When looking up collating
43803         elements compare against the byte sequence of it, not its name.
43804         * posix/Makefile (tests): Add bug-regex35.
43805         (bug-regex35-ENV): Define.
43806         * posix/bug-regex35.c: New file.
43808 2013-02-11  Tom de Vries  <tom@codesourcery.com>
43810         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
43811         comment.
43812         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
43813         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
43814         (CHECK_EOL): Add undef.
43816 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
43818         * bits/stdlib-bsearch.h: New file.
43819         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
43820         * stdlib/stdlib.h: Likewise.
43822 2013-02-11  Roland McGrath  <roland@hack.frob.com>
43824         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
43825         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
43826         declaration.
43827         * manual/search.texi (Array Search Function): Add missing const in
43828         lfind prototype.
43829         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
43830         declaration to use rlim_t.
43831         (Basic Scheduling Functions): Remove erroneous const from
43832         sched_getparam prototype.  Remove erroneous * from
43833         sched_get_priority_max and sched_get_priority_min prototypes.
43834         (Resource Usage): Fix summary @comment on vtimes to refer to
43835         sys/vtimes.h rather than vtimes.h.
43836         Add missing *s in vtimes prototype.
43837         (Limits on Resources): Fix ulimit prototype to return long int.
43838         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
43839         prototypes to use long int rather than double.
43840         (BSD Random): Fix initstate and setstate to use char *, not void *.
43841         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
43842         prototype to make second argument 'struct aiocb64 *const[]'.
43843         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
43844         (Status of AIO Operations): Remove erroneous const in aio_return and
43845         aio_return64 prototypes.
43846         (Synchronizing I/O): Fix sync prototype to return void.
43847         * manual/startup.texi (Suboptions): Remove an erroneous const in
43848         getsubopt prototype.
43849         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
43850         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
43851         use size_t rather than int.
43852         (Scanning All Users): Likewise for getpwent_r.
43853         (Setting Groups): Add missing const to setgroups prototype.
43854         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
43855         * manual/socket.texi (Host Names): Fix gethostbyaddr and
43856         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
43857         'const void *' rather than 'const char *'.
43858         (Host Address Functions): Likewise for inet_ntop.
43859         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
43860         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
43861         ssize_t for return value.
43862         (Sending Data): Likewise for send, sendto, sendmsg.
43863         (Socket Option Functions): Add a missing const in setsockopt prototype.
43864         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
43865         use wchar_t for the argument.
43866         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
43867         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
43868         take no arguments.
43869         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
43870         double/float/long double for second argument.
43871         Fix return types of significand, significandf, significandl.
43872         * manual/filesys.texi (Setting Permissions): Use mode_t for second
43873         argument in fchmod prototype.
43874         (File Owner): Use uid_t and gid_t in fchown prototype.
43875         (File Times): Add const to utimes, futimes, and lutimes prototypes.
43876         (Making Special Files): Use mode_t and dev_t in mknod prototype.
43877         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
43878         use 'const struct dirent **' as argument types to CMP function pointer
43879         argument.
43880         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
43881         (File Times): Fix summary magic @comment for struct utimbuf and utime
43882         to refer to utime.h, not time.h.
43883         * manual/string.texi (Argz Functions): Add missing const in
43884         argz_extract and argz_next prototypes.
43885         (Finding Tokens in a String): Likewise for basename.
43886         (String/Array Comparison): Fix typo in wcscasecmp prototype.
43887         (Copying and Concatenation): Fix typo in wmemmove prototype.
43888         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
43889         (Signal Stack): Remove erroneous const in sigstack prototype.
43890         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
43891         prototype.
43892         (Simple Calendar Time): Likewise for stime.
43893         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
43894         prototype.
43895         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
43896         say sys/sysctl.h instead.
43897         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
43898         and vsyslog prototypes.
43900 2013-02-11  Tom de Vries  <tom@codesourcery.com>
43902         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
43903         Remove.
43905 2013-02-11  Roland McGrath  <roland@hack.frob.com>
43907         * misc/sys/mman.h: Fix typo in mremap comment.
43909 2013-02-08  Roland McGrath  <roland@hack.frob.com>
43911         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
43912         the '\0' terminator.
43914 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
43916         [BZ #13550]
43917         * debug/segfault.c: Don't include <bp-checks.h>.
43918         * sysdeps/generic/bp-checks.h: Remove file.
43919         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
43920         (__GETDENTS): Don't use CHECK_N.
43921         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
43922         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
43923         (__getgroups): Don't use CHECK_N.
43924         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
43925         (setgroups): Don't use CHECK_N.
43926         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
43927         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
43928         (__libc_msgrcv): Don't use CHECK_N.
43929         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
43930         (__libc_msgsnd): Don't use CHECK_N.
43931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
43932         <bp-checks.h>.
43933         (__libc_pread): Don't use CHECK_N.
43934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
43935         include <bp-checks.h>.
43936         (__libc_pread64): Don't use CHECK_N.
43937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
43938         include <bp-checks.h>.
43939         (__libc_pwrite): Don't use CHECK_N.
43940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
43941         include <bp-checks.h>.
43942         (__libc_pwrite64): Don't use CHECK_N.
43943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
43944         <bp-checks.h>.
43945         (__libc_pread): Don't use CHECK_N.
43946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
43947         include <bp-checks.h>.
43948         (__libc_pread64): Don't use CHECK_N.
43949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
43950         include <bp-checks.h>.
43951         (__libc_pwrite): Don't use CHECK_N.
43952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
43953         include <bp-checks.h>.
43954         (__libc_pwrite64): Don't use CHECK_N.
43955         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
43956         (do_pread): Don't use CHECK_N.
43957         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
43958         (do_pread64): Don't use CHECK_N.
43959         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
43960         (do_pwrite): Don't use CHECK_N.
43961         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
43962         (do_pwrite64): Don't use CHECK_N.
43963         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
43964         (__libc_readv): Don't use CHECK_N.
43965         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
43966         (semop): Don't use CHECK_N.
43967         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
43968         <bp-checks.h>.
43969         (semtimedop): Don't use CHECK_N.
43970         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
43971         (__libc_pread): Don't use CHECK_N.
43972         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
43973         <bp-checks.h>.
43974         (__libc_pread64): Don't use CHECK_N.
43975         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
43976         <bp-checks.h>.
43977         (__libc_pwrite): Don't use CHECK_N.
43978         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
43979         <bp-checks.h>.
43980         (__libc_pwrite64): Don't use CHECK_N.
43981         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
43982         <bp-checks.h>.
43983         (__libc_msgrcv): Don't use CHECK_N.
43984         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
43985         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
43986         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
43987         (__libc_writev): Don't use CHECK_N.
43989 2013-02-08  Roland McGrath  <roland@hack.frob.com>
43991         * string/strcpy.c: Removed unused variable.
43993         * Makeconfig (+sysdep-includes): Define with := rather than =.
43994         Use an existing include/ subdir of each sysdeps dir before it.
43996 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
43998         * nscd/connection.c (register_traced_file): Comment function.
43999         [HAVE_INOTIFY] (union __inev): Define.
44000         [HAVE_INOTIFY] (inotify_check_files): New function.
44001         [HAVE_INOTIFY] (clear_db_cache): Likewise.
44002         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
44003         clear_db_cache.
44004         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
44006 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
44008         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
44009         loaded if not already and that a failure is permanent.
44011 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
44013         [BZ #15006]
44014         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
44015         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
44017 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
44019         [BZ #13550]
44020         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
44021         (CHECK_1_NULL_OK): Likewise.
44022         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
44023         (__fxstat): Do not use CHECK_1.
44024         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
44025         <bp-checks.h>.
44026         (___fxstat64): Do not use CHECK_1.
44027         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
44028         <bp-checks.h>.
44029         (__fxstatat): Do not use CHECK_1.
44030         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
44031         <bp-checks.h>.
44032         (__fxstatat64): Do not use CHECK_1.
44033         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
44034         <bp-checks.h>.
44035         (__fxstat): Do not use CHECK_1.
44036         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
44037         <bp-checks.h>.
44038         (__fxstatat): Do not use CHECK_1.
44039         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
44040         <bp-checks.h>.
44041         (__getresgid): Do not use CHECK_1.
44042         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
44043         <bp-checks.h>.
44044         (__getresuid): Do not use CHECK_1.
44045         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
44046         <bp-checks.h>.
44047         (__lxstat): Do not use CHECK_1.
44048         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
44049         <bp-checks.h>.
44050         (__old_msgctl): Do not use CHECK_1.
44051         (__new_msgctl): Likewise.
44052         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
44053         <bp-checks.h>.
44054         (__new_setrlimit): Do not use CHECK_1.
44055         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
44056         <bp-checks.h>.
44057         (__old_shmctl): Do not use CHECK_1.
44058         (__new_shmctl): Likewise.
44059         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
44060         <bp-checks.h>.
44061         (__xstat): Do not use CHECK_1.
44062         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
44063         (__lxstat): Do not use CHECK_1.
44064         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
44065         <bp-checks.h>.
44066         (___lxstat64): Do not use CHECK_1.
44067         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
44068         (__old_msgctl): Do not use CHECK_1.
44069         (__new_msgctl): Likewise.
44070         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
44071         <bp-checks.h>.
44072         (__gettimeofday): Do not use CHECK_1.
44073         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
44074         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
44075         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
44076         <bp-checks.h>.
44077         (__gettimeofday): Do not use CHECK_1.
44078         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
44079         (__old_shmctl): Do not use CHECK_1_NULL_OK.
44080         (__new_shmctl): Do not use CHECK_1.
44081         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
44082         <bp-checks.h>.
44083         (do_sigtimedwait): Do not use CHECK_1.
44084         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
44085         <bp-checks.h>.
44086         (do_sigwaitinfo): Do not use CHECK_1.
44087         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
44088         <bp-checks.h>.
44089         (msgctl): Do not use CHECK_1.
44090         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
44091         <bp-checks.h>.
44092         (shmctl): Do not use CHECK_1.
44093         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
44094         (ustat): Do not use CHECK_1.
44095         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
44096         <bp-checks.h>.
44097         (__fxstat): Do not use CHECK_1.
44098         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
44099         <bp-checks.h>.
44100         (__fxstatat): Do not use CHECK_1.
44101         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
44102         <bp-checks.h>.
44103         (__lxstat): Do not use CHECK_1.
44104         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
44105         <bp-checks.h>.
44106         (__xstat): Do not use CHECK_1.
44107         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
44108         (__xstat): Do not use CHECK_1.
44109         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
44110         (___xstat64): Do not use CHECK_1.
44112         [BZ #13550]
44113         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
44114         definitions.
44115         (CHECK_BOUNDS_HIGH): Likewise.
44116         * string/strcpy.c: Do not include <bp-checks.h>.
44117         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
44119 2013-02-07  Roland McGrath  <roland@hack.frob.com>
44121         * nscd/nscd-client.h (__nscd_drop_map_ref):
44122         Add __attribute__ ((unused)).
44123         * nis/nss-nisplus.h (niserr2nss): Likewise.
44125         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
44126         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
44128         * csu/libc-tls.c (init_static_tls, init_slotinfo):
44129         Remove inline keyword.
44130         * include/rounding-mode.h (round_away): Likewise.
44131         * libio/wfileops.c (adjust_wide_data): Likewise.
44132         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
44133         (__m128i_strloadu_tolower): Likewise.
44134         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
44135         (__m128i_strloadu_tolower): Likewise.
44136         * time/mktime.c (ydhms_diff): Likewise.
44137         * locale/elem-hash.h (elem_hash): Likewise.
44138         * locale/setlocale.c (setdata): Likewise.
44139         * posix/regex_internal.h (re_string_char_size_at): Likewise.
44140         (re_string_wchar_at): Likewise.
44141         (bitset_not, bitset_merge, bitset_mask): Likewise.
44142         [!(__GNUC__ > 3)] (inline): Remove macro.
44143         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
44144         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
44145         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
44146         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
44147         * string/memcmp.c (memcmp_bytes): Likewise.
44148         * locale/programs/locarchive.c (compute_hashval): Likewise.
44149         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
44150         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
44151         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
44152         * nss/getent.c (print_rpc, print_protocols): Likewise.
44153         (print_passwd, print_group, print_aliases): Likewise.
44154         * nis/nss-nisplus.h (niserr2nss): Likewise.
44155         * nscd/connections.c (restart_p): Likewise.
44156         Change return type to bool.
44158 2013-02-05  Roland McGrath  <roland@hack.frob.com>
44160         * Makeconfig (all-Depend-files): Add existing
44161         $(sorted-subdirs:=/Depend) files.
44162         (all-subdirs): Remove nss.
44163         * sysdeps/unix/inet/Subdirs: Add it here instead.
44164         * hesiod/Depend: New file.
44166         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
44167         instead of calling alloca.
44169         * io/lseek.c (__lseek): Rename to __libc_lseek.
44170         Define __lseek as an alias.
44172         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
44174 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
44176         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
44177         else clause and remove check for non-standard endianness.
44179 2013-02-04  David S. Miller  <davem@davemloft.net>
44181         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44183 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
44185         [BZ #13550]
44186         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
44187         (__ubp_memchr): Remove prototype.
44188         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
44189         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
44190         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
44191         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
44192         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
44193         Remove alias.
44194         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
44195         (__ubp_memchr): Likewise.
44196         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
44197         (__ubp_memchr): Likewise.
44198         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
44199         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
44200         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
44201         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
44202         CHECK_STRING.
44203         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
44204         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
44205         (__getcwd): Do not use CHECK_STRING.
44206         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
44207         <bp-checks.h>.
44208         (__real_chown): Do not use CHECK_STRING.
44209         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
44210         <bp-checks.h>.
44211         (fchownat): Do not use CHECK_STRING.
44212         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
44213         CHECK_STRING.
44214         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
44215         <bp-checks.h>.
44216         (__lchown): Do not use CHECK_STRING.
44217         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
44218         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
44219         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
44220         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
44221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
44222         include <bp-checks.h>.
44223         (truncate64): Do not use CHECK_STRING.
44224         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
44225         <bp-checks.h>.
44226         (__real_chown): Do not use CHECK_STRING.
44227         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
44228         <bp-checks.h>.
44229         (__lchown): Do not use CHECK_STRING.
44230         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
44231         <bp-checks.h>.
44232         (__chown): Do not use CHECK_STRING.
44233         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
44234         <bp-checks.h>.
44235         (truncate64): Do not use CHECK_STRING.
44236         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
44237         Likewise.
44238         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
44239         (__xmknod): Do not use CHECK_STRING.
44240         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
44241         <bp-checks.h>.
44242         (__xmknodat): Do not use CHECK_STRING.
44243         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
44244         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
44246 2013-02-04  Andreas Schwab  <schwab@suse.de>
44248         [BZ #14142]
44249         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
44250         * include/netdb.h: Likewise for h_errno.
44251         * elf/tst-stackguard1.c: Include <tls.h>.
44253 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
44255         * elf/link.h (struct link_map): Extend the l_addr comment.
44256         * include/link.h (struct link_map): Likewise.
44258 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
44260         [BZ #13550]
44261         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
44262         (BOUNDED_1): Remove macro.
44263         * debug/backtrace.c: Don't include <bp-checks.h>.
44264         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
44265         (__backtrace): Likewise.
44266         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
44267         <bp-checks.h>.
44268         (__backtrace): Don't use BOUNDED_1.
44269         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
44270         <bp-checks.h>.
44271         (__backtrace): Don't use BOUNDED_1.
44272         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
44273         (__backtrace): Don't use BOUNDED_1.
44274         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
44275         (shmat): Don't use BOUNDED_N.
44277 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
44279         [BZ #13550]
44280         * sysdeps/generic/bp-start.h: Remove file.
44281         * csu/libc-start.c: Don't include <bp-start.h>.
44282         (LIBC_START_MAIN): Set up __environ directly instead of using
44283         INIT_ARGV_and_ENVIRON.
44284         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
44285         <bp-start.h>.
44287         [BZ #13550]
44288         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
44289         definitions.
44290         (CHECK_FCNTL): Likewise.
44291         (CHECK_N_PAGES): Likewise.
44293         [BZ #13550]
44294         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
44295         definitions.
44296         (CHECK_SIGSET_NULL_OK): Likewise.
44297         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
44298         <bp-checks.h>.
44299         (sigpending): Don't use CHECK_SIGSET.
44300         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
44301         <bp-checks.h>.
44302         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
44303         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
44304         <bp-checks.h>.
44305         (do_sigsuspend): Don't use CHECK_SIGSET.
44306         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
44307         use CHECK_SIGSET.
44308         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
44309         (do_sigwait): Don't use CHECK_SIGSET.
44310         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
44311         use CHECK_SIGSET.
44312         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
44313         include <bp-checks.h>.
44314         (sigpending): Don't use CHECK_SIGSET.
44315         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
44316         include <bp-checks.h>.
44317         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
44318         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
44319         <bp-checks.h>.
44320         (sigpending): Don't use CHECK_SIGSET.
44321         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
44322         <bp-checks.h>.
44323         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
44325         [BZ #13550]
44326         * sysdeps/generic/bp-semctl.h: Remove file.
44327         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
44328         <bp-checks.h> and <bp-semctl.h>.
44329         (__old_semctl): Don't use CHECK_SEMCTL.
44330         (__new_semctl): Likewise.
44331         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
44332         and <bp-semctl.h>.
44333         (__old_semctl): Don't use CHECK_SEMCTL.
44334         (__new_semctl): Likewise.
44335         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
44336         <bp-checks.h> and <bp-semctl.h>.
44337         (__old_semctl): Don't use CHECK_SEMCTL.
44338         (__new_semctl): Likewise.
44339         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
44340         <bp-checks.h> and <bp-semctl.h>.
44341         (semctl): Don't use CHECK_SEMCTL.
44343         [BZ #13550]
44344         * Makerules (elide-bp-thunks): Remove variable.
44345         (elide-routines.oS): Don't use $(elide-bp-thunks).
44346         (elide-routines.os): Likewise.
44347         (elide-routines.o): Likewise.
44348         (elide-routines.op): Likewise.
44349         (elide-routines.og): Likewise.
44350         (objects): Don't use $(bp-thunks).
44351         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
44352         include.
44353         (common-generated): Do not add s-proto-bp.d.
44354         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
44355         (int): Likewise.
44356         (typ): Likewise.
44357         Do not generate makefile rules for bounded-pointer thunks.
44358         * sysdeps/generic/bp-thunks.h: Remove file.
44359         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
44360         * sysdeps/unix/s-proto-bp.S: Likewise.
44362         [BZ #15062]
44363         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
44364         parts of result separately when argument is not close to line from
44365         -i to i and one part of argument is small.
44366         * math/k_casinhf.c (__kernel_casinhf): Likewise.
44367         * math/k_casinhl.c (__kernel_casinhl): Likewise.
44368         * math/libm-test.inc (cacos_test): Add more tests.
44369         (casin_test): Likewise.
44370         (casinh_test): Likewise.
44371         * sysdeps/i386/fpu/libm-test-ulps: Update.
44372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44374 2013-01-31  David S. Miller  <davem@davemloft.net>
44376         * po/de.po: Update from translation team.
44378 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
44380         * time/tzfile.c: Include stdint.h for SIZE_MAX.
44382 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
44384         * configure.in (_AC_PROG_CC_C89): New definition.
44385         * configure: Regenerate.
44387         * configure.in (AC_PROG_CPP): New definition.
44388         * configure: Regenerate.
44390 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
44392         * debug/tst-backtrace.h: New file.
44393         * debug/tst-backtrace2.c: Include tst-backtrace.h.
44394         (ret): Remove variable.
44395         (x): Likewise.
44396         (FAIL): Remove macro.
44397         (NO_INLINE): Likewise.
44398         (fn1): Use match function instead of strstr.
44399         * debug/tst-backtrace3.c: Include tst-backtrace.h.
44400         (ret): Remove variable.
44401         (x): Likewise.
44402         (FAIL): Remove macro.
44403         (NO_INLINE): Likewise.
44404         (fn): Use match function instead of strstr.
44405         * debug/tst-backtrace4.c: Include tst-backtrace.h.
44406         (ret): Remove variable.
44407         (x): Likewise.
44408         (FAIL): Remove macro.
44409         (NO_INLINE): Likewise.
44410         (handle_signal): Use match function instead of strstr.
44411         * debug/tst-backtrace5.c: Include tst-backtrace.h.
44412         (ret): Remove variable.
44413         (x): Likewise.
44414         (FAIL): Remove macro.
44415         (NO_INLINE): Likewise.
44416         (handle_signal): Use match function instead of strstr.
44418 2013-01-23  Roland McGrath  <roland@hack.frob.com>
44420         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
44422 2013-01-23  David S. Miller  <davem@davemloft.net>
44424         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
44425         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
44426         argument of CAS if possible.
44427         * sysdeps/sparc/sparc64/bits/atomic.h
44428         (__arch_compare_and_exchange_val_32_acq): Likewise.
44429         (__arch_compare_and_exchange_val_64_acq): Likewise.
44431 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
44433         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
44434         * sysdeps/posix/ulimit.c: ... this.
44435         Include <limits.h>.
44436         * sysdeps/unix/bsd/ulimit.c: Remove file.
44438 2013-01-23  Adam Conrad  <adconrad@0c3.net>
44440         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
44441         (LDFLAGS-tst-array5): Likewise.
44443 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
44445         [BZ #15036]
44446         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
44447         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
44448         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
44449         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
44451 2013-01-21  David S. Miller  <davem@davemloft.net>
44453         * sysdeps/sparc/backtrace.c: New file.
44454         * sysdeps/sparc/sparc32/backtrace.h: New file.
44455         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
44456         * sysdeps/sparc/sparc64/backtrace.h: New file.
44457         * sysdeps/sparc/sparc64/backtrace.c: Delete.
44458         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
44459         -funwind-tables.
44461 2013-01-21  Andreas Schwab  <schwab@suse.de>
44463         [BZ #15020]
44464         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
44465         closed its stdout.
44467 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
44469         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
44470         "mpa2.h".
44471         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
44473 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
44474             Mark Mitchell  <mark@codesourcery.com>
44475             Tom de Vries  <tom@codesourcery.com>
44476             Paul Pluzhnikov  <ppluzhnikov@google.com>
44478         * debug/tst-backtrace2.c: New file.
44479         * debug/tst-backtrace3.c: Likewise.
44480         * debug/tst-backtrace4.c: Likewise.
44481         * debug/tst-backtrace5.c: Likewise.
44482         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
44483         (CFLAGS-tst-backtrace3.c): Likewise.
44484         (CFLAGS-tst-backtrace4.c): Likewise.
44485         (CFLAGS-tst-backtrace5.c): Likewise.
44486         (LDFLAGS-tst-backtrace2): Likewise.
44487         (LDFLAGS-tst-backtrace3): Likewise.
44488         (LDFLAGS-tst-backtrace4): Likewise.
44489         (LDFLAGS-tst-backtrace5): Likewise.
44490         (tests): Add new tests tst-backtrace2, tst-backtrace3,
44491         tst-backtrace4 and tst-backtrace5.
44493 2013-01-18  Anton Blanchard  <anton@samba.org>
44494             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44496         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
44497         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
44498         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
44499         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
44500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
44501         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
44502         "+r" and remove output regs list as redundant.  Add explicit inline
44503         asm to specify register of return val to work around compiler codegen
44504         bug.  Remove (int) cast on return value.  Add return type parameter to
44505         use in macro so that this macro does not truncate return value for
44506         64-bit values.
44507         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
44508         pass to INTERNAL_VSYSCALL_NCS.
44509         (INLINE_VSYSCALL): Add 'long int' as return type to
44510         INTERNAL_VSYSCALL_NCS macro invocation.
44511         (INTERNAL_VSYSCALL): Add 'long int' as return type to
44512         INTERNAL_VSYSCALL_NCS macro invocation.
44513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
44515 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
44517         [BZ #14496]
44518         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
44519         Fix application of SIMD FP exception mask.
44521         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
44522         mp_no from a power of two.
44523         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
44524         __mpexp_twomm1.  Use __pow_mp.
44526         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
44527         multiplication.
44529 2013-01-17  David S. Miller  <davem@davemloft.net>
44531         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44533 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
44535         [BZ #15023]
44536         * include/complex.h: Condition contents on [!_COMPLEX_H].
44537         (__kernel_casinhf): New prototype.
44538         (__kernel_casinh): Likewise.
44539         (__kernel_casinhl): Likewise.
44540         * math/Makefile (libm_calls): Add k_casinh.
44541         * math/k_casinh.c: New file.
44542         * math/k_casinhf.c: Likewise.
44543         * math/k_casinhl.c: Likewise.
44544         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
44545         finite nonzero arguments.
44546         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
44547         finite nonzero arguments.
44548         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
44549         finite nonzero arguments.
44550         * math/s_casinh.c: Do not include <float.h>.
44551         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
44552         * math/s_casinhf.c: Do not include <float.h>.
44553         (__casinhf): Move code for finite nonzero arguments to
44554         k_casinhf.c.
44555         * math/s_casinhl.c: Do not include <float.h>.
44556         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
44557         redefine.
44558         (__casinhl): Move code for finite nonzero arguments to
44559         k_casinhl.c.
44560         * math/libm-test.inc (cacos_test): Add more tests.
44561         * sysdeps/i386/fpu/libm-test-ulps: Update.
44562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44564 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
44566         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
44567         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
44568         [!HAVE_MREMAP]: Remove [defined linux] case.
44569         * malloc/arena.c: Do not include <malloc-sysdep.h>.
44571 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
44573         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
44575 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
44577         * elf/elf.h (R_386_SIZE32): New relocation.
44578         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
44579         R_386_SIZE32.
44580         (elf_machine_rela): Likewise.
44581         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
44582         R_X86_64_SIZE64 and R_X86_64_SIZE32.
44584 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
44586         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
44587         (FP_FAST_FMA): Do not define.
44588         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
44589         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
44590         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
44591         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
44592         !_SOFT_FLOAT]: Likewise.
44593         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
44594         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
44595         value.
44596         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
44597         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
44598         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
44599         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
44600         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
44601         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
44602         file.
44604 2013-01-16  Andreas Schwab  <schwab@suse.de>
44606         [BZ #14327]
44607         * include/stdlib.h (__mktemp): Add declaration.
44608         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
44609         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
44611 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44613         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
44614         definitions.
44615         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
44616         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
44617         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
44618         definitions here.
44619         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
44620         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
44621         definitions.
44622         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
44623         and ONE.
44624         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
44625         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
44626         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
44627         definitions.
44628         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
44629         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
44630         definitions.
44631         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
44633         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
44635 2013-01-15  David S. Miller  <davem@davemloft.net>
44637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
44638         trunc{,f} to libm-sysdep_routes.
44639         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
44640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
44641         file.
44642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
44643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
44644         file.
44645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
44646         file.
44647         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
44648         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
44649         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
44650         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
44651         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
44652         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
44653         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
44654         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
44656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
44657         nearbyint{,f} to libm-sysdep_routes.
44658         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
44659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
44660         New file.
44661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
44662         file.
44663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
44664         New file.
44665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
44666         file.
44667         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
44668         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
44669         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
44670         file.
44671         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
44672         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
44673         file.
44674         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
44675         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
44676         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
44678         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
44679         libc_feholdexcept and libc_fesetenv.
44681 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
44683         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
44685 2013-01-14  David S. Miller  <davem@davemloft.net>
44687         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
44688         (SPARC_ASM_VIS2_IFUNC): Likewise.
44689         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
44690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
44691         use of 'siam' instruction.
44692         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
44693         Likewise.
44694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
44695         Likewise.
44696         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
44697         Likewise.
44698         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
44699         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
44700         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
44701         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
44702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
44703         file.
44704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
44705         file.
44706         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
44707         file.
44708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
44709         file.
44710         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
44711         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
44712         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
44713         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
44714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
44715         new VIS2 routines.
44716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
44717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
44719         Likewise.
44720         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
44721         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
44722         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
44723         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
44724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
44725         routines to libm-sysdep_routines.
44726         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
44728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
44729         fdim/fdimf to libm-sysdep_routines.
44730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
44731         file.
44732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
44733         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
44734         file.
44735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
44736         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
44737         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
44738         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
44739         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
44740         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
44741         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
44743 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
44745         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
44746         to optimize copies.
44748         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
44749         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
44750         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
44752         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
44753         local variable MPTWO.
44754         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
44755         Likewise.
44757 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
44759         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
44760         GLOB_NOESCAPE.
44762 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
44764         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
44766 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
44768         * manual/pattern.texi (glob_t): Document gl_flags.
44769         (glob64_t): Likewise.
44771 2013-01-11  David S. Miller  <davem@davemloft.net>
44773         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
44774         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
44775         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
44776         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
44777         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
44778         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
44779         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
44780         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
44781         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
44782         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
44783         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
44784         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
44785         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
44787         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
44788         sparc V9 rather than using V8 code.
44789         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
44790         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
44792         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
44793         Move to...
44794         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
44795         Here.
44797 2013-01-11  Roland McGrath  <roland@hack.frob.com>
44799         [BZ #14941]
44800         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
44801         not in the main loop.
44802         * configure: Regenerated.
44804 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
44806         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
44807         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
44808         to just #else.
44809         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
44810         [!__GLIBC_HAVE_LONG_LONG] case.
44811         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
44812         condition to just #else.
44813         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
44814         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
44815         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
44816         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
44817         unconditional.
44818         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
44819         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
44820         #elif condition to just #else.
44821         * sysdeps/unix/sysv/linux/sys/sysmacros.h
44822         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
44823         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
44824         #elif condition to just #else.
44826 2013-01-11  Steve Ellcey  <sellcey@mips.com>
44828         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
44829         (EF_MIPS_ARCH_64): Fix value.
44830         (EF_MIPS_ARCH_32R2): New.
44831         (EF_MIPS_ARCH_64R2): New.
44833 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
44835         * Makeconfig (+link-pie-before-libc): New.
44836         (+link-pie-after-libc): Likewise.
44837         (+link-pie-tests): Likewise.
44838         (+link-pie): Rewritten.
44839         (link-before-libc): Remove $(config-LDFLAGS).
44840         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
44841         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
44842         (config-LDFLAGS): Renamed to ...
44843         (rtld-LDFLAGS): This.
44844         (rtld-tests-LDFLAGS): New macro.
44845         (link-libc-rpath-link): Likewise.
44846         (link-libc-tests-rpath-link): Likewise.
44847         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
44848         (link-libc): Prepand $(link-libc-rpath-link).
44849         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
44850         (test-program-prefix): New macro.
44851         (test-via-rtld-prefix): Likewise.
44852         (test-program-cmd): Likewise.
44853         (host-test-program-cmd): Likewise.
44854         * Makefile ($(common-objpfx)testrun.sh): Replace
44855         $(run-program-prefix) with $(test-program-prefix).
44856         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
44857         $(rtld-LDFLAGS).
44858         ($(common-objpfx)shlib.lds): Likewise.
44859         (build-module-helper): Likewise.
44860         ($(common-objpfx)format.lds): Likewise.
44861         * Rules (binaries-pie-tests): New.
44862         (binaries-pie-notests): Likewise.
44863         (binaries-pie): Rewritten.
44864         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
44865         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
44866         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
44867         (make-test-out): Replace $(host-built-program-cmd) with
44868         $(host-test-program-cmd).
44869         * config.make.in (build-hardcoded-path-in-tests): New variable.
44870         * configure.in (--enable-hardcoded-path-in-tests): New configure
44871         option.
44872         (hardcoded_path_in_tests): New AC_SUBST.
44873         * configure: Regenerated.
44874         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
44875         $(built-program-cmd) with $(test-program-cmd).
44876         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
44877         (test_program_cmd): This.
44878         * elf/Makefile ($(objpfx)order.out): Run test with
44879         $(test-program-prefix).
44880         ($(objpfx)order2.out): Likewise.
44881         ($(objpfx)tst-initorder.out): Likewise.
44882         ($(objpfx)tst-initorder2.out): Likewise.
44883         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
44884         $(test-program-cmd).
44885         ($(objpfx)tst-array1-static.out): Likewise.
44886         ($(objpfx)tst-array2.out): Likewise.
44887         ($(objpfx)tst-array3.out): Likewise.
44888         ($(objpfx)tst-array4.out): Likewise.
44889         ($(objpfx)tst-array5.out): Likewise.
44890         ($(objpfx)tst-array5-static.out): Likewise.
44891         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
44892         $(test-program-cmd).
44893         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
44894         $(run-program-prefix) with $(test-program-prefix).
44895         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
44896         (test_program_prefix): This.
44897         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
44898         $(run-program-prefix) with $(test-program-prefix).
44899         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
44900         (test_program_prefix): This.
44901         * iconvdata/tst-tables.sh: Likewise.
44902         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
44903         $(run-program-prefix) with $(test-program-prefix).
44904         ($(objpfx)tst-translit.out): Likewise.
44905         ($(objpfx)tst-gettext2.out): Likewise.
44906         ($(objpfx)tst-gettext4.out): Likewise.
44907         ($(objpfx)tst-gettext6.out): Likewise.
44908         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
44909         (test_program_prefix): This.
44910         * intl/tst-gettext2.sh: Likewise.
44911         * intl/tst-gettext4.sh  Likewise.
44912         * intl/tst-gettext6.sh: Likewise.
44913         * intl/tst-translit.sh: Likewise.
44914         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
44915         with $(test-program-cmd).
44916         * libio/Makefile ($(objpfx)test-freopen.out): Replace
44917         $(run-program-prefix) with $(test-program-prefix).
44918         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
44919         (test_program_prefix): This.
44920         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
44921         $(run-program-prefix) with $(test-program-prefix).
44922         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
44923         (test_program_prefix): This.
44924         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
44925         * posix/Makefile ($(objpfx)globtest.out): Replace
44926         $(run-via-rtld-prefix) and $(test-wrapper) with
44927         $(test-program-prefix) and $(test-via-rtld-prefix).
44928         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
44929         $(test-program-prefix).
44930         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
44931         $(host-test-program-cmd).
44932         (tst-spawn-ARGS): Likewise.
44933         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
44934         $(test-program-prefix).
44935         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
44936         (test_via_rtld_prefix): This.
44937         (test_wrapper): Renamed to ...
44938         (test_program_prefix): This.
44939         (run_program_prefix): Replaced by test_program_prefix.
44940         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
44941         (test_program_prefix): This.
44942         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
44943         with $(host-test-program-cmd).
44944         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
44945         $(run-program-prefix) with $(test-program-prefix).
44946         ($(objpfx)tst-printf.out): Likewise.
44947         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
44948         $(test-program-cmd).
44949         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
44950         (test_program_prefix): This.
44951         * stdio-common/tst-unbputc.sh: Likewise.
44952         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
44953         $(run-program-prefix) with $(test-program-prefix).
44954         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
44955         (test_program_prefix): This.
44956         * string/Makefile ($(objpfx)tst-svc.out):  Replace
44957         $(built-program-cmd) with $(test-program-cmd).
44959 2013-01-11  Andreas Jaeger  <aj@suse.de>
44961         [BZ #15003]
44962         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
44963         value. Sync with Linux 3.7.
44965 2013-01-10  David S. Miller  <davem@davemloft.net>
44967         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
44968         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
44969         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
44971 2013-01-10  Roland McGrath  <roland@hack.frob.com>
44973         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
44974         never set.
44975         * configure: Regenerated.
44977 2013-01-10  David S. Miller  <davem@davemloft.net>
44979         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
44980         sparc V9 rather than using V8 code.
44981         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
44982         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
44984 2013-01-10  Roland McGrath  <roland@hack.frob.com>
44986         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
44987         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
44988         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
44989         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
44990         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
44991         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
44992         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
44993         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
44994         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
44995         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
44996         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
44997         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
44998         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
44999         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
45000         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
45001         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
45002         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
45003         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
45004         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
45005         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
45006         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
45007         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
45008         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
45009         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
45010         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
45011         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
45012         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
45014 2013-01-10  David S. Miller  <davem@davemloft.net>
45016         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45018 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
45020         * posix/Makefile (tests-static): New variable.
45021         (tests): Add $(tests-static).
45022         (tst-exec-static-ARGS): New variable.
45023         (tst-spawn-static-ARGS): Likewise.
45024         * posix/tst-exec-static.c: New file.
45025         * posix/tst-spawn-static.c: Likewise.
45026         * posix/tst-exec.c: Support run directly.
45027         * posix/tst-spawn.c: Likewise.
45029 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
45031         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
45032         long.
45033         * math/bits/mathcalls.h (llrint): Likewise.
45034         (llround): Likewise.
45035         * stdlib/stdlib.h (struct drand48_data): Likewise.
45036         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
45037         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
45038         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
45039         Likewise.
45040         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
45041         Likewise.
45042         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
45043         (elf_greg_t): Likewise.
45044         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
45045         (__jmp_buf): Likewise.
45046         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
45047         definitions.
45048         (llrint): Likewise, for all definitions.
45049         (llrintl): Likewise.
45051         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
45052         Remove [__GNUC__] condition.
45053         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
45054         condition to just [__USE_ISOC99].
45055         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
45057 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
45059         [BZ #14200]
45060         * sysdeps/unix/sysv/linux/x86/bits/environments.h
45061         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
45062         defined.
45063         (_POSIX_V6_ILP32_OFF32): Likewise.
45064         (_XBS5_ILP32_OFF32): Likewise.
45065         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
45066         (__ILP32_OFFBIG_LDFLAGS): Likewise.
45068 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45070         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
45072         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
45073         doubles __mpexp_twomm1.  Adjust usage.
45074         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
45075         Remove.
45077 2013-01-10  Andreas Schwab  <schwab@suse.de>
45079         [BZ #14964]
45080         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
45081         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
45083 2013-01-09  David S. Miller  <davem@davemloft.net>
45085         [BZ #15003]
45086         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
45087         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
45088         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
45089         (TCP_FASTOPEN): Define.
45090         (tcp_repair_opt): New structure.
45091         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
45092         enum values.
45093         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
45094         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
45095         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
45096         (tcp_cookie_transactions): New structure.
45098 2013-01-09  Anton Blanchard  <anton@samba.org>
45100         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
45101         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
45102         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
45103         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
45105 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
45107         * include/features.h (__USE_ANSI): Remove.
45109 2013-01-09  Roland McGrath  <roland@hack.frob.com>
45111         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
45113         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
45115 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
45117         * sysdeps/s390/fpu/libm-test-ulps: Update.
45119         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45121         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
45122         (__acr): Likewise.
45123         (__cpy): Likewise.
45124         (norm): Likewise.
45125         (denorm): Likewise.
45126         (__mp_dbl): Likewise.
45127         (__dbl_mp): Likewise.
45128         (add_magnitudes): Likewise.
45129         (sub_magnitudes): Likewise.
45130         (__add): Likewise.
45131         (__sub): Likewise.
45132         (__mul): Likewise.
45133         (__inv): Likewise.
45134         (__dvd): Likewise.
45135         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
45136         (__acr): Likewise.
45137         (__cpy): Likewise.
45138         (norm): Likewise.
45139         (denorm): Likewise.
45140         (__mp_dbl): Likewise.
45141         (__dbl_mp): Likewise.
45142         (add_magnitudes): Likewise.
45143         (sub_magnitudes): Likewise.
45144         (__add): Likewise.
45145         (__sub): Likewise.
45146         (__mul): Likewise.
45147         (__inv): Likewise.
45148         (__dvd): Likewise.
45149         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
45150         (__acr): Likewise.
45151         (__cpy): Likewise.
45152         (norm): Likewise.
45153         (denorm): Likewise.
45154         (__mp_dbl): Likewise.
45155         (__dbl_mp): Likewise.
45156         (add_magnitudes): Likewise.
45157         (sub_magnitudes): Likewise.
45158         (__add): Likewise.
45159         (__sub): Likewise.
45160         (__mul): Likewise.
45161         (__inv): Likewise.
45162         (__dvd): Likewise.
45164 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
45166         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
45167         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
45168         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
45169         2 && __USE_EXTERN_INLINES]: Likewise.
45171 2013-01-08  Andreas Jaeger  <aj@suse.de>
45173         [BZ# 14985]
45174         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
45175         Remove.
45176         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
45177         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
45179 2013-01-07  Anton Blanchard  <anton@samba.org>
45181         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
45182         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
45183         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
45184         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
45185         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
45186         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
45187         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
45188         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
45189         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
45190         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
45191         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
45192         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
45193         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
45194         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
45195         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
45196         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
45197         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
45198         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
45199         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
45200         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
45201         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
45202         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
45203         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45204         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
45205         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
45206         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
45207         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45208         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
45209         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
45210         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
45211         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
45212         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
45213         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
45214         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
45215         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
45216         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45217         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
45218         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
45219         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
45220         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
45221         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
45222         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45223         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
45225 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
45227         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
45228         (__MALLOC_PMT): Likewise.
45229         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
45230         [__GNUC__], only on [_LIBC].
45231         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
45232         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
45233         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
45234         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
45235         forward declaration.
45236         (realloc_hook_ini): Likewise.
45237         (memalign_hook_ini): Likewise.
45238         (__libc_memalign): Do not use __MALLOC_PMT in variable
45239         declaration.
45240         (__libc_valloc): Likewise.
45241         (__libc_pvalloc): Likewise.
45242         (__libc_calloc): Likewise.
45243         (__posix_memalign): Likewise.
45245         [BZ #14996]
45246         * math/s_casinh.c: Include <float.h>.
45247         (__casinh): Do not do computation with squaring and square root
45248         for large arguments.
45249         * math/s_casinhf.c: Include <float.h>.
45250         (__casinhf): Do not do computation with squaring and square root
45251         for large arguments.
45252         * math/s_casinhl.c: Include <float.h>.
45253         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
45254         (__casinhl): Do not do computation with squaring and square root
45255         for large arguments.
45256         * math/libm-test.inc (casin_test): Add more tests.
45257         (casinh_test): Likewise.
45258         * sysdeps/i386/fpu/libm-test-ulps: Update.
45259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45261 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
45263         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
45264         (__x86_64_raw_data_cache_size): Likewise.
45265         (__x86_64_data_cache_size_half): Likewise.
45266         (__x86_64_raw_data_cache_size_half): Likewise.
45267         (__x86_64_shared_cache_size): Likewise.
45268         (__x86_64_raw_shared_cache_size): Likewise.
45269         (__x86_64_shared_cache_size_half): Likewise.
45270         (__x86_64_raw_shared_cache_size_half): Likewise.
45271         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
45272         to ...
45273         (__x86_data_cache_size): This.
45274         (__x86_64_raw_data_cache_size): Renamed to ...
45275         (__x86_raw_data_cache_size): This.
45276         (__x86_64_data_cache_size_half): Renamed to ...
45277         (__x86_data_cache_size_half): This.
45278         (__x86_64_raw_data_cache_size_half): Renamed to ...
45279         (__x86_raw_data_cache_size_half): This.
45280         (__x86_64_shared_cache_size): Renamed to ...
45281         (__x86_shared_cache_size): This.
45282         (__x86_64_raw_shared_cache_size): Renamed to ...
45283         (__x86_raw_shared_cache_size): This.
45284         (__x86_64_shared_cache_size_half): Renamed to ...
45285         (__x86_shared_cache_size_half): This.
45286         (__x86_64_raw_shared_cache_size_half): Renamed to ...
45287         (__x86_raw_shared_cache_size_half): This.
45288         * sysdeps/x86_64/memcpy.S: Updated.
45289         * sysdeps/x86_64/memset.S: Likewise.
45290         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
45291         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45292         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45294 2013-01-04  David S. Miller  <davem@davemloft.net>
45296         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45298 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
45300         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
45301         1 to avoid redefinition warning.
45302         (__USE_GNU): Don't define.
45303         (init_signaling_nan): Protoize.
45305         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45307 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45309         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
45310         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
45311         (__cpymn): Likewise.
45312         (norm): Remove commented code.
45313         (denorm): Likewise.
45314         (__mp_dbl): Likewise.
45315         (__inv): Likewise.
45316         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
45317         (__cpymn): Likewise.
45318         (norm): Remove commented code.
45319         (denorm): Likewise.
45320         (__mp_dbl): Likewise.
45321         (__inv): Likewise.
45323         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
45324         mp_no value for 1.0 and 2.0.
45325         (norm): Use RADIXI instead of radixi.d.
45326         (denorm): Likewise.
45327         (__mul): Use 0.0 instead of zero.d.
45328         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
45329         mp_no value for 1.0 and 2.0.
45330         (norm): Use RADIXI instead of radixi.d.
45331         (denorm): Likewise.
45332         (__mul): Use 0.0 instead of zero.d.
45334 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
45336         [BZ #14994]
45337         * math/s_casinh.c (__casinh): Reduce finite argument to first
45338         quadrant then set signs of results at the end.
45339         * math/s_casinhf.c (__casinhf): Likewise.
45340         * math/s_casinhl.c (__casinhl): Likewise.
45341         * math/libm-test.inc (casin_test): Add more tests.
45342         (casinh_test): Likewise.
45343         * sysdeps/i386/fpu/libm-test-ulps: Update.
45344         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45346 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45348         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
45350         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
45352         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
45353         declarations.
45354         (denorm): Likewise.
45355         (__mp_dbl): Likewise.
45356         (__inv): Likewise.
45358         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
45359         and adjust the header comment.
45361         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
45362         variable name from declaration.
45364 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
45366         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45367         Initialize COMMON_CPUID_INDEX_7 element.
45368         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
45369         (CPUID_RTM): Likewise.
45370         (HAS_RTM): Likewise.
45371         (COMMON_CPUID_INDEX_7): New enum.
45373 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
45375         [BZ #14981]
45376         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
45377         size is zero, record memory as freed.
45379 2013-01-03  Andreas Jaeger  <aj@suse.de>
45381         * po/ia.po: Add new Interlingua translation.
45383 2012-01-03  Allan McRae  <allan@archlinux.org>
45385         * locale/programs/localedef.c: Fix description of '--posix' flag.
45387 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
45389         * NEWS: Update dates in second copyright notice.
45390         * README: Update copyright dates in example.
45391         * manual/libc.texinfo: Update copyright dates.
45392         * scripts/test-installation.pl: Update copyright date in --version
45393         output.
45395         * hurd/ctty-input.c: Fix copyright notice formatting.
45396         * hurd/ctty-output.c: Likewise.
45397         * hurd/dtable.c: Likewise.
45398         * hurd/hurd-raise.c: Likewise.
45399         * hurd/hurdprio.c: Likewise.
45400         * hurd/msgportdemux.c: Likewise.
45401         * misc/sys/file.h: Likewise.
45402         * misc/sys/ioctl.h: Likewise.
45403         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
45404         * sysdeps/mach/hurd/chdir.c: Likewise.
45405         * sysdeps/mach/hurd/fchdir.c: Likewise.
45406         * sysdeps/mach/hurd/rename.c: Likewise.
45407         * sysdeps/mach/hurd/rmdir.c: Likewise.
45408         * sysdeps/mach/hurd/seekdir.c: Likewise.
45409         * sysdeps/mach/hurd/setsid.c: Likewise.
45410         * sysdeps/posix/wait3.c: Likewise.
45412         * All files with FSF copyright notices: Update copyright dates
45413         using scripts/update-copyrights.
45414         * intl/plural.c: Regenerated.
45415         * locale/programs/charmap-kw.h: Likewise.
45416         * locale/programs/locfile-kw.h: Likewise.
45418 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45420         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
45421         four values.
45423         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
45424         calculation loop and add branch prediction.
45426         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
45427         check access beyond bounds of m1np.
45429         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
45430         MPTWO.
45431         (__inv): Remove local variable MPTWO to use the global
45432         constant.
45433         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
45434         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
45435         variable MPTWO.
45436         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
45437         MP3HALFS static const.
45439 2013-01-01  David S. Miller  <davem@davemloft.net>
45441         * po/ca.po: Update from translation team.
45443 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
45445         * scripts/update-copyrights: New file.
45446         * Makeconfig: Reformat copyright notice.
45447         * ctype/ctype.h: Likewise.
45448         * debug/swprintf_chk.c: Likewise.
45449         * elf/dl-cache.c: Likewise.
45450         * elf/dl-debug.c: Likewise.
45451         * elf/dl-object.c: Likewise.
45452         * grp/initgroups.c: Likewise.
45453         * hurd/Makefile: Likewise.
45454         * hurd/hurd/signal.h: Likewise.
45455         * hurd/hurdfault.c: Likewise.
45456         * hurd/hurdioctl.c: Likewise.
45457         * hurd/hurdlookup.c: Likewise.
45458         * hurd/intr-msg.c: Likewise.
45459         * iconv/gconv_open.c: Likewise.
45460         * libio/swprintf.c: Likewise.
45461         * locale/lc-ctype.c: Likewise.
45462         * locale/nl_langinfo.c: Likewise.
45463         * mach/Machrules: Likewise.
45464         * mach/Makefile: Likewise.
45465         * malloc/obstack.h: Likewise.
45466         * manual/Makefile: Likewise.
45467         * manual/tsort.awk: Likewise.
45468         * misc/bits/stab.def: Likewise.
45469         * nis/nis_print_group_entry.c: Likewise.
45470         * nis/nis_table.c: Likewise.
45471         * nis/nss_compat/compat-pwd.c: Likewise.
45472         * nis/nss_compat/compat-spwd.c: Likewise.
45473         * po/Makefile: Likewise.
45474         * posix/fnmatch.c: Likewise.
45475         * posix/regex.h: Likewise.
45476         * resolv/Makefile: Likewise.
45477         * resolv/nss_dns/dns-network.c: Likewise.
45478         * resolv/res_hconf.c: Likewise.
45479         * scripts/gen-sorted.awk: Likewise.
45480         * soft-fp/soft-fp.h: Likewise.
45481         * stdio-common/printf.h: Likewise.
45482         * stdlib/monetary.h: Likewise.
45483         * stdlib/random.c: Likewise.
45484         * stdlib/random_r.c: Likewise.
45485         * sysdeps/generic/Makefile: Likewise.
45486         * sysdeps/gnu/Makefile: Likewise.
45487         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45488         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45489         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45490         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45491         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45492         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45493         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45494         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45495         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45496         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45497         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
45498         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
45499         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
45500         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
45501         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
45502         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
45503         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
45504         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45505         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45506         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45507         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45508         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45509         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45510         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
45511         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
45512         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
45513         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
45514         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
45515         * sysdeps/mach/hurd/errnos.awk: Likewise.
45516         * sysdeps/mach/hurd/fork.c: Likewise.
45517         * sysdeps/mach/hurd/getcwd.c: Likewise.
45518         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
45519         * sysdeps/mach/hurd/mmap.c: Likewise.
45520         * sysdeps/mach/hurd/utimes.c: Likewise.
45521         * sysdeps/mach/hurd/xmknod.c: Likewise.
45522         * sysdeps/posix/profil.c: Likewise.
45523         * sysdeps/posix/readdir_r.c: Likewise.
45524         * sysdeps/powerpc/bits/mathdef.h: Likewise.
45525         * sysdeps/powerpc/bits/setjmp.h: Likewise.
45526         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
45527         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
45528         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
45529         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
45530         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
45531         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
45532         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
45533         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
45534         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
45535         * sysdeps/pthread/lio_listio.c: Likewise.
45536         * sysdeps/sparc/dl-procinfo.h: Likewise.
45537         * sysdeps/unix/i386/sysdep.S: Likewise.
45538         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
45539         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
45540         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
45541         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
45542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
45543         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
45544         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
45545         * sysdeps/unix/sysv/linux/speed.c: Likewise.
45546         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
45547         * sysdeps/wordsize-32/divdi3.c: Likewise.
45548         * time/sys/time.h: Likewise.
45549         * wcsmbs/Makefile: Likewise.
45551 2013-01-01  David S. Miller  <davem@davemloft.net>
45553         * po/fr.po: Update from translation team.
45555         * catgets/gencat.c: Update copyright year.
45556         * csu/version.c: Likewise.
45557         * debug/catchsegv.sh: Likewise.
45558         * debug/pcprofiledump.c: Likewise.
45559         * debug/xtrace.sh: Likewise.
45560         * elf/ldconfig.c: Likewise.
45561         * elf/ldd.bash.in: Likewise.
45562         * elf/pldd.c: Likewise.
45563         * elf/sotruss.ksh: Likewise.
45564         * elf/sprof.c: Likewise.
45565         * iconv/iconv_prog.c: Likewise.
45566         * iconv/iconvconfig.c: Likewise.
45567         * locale/programs/locale.c: Likewise.
45568         * locale/programs/localedef.c: Likewise.
45569         * login/programs/pt_chown.c: Likewise.
45570         * malloc/memusage.sh: Likewise.
45571         * malloc/memusagestat.c: Likewise.
45572         * malloc/mtrace.pl: Likewise.
45573         * nscd/nscd.c: Likewise.
45574         * nss/getent.c: Likewise.
45575         * nss/makedb.c: Likewise.
45576         * posix/getconf.c: Likewise.
45578 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
45580         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
45581         numbers.
45583 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
45585         * math/bits/mathcalls.h (modf): Use __nonnull.
45587 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45589         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
45590         (split): Use macro CN instead of the bare value.
45591         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
45592         could be used.
45593         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
45594         instead of the bare value.
45595         (power1): Likewise.
45597 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45599         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
45600         __ATAN_TWOM.
45601         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
45603         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
45604         their values.
45605         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
45606         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
45607         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
45608         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
45610 2012-12-28  Andreas Jaeger  <aj@suse.de>
45612         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
45613         values are from Linux 3.7.
45615         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
45616         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
45618 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45620         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
45621         TRUE case.
45623         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
45624         (norm): Likewise.
45625         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
45626         variables with preprocessor constants.
45627         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
45628         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
45629         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
45631 2012-12-27  Bruno Haible  <bruno@clisp.org>
45633         [BZ #14317]
45634         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
45635         only if needed.
45637 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45639         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
45640         and use variable directly.
45641         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
45643         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
45644         MPONE.
45645         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
45646         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
45647         variable MPONE.
45648         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
45649         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
45650         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
45651         include directive.  Remove local variable MPONE.
45652         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
45653         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
45654         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
45656 2012-12-25  David S. Miller  <davem@davemloft.net>
45658         * version.h (RELEASE): Set to "development".
45659         (VERSION): Set to "2.17.90".
45660         * NEWS: Add 2.18 section.
45662 2012-12-21  David S. Miller  <davem@davemloft.net>
45664         * po/hr.po: Update from translation team.
45666 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45668         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
45670 2012-12-19  Steve Ellcey  <sellcey@mips.com>
45672         * NEWS:  Mention new memcpy for MIPS.
45674 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45676         * manual/contrib.texi (Contributors): Spelling correction.
45678 2012-12-15  David S. Miller  <davem@davemloft.net>
45680         * po/ru.po: Update from translation team.
45682 2012-12-13  David S. Miller  <davem@davemloft.net>
45684         * NEWS: Mention IFUNC testsuite enhancements.
45686         * po/pl.po: Update from translation team.
45687         * po/bg.po: Likewise.
45689         * manual/contrib.texi (Contributors): Update entries for Hongjiu
45690         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
45692 2012-12-11  David S. Miller  <davem@davemloft.net>
45694         * po/sv.po: Update from translation team.
45696         * po/vi.po: Update from translation team.
45698         * po/cs.po: Update from translation team.
45700         * po/de.po: Update from translation team.
45701         * po/eo.po: Likewise.
45702         * po/nl.po: Likewise.
45704 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45706         [BZ #14246]
45707         * manual/argp.texi (Argp Helper Functions): Move node to follow
45708         Argp Parsing State.
45710         [BZ #14872]
45711         * manual/conf.texi (Limits on File System Capacity): Mention if
45712         terminating null is included in the max size.
45714 2012-12-10  Andreas Jaeger  <aj@suse.de>
45716         * po/cs.po: Update from translation team.
45718 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
45720         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
45721         void pointer and cast to uintptr_t.
45722         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
45723         path.
45724         * sysdeps/s390/s390-64/memcpy.S: Likewise.
45725         * sysdeps/s390/s390-64/memset.S: Likewise.
45727 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
45729         [BZ #14833]
45730         * menual/message.texi (Message Translation): Fix typos.
45731         (Helper programs for gettext): Likewise.
45733 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
45735         [BZ #14898]
45736         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
45737         Change to -1.
45739 2012-12-07  David S. Miller  <davem@davemloft.net>
45741         * po/libc.pot: Update.
45743 2012-12-07  Richard Henderson  <rth@redhat.com>
45745         [BZ #10114]
45746         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
45747         normal/normal case to before the switch.
45748         (_FP_DIV): Likewise.
45750 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
45751             Mike Frysinger  <vapier@gentoo.org>
45753         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
45754         check for __NR_fadvise64_64.
45756 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
45758         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
45759         0, not just to plain "0" as a statement.
45760         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
45761         with cw.
45763 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
45765         * NEWS: Use sourceware.org in Bugzilla URL.
45767 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
45769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
45770         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
45772         * stdio-common/tst-put-error.c (do_test): Add newline to the
45773         padded test to ensure flush.
45775 2012-12-05  Jeff Law  <law@redhat.com>
45777         * sunrpc/etc.rpc (fedfs_admin): Add entry.
45779 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
45781         * README: Don't refer to ports add-on as distributed separately.
45782         Mention AArch64 in list of systems supported in the ports add-on.
45784         * LICENSES: Add more non-FSF copyright and license notices.
45786         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
45787         ((unused)).
45789         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
45791         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
45792         10000 as width of padded output.
45794 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
45796         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
45798         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
45799         variable LX with __attribute__ ((unused)).
45800         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
45801         Likewise.
45802         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
45803         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
45804         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
45805         with __attribute__ ((unused)).
45807 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
45809         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
45811 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
45813         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
45814         (CFLAGS-nldbl-acos.c): New variable.
45815         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
45816         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
45817         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
45818         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
45819         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
45820         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
45821         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
45822         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
45823         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
45824         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
45825         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
45826         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
45827         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
45828         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
45829         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
45830         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
45831         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
45832         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
45833         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
45834         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
45835         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
45836         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
45837         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
45838         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
45839         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
45840         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
45841         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
45842         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
45843         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
45844         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
45845         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
45846         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
45847         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
45848         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
45849         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
45850         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
45851         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
45852         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
45853         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
45854         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
45855         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
45856         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
45857         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
45858         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
45859         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
45860         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
45861         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
45862         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
45863         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
45864         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
45865         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
45866         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
45867         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
45868         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
45869         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
45870         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
45871         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
45872         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
45873         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
45874         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
45875         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
45876         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
45877         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
45878         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
45879         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
45880         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
45881         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
45882         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
45883         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
45884         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
45885         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
45886         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
45887         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
45888         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
45889         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
45890         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
45891         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
45892         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
45893         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
45894         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
45895         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
45896         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
45897         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
45898         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
45899         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
45900         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
45901         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
45902         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
45903         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
45904         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
45905         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
45906         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
45907         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
45908         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
45909         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
45910         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
45911         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
45913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
45914         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
45916         [BZ #14914]
45917         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
45918         whole low double instead of just low 47 bits when splitting values
45919         into two parts.
45921 2012-12-03  Allan McRae  <allan@archlinux.org>
45923         * manual/stdio.texi (Predefined Printf Handlers): Remove
45924         @hsep and @vsep usage.
45926 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
45928         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
45929         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
45931 2012-12-03  Jeff Law  <law@redhat.com>
45933         * time/sys/time.h (settimeofday): Do not mark TV argument
45934         as __nonnull.
45936 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
45938         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
45939         when currently writing and seek to current position when not.
45940         * libio/Makefile (tests): Remove bug-fclose1.
45941         * libio/bug-fclose1.c: Delete.
45943 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
45945         * manual/arith.texi (feenableexcept): Fix typo.
45946         (fedisableexcept): Likewise.
45948 2012-11-30  Roland McGrath  <roland@hack.frob.com>
45950         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
45951         second, differently-typed declaration, rather than a cast.
45953 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45955         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
45956         * include/rpc/svc.h: ... here.
45958 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
45960         [BZ #13013]
45961         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
45962         depending n and resplen2 to catch cases where answer
45963         equals answerp2.
45965 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
45967         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
45968         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
45970 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
45972         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
45974 2012-11-29  Roland McGrath  <roland@hack.frob.com>
45976         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
45978 2012-11-28  Jeff Law  <law@redhat.com>
45980         [BZ #13761]
45981         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
45982         dataset_temporary.  Track alloca usage into alloca_used.
45983         If dataset is large allocate and release it via malloc/free.
45985 2012-06-04  Florian Weimer  <fweimer@redhat.com>
45987         [BZ #14197]
45988         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
45990 2012-11-28  David S. Miller  <davem@davemloft.net>
45992         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45994 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
45996         [BZ #14803]
45997         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
45998         of pi/2 rounded to nearest to 64 bits.
45999         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
46000         nearest to 64 bits.
46001         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
46002         bits.
46004 2012-11-28  Jeff Law <law@redhat.com>
46005             Martin Osvald <mosvald@redhat.com>
46007         [BZ #14889]
46008         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
46009         * sunrpc/svc.c: Include time.h.
46010         (__svc_accept_failed): New function.
46011         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
46012         any reason other than EINTR, call __svc_accept_failed.
46013         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
46014         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
46016 2012-11-28  Andreas Schwab  <schwab@suse.de>
46018         * scripts/abilist.awk: Also handle indirect functions in .opd
46019         section.
46021 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
46023         [BZ #13881]
46024         * sysdeps/x86/fpu/powl_helper.c: New file.
46025         * sysdeps/x86/fpu/Makefile: Likewise.
46026         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
46027         (p3): New object.
46028         (__ieee754_powl): Use __powl_helper for finite arguments except
46029         integer exponents below 8.
46030         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
46031         (p3): New object.
46032         (__ieee754_powl): Use __powl_helper for finite arguments except
46033         integer exponents below 8.
46034         * math/libm-test.inc (pow_test): Add more tests and enable some
46035         previously disabled tests.
46036         * sysdeps/i386/fpu/libm-test-ulps: Update.
46037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46039 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46040             Carlos O'Donell  <carlos_odonell@mentor.com>
46042         * nss/makedb.c (is_prime): Assert that input is odd and greater
46043         than 4.  Note that fact in a comment too.
46044         (next_prime): Add 4 to input.
46046 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
46048         [BZ #11741]
46049         * libio/Makefile (tests): Add test case tst-fwrite-error.
46050         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
46051         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
46052         * libio/tst-fwrite-error.c: New test case.
46054 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
46056         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
46057         before casting to void *.
46058         * include/libc-internal.h (__pointer_type): New macro.
46059         (__integer_if_pointer_type_sub): Likewise.
46060         (__integer_if_pointer_type): Likewise.
46061         (cast_to_integer): Likewise.
46062         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
46063         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
46064         before casting to atomic64_t.
46065         (atomic_exchange_acq): Likewise.
46066         (__arch_exchange_and_add_body): Likewise.
46067         (__arch_add_body): Likewise.
46068         (atomic_add_negative): Likewise.
46069         (atomic_add_zero): Likewise.
46071 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
46073         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
46074         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
46075         (add_fdes): Likewise.
46076         (linear_search_fdes): Likewise.
46077         (binary_search_unencoded_fdes): Likewise.
46079 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
46081         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
46083 2012-11-24  Adam Conrad  <adconrad@0c3.net>
46085         * configure.in: Autodetect C++ header directories.
46086         * configure: Regenerated.
46088 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
46090         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
46092 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
46094         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46096 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
46098         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
46099         LDBL_MANT_DIG == 106]: Disable some tests.
46100         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
46101         Likewise.
46102         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
46103         Likewise.
46105         [BZ #14871]
46106         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
46107         input for small inputs.  Return +/- pi/2 for large inputs.
46108         * math/libm-test.inc (atan_test): Add more tests.
46110         * sysdeps/generic/unwind-dw2-fde-glibc.c
46111         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
46112         __attribute__ ((unused)).
46114         [BZ #14645]
46115         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
46116         x * y if x and y are nonzero and z is zero.
46118         [BZ #14811]
46119         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
46120         nonzero exponents with absolute value below 0x1p-117 to +/-
46121         0x1p-117.
46123         [BZ #14869]
46124         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
46125         up arguments below 2**-450, not just those below 2**-500.
46126         * math/libm-test.inc (hypot_test): Add another test.
46128         [BZ #14868]
46129         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
46130         Return a+b for ratio over 2**120, not 2**60.
46131         * math/libm-test.inc (hypot_test): Add another test.
46133         * math/libm-test.inc (clog_test): Use
46134         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
46135         (clog10_test): Likewise.
46137         [BZ #6778]
46138         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
46140 2012-11-22  Andreas Schwab  <schwab@suse.de>
46142         * sysdeps/i386/fpu/libm-test-ulps: Update.
46144 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
46146         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
46147         printf output with newline.
46149 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
46151         [BZ #14865]
46152         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
46153         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
46154         -z nodlopen, -z initfirst and -z execstack support.
46155         * configure: Regenerated.
46157         * elf/elf.h (DF_1_NODIRECT): New macro.
46158         (DF_1_IGNMULDEF): Likewise.
46159         (DF_1_NOKSYMS): Likewise.
46160         (DF_1_NOHDR): Likewise.
46161         (DF_1_EDITED): Likewise.
46162         (DF_1_NORELOC): Likewise.
46163         (DF_1_SYMINTPOSE): Likewise.
46164         (DF_1_GLOBAUDIT): Likewise.
46165         (DF_1_SINGLETON): Likewise.
46166         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
46167         DT_1_SUPPORTED_MASK bits.
46168         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
46170 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
46172         * sysdeps/unix/make-syscalls.sh: Document prefixes.
46174 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
46176         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
46177         macro.
46179         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
46180         (sendmmsg): Move declarations...
46181         * socket/sys/socket.h: ... here.
46182         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
46183         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
46184         include it from...
46185         * socket/recvmmsg.c: ... this new file.
46186         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
46187         (sendmmsg): Rename to __sendmmsg, create weak alias and make
46188         definition of __sendmmsg hidden.
46189         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
46190         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
46191         Move ENOSYS stub into and include it from...
46192         * socket/sendmmsg.c: ... this new file.
46193         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
46194         (sysdep_routines): Move recvmmsg and sendmmsg...
46195         * socket/Makefile (routines): ... here.
46196         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
46197         (GLIBC_PRIVATE): Add __sendmmsg.
46198         * include/sys/socket.h (__sendmmsg): Add declarations.
46199         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
46200         sendmmsg.
46202 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
46204         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
46205         variable I1 with __attribute__ ((unused)).
46206         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
46208 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
46210         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
46211         DUMMY variables with __attribute__ ((unused)).
46213         * bits/byteswap.h: Include <bits/types.h>.
46214         (__bswap_64): Use __uint64_t instead of unsigned long long int.
46216 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
46218         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
46219         string_t.  Do not manually set errno.
46220         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
46221         length with __strnlen.  Make sure to both set errno and return it on
46222         failure.
46224 2012-11-19  David S. Miller  <davem@davemloft.net>
46226         With help from Joseph Myers.
46227         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
46228         very large arguments properly.
46229         * math/libm-test.inc (atan_test): New tests.
46230         (atan2_test): New tests.
46231         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46232         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46234 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
46236         [BZ #14856]
46237         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
46238         Define to 3.
46240         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
46241         [POSIX] (EADDRNOTAVAIL): Likewise.
46242         [POSIX] (EAFNOSUPPORT): Likewise.
46243         [POSIX] (EALREADY): Likewise.
46244         [POSIX] (ECONNABORTED): Likewise.
46245         [POSIX] (ECONNREFUSED): Likewise.
46246         [POSIX] (ECONNRESET): Likewise.
46247         [POSIX] (EDESTADDRREQ): Likewise.
46248         [POSIX] (EDQUOT): Likewise.
46249         [POSIX] (EHOSTUNREACH): Likewise.
46250         [POSIX] (EIDRM): Likewise.
46251         [POSIX] (EISCONN): Likewise.
46252         [POSIX] (ELOOP): Likewise.
46253         [POSIX] (EMULTIHOP): Likewise.
46254         [POSIX] (ENETDOWN): Likewise.
46255         [POSIX] (ENETUNREACH): Likewise.
46256         [POSIX] (ENOBUFS): Likewise.
46257         [POSIX] (ENODATA): Likewise.
46258         [POSIX] (ENOLINK): Likewise.
46259         [POSIX] (ENOMSG): Likewise.
46260         [POSIX] (ENOPROTOOPT): Likewise.
46261         [POSIX] (ENOSR): Likewise.
46262         [POSIX] (ENOSTR): Likewise.
46263         [POSIX] (ENOTCONN): Likewise.
46264         [POSIX] (ENOTSOCK): Likewise.
46265         [POSIX] (EOPNOTSUPP): Likewise.
46266         [POSIX] (EOVERFLOW): Likewise.
46267         [POSIX] (EPROTO): Likewise.
46268         [POSIX] (EPROTONOSUPPORT): Likewise.
46269         [POSIX] (EPROTOTYPE): Likewise.
46270         [POSIX] (ESTALE): Likewise.
46271         [POSIX] (ETIME): Likewise.
46272         [POSIX] (ETXTBSY): Likewise.
46273         [POSIX] (EWOULDBLOCK): Likewise.
46274         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
46275         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
46276         [POSIX] (SEEK_CUR): Likewise.
46277         [POSIX] (SEEK_END): Likewise.
46278         [POSIX || UNIX98] (mode_t): Do not require.
46279         [POSIX] (off_t): Likewise.
46280         [POSIX] (pid_t): Likewise.
46281         [POSIX] (sys/stat.h): Do not allow header.
46282         [POSIX] (unistd.h): Likewise.
46283         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
46284         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
46285         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
46286         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
46287         require.
46288         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
46289         sigevent): Specify elements.
46290         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
46291         entry.
46292         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
46293         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
46295         * conform/data/cpio.h-data [POSIX]: Disable whole file.
46296         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
46297         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
46298         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
46299         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
46300         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
46301         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
46302         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
46303         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
46304         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
46305         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
46306         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
46307         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
46308         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
46309         Likewise.
46310         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
46311         Likewise.
46312         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
46313         Likewise.
46314         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
46315         Likewise.
46316         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
46317         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
46318         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
46319         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
46320         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
46321         Specify lower bound on value.
46322         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
46323         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
46324         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
46325         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
46326         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
46327         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
46328         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
46329         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
46330         value.
46331         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
46332         as optional.
46333         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
46334         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
46335         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
46336         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
46337         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
46338         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
46339         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
46340         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
46341         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
46342         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
46343         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
46344         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
46345         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
46346         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
46347         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
46348         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
46349         entry.
46350         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
46351         optional.
46352         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
46353         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
46354         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
46355         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
46356         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
46357         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
46358         Likewise.
46359         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
46360         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
46361         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
46362         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
46363         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
46364         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
46365         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
46366         as optional.
46367         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
46368         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
46369         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
46370         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
46371         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
46372         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
46373         specify as optional.
46374         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
46375         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
46376         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
46377         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
46378         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
46379         [XPG3] (NL_LANGMAX): Likewise.
46380         [POSIX || XPG3] (NL_MSGMAX): Likewise.
46381         [POSIX || XPG3] (NL_NMAX): Likewise.
46382         [POSIX || XPG3] (NL_SETMAX): Likewise.
46383         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
46384         [XPG3] (NZERO): Likewise.
46385         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
46386         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
46387         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
46388         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
46389         (REG_ERANGE): Expect.
46390         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
46391         optional-constant.
46392         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
46393         Use (void) in prototype.
46394         [POSIX] (*_t): Allow.
46395         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
46396         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
46397         (WRDE_BADVAL): Expect.
46399         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
46400         expect.
46401         [XPG3 || XPG4] (O_RSYNC): Likewise.
46402         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
46403         Likewise.
46404         [XPG3 || XPG4] (pthread_sigmask): Likewise.
46405         [XPG3 || XPG4] (sigqueue): Likewise.
46406         [XPG3 || XPG4] (sigtimedwait): Likewise.
46407         [XPG3 || XPG4] (sigwaitinfo): Likewise.
46408         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
46409         [XPG3 || XPG4] (vsnprintf): Likewise.
46410         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
46411         Likewise.
46412         [XPG3 || XPG4] (blksize_t): Likewise.
46413         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
46414         Likewise.
46415         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
46416         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
46417         [XPG3 || XPG4] (struct itimerspec): Likewise.
46418         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
46419         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
46420         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
46421         [XPG3 || XPG4] (clockid_t): Likewise.
46422         [XPG3 || XPG4] (timer_t): Likewise.
46423         [XPG3 || XPG4] (clock_getres): Likewise.
46424         [XPG3 || XPG4] (clock_gettime): Likewise.
46425         [XPG3 || XPG4] (clock_settime): Likewise.
46426         [XPG3 || XPG4] (nanosleep): Likewise.
46427         [XPG3 || XPG4] (timer_create): Likewise.
46428         [XPG3 || XPG4] (timer_delete): Likewise.
46429         [XPG3 || XPG4] (timer_gettime): Likewise.
46430         [XPG3 || XPG4] (timer_getoverrun): Likewise.
46431         [XPG3 || XPG4] (timer_settime): Likewise.
46432         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
46433         [XPG3 || XPG4] (getlogin_r): Likewise.
46434         [XPG3 || XPG4] (pread): Likewise.
46435         [XPG3 || XPG4] (pthread_atfork): Likewise.
46436         [XPG3 || XPG4] (pwrite): Likewise.
46438         [BZ #14835]
46439         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
46440         <bits/siginfo.h>.
46442 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
46444         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
46445         finalizing MALLSTREAM.
46447         * sysdeps/mach/hurd/syncfs.c: New file.
46449 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46451         [BZ #14719]
46452         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
46453         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
46454         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
46455         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
46456         (_nss_dns_gethostbyname4_r): Likewise.
46457         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
46458         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
46460 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
46462         [BZ #13763]
46463         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
46465 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
46467         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
46468         * elf/cache.c (print_entry): Print ",AArch64" for
46469         FLAG_AARCH64_LIB64
46471         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
46472         * elf/cache.c (print_entry): Print ",hard-float" for
46473         FLAG_ARM_LIBHF.
46475 2012-11-18  David S. Miller  <davem@davemloft.net>
46477         With help from Joseph Myers.
46478         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
46479         cutoff to 2**-13.
46480         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
46481         cutoff to 2**-25.
46482         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
46483         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
46484         small.
46485         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
46486         * math/libm-test.inc (y0_test): New tests.
46487         (y1_test): New tests.
46488         * sysdeps/i386/fpu/libm-test-ulps: Update.
46489         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46490         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46492 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
46494         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
46495         64-bit targets.
46496         * configure: Regenerated.
46498 2012-11-17  David S. Miller  <davem@davemloft.net>
46500         [BZ #14811]
46501         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
46502         nonzero exponents with absolute value below 0x1p-128 to +/-
46503         0x1p-128.
46505 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
46507         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
46509         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
46511         * posix/getconf-speclist.c: New file.
46512         * posix/posix-envs.def: Likewise.
46513         * posix/confstr.c (START_ENV_GROUP): New macro.
46514         (END_ENV_GROUP): Likewise.
46515         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
46516         (KNOWN_PRESENT_ENV_STRING): Likewise.
46517         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
46518         (UNKNOWN_ENVIRONMENT): Likewise.
46519         (confstr): Include posix-envs.def instead of handling
46520         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
46521         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
46522         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
46523         (END_ENV_GROUP): Likewise.
46524         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
46525         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
46526         (UNKNOWN_ENVIRONMENT): Likewise.
46527         (__sysconf): Include posix-envs.def instead of handling associated
46528         cases directly here.
46529         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
46530         preprocessing getconf-speclist.c rather than running getconf or
46531         generating empty file.
46533 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
46535         * scripts/check-local-headers.sh: Ignore 'mach' headers.
46537 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
46539         [BZ #14672]
46540         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
46542 2012-11-16  David S. Miller  <davem@davemloft.net>
46544         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
46545         smaller than LDBL_EPSILON/2.0L, just return xm1.
46547 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
46549         * elf/tst-array1.c (init): Set constructor priority to 1000.
46550         (fini): Set destructor priority to 1000.
46551         * elf/tst-array2dep.c: Likewise.
46553 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46555         [BZ #11741]
46556         * libio/fileops.c (_IO_new_file_write): Correctly return error.
46557         (_IO_new_file_xsputn): Also return EOF if none of the input
46558         data was written when overflow failed.
46559         * libio/iopadn.c (_IO_padn): Likewise.
46560         * libio/iowpadn.c (_IO_wpadn): Likewise.
46561         * stdio-common/tst-put-error.c: Add copyright notice.
46562         (do_test): Add case for printing padded string.
46563         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
46564         _IO_padn returned error.
46565         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
46566         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
46567         return EOF.
46569 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46571         * libio/libioP.h: Add comment note that the references to C++
46572         bits are now obsolete.
46574 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46576         * math/libm-test.inc (check_complex): Use asprintf.
46578 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
46580         * debug/pcprofiledump.c (print_version): Update copyright year.
46581         * malloc/memusagestat.c (print_version): Likewise.
46583 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
46585         [BZ #14831]
46586         * elf/Makefile (tests): Add tst-audit8.
46587         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
46588         ($(objpfx)tst-audit8.out): New target.
46589         (tst-audit8-ENV): New variable.
46590         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
46591         audit if l_reloc_result is NULL.
46592         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
46593         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
46594         * elf/tst-audit8.c: New file.
46596 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46598         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
46599         * misc/Makefile (CFLAGS-select.c): Define.
46600         * posix/Makefile (CFLAGS-pause.c): Define.
46602 2012-11-13  David S. Miller  <davem@davemloft.net>
46604         * crypt/Makefile: Move test targets after toplevel Rules
46605         inclusion.  Grab any necessary sysdep routines when linking.
46606         * crypt/md5.c (md5_process_block): Remove define, we will always
46607         name it __md5_process_block.
46608         (md5_finish_ctx): Update md5_process_block call.
46609         (md5_stream): Likewise.
46610         (md5_process_bytes): Likewise.
46611         (md5_process_block): Rename to __md5_process_block and move to ...
46612         * crypt/md5-block.c: ... here.
46613         * crypt/sha256.c (sha256_process_block): Move to ...
46614         * crypt/sha256-block.c: ... here.
46615         * crypt/sha512.c (sha512_process_block): Move to ...
46616         * crypt/sha512-block.c: ... here.
46617         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
46618         path.
46619         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
46620         * sysdeps/sparc/sparc64/multiarch/Makefile
46621         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
46622         crypt subdir.
46623         (localedef-aux): Add md5 crypto assembler when in locale subdir.
46624         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
46625         multiarch changes.
46626         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
46627         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
46628         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
46629         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
46630         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
46631         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
46632         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
46633         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
46634         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
46635         file.
46636         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
46637         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
46638         file.
46639         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
46641 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
46643         * timezone/tzselect.ksh: Update from tzcode git revision
46644         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
46645         * timezone/zdump.c: Likewise.
46646         * timezone/zic.c: Likewise.
46647         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
46648         in TZVERSION setting, not $(PKGVERSION).
46649         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
46650         REPORT_BUGS_TO settings.
46652         [BZ #14838]
46653         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
46654         macro.
46656 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46658         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
46659         detection to immediately after _FP_ROUND().
46660         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
46661         bits are 0.
46663 2012-11-11  David S. Miller  <davem@davemloft.net>
46665         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
46666         inttypes.h
46667         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
46668         __close rather than their public counterparts.
46670 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
46672         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
46673         file.
46674         [UNIX98] (sem_timedwait): Do not expect.
46675         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
46676         [XPG4 || UNIX98] (sockatmark): Do not expect.
46677         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
46678         (clock_getcpuclockid): Do not expect.
46679         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
46680         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
46681         Do not expect.
46682         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
46683         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
46684         [UNIX98] (vwscanf): Likewise.
46685         [UNIX98] (vswscanf): Likewise.
46687 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
46689         * timezone/version.h: Remove file.
46690         * timezone/README: Do not refer to version.h.
46691         * timezone/Makefile ($(objpfx)zic.o): New dependency on
46692         $(objpfx)version.h.
46693         ($(objpfx)zdump.o): Likewise.
46694         ($(objpfx)version.h): New target.
46696         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
46697         2012i.
46698         * timezone/README: Don't mention modification to tzselect.ksh.
46699         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
46700         work on unmodified tzselect.ksh.  Substitute version numbers in
46701         tzselect.ksh.
46703         * Makefile (format-me): Remove.
46704         (INSTALL): Adjust indentation.  Use commands directly instead of
46705         using $(format-me).
46707         * aclocal.m4 (ACX_PKGVERSION): New macro.
46708         (ACX_BUGURL): Likewise.
46709         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
46710         (PKGVERSION): New AC_DEFINE_UNQUOTED.
46711         (REPORT_BUGS_TO): Likewise.
46712         * configure: Regenerated.
46713         * config.h.in (PKGVERSION): New macro.
46714         (REPORT_BUGS_TO): Likewise.
46715         * config.make.in (PKGVERSION): New variable.
46716         (PKGVERSION_TEXI): Likewise.
46717         (REPORT_BUGS_TO): Likewise.
46718         (REPORT_BUGS_TEXI): Likewise.
46719         * Makefile (format-me): Use -I$(common-objpfx)manual.
46720         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
46721         ($(common-objpfx)manual/%): New target.
46722         (manual/%): Remove target.
46723         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
46724         (print_version): Use PKGVERSION.
46725         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
46726         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
46727         and REPORT_BUGS_TO.
46728         ($(objpfx)xtrace): Likewise.
46729         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
46730         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
46731         (print_version): Use PKGVERSION.
46732         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
46733         (do_version): Use PKGVERSION.
46734         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
46735         REPORT_BUGS_TO.
46736         (common-ldd-rewrite): Likewise.
46737         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
46738         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
46739         (print_version): Use PKGVERSION.
46740         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
46741         * elf/pldd.c (argp_program_bug_address): Remove variable.
46742         (more_help): New function.
46743         (argp): Use more_help.
46744         (print_version): Use PKGVERSION.
46745         * elf/sln.c (main): Use PKGVERSION.
46746         (usage): Use REPORT_BUGS_TO.
46747         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
46748         (top level): Use PKGVERSION.
46749         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
46750         (print_version): Use PKGVERSION.
46751         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
46752         (print_version): Use PKGVERSION.
46753         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
46754         (print_version): Use PKGVERSION.
46755         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
46756         (print_version): Use PKGVERSION.
46757         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
46758         (print_version): Use PKGVERSION.
46759         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
46760         (print_version): Use PKGVERSION.
46761         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
46762         and BUGURL.
46763         ($(objpfx)memusage): Likewise.
46764         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
46765         (do_version): Use PKGVERSION.
46766         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
46767         (print_version): Use PKGVERSION.
46768         * malloc/mtrace.pl ($PACKAGE): Remove variable.
46769         ($PKGVERSION): New variable.
46770         ($REPORT_BUGS_TO): Likewise.
46771         (usage): Use $REPORT_BUGS_TO.
46772         (top level): Use $PKGVERSION.
46773         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
46774         ($(objpfx)pkgvers.texi): New rule.
46775         ($(objpfx)stamp-pkgvers): Likewise.
46776         * manual/install.texi: Include pkgvers.texi.
46777         (--with-pkgversion): Document new configure option.
46778         (--with-bugurl): Likewise.
46779         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
46780         than necessarily for this particular distribution.  Use
46781         REPORT_BUGS_TO for where to report bugs.
46782         * INSTALL: Regenerated.
46783         * manual/libc.texinfo: Include pkgvers.texi.
46784         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
46785         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
46786         (print_version): Use PKGVERSION.
46787         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
46788         (print_version): Use PKGVERSION.
46789         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
46790         (print_version): Use PKGVERSION.
46791         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
46792         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
46793         macro.
46794         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
46795         (print_version): Use PKGVERSION.
46796         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
46797         (print_version): Use PKGVERSION.
46798         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
46799         and PKGVERSION.
46801         * timezone/checktab.awk: Update from tzcode 2012i.
46802         * timezone/ialloc.c: Likewise.
46803         * timezone/private.h: Likewise.
46804         * timezone/scheck.c: Likewise.
46805         * timezone/tzfile.h: Likewise.
46806         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
46807         (TZVERSION): Hardcode tzcode version number.
46808         * timezone/zdump.c: Update from tzcode 2012i.
46809         * timezone/zic.c: Likewise.
46810         * timezone/version.h: New file.
46811         * timezone/README: Describe version.h.  Update upstream location.
46813         [BZ #14824]
46814         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
46815         (mktemp): Enable declaration.
46816         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
46817         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
46818         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
46819         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
46820         Likewise.
46821         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
46822         Likewise.
46823         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
46824         Likewise.
46825         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
46826         Likewise.
46827         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
46828         Likewise.
46829         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
46830         Likewise.
46832         [BZ #14821]
46833         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
46834         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
46835         for copies of such integer values.
46836         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
46837         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
46839 2012-11-09  Andreas Jaeger  <aj@suse.de>
46841         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
46842         definitions and declarations that are provided by
46843         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
46845 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46847         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
46848         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
46849         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
46850         definition.
46852 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46854         * elf/elf.h: Update comment before AArch64 relocations.
46856 2012-11-07  David S. Miller  <davem@davemloft.net>
46858         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
46859         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
46860         (__start_context): Declare.
46861         (__makecontext_ret): Delete.
46862         (__makecontext): Hook up __start_context instead of
46863         __makecontext_ret.
46864         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
46865         (sysdep_routines): Add __start_context when in stdlib.
46867 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
46869         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
46870         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
46871         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
46872         hardcoded "nm".
46873         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
46874         (READELF): New variable.  Use it instead of hardcoded "readelf".
46876 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
46878         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
46879         * sysdeps/x86/Makefile: Here.
46880         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
46881         * sysdeps/x86/tst-xmmymm.sh: This.
46883 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
46885         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
46886         expectations.
46887         [UNIX98] (pthread_barrier_t): Do not expect.
46888         [UNIX98] (pthread_barrierattr_t): Likewise.
46889         [UNIX98] (pthread_spinlock_t): Likewise.
46890         [UNIX98] (pthread_barrier_destroy): Likewise.
46891         [UNIX98] (pthread_barrier_init): Likewise.
46892         [UNIX98] (pthread_barrier_wait): Likewise.
46893         [UNIX98] (pthread_barrierattr_destroy): Likewise.
46894         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
46895         [UNIX98] (pthread_barrierattr_init): Likewise.
46896         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
46897         [UNIX98] (pthread_getcpuclockid): Likewise.
46898         [UNIX98] (pthread_mutex_timedlock): Likewise.
46899         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
46900         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
46901         [UNIX98] (pthread_sigmask): Likewise.
46902         [UNIX98] (pthread_spin_destroy): Likewise.
46903         [UNIX98] (pthread_spin_init): Likewise.
46904         [UNIX98] (pthread_spin_lock): Likewise.
46905         [UNIX98] (pthread_spin_trylock): Likewise.
46906         [UNIX98] (pthread_spin_unlock): Likewise.
46907         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
46908         Do not expect.
46909         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
46910         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
46911         [XPG3 || XPG4] (pthread_cond_t): Likewise.
46912         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
46913         [XPG3 || XPG4] (pthread_key_t): Likewise.
46914         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
46915         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
46916         [XPG3 || XPG4] (pthread_once_t): Likewise.
46917         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
46918         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
46919         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
46920         [XPG3 || XPG4] (pthread_t): Likewise.
46922         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
46923         not expect.
46924         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
46926         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
46927         Change function return type to int.
46929         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
46930         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
46931         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
46932         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
46933         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
46934         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
46935         [!POSIX] (posix_madvise): Likewise.
46936         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
46937         && !UNIX98].
46938         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
46939         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
46940         (mode_t): Likewise.
46941         (posix_mem_offset): Likewise.
46942         (posix_typed_mem_get_info): Likewise.
46943         (posix_typed_mem_open): Likewise.
46945         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
46946         Change condition to [XOPEN2K8].
46948         * conform/conformtest.pl: Preprocess allow-header data with -x c
46949         instead of from stdin.
46950         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
46951         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
46952         [C99-based standards] (cerfc): Likewise.
46953         [C99-based standards] (cexp2): Likewise.
46954         [C99-based standards] (cexpm1): Likewise.
46955         [C99-based standards] (clog10): Likewise.
46956         [C99-based standards] (clog1p): Likewise.
46957         [C99-based standards] (clog2): Likewise.
46958         [C99-based standards] (clgamma): Likewise.
46959         [C99-based standards] (ctgamma): Likewise.
46960         [C99-based standards] (cerff): Likewise.
46961         [C99-based standards] (cerfcf): Likewise.
46962         [C99-based standards] (cexp2f): Likewise.
46963         [C99-based standards] (cexpm1f): Likewise.
46964         [C99-based standards] (clog10f): Likewise.
46965         [C99-based standards] (clog1pf): Likewise.
46966         [C99-based standards] (clog2f): Likewise.
46967         [C99-based standards] (clgammaf): Likewise.
46968         [C99-based standards] (ctgammaf): Likewise.
46969         [C99-based standards] (cerfl): Likewise.
46970         [C99-based standards] (cerfcl): Likewise.
46971         [C99-based standards] (cexp2l): Likewise.
46972         [C99-based standards] (cexpm1l): Likewise.
46973         [C99-based standards] (clog10l): Likewise.
46974         [C99-based standards] (clog1pl): Likewise.
46975         [C99-based standards] (clog2l): Likewise.
46976         [C99-based standards] (clgammal): Likewise.
46977         [C99-based standards] (ctgammal): Likewise.
46978         * conform/data/inttypes.h-data [C99-based standards]: Include
46979         stdint.h-data.  Remove all expectations for stdint.h contents.
46980         [C99-based standards] (PRI*): Do not allow.
46981         [C99-based standards] (SCN*): Likewise.
46982         [C99-based standards] (*_t): Likewise.
46983         [C99-based-standards] (PRId8): Expect macro.
46984         [C99-based-standards] (PRIi8): Likewise.
46985         [C99-based-standards] (PRIo8): Likewise.
46986         [C99-based-standards] (PRIu8): Likewise.
46987         [C99-based-standards] (PRIx8): Likewise.
46988         [C99-based-standards] (PRIX8): Likewise.
46989         [C99-based-standards] (SCNd8): Likewise.
46990         [C99-based-standards] (SCNi8): Likewise.
46991         [C99-based-standards] (SCNo8): Likewise.
46992         [C99-based-standards] (SCNu8): Likewise.
46993         [C99-based-standards] (SCNx8): Likewise.
46994         [C99-based-standards] (PRIdLEAST8): Likewise.
46995         [C99-based-standards] (PRIiLEAST8): Likewise.
46996         [C99-based-standards] (PRIoLEAST8): Likewise.
46997         [C99-based-standards] (PRIuLEAST8): Likewise.
46998         [C99-based-standards] (PRIxLEAST8): Likewise.
46999         [C99-based-standards] (PRIXLEAST8): Likewise.
47000         [C99-based-standards] (SCNdLEAST8): Likewise.
47001         [C99-based-standards] (SCNiLEAST8): Likewise.
47002         [C99-based-standards] (SCNoLEAST8): Likewise.
47003         [C99-based-standards] (SCNuLEAST8): Likewise.
47004         [C99-based-standards] (SCNxLEAST8): Likewise.
47005         [C99-based-standards] (PRIdFAST8): Likewise.
47006         [C99-based-standards] (PRIiFAST8): Likewise.
47007         [C99-based-standards] (PRIoFAST8): Likewise.
47008         [C99-based-standards] (PRIuFAST8): Likewise.
47009         [C99-based-standards] (PRIxFAST8): Likewise.
47010         [C99-based-standards] (PRIXFAST8): Likewise.
47011         [C99-based-standards] (SCNdFAST8): Likewise.
47012         [C99-based-standards] (SCNiFAST8): Likewise.
47013         [C99-based-standards] (SCNoFAST8): Likewise.
47014         [C99-based-standards] (SCNuFAST8): Likewise.
47015         [C99-based-standards] (SCNxFAST8): Likewise.
47016         [C99-based-standards] (PRId16): Likewise.
47017         [C99-based-standards] (PRIi16): Likewise.
47018         [C99-based-standards] (PRIo16): Likewise.
47019         [C99-based-standards] (PRIu16): Likewise.
47020         [C99-based-standards] (PRIx16): Likewise.
47021         [C99-based-standards] (PRIX16): Likewise.
47022         [C99-based-standards] (SCNd16): Likewise.
47023         [C99-based-standards] (SCNi16): Likewise.
47024         [C99-based-standards] (SCNo16): Likewise.
47025         [C99-based-standards] (SCNu16): Likewise.
47026         [C99-based-standards] (SCNx16): Likewise.
47027         [C99-based-standards] (PRIdLEAST16): Likewise.
47028         [C99-based-standards] (PRIiLEAST16): Likewise.
47029         [C99-based-standards] (PRIoLEAST16): Likewise.
47030         [C99-based-standards] (PRIuLEAST16): Likewise.
47031         [C99-based-standards] (PRIxLEAST16): Likewise.
47032         [C99-based-standards] (PRIXLEAST16): Likewise.
47033         [C99-based-standards] (SCNdLEAST16): Likewise.
47034         [C99-based-standards] (SCNiLEAST16): Likewise.
47035         [C99-based-standards] (SCNoLEAST16): Likewise.
47036         [C99-based-standards] (SCNuLEAST16): Likewise.
47037         [C99-based-standards] (SCNxLEAST16): Likewise.
47038         [C99-based-standards] (PRIdFAST16): Likewise.
47039         [C99-based-standards] (PRIiFAST16): Likewise.
47040         [C99-based-standards] (PRIoFAST16): Likewise.
47041         [C99-based-standards] (PRIuFAST16): Likewise.
47042         [C99-based-standards] (PRIxFAST16): Likewise.
47043         [C99-based-standards] (PRIXFAST16): Likewise.
47044         [C99-based-standards] (SCNdFAST16): Likewise.
47045         [C99-based-standards] (SCNiFAST16): Likewise.
47046         [C99-based-standards] (SCNoFAST16): Likewise.
47047         [C99-based-standards] (SCNuFAST16): Likewise.
47048         [C99-based-standards] (SCNxFAST16): Likewise.
47049         [C99-based-standards] (PRId32): Likewise.
47050         [C99-based-standards] (PRIi32): Likewise.
47051         [C99-based-standards] (PRIo32): Likewise.
47052         [C99-based-standards] (PRIu32): Likewise.
47053         [C99-based-standards] (PRIx32): Likewise.
47054         [C99-based-standards] (PRIX32): Likewise.
47055         [C99-based-standards] (SCNd32): Likewise.
47056         [C99-based-standards] (SCNi32): Likewise.
47057         [C99-based-standards] (SCNo32): Likewise.
47058         [C99-based-standards] (SCNu32): Likewise.
47059         [C99-based-standards] (SCNx32): Likewise.
47060         [C99-based-standards] (PRIdLEAST32): Likewise.
47061         [C99-based-standards] (PRIiLEAST32): Likewise.
47062         [C99-based-standards] (PRIoLEAST32): Likewise.
47063         [C99-based-standards] (PRIuLEAST32): Likewise.
47064         [C99-based-standards] (PRIxLEAST32): Likewise.
47065         [C99-based-standards] (PRIXLEAST32): Likewise.
47066         [C99-based-standards] (SCNdLEAST32): Likewise.
47067         [C99-based-standards] (SCNiLEAST32): Likewise.
47068         [C99-based-standards] (SCNoLEAST32): Likewise.
47069         [C99-based-standards] (SCNuLEAST32): Likewise.
47070         [C99-based-standards] (SCNxLEAST32): Likewise.
47071         [C99-based-standards] (PRIdFAST32): Likewise.
47072         [C99-based-standards] (PRIiFAST32): Likewise.
47073         [C99-based-standards] (PRIoFAST32): Likewise.
47074         [C99-based-standards] (PRIuFAST32): Likewise.
47075         [C99-based-standards] (PRIxFAST32): Likewise.
47076         [C99-based-standards] (PRIXFAST32): Likewise.
47077         [C99-based-standards] (SCNdFAST32): Likewise.
47078         [C99-based-standards] (SCNiFAST32): Likewise.
47079         [C99-based-standards] (SCNoFAST32): Likewise.
47080         [C99-based-standards] (SCNuFAST32): Likewise.
47081         [C99-based-standards] (SCNxFAST32): Likewise.
47082         [C99-based-standards] (PRId64): Likewise.
47083         [C99-based-standards] (PRIi64): Likewise.
47084         [C99-based-standards] (PRIo64): Likewise.
47085         [C99-based-standards] (PRIu64): Likewise.
47086         [C99-based-standards] (PRIx64): Likewise.
47087         [C99-based-standards] (PRIX64): Likewise.
47088         [C99-based-standards] (SCNd64): Likewise.
47089         [C99-based-standards] (SCNi64): Likewise.
47090         [C99-based-standards] (SCNo64): Likewise.
47091         [C99-based-standards] (SCNu64): Likewise.
47092         [C99-based-standards] (SCNx64): Likewise.
47093         [C99-based-standards] (PRIdLEAST64): Likewise.
47094         [C99-based-standards] (PRIiLEAST64): Likewise.
47095         [C99-based-standards] (PRIoLEAST64): Likewise.
47096         [C99-based-standards] (PRIuLEAST64): Likewise.
47097         [C99-based-standards] (PRIxLEAST64): Likewise.
47098         [C99-based-standards] (PRIXLEAST64): Likewise.
47099         [C99-based-standards] (SCNdLEAST64): Likewise.
47100         [C99-based-standards] (SCNiLEAST64): Likewise.
47101         [C99-based-standards] (SCNoLEAST64): Likewise.
47102         [C99-based-standards] (SCNuLEAST64): Likewise.
47103         [C99-based-standards] (SCNxLEAST64): Likewise.
47104         [C99-based-standards] (PRIdFAST64): Likewise.
47105         [C99-based-standards] (PRIiFAST64): Likewise.
47106         [C99-based-standards] (PRIoFAST64): Likewise.
47107         [C99-based-standards] (PRIuFAST64): Likewise.
47108         [C99-based-standards] (PRIxFAST64): Likewise.
47109         [C99-based-standards] (PRIXFAST64): Likewise.
47110         [C99-based-standards] (SCNdFAST64): Likewise.
47111         [C99-based-standards] (SCNiFAST64): Likewise.
47112         [C99-based-standards] (SCNoFAST64): Likewise.
47113         [C99-based-standards] (SCNuFAST64): Likewise.
47114         [C99-based-standards] (SCNxFAST64): Likewise.
47115         [C99-based-standards] (PRIdMAX): Likewise.
47116         [C99-based-standards] (PRIiMAX): Likewise.
47117         [C99-based-standards] (PRIoMAX): Likewise.
47118         [C99-based-standards] (PRIuMAX): Likewise.
47119         [C99-based-standards] (PRIxMAX): Likewise.
47120         [C99-based-standards] (PRIXMAX): Likewise.
47121         [C99-based-standards] (SCNdMAX): Likewise.
47122         [C99-based-standards] (SCNiMAX): Likewise.
47123         [C99-based-standards] (SCNoMAX): Likewise.
47124         [C99-based-standards] (SCNuMAX): Likewise.
47125         [C99-based-standards] (SCNxMAX): Likewise.
47126         [C99-based-standards] (PRIdPTR): Likewise.
47127         [C99-based-standards] (PRIiPTR): Likewise.
47128         [C99-based-standards] (PRIoPTR): Likewise.
47129         [C99-based-standards] (PRIuPTR): Likewise.
47130         [C99-based-standards] (PRIxPTR): Likewise.
47131         [C99-based-standards] (PRIXPTR): Likewise.
47132         [C99-based-standards] (SCNdPTR): Likewise.
47133         [C99-based-standards] (SCNiPTR): Likewise.
47134         [C99-based-standards] (SCNoPTR): Likewise.
47135         [C99-based-standards] (SCNuPTR): Likewise.
47136         [C99-based-standards] (SCNxPTR): Likewise.
47137         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
47138         allow.
47139         * conform/data/stdint.h-data: Update comments to clarify
47140         requirements.
47141         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
47142         type.
47143         [C99-based standards] (INT8_MAX): Likewise.
47144         [C99-based standards] (INT16_MIN): Likewise.
47145         [C99-based standards] (INT16_MAX): Likewise.
47146         [C99-based standards] (INT32_MIN): Likewise.
47147         [C99-based standards] (INT32_MAX): Likewise.
47148         [C99-based standards] (INT64_MIN): Likewise.
47149         [C99-based standards] (INT64_MAX): Likewise.
47150         [C99-based standards] (UINT8_MAX): Likewise.
47151         [C99-based standards] (UINT16_MAX): Likewise.
47152         [C99-based standards] (UINT32_MAX): Likewise.
47153         [C99-based standards] (UINT64_MAX): Likewise.
47154         [C99-based standards] (INT_LEAST8_MIN): Likewise.
47155         [C99-based standards] (INT_LEAST8_MAX): Likewise.
47156         [C99-based standards] (INT_LEAST16_MIN): Likewise.
47157         [C99-based standards] (INT_LEAST16_MAX): Likewise.
47158         [C99-based standards] (INT_LEAST32_MIN): Likewise.
47159         [C99-based standards] (INT_LEAST32_MAX): Likewise.
47160         [C99-based standards] (INT_LEAST64_MIN): Likewise.
47161         [C99-based standards] (INT_LEAST64_MAX): Likewise.
47162         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
47163         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
47164         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
47165         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
47166         [C99-based standards] (INT_FAST8_MIN): Likewise.
47167         [C99-based standards] (INT_FAST8_MAX): Likewise.
47168         [C99-based standards] (INT_FAST16_MIN): Likewise.
47169         [C99-based standards] (INT_FAST16_MAX): Likewise.
47170         [C99-based standards] (INT_FAST32_MIN): Likewise.
47171         [C99-based standards] (INT_FAST32_MAX): Likewise.
47172         [C99-based standards] (INT_FAST64_MIN): Likewise.
47173         [C99-based standards] (INT_FAST64_MAX): Likewise.
47174         [C99-based standards] (UINT_FAST8_MAX): Likewise.
47175         [C99-based standards] (UINT_FAST16_MAX): Likewise.
47176         [C99-based standards] (UINT_FAST32_MAX): Likewise.
47177         [C99-based standards] (UINT_FAST64_MAX): Likewise.
47178         [C99-based standards] (INTPTR_MIN): Likewise.
47179         [C99-based standards] (INTPTR_MAX): Likewise.
47180         [C99-based standards] (UINTPTR_MAX): Likewise.
47181         [C99-based standards] (INTMAX_MIN): Likewise.
47182         [C99-based standards] (INTMAX_MAX): Likewise.
47183         [C99-based standards] (UINTMAX_MAX): Likewise.
47184         [C99-based standards] (PTRDIFF_MIN): Likewise.
47185         [C99-based standards] (PTRDIFF_MAX): Likewise.
47186         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
47187         [C99-based standards] (SIZE_MAX): Likewise.
47188         [C99-based standards] (WCHAR_MAX): Likewise.
47189         [C99-based standards] (WINT_MAX): Likewise.
47190         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
47191         constraint on value.
47192         [C99-based standards] (WCHAR_MIN): Likewise.
47193         [C99-based standards] (WINT_MIN): Likewise.
47194         [C99-based standards] (*_t): Allow.
47195         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
47196         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
47197         Include math.h-data and complex.h-data.  Remove all expectations
47198         of math.h and complex.h contents.
47199         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
47200         at end of line.
47201         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
47202         (struct tm): Expect tag.
47203         [C99-based-standards] (wcstof): Expect function.
47204         [C99-based-standards] (wcstold): Likewise.
47205         [C99-based-standards] (wcstoll): Likewise.
47206         [C99-based-standards] (wcstoull): Likewise.
47207         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
47208         macro-int-constant.  Specify type.
47209         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
47210         constraint on value.
47211         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
47212         Specify type.
47213         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
47214         Specify value.
47215         [ISO C standards]: Do not allow headers.
47216         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
47217         wcs[abcdefghijklmnopqrstuvwxyz]*.
47218         [ISO C standards] (*_t): Do not allow.
47219         * conform/data/wctype.h-data [C99-based standards] (iswblank):
47220         Expect function.
47221         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
47222         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
47223         Specify type.
47224         [ISO C standards]: Do not allow headers.
47225         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
47226         is[abcdefghijklmnopqrstuvwxyz]*.
47227         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
47228         to[abcdefghijklmnopqrstuvwxyz]*.
47229         [ISO C standards] (*_t): Do not allow.
47230         * conform/data/stdalign.h-data: New file.
47231         * conform/data/stdbool.h-data: Likewise.
47232         * conform/data/stdnoreturn.h-data: Likewise.
47234 2012-11-07  Roland McGrath  <roland@hack.frob.com>
47236         [BZ #14815]
47237         * manual/filesys.texi (Directory Entries): Typo fix.
47238         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
47240 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47242         * elf/elf.h (EM_AARCH64): New macro.
47243         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
47244         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
47245         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
47246         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
47247         (R_AARCH64_TLSDESC): Likewise.
47248         (NT_ARM_TLS): Likewise.
47249         (NT_ARM_HW_BREAK): Likewise.
47250         (NT_ARM_HW_WATCH): Likewise.
47252 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
47254         [BZ #14811]
47255         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
47256         (__ieee754_powl): Saturate nonzero exponents with absolute value
47257         below 0x1p-79 to +/- 0x1p-79.
47258         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
47259         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
47260         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
47261         nonzero exponents with absolute value below 0x1p-32 to +/-
47262         0x1p-32.
47263         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
47264         (__ieee754_powl): Saturate nonzero exponents with absolute value
47265         below 0x1p-79 to +/- 0x1p-79.
47266         * math/libm-test.inc (pow_test): Add more tests.
47268 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47270         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
47271         _dl_s390_cap_flags with kernel. Increase string length.
47272         (_dl_s390_platforms): Add z196 and zEC12.
47274 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
47276         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
47277         Change XOPEN21K to XOPEN2K.
47279 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
47281         * string/memmove.c: Use memcpy when possible.
47283 2012-11-06  Andreas Jaeger  <aj@suse.de>
47285         * po/eo.po: Update from translation team.
47287 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
47289         [BZ #14793]
47290         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
47291         exponent and small x and y exponents, scale x or y up.  Increase
47292         by 2 the exponent used in scaling up.
47293         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
47294         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47295         * math/libm-test.inc (fma_test): Add more tests.
47296         (fma_test_towardzero): Likewise.
47297         (fma_test_downward): Likewise.
47298         (fma_test_upward): Likewise.
47300 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
47302         [BZ #14805]
47303         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
47304         fenv_t *.
47306         [BZ #14801]
47307         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
47308         namespace for names of struct fields.
47309         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
47310         fenv_t fields.
47311         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
47312         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
47314 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47316         [BZ #3665]
47317         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
47319 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
47321         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
47322         PTR_DEMANGLE.
47324         [BZ #5246]
47325         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
47326         PTR_DEMANGLE.
47328 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
47330         [BZ #14797]
47331         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
47332         definitely overflow as x * y not x * y + z.
47333         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
47334         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47335         * math/libm-test.inc (fma_test): Add more tests.
47336         (fma_test_towardzero): Likewise.
47337         (fma_test_downward): Likewise.
47338         (fma_test_upward): Likewise.
47340 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
47342         [BZ #157]
47344         * include/stub-tag.h: Remove file.
47345         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
47346         '#include' of it.
47347         * manual/maint.texi (Porting): Don't reference it.
47348         * Makerules ($(objpfx)stubs): Likewise.
47349         * dirent/closedir.c: Don't include <stub-tag.h>.
47350         * dirent/dirfd.c: Likewise.
47351         * dirent/fdopendir.c: Likewise.
47352         * dirent/getdents.c: Likewise.
47353         * dirent/getdents64.c: Likewise.
47354         * dirent/opendir.c: Likewise.
47355         * dirent/readdir.c: Likewise.
47356         * dirent/readdir64.c: Likewise.
47357         * dirent/readdir64_r.c: Likewise.
47358         * dirent/readdir_r.c: Likewise.
47359         * dirent/rewinddir.c: Likewise.
47360         * dirent/seekdir.c: Likewise.
47361         * dirent/telldir.c: Likewise.
47362         * gmon/profil.c: Likewise.
47363         * grp/setgroups.c: Likewise.
47364         * inet/if_index.c: Likewise.
47365         * io/access.c: Likewise.
47366         * io/chdir.c: Likewise.
47367         * io/chmod.c: Likewise.
47368         * io/chown.c: Likewise.
47369         * io/close.c: Likewise.
47370         * io/dup.c: Likewise.
47371         * io/dup2.c: Likewise.
47372         * io/dup3.c: Likewise.
47373         * io/euidaccess.c: Likewise.
47374         * io/faccessat.c: Likewise.
47375         * io/fchdir.c: Likewise.
47376         * io/fchmod.c: Likewise.
47377         * io/fchmodat.c: Likewise.
47378         * io/fchown.c: Likewise.
47379         * io/fchownat.c: Likewise.
47380         * io/fcntl.c: Likewise.
47381         * io/flock.c: Likewise.
47382         * io/fstatfs.c: Likewise.
47383         * io/fstatfs64.c: Likewise.
47384         * io/fstatvfs.c: Likewise.
47385         * io/fstatvfs64.c: Likewise.
47386         * io/futimens.c: Likewise.
47387         * io/fxstat.c: Likewise.
47388         * io/fxstat64.c: Likewise.
47389         * io/fxstatat.c: Likewise.
47390         * io/fxstatat64.c: Likewise.
47391         * io/getcwd.c: Likewise.
47392         * io/isatty.c: Likewise.
47393         * io/lchmod.c: Likewise.
47394         * io/lchown.c: Likewise.
47395         * io/link.c: Likewise.
47396         * io/linkat.c: Likewise.
47397         * io/lseek.c: Likewise.
47398         * io/lseek64.c: Likewise.
47399         * io/lxstat64.c: Likewise.
47400         * io/mkdir.c: Likewise.
47401         * io/mkdirat.c: Likewise.
47402         * io/mkfifo.c: Likewise.
47403         * io/mkfifoat.c: Likewise.
47404         * io/open.c: Likewise.
47405         * io/open64.c: Likewise.
47406         * io/openat.c: Likewise.
47407         * io/openat64.c: Likewise.
47408         * io/pipe.c: Likewise.
47409         * io/pipe2.c: Likewise.
47410         * io/poll.c: Likewise.
47411         * io/posix_fadvise.c: Likewise.
47412         * io/posix_fadvise64.c: Likewise.
47413         * io/posix_fallocate.c: Likewise.
47414         * io/posix_fallocate64.c: Likewise.
47415         * io/read.c: Likewise.
47416         * io/readlink.c: Likewise.
47417         * io/readlinkat.c: Likewise.
47418         * io/rmdir.c: Likewise.
47419         * io/sendfile.c: Likewise.
47420         * io/sendfile64.c: Likewise.
47421         * io/statfs.c: Likewise.
47422         * io/statfs64.c: Likewise.
47423         * io/statvfs.c: Likewise.
47424         * io/statvfs64.c: Likewise.
47425         * io/symlink.c: Likewise.
47426         * io/symlinkat.c: Likewise.
47427         * io/ttyname.c: Likewise.
47428         * io/ttyname_r.c: Likewise.
47429         * io/umask.c: Likewise.
47430         * io/unlink.c: Likewise.
47431         * io/unlinkat.c: Likewise.
47432         * io/utime.c: Likewise.
47433         * io/utimensat.c: Likewise.
47434         * io/write.c: Likewise.
47435         * io/xmknod.c: Likewise.
47436         * io/xmknodat.c: Likewise.
47437         * io/xstat.c: Likewise.
47438         * io/xstat64.c: Likewise.
47439         * login/getpt.c: Likewise.
47440         * login/grantpt.c: Likewise.
47441         * login/unlockpt.c: Likewise.
47442         * math/e_acoshl.c: Likewise.
47443         * math/e_acosl.c: Likewise.
47444         * math/e_asinl.c: Likewise.
47445         * math/e_atan2l.c: Likewise.
47446         * math/e_atanhl.c: Likewise.
47447         * math/e_coshl.c: Likewise.
47448         * math/e_expl.c: Likewise.
47449         * math/e_fmodl.c: Likewise.
47450         * math/e_gammal_r.c: Likewise.
47451         * math/e_hypotl.c: Likewise.
47452         * math/e_j0l.c: Likewise.
47453         * math/e_j1l.c: Likewise.
47454         * math/e_jnl.c: Likewise.
47455         * math/e_lgammal_r.c: Likewise.
47456         * math/e_log10l.c: Likewise.
47457         * math/e_log2l.c: Likewise.
47458         * math/e_logl.c: Likewise.
47459         * math/e_powl.c: Likewise.
47460         * math/e_rem_pio2l.c: Likewise.
47461         * math/e_sinhl.c: Likewise.
47462         * math/e_sqrtl.c: Likewise.
47463         * math/fclrexcpt.c: Likewise.
47464         * math/fedisblxcpt.c: Likewise.
47465         * math/feenablxcpt.c: Likewise.
47466         * math/fegetenv.c: Likewise.
47467         * math/fegetexcept.c: Likewise.
47468         * math/fegetround.c: Likewise.
47469         * math/feholdexcpt.c: Likewise.
47470         * math/fesetenv.c: Likewise.
47471         * math/fesetround.c: Likewise.
47472         * math/feupdateenv.c: Likewise.
47473         * math/fgetexcptflg.c: Likewise.
47474         * math/fraiseexcpt.c: Likewise.
47475         * math/fsetexcptflg.c: Likewise.
47476         * math/ftestexcept.c: Likewise.
47477         * math/k_cosl.c: Likewise.
47478         * math/k_rem_pio2l.c: Likewise.
47479         * math/k_sinl.c: Likewise.
47480         * math/k_tanl.c: Likewise.
47481         * math/s_asinhl.c: Likewise.
47482         * math/s_atanl.c: Likewise.
47483         * math/s_cbrtl.c: Likewise.
47484         * math/s_erfl.c: Likewise.
47485         * math/s_expm1l.c: Likewise.
47486         * math/s_log1pl.c: Likewise.
47487         * math/s_tanhl.c: Likewise.
47488         * misc/acct.c: Likewise.
47489         * misc/brk.c: Likewise.
47490         * misc/chflags.c: Likewise.
47491         * misc/chroot.c: Likewise.
47492         * misc/fchflags.c: Likewise.
47493         * misc/fgetxattr.c: Likewise.
47494         * misc/flistxattr.c: Likewise.
47495         * misc/fremovexattr.c: Likewise.
47496         * misc/fsetxattr.c: Likewise.
47497         * misc/fsync.c: Likewise.
47498         * misc/ftruncate.c: Likewise.
47499         * misc/futimes.c: Likewise.
47500         * misc/futimesat.c: Likewise.
47501         * misc/getdomain.c: Likewise.
47502         * misc/getdtsz.c: Likewise.
47503         * misc/gethostid.c: Likewise.
47504         * misc/gethostname.c: Likewise.
47505         * misc/getloadavg.c: Likewise.
47506         * misc/getpagesize.c: Likewise.
47507         * misc/getsysstats.c: Likewise.
47508         * misc/getxattr.c: Likewise.
47509         * misc/gtty.c: Likewise.
47510         * misc/ioctl.c: Likewise.
47511         * misc/lgetxattr.c: Likewise.
47512         * misc/listxattr.c: Likewise.
47513         * misc/llistxattr.c: Likewise.
47514         * misc/lremovexattr.c: Likewise.
47515         * misc/lsetxattr.c: Likewise.
47516         * misc/lutimes.c: Likewise.
47517         * misc/madvise.c: Likewise.
47518         * misc/mincore.c: Likewise.
47519         * misc/mlock.c: Likewise.
47520         * misc/mlockall.c: Likewise.
47521         * misc/mmap.c: Likewise.
47522         * misc/mprotect.c: Likewise.
47523         * misc/msync.c: Likewise.
47524         * misc/munlock.c: Likewise.
47525         * misc/munlockall.c: Likewise.
47526         * misc/munmap.c: Likewise.
47527         * misc/preadv.c: Likewise.
47528         * misc/preadv64.c: Likewise.
47529         * misc/ptrace.c: Likewise.
47530         * misc/pwritev.c: Likewise.
47531         * misc/pwritev64.c: Likewise.
47532         * misc/readv.c: Likewise.
47533         * misc/reboot.c: Likewise.
47534         * misc/remap_file_pages.c: Likewise.
47535         * misc/removexattr.c: Likewise.
47536         * misc/revoke.c: Likewise.
47537         * misc/select.c: Likewise.
47538         * misc/setdomain.c: Likewise.
47539         * misc/setegid.c: Likewise.
47540         * misc/seteuid.c: Likewise.
47541         * misc/sethostid.c: Likewise.
47542         * misc/sethostname.c: Likewise.
47543         * misc/setregid.c: Likewise.
47544         * misc/setreuid.c: Likewise.
47545         * misc/setxattr.c: Likewise.
47546         * misc/sstk.c: Likewise.
47547         * misc/stty.c: Likewise.
47548         * misc/swapoff.c: Likewise.
47549         * misc/swapon.c: Likewise.
47550         * misc/sync.c: Likewise.
47551         * misc/syncfs.c: Likewise.
47552         * misc/syscall.c: Likewise.
47553         * misc/truncate.c: Likewise.
47554         * misc/ualarm.c: Likewise.
47555         * misc/usleep.c: Likewise.
47556         * misc/ustat.c: Likewise.
47557         * misc/utimes.c: Likewise.
47558         * misc/vhangup.c: Likewise.
47559         * misc/writev.c: Likewise.
47560         * posix/_exit.c: Likewise.
47561         * posix/alarm.c: Likewise.
47562         * posix/execve.c: Likewise.
47563         * posix/fexecve.c: Likewise.
47564         * posix/fork.c: Likewise.
47565         * posix/fpathconf.c: Likewise.
47566         * posix/getaddrinfo.c: Likewise.
47567         * posix/getegid.c: Likewise.
47568         * posix/geteuid.c: Likewise.
47569         * posix/getgid.c: Likewise.
47570         * posix/getgroups.c: Likewise.
47571         * posix/getlogin.c: Likewise.
47572         * posix/getlogin_r.c: Likewise.
47573         * posix/getpgid.c: Likewise.
47574         * posix/getpid.c: Likewise.
47575         * posix/getppid.c: Likewise.
47576         * posix/getresgid.c: Likewise.
47577         * posix/getresuid.c: Likewise.
47578         * posix/getsid.c: Likewise.
47579         * posix/getuid.c: Likewise.
47580         * posix/glob64.c: Likewise.
47581         * posix/nanosleep.c: Likewise.
47582         * posix/pathconf.c: Likewise.
47583         * posix/pause.c: Likewise.
47584         * posix/posix_madvise.c: Likewise.
47585         * posix/pread.c: Likewise.
47586         * posix/pread64.c: Likewise.
47587         * posix/pwrite.c: Likewise.
47588         * posix/pwrite64.c: Likewise.
47589         * posix/sched_getaffinity.c: Likewise.
47590         * posix/sched_getp.c: Likewise.
47591         * posix/sched_gets.c: Likewise.
47592         * posix/sched_primax.c: Likewise.
47593         * posix/sched_primin.c: Likewise.
47594         * posix/sched_rr_gi.c: Likewise.
47595         * posix/sched_setaffinity.c: Likewise.
47596         * posix/sched_setp.c: Likewise.
47597         * posix/sched_sets.c: Likewise.
47598         * posix/sched_yield.c: Likewise.
47599         * posix/setgid.c: Likewise.
47600         * posix/setlogin.c: Likewise.
47601         * posix/setpgid.c: Likewise.
47602         * posix/setresgid.c: Likewise.
47603         * posix/setresuid.c: Likewise.
47604         * posix/setsid.c: Likewise.
47605         * posix/setuid.c: Likewise.
47606         * posix/sleep.c: Likewise.
47607         * posix/spawni.c: Likewise.
47608         * posix/sysconf.c: Likewise.
47609         * posix/times.c: Likewise.
47610         * posix/wait.c: Likewise.
47611         * posix/wait3.c: Likewise.
47612         * posix/wait4.c: Likewise.
47613         * posix/waitpid.c: Likewise.
47614         * resolv/gai_sigqueue.c: Likewise.
47615         * resource/getpriority.c: Likewise.
47616         * resource/getrlimit.c: Likewise.
47617         * resource/getrusage.c: Likewise.
47618         * resource/nice.c: Likewise.
47619         * resource/setpriority.c: Likewise.
47620         * resource/setrlimit.c: Likewise.
47621         * resource/ulimit.c: Likewise.
47622         * rt/aio_cancel.c: Likewise.
47623         * rt/aio_fsync.c: Likewise.
47624         * rt/aio_read.c: Likewise.
47625         * rt/aio_sigqueue.c: Likewise.
47626         * rt/aio_suspend.c: Likewise.
47627         * rt/aio_write.c: Likewise.
47628         * rt/clock_getres.c: Likewise.
47629         * rt/clock_gettime.c: Likewise.
47630         * rt/clock_nanosleep.c: Likewise.
47631         * rt/clock_settime.c: Likewise.
47632         * rt/lio_listio.c: Likewise.
47633         * rt/mq_close.c: Likewise.
47634         * rt/mq_getattr.c: Likewise.
47635         * rt/mq_notify.c: Likewise.
47636         * rt/mq_open.c: Likewise.
47637         * rt/mq_receive.c: Likewise.
47638         * rt/mq_send.c: Likewise.
47639         * rt/mq_setattr.c: Likewise.
47640         * rt/mq_timedreceive.c: Likewise.
47641         * rt/mq_timedsend.c: Likewise.
47642         * rt/mq_unlink.c: Likewise.
47643         * rt/shm_open.c: Likewise.
47644         * rt/shm_unlink.c: Likewise.
47645         * rt/timer_create.c: Likewise.
47646         * rt/timer_delete.c: Likewise.
47647         * rt/timer_getoverr.c: Likewise.
47648         * rt/timer_gettime.c: Likewise.
47649         * rt/timer_settime.c: Likewise.
47650         * setjmp/__longjmp.c: Likewise.
47651         * setjmp/setjmp.c: Likewise.
47652         * signal/kill.c: Likewise.
47653         * signal/killpg.c: Likewise.
47654         * signal/raise.c: Likewise.
47655         * signal/sigaction.c: Likewise.
47656         * signal/sigaltstack.c: Likewise.
47657         * signal/sigblock.c: Likewise.
47658         * signal/sigignore.c: Likewise.
47659         * signal/sigintr.c: Likewise.
47660         * signal/signal.c: Likewise.
47661         * signal/sigpause.c: Likewise.
47662         * signal/sigpending.c: Likewise.
47663         * signal/sigqueue.c: Likewise.
47664         * signal/sigreturn.c: Likewise.
47665         * signal/sigset.c: Likewise.
47666         * signal/sigsetmask.c: Likewise.
47667         * signal/sigstack.c: Likewise.
47668         * signal/sigsuspend.c: Likewise.
47669         * signal/sigtimedwait.c: Likewise.
47670         * signal/sigvec.c: Likewise.
47671         * signal/sigwait.c: Likewise.
47672         * signal/sigwaitinfo.c: Likewise.
47673         * signal/sysv_signal.c: Likewise.
47674         * socket/accept.c: Likewise.
47675         * socket/accept4.c: Likewise.
47676         * socket/bind.c: Likewise.
47677         * socket/connect.c: Likewise.
47678         * socket/getpeername.c: Likewise.
47679         * socket/getsockname.c: Likewise.
47680         * socket/getsockopt.c: Likewise.
47681         * socket/isfdtype.c: Likewise.
47682         * socket/listen.c: Likewise.
47683         * socket/recv.c: Likewise.
47684         * socket/recvfrom.c: Likewise.
47685         * socket/recvmsg.c: Likewise.
47686         * socket/send.c: Likewise.
47687         * socket/sendmsg.c: Likewise.
47688         * socket/sendto.c: Likewise.
47689         * socket/setsockopt.c: Likewise.
47690         * socket/shutdown.c: Likewise.
47691         * socket/sockatmark.c: Likewise.
47692         * socket/socket.c: Likewise.
47693         * socket/socketpair.c: Likewise.
47694         * stdio-common/ctermid.c: Likewise.
47695         * stdio-common/cuserid.c: Likewise.
47696         * stdio-common/remove.c: Likewise.
47697         * stdio-common/rename.c: Likewise.
47698         * stdio-common/renameat.c: Likewise.
47699         * stdio-common/tempname.c: Likewise.
47700         * stdlib/getcontext.c: Likewise.
47701         * stdlib/makecontext.c: Likewise.
47702         * stdlib/setcontext.c: Likewise.
47703         * stdlib/swapcontext.c: Likewise.
47704         * stdlib/system.c: Likewise.
47705         * streams/fattach.c: Likewise.
47706         * streams/fdetach.c: Likewise.
47707         * streams/getmsg.c: Likewise.
47708         * streams/getpmsg.c: Likewise.
47709         * streams/putmsg.c: Likewise.
47710         * streams/putpmsg.c: Likewise.
47711         * sysdeps/unix/bsd/getpt.c: Likewise.
47712         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
47713         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
47714         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
47715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47716         Likewise.
47717         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
47718         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47719         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
47720         * sysvipc/msgctl.c: Likewise.
47721         * sysvipc/msgget.c: Likewise.
47722         * sysvipc/msgrcv.c: Likewise.
47723         * sysvipc/msgsnd.c: Likewise.
47724         * sysvipc/semctl.c: Likewise.
47725         * sysvipc/semget.c: Likewise.
47726         * sysvipc/semop.c: Likewise.
47727         * sysvipc/semtimedop.c: Likewise.
47728         * sysvipc/shmat.c: Likewise.
47729         * sysvipc/shmctl.c: Likewise.
47730         * sysvipc/shmdt.c: Likewise.
47731         * sysvipc/shmget.c: Likewise.
47732         * termios/tcdrain.c: Likewise.
47733         * termios/tcflow.c: Likewise.
47734         * termios/tcflush.c: Likewise.
47735         * termios/tcgetattr.c: Likewise.
47736         * termios/tcgetpgrp.c: Likewise.
47737         * termios/tcsendbrk.c: Likewise.
47738         * termios/tcsetattr.c: Likewise.
47739         * termios/tcsetpgrp.c: Likewise.
47740         * time/adjtime.c: Likewise.
47741         * time/clock.c: Likewise.
47742         * time/getitimer.c: Likewise.
47743         * time/gettimeofday.c: Likewise.
47744         * time/setitimer.c: Likewise.
47745         * time/settimeofday.c: Likewise.
47746         * time/stime.c: Likewise.
47747         * time/time.c: Likewise.
47749 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
47751         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
47752         /usr/old/bin.
47754         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
47755         instead of spaces.
47756         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
47758 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
47760         [BZ #14796]
47761         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
47762         FE_TONEAREST before applying Dekker multiplication and Knuth
47763         addition.  Clear inexact exceptions and check for exact zero
47764         results afterwards.
47765         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
47766         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
47767         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47768         * math/libm-test.inc (fma_test): Add more tests.
47769         (fma_test_towardzero): Likewise.
47770         (fma_test_downward): Likewise.
47771         (fma_test_upward): Likewise.
47772         * sysdeps/generic/math_private.h (default_libc_fesetround): New
47773         function.
47774         (libc_fesetround): New macro.
47775         (libc_fesetroundf): Likewise.
47776         (libc_fesetroundl): Likewise.
47777         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
47778         function.
47779         (libc_fesetround_387): Likewise.
47780         (libc_fesetroundf): New macro.
47781         (libc_fesetround): Likewise.
47782         (libc_fesetroundl): Likewise.
47783         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
47784         function.
47785         (libc_fesetroundf): New macro.
47786         (libc_fesetround): Likewise.
47787         (libc_fesetroundl): Likewise.
47788         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
47789         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
47790         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
47791         libm_hidden_ver.
47792         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
47793         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
47794         libm_hidden_def.
47795         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
47796         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
47797         libm_hidden_ver.
47798         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
47799         libm_hidden_def.
47801         [BZ #3439]
47802         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
47803         integer constant usable in #if and use that to give value to enum
47804         constant.
47805         (FE_DIVBYZERO): Likewise.
47806         (FE_UNDERFLOW): Likewise.
47807         (FE_OVERFLOW): Likewise.
47808         (FE_INVALID): Likewise.
47809         (FE_INVALID_SNAN): Likewise.
47810         (FE_INVALID_ISI): Likewise.
47811         (FE_INVALID_IDI): Likewise.
47812         (FE_INVALID_ZDZ): Likewise.
47813         (FE_INVALID_IMZ): Likewise.
47814         (FE_INVALID_COMPARE): Likewise.
47815         (FE_INVALID_SOFTWARE): Likewise.
47816         (FE_INVALID_SQRT): Likewise.
47817         (FE_INVALID_INTEGER_CONVERSION): Likewise.
47818         (FE_TONEAREST): Likewise.
47819         (FE_TOWARDZERO): Likewise.
47820         (FE_UPWARD): Likewise.
47821         (FE_DOWNWARD): Likewise.
47822         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
47823         (FE_DIVBYZERO): Likewise.
47824         (FE_OVERFLOW): Likewise.
47825         (FE_UNDERFLOW): Likewise.
47826         (FE_INEXACT): Likewise.
47827         (FE_TONEAREST): Likewise.
47828         (FE_DOWNWARD): Likewise.
47829         (FE_UPWARD): Likewise.
47830         (FE_TOWARDZERO): Likewise.
47831         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
47832         (FE_UNDERFLOW): Likewise.
47833         (FE_OVERFLOW): Likewise.
47834         (FE_DIVBYZERO): Likewise.
47835         (FE_INVALID): Likewise.
47836         (FE_TONEAREST): Likewise.
47837         (FE_TOWARDZERO): Likewise.
47838         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
47839         (FE_OVERFLOW): Likewise.
47840         (FE_UNDERFLOW): Likewise.
47841         (FE_DIVBYZERO): Likewise.
47842         (FE_INEXACT): Likewise.
47843         (FE_TONEAREST): Likewise.
47844         (FE_TOWARDZERO): Likewise.
47845         (FE_UPWARD): Likewise.
47846         (FE_DOWNWARD): Likewise.
47847         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
47848         (FE_DIVBYZERO): Likewise.
47849         (FE_OVERFLOW): Likewise.
47850         (FE_UNDERFLOW): Likewise.
47851         (FE_INEXACT): Likewise.
47852         (FE_TONEAREST): Likewise.
47853         (FE_DOWNWARD): Likewise.
47854         (FE_UPWARD): Likewise.
47855         (FE_TOWARDZERO): Likewise.
47857 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
47859         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
47861 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
47863         * scripts/cross-test-ssh.sh (command): Use newlines to separate
47864         commands.  Quote $PWD.
47865         (blacklist_exports): Don't use remove_newlines.  Replace "declare
47866         -x" by "export".
47867         (remove_newlines): Remove.
47869 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
47871         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
47872         * stdlib/stdlib.h (atof): Moved to ...
47873         * include/bits/stdlib-float.h: Here.  New file.
47874         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
47875         * stdlib/bits/stdlib-float.h: New file.
47876         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
47877         -mno-sse -mno-mmx.
47878         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
47879         <xmmintrin.h>.
47881 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
47883         * conform/conformtest.pl (@headers): Add fenv.h.
47884         * conform/data/fenv.h-data: New file.
47885         * include/fenv.h [_ISOMAC]: Disable all contents of file except
47886         include of <math/fenv.h>.
47888         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
47889         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
47890         && !UNIX98].  Enables tests for XOPEN2K8.
47891         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
47892         POSIX2008]: Likewise.
47894         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
47895         (struct rusage): Do not expect type or its members.
47897         [BZ #3439]
47898         * math/math.h (FP_NAN): Define macro to integer constant usable in
47899         #if and use that to give value to enum constant.
47900         (FP_INFINITE): Likewise.
47901         (FP_ZERO): Likewise.
47902         (FP_SUBNORMAL): Likewise.
47903         (FP_NORMAL): Likewise.
47905 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
47907         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
47908         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
47909         arguments.
47911 2012-11-02  Roland McGrath  <roland@hack.frob.com>
47913         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
47914         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
47915         autoconf-time if not.
47916         * configure.in: Remove AC_PREREQ.
47918 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47920         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
47921         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
47922         of the internal implementation.
47924 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
47926         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
47927         except include of <misc/sys/syslog.h>.
47929 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
47931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
47932         function returns with a NULL context exit with zero.
47934 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47936         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
47938 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
47940         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
47941         (run_program_cmd): This.
47942         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
47943         (tst_langinfo): New variable.  Use it.
47945 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
47947         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
47948         floating point opcodes.
47950 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
47952         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
47953         variable.
47955         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
47957         * sysdeps/mach/hurd/powerpc: Remove directory.
47958         * sysdeps/mach/powerpc: Likewise.
47960 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
47962         * scripts/check-local-headers.sh: Ignore c++ headers.
47964 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
47966         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
47967         __libc_cleanup_region_start argument.
47969 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
47971         [BZ #14784]
47972         [BZ #14785]
47973         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
47974         x * y using scaling, not as x * y + z.
47975         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
47976         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47977         * math/libm-test.inc (fma_test): Add more tests.
47978         (fma_test_towardzero): Likewise.
47979         (fma_test_downward): Likewise.
47980         (fma_test_upward): Likewise.
47982 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
47984         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
47986 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
47988         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
47989         New variable.
47991 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
47993         * rt/tst-shm.c (worker): Correct checking for mmap failure.
47995 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
47997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47998         Fix sort order.
47999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48000         Likewise.
48002 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48005         Fix the order of the list for glibc 2.17.
48006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48007         Likewise.
48009 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
48011         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48013 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
48015         [BZ #14610]
48016         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
48017         for low part of x being zero before using __atanl (y).
48018         * math/libm-test.inc (atan2_test): Add another test.
48020         * manual/install.texi (Configuring and compiling): Document
48021         general use of test-wrapper and test-wrapper-env.
48022         * INSTALL: Regenerated.
48024         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
48025         (__fma): Do not extract and scale down low bits on after-rounding
48026         systems when result rounded to normal precision would have normal
48027         exponent.
48028         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
48029         (__fmal): Do not extract and scale down low bits on after-rounding
48030         systems when result rounded to normal precision would have normal
48031         exponent.
48032         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
48033         (__fmal): Do not extract and scale down low bits on after-rounding
48034         systems when result rounded to normal precision would have normal
48035         exponent.
48036         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
48037         macro.
48038         (fma_test): Add more tests.
48039         (fma_test_towardzero): Likewise.
48040         (fma_test_downward): Likewise.
48041         (fma_test_upward): Likewise.
48043 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
48045         * sysdeps/i386/tininess.h: Renamed to ...
48046         * sysdeps/x86/tininess.h: This.
48047         * sysdeps/x86_64/tininess.h: Removed.
48049 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
48051         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
48052         input.  Use $(build-program-cmd).
48053         ($(objpfx)tst-array1-static.out): Likewise.
48054         ($(objpfx)tst-array2.out): Likewise.
48055         ($(objpfx)tst-array3.out): Likewise.
48056         ($(objpfx)tst-array4.out): Likewise.
48057         ($(objpfx)tst-array5.out): Likewise.
48058         ($(objpfx)tst-array5-static.out): Likewise.
48060 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
48062         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
48063         if defined.
48065         * nss/nsswitch.h (nss_interface_function): Provide new
48066         macro for use with NSS functions.
48067         * grp/initgroups.c: Use new macro.
48068         * nss/getXXbyYY.c: Likewise.
48069         * nss/getXXbyYY_r.c: Likewise.
48070         * nss/getXXent.c: Likewise.
48071         * nss/getXXent_r.c: Likewise.
48072         * sysdeps/posix/getaddrinfo.c: Likewise.
48074 2012-10-30  Andreas Jaeger  <aj@suse.de>
48076         * po/ru.po: Update Russion translation from translation project.
48078 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
48080         [BZ #14152]
48081         [BZ #14783]
48082         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
48083         result and shift together with sticky bit instead of replicating
48084         round-to-nearest rounding.
48085         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
48086         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
48087         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
48088         missing underflow exceptions.
48089         (fma_test_towardzero): Add more tests.
48090         (fma_test_downward): Likewise.
48091         (fma_test_upward): Likewise.
48093         [BZ #14047]
48094         * sysdeps/generic/tininess.h: New file.
48095         * sysdeps/i386/tininess.h: Likewise.
48096         * sysdeps/sh/tininess.h: Likewise.
48097         * sysdeps/x86_64/tininess.h: Likewise.
48098         * stdlib/tst-strtod-underflow.c: Likewise.
48099         * stdlib/tst-tininess.c: Likewise.
48100         * stdlib/strtod_l.c: Include <tininess.h>.
48101         (round_and_return): Do not set errno for exact underflow cases.
48102         Force an underflow exception when setting errno for underflow.
48103         Determine underflow based on rounding to normal precision if
48104         TININESS_AFTER_ROUNDING.
48105         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
48106         ERANGE for exact underflow cases.
48107         * stdlib/Makefile (tests): Add tst-tininess and
48108         tst-strtod-underflow.
48109         ($(objpfx)tst-tininess): Use $(link-libm).
48110         ($(objpfx)tst-strtod-underflow): Likewise.
48112 2012-10-30  Andreas Jaeger  <aj@suse.de>
48114         [BZ#14767]
48115         * elf/Makefile (tests): Remove conditional for have-initfini-array
48116         since this is now always required and the variable does not exist
48117         anymore.
48118         (tests-static): Likewise.
48119         (modules-names): Likewise.
48121         * po/eo.po: Add Esperanto translation from translation project.
48123         * elf/tst-array1.c (fini_array): Make writeable so that it can be
48124         merged with constructor/destructor.
48125         (init_array): Likewise.
48126         * elf/tst-array2dep.c (fini_array): Likewise.
48127         (init_array): Likewise.
48129 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
48131         * manual/message.texi: Delete @cartouche tags.
48133 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
48135         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
48136         EOPNOTSUPP.
48137         * sysdeps/mach/hurd/fsync.c: Likewise.
48139         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
48140         [_POSIX_REALTIME_SIGNALS]: Change condition to
48141         [_POSIX_REALTIME_SIGNALS > 0].
48143 2012-10-27  Andreas Jaeger  <aj@suse.de>
48145         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
48146         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
48147         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
48148         [__WORDSIZE != 64]: Likewise.
48150 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
48152         *  iconvdata/tst-table.sh: Remove ${SHELL}.
48153         *  iconvdata/tst-tables.sh: Likewise.
48155 2012-10-25  David S. Miller  <davem@davemloft.net>
48157         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48158         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
48159         of strtoull.
48161         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
48162         ifunc-impl-list.c
48163         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48164         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
48165         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
48166         file.
48168 2012-10-25  Roland McGrath  <roland@hack.frob.com>
48170         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48171         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
48172         __getdirentries.
48174 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
48175             Jim Blandy  <jimb@codesourcery.com>
48177         * scripts/cross-test-ssh.sh: New file.
48178         * manual/install.texi (Configuring and compiling): Document use of
48179         cross-test-ssh.sh.
48180         * INSTALL: Regenerated.
48182 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
48184         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
48185         EOPNOTSUPP.
48187 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
48189         * Makeconfig (run-program-prefix): Fix comment.
48191 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
48192             Jim Blandy  <jimb@codesourcery.com>
48194         * Makeconfig (test-wrapper): New variable,
48195         (test-wrapper-env): Likewise.
48196         [$(cross-compiling) = yes && $(test-wrapper) != ""]
48197         (run-built-tests): Define to yes.
48198         (run-program-prefix): Use $(test-wrapper).
48199         (built-program-cmd): Likewise.
48200         * Rules (make-test-out): Use $(test-wrapper-env) and
48201         $(host-built-program-cmd).
48202         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
48203         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
48204         tst-pathopt.sh.
48205         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
48206         $(test-wrapper-env) to tst-rtld-load-self.sh.
48207         ($(objpfx)order2.out): Use $(test-wrapper).
48208         ($(objpfx)tst-initorder.out): Likewise.
48209         ($(objpfx)tst-initorder2.out): Likewise.
48210         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
48211         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
48212         (test_wrapper_env): New variable.  Use it to run ld.so.
48213         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
48214         Use it to run ld.so.
48215         (test_wrapper_env): Likewise.
48216         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
48217         $(test-wrapper) to run-iconv-test.sh.
48218         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
48219         (ICONV): Use $test_wrapper.
48220         * posix/Makefile ($(objpfx)globtest.out): Pass
48221         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
48222         globtest.sh, not $(run-program-prefix).
48223         * posix/globtest.sh (run_via_rtld_prefix): New variable.
48224         (test_wrapper): Likewise.
48225         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
48226         set together with run_via_rtld_prefix.
48227         (run_program_prefix): Define in terms of test_wrapper and
48228         run_via_rtld_prefix.
48230 2012-10-24  Roland McGrath  <roland@hack.frob.com>
48232         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
48233         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
48234         Targets removed.
48236         [BZ #14743]
48237         * include/time.h: Remove librt_hidden_proto (clock_gettime).
48238         Declare __clock_getres, __clock_gettime, __clock_settime,
48239         __clock_nanosleep, and __clock_getcpuclockid.
48240         * rt/clock_gettime.c: Define __clock_gettime as an alias.
48241         Remove librt_hidden_def (clock_gettime).
48242         * sysdeps/unix/clock_gettime.c: Likewise.
48243         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
48244         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
48245         * rt/clock_getres.c: Define __clock_getres as an alias.
48246         * sysdeps/posix/clock_getres.c: Likewise.
48247         * rt/clock_settime.c: Define __clock_settime as an alias.
48248         * sysdeps/unix/clock_settime.c: Likewise.
48249         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
48250         * sysdeps/unix/clock_nanosleep.c: Likewise.
48251         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
48252         * rt/clock-compat.c: New file.
48253         * rt/Makefile (librt-routines): Add clock-compat and move
48254         $(clock-routines) to ...
48255         (routines): ... here, new variable.
48256         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
48257         Don't add get_clockfreq here.
48258         * rt/Versions (libc: GLIBC_2.17): New version set.
48259         Add clock_* symbols here.
48260         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
48261         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
48262         (GLIBC_2.17): Add clock_* symbols.
48263         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
48264         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
48265         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
48266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48267         Likewise.
48268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48269         Likewise.
48270         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
48271         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
48272         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
48273         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
48274         * NEWS: Mention the move.
48276         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
48277         Use __open, __read, __close rather than their public counterparts.
48278         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48279         (__get_clockfreq_via_cpuinfo): Likewise.
48280         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
48281         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
48283         * config.h.in (HAVE_IFUNC): New #undef.
48284         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
48285         was successful.
48286         * configure: Regenerated.
48288 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
48290         * configure.in: Move READELF check to start of file.
48291         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
48292         libc_cv_asm_gnu_indirect_function in the process.
48293         * configure: Regenerated.
48295 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
48297         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
48298         send the output to /dev/null.
48299         (libc_cv_cc_with_libunwind): Likewise.
48300         (libc_cv_as_noexecstack): Likewise.
48301         * configure: Regenerate.
48303 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
48305         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
48307         * posix/globtest.sh (TMPDIR): Do not set.
48308         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
48309         (testout): Likewise.
48311 2012-10-24  Andreas Jaeger  <aj@suse.de>
48313         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
48314         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
48315         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
48316         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
48317         posix_fadvise64, posix_fallocate64.
48319         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
48320         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
48321         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
48322         Likewise.
48323         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
48324         Likewise.
48325         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
48327         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
48328         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
48329         <bits/fcntl-linux.h>.
48330         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
48332         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
48333         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
48334         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
48335         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
48336         [__WORDSIZE != 64]: Likewise.
48338 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
48340         * Makeconfig (run-built-tests): New variable.
48341         * Rules [$(cross-compiling) = yes]: Change condition to
48342         [$(run-built-tests) = no].
48343         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
48344         to [$(run-built-tests) = yes].
48345         * elf/Makefile [$(cross-compiling) = no]: Likewise
48346         * grp/Makefile [$(cross-compiling) = no]: Likewise.
48347         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
48348         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
48349         * intl/Makefile [$(cross-compiling) = no]: Likewise.
48350         * io/Makefile [$(cross-compiling) = no]: Likewise.
48351         * libio/Makefile [$(cross-compiling) = no]: Likewise.
48352         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
48353         * misc/Makefile [$(cross-compiling) = no]: Likewise.
48354         * posix/Makefile [$(cross-compiling) = no]: Likewise.
48355         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
48356         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
48357         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
48358         * string/Makefile [$(cross-compiling) = no]: Likewise.
48360         * posix/Makefile ($(objpfx)globtest.out): Pass
48361         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
48362         $(rtld-installed-name).
48363         * posix/globtest.sh (elf_objpfx): Remove variable.
48364         (rtld_installed_name): Likewise.
48365         (library_path): Likewise.
48366         (run_program_prefix): New variable.  Use for running globtest
48367         binary.
48369 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
48370             Joseph Myers  <joseph@codesourcery.com>
48372         * Makeconfig (host-built-program-cmd): New variable.
48373         * elf/Makefile (tst-stackguard1-ARGS): Use
48374         $(host-built-program-cmd).
48375         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
48376         (tst-spawn-ARGS): Likewise.
48377         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
48379 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
48380             Jim Blandy  <jimb@codesourcery.com>
48382         * Makeconfig (run-via-rtld-prefix): New variable.
48383         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
48384         (built-program-cmd): Likewise.
48386 2012-10-22  Andreas Jaeger  <aj@suse.de>
48388         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
48389         __O_RSYNC if it exists, otherwise to O_SYNC.
48391 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
48392             Joseph Myers  <joseph@codesourcery.com>
48394         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
48395         /dev/null.
48396         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
48397         from /dev/null
48398         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
48399         /dev/null.
48401 2012-10-22  Andreas Jaeger  <aj@suse.de>
48403         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
48404         Define always.
48405         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
48407         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48408         bits/fcntl-linux.h.
48410         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
48411         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
48413         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
48414         to __O_LARGEFILE.
48415         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
48416         to __O_LARGEFILE.
48418 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
48419             Joseph Myers  <joseph@codesourcery.com>
48421         * config.make.in (NM): New variable.
48423 2012-10-21  Andreas Jaeger  <aj@suse.de>
48425         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
48426         definitions and declarations that are provided by
48427         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
48429 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
48431         [BZ #14683]
48432         * elf/Makefile (tests-static): Add tst-leaks1-static.
48433         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
48434         ($(objpfx)tst-leaks1-static): New rule.
48435         ($(objpfx)tst-leaks1-static-mem): Likewise.
48436         (tst-leaks1-static-ENV): New macro.
48437         * elf/dl-open.c (dl_open_worker): Check the main application
48438         only if SHARED is defined.
48439         * elf/tst-leaks1-static.c: New file.
48441 2012-10-20  Andreas Jaeger  <aj@suse.de>
48443         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
48444         generic values for Linux.
48445         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
48446         and declarations that are provided by <bits/fcntl-linux.h> and
48447         include <bits/fcntl-linux.h>.
48448         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48449         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48451 2012-10-20  Roland McGrath  <roland@hack.frob.com>
48453         * io/fcntl.h: Move include of <bits/types.h> to the top and
48454         include it unconditionally.
48456 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
48458         * wcsmbs/Makefile (tests-ifunc): New variable.
48459         (tests): Add $(tests-ifunc).
48460         * wcsmbs/test-wcschr-ifunc.c: New file.
48461         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
48462         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
48463         * wcsmbs/test-wcslen-ifunc.c: Likewise.
48464         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
48465         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
48467         * string/Makefile (tests-ifunc): New variable.
48468         (tests): Add $(tests-ifunc).
48469         * string/test-memccpy.c (TEST_NAME): New macro.
48470         * string/test-memchr.c (TEST_NAME): Likewise.
48471         * string/test-memcmp.c (TEST_NAME): Likewise.
48472         * string/test-memcpy.c (TEST_NAME): Likewise.
48473         * string/test-memmem.c (TEST_NAME): Likewise.
48474         * string/test-memmove.c (TEST_NAME): Likewise.
48475         * string/test-memset.c (TEST_NAME): Likewise.
48476         * string/test-rawmemchr.c (TEST_NAME): Likewise.
48477         * string/test-stpcpy.c (TEST_NAME): Likewise.
48478         * string/test-stpncpy.c (TEST_NAME): Likewise.
48479         * string/test-strcasecmp.c (TEST_NAME): Likewise.
48480         * string/test-strcasestr.c (TEST_NAME): Likewise.
48481         * string/test-strcat.c (TEST_NAME): Likewise.
48482         * string/test-strchr.c (TEST_NAME): Likewise.
48483         * string/test-strcmp.c(TEST_NAME): Likewise.
48484         * string/test-strcpy.c (TEST_NAME): Likewise.
48485         * string/test-strcspn.c (TEST_NAME): Likewise.
48486         * string/test-strlen.c (TEST_NAME): Likewise.
48487         * string/test-strncasecmp.c (TEST_NAME): Likewise.
48488         * string/test-strncmp.c (TEST_NAME): Likewise.
48489         * string/test-strncpy.c (TEST_NAME): Likewise.
48490         * string/test-strnlen.c (TEST_NAME): Likewise.
48491         * string/test-strpbrk.c (TEST_NAME): Likewise.
48492         * string/test-strrchr.c (TEST_NAME): Likewise.
48493         * string/test-strspn.c (TEST_NAME): Likewise.
48494         * string/test-strstr.c (TEST_NAME): Likewise.
48495         * string/test-bcopy-ifunc.c: New file.
48496         * string/test-bzero-ifunc.c: Likewise.
48497         * string/test-memccpy-ifunc.c: Likewise.
48498         * string/test-memchr-ifunc.c: Likewise.
48499         * string/test-memcmp-ifunc.c: Likewise.
48500         * string/test-memcpy-ifunc.c: Likewise.
48501         * string/test-memmem-ifunc.c: Likewise.
48502         * string/test-memmove-ifunc.c: Likewise.
48503         * string/test-mempcpy-ifunc.c: Likewise.
48504         * string/test-memset-ifunc.c: Likewise.
48505         * string/test-rawmemchr-ifunc.c: Likewise.
48506         * string/test-stpcpy-ifunc.c: Likewise.
48507         * string/test-stpncpy-ifunc.c: Likewise.
48508         * string/test-strcasecmp-ifunc.c: Likewise.
48509         * string/test-strcasestr-ifunc.c: Likewise.
48510         * string/test-strcat-ifunc.c: Likewise.
48511         * string/test-strchr-ifunc.c: Likewise.
48512         * string/test-strchrnul-ifunc.c: Likewise.
48513         * string/test-strcmp-ifunc.c: Likewise.
48514         * string/test-strcpy-ifunc.c: Likewise.
48515         * string/test-strcspn-ifunc.c: Likewise.
48516         * string/test-strlen-ifunc.c: Likewise.
48517         * string/test-strncasecmp-ifunc.c: Likewise.
48518         * string/test-strncat-ifunc.c: Likewise.
48519         * string/test-strncmp-ifunc.c: Likewise.
48520         * string/test-strncpy-ifunc.c: Likewise.
48521         * string/test-strnlen-ifunc.c: Likewise.
48522         * string/test-strpbrk-ifunc.c: Likewise.
48523         * string/test-strrchr-ifunc.c: Likewise.
48524         * string/test-strspn-ifunc.c: Likewise.
48525         * string/test-strstr-ifunc.c: Likewise.
48527         * debug/Makefile (tests-ifunc): New variable.
48528         (tests): Add $(tests-ifunc).
48529         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
48530         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
48531         * debug/test-stpcpy_chk-ifunc.c: New file.
48532         * debug/test-strcpy_chk-ifunc.c: Likewise.
48534 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
48536         [BZ #13601]
48537         * elf/dl-load.c (open_verify): Retry read if the entire ELF
48538         header is not read in.
48540 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
48542         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
48543         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
48544         directly.  Pass built executable to script as
48545         $(built-program-cmd).
48546         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
48547         $testprogram without using LD_LIBRARY_PATH and $ldso.
48549         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
48550         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
48551         $(rtld-installed-name).
48552         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
48553         (rtld_installed_name): Likewise.
48554         (library_path): Likewise.
48555         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
48556         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
48557         $(run-program-prefix) to tst-tables.sh.
48558         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
48559         it to run tst-table-from and tst-table-to.
48560         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
48561         Pass it to tst-table.sh.
48562         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
48563         $(run-program-prefix) to tst-gettext.sh.
48564         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
48565         tst-translit.sh.
48566         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
48567         tst-gettext2.sh.
48568         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
48569         to run tst-gettext.
48570         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
48571         to run tst-gettext2.
48572         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
48573         to run tst-translit.
48574         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
48575         $(run-program-prefix) to tst-mtrace.sh.
48576         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
48577         to run tst-mtrace.
48578         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
48579         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
48580         $(rtld-installed-name).
48581         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
48582         (rtld_installed_name): Likewise.
48583         (run_program_prefix): New variable.  Use it to run wordexp-test.
48585         * Makeconfig (ARCH): Remove all definitions.
48586         (machine): Likewise.
48587         [ARCH]: Remove conditional code.
48588         [!objdir]: Give error.
48589         [!objdir] (objpfx): Remove.
48590         [!objdir] (common-objpfx): Likewise.
48591         [!objdir] (common-objdir): Likewise.
48592         * configure.in (config_makefile): Remove.  Hardcode Makefile in
48593         AC_CONFIG_FILES call.
48594         * configure: Regenerated.
48596         [BZ #13888]
48597         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
48598         or TMPDIR.
48599         (testout): Likewise.
48601         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
48602         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
48603         $(rtld-installed-name).
48604         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
48605         (rtld_installed_name): Likwise.
48606         (runit): Remove function.
48607         (run_getconf): New variable,  Use it for running getconf binary.
48609 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
48611         [BZ #14716]
48612         * string/test-memmem.c (check_result): New function.
48613         (do_one_test): Use it.
48614         (check1): New function.
48615         (test_main): Use it.
48617 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
48619         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
48621 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
48623         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
48624         (_G_LSEEK64): Likewise.
48625         (_G_MMAP64): Likewise.
48626         (_G_FSTAT64): Likewise.
48627         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
48628         (_G_LSEEK64): Likewise.
48629         (_G_MMAP64): Likewise.
48630         (_G_FSTAT64): Likewise.
48631         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
48632         unconditional.  Call __mmap64 directly.
48633         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
48634         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
48635         __lseek64 directly.
48636         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
48637         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
48638         __mmap64 directly.
48639         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
48640         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
48641         __lseek64 directly.
48642         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
48643         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
48644         __lseek64 directly.
48645         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
48646         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
48647         __lseek64 directly.
48648         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
48649         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
48650         __fxstat64 directly.
48651         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
48652         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
48653         unconditional.
48654         (freopen64) [!_G_OPEN64]: Remove conditional code.
48655         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
48656         unconditional.
48657         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
48658         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
48659         unconditional.
48660         (ftello64) [!_G_LSEEK64]: Remove conditional code.
48661         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
48662         unconditional.
48663         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
48664         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
48665         unconditional.
48666         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
48667         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
48668         unconditional.
48669         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
48670         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
48671         unconditional.
48672         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
48673         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
48674         unconditional.
48675         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
48677 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
48679         [BZ #12140]
48680         * manual/memory.texi (Malloc Tunable Parameters): Add note
48681         about free list pointers overwriting some perturb bytes.
48682         Wording suggested by Roland McGrath.
48684 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
48686         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
48687         (lgamma_test): Likewise.
48688         (tgamma_test): Likewise.
48690 2012-10-16  Florian Weimer  <fweimer@redhat.com>
48692         [BZ #14700]
48693         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
48694         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
48696 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
48698         * NEWS: Mention BZ #14716.
48699         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
48700         when removing AVAILABLE1_USES_J macro.
48702 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
48704         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
48705         (__bswap_64): __uint64_t for unsigned 64-bit int.
48707 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
48709         * include/string.h (memmem): Declare libc hidden alias.
48710         * string/memmem.c (memmem): Define libc hidden alias.
48711         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
48712         __read, __close instead of open, read, close.
48714 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
48716         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
48717         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
48718         global and hidden.
48719         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
48720         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
48721         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
48722         Likewise.
48723         (__rawmemchr_sse2): Likewise.
48724         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
48725         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
48726         (__strchr_sse2): Likewise.
48727         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
48728         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
48729         (__strcasecmp_sse2): Likewise.
48730         (__strncasecmp_sse2): Likewise.
48731         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
48732         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
48733         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
48734         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
48735         (__strrchr_sse2): Likewise.
48736         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
48737         ifunc-impl-list.c.
48738         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
48739         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
48740         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
48741         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
48742         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
48743         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
48744         * sysdeps/x86_64/multiarch/memset.S: Likewise.
48745         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
48746         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
48747         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
48748         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
48749         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
48750         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
48751         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
48752         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
48753         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
48754         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
48755         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
48756         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
48757         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
48758         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
48759         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
48760         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
48761         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
48762         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
48763         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48764         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
48765         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
48766         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
48767         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
48769         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
48770         global and hidden.
48771         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
48772         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
48773         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
48774         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
48775         Likewise.
48776         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
48777         Likewise.
48778         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
48779         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
48780         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
48781         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
48782         ifunc-impl-list.c.
48783         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
48784         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
48785         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
48786         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
48787         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
48788         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
48789         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
48790         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
48791         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
48792         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
48793         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
48794         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
48795         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
48796         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
48797         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
48798         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
48799         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
48800         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
48801         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
48802         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
48803         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48804         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
48805         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
48806         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
48807         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48808         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
48809         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
48810         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
48811         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
48812         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
48813         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
48814         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
48815         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
48816         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
48817         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
48818         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
48819         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
48820         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
48821         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
48822         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
48823         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
48825         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
48826         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
48827         * include/ifunc-impl-list.h: New file.
48828         * misc/ifunc-impl-list.c: Likewise.
48829         * misc/Makefile (routines): Add ifunc-impl-list.
48830         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
48831         * string/test-string.h: Include <ifunc-impl-list.h>.
48832         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
48833         TEST_NAME]: New variables.
48834         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
48835         are defined.
48836         (test_init): Call __libc_ifunc_impl_list to initialize
48837         func_list if TEST_IFUNC and TEST_NAME are defined.
48839         * string/Makefile (strop-tests): Add bcopy and bzero.
48840         * string/test-bcopy.c: New file.
48841         * string/test-bzero.c: Likewise.
48842         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
48843         defined.
48844         * string/test-memset.c: Support bzero test if TEST_BZERO is
48845         defined.
48846         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
48847         __libc_memmove.
48848         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
48849         __libc_memset.
48850         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
48851         of memset.
48853 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
48855         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
48856         * configure: Regenerated.
48858         * Makeconfig (+link-static-before-libc): Don't include
48859         $(link-static-libc).
48861         * libio/libio.h (_IO_pos_t): Remove.
48863 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
48865         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
48866         McGrath.
48868 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
48870         * crypt/crypt-entry.c: Include fips-private.h.
48871         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
48872         * crypt/md5c-test.c (main): Tolerate disabled MD5.
48873         * sysdeps/unix/sysv/linux/fips-private.h: New file.
48874         * sysdeps/generic/fips-private.h: New file, dummy fallback.
48876 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
48878         * crypt/crypt-private.h: Include stdbool.h.
48879         (_ufc_setup_salt_r): Return bool.
48880         * crypt/crypt-entry.c: Include errno.h.
48881         (__crypt_r): Return NULL with EINVAL for bad salt.
48882         * crypt/crypt_util.c (bad_for_salt): New.
48883         (_ufc_setup_salt_r): Check that salt is long enough and within
48884         the specified alphabet.
48885         * crypt/badsalttest.c: New file.
48886         * crypt/Makefile (tests): Add it.
48887         ($(objpfx)badsalttest): New.
48889 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
48891         * NEWS: Add entry for BZ #14602.
48893 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
48895         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
48896         type-generic.
48897         * math/libm-test.inc: Update comment listing what functions and
48898         macros are tested.
48899         (isgreater_test): New function.
48900         (isgreaterequal_test): Likewise.
48901         (isless_test): Likewise.
48902         (islessequal_test): Likewise.
48903         (islessgreater_test): Likewise.
48904         (isunordered_test): Likewise.
48905         (main): Call the new functions.
48907 2012-10-09  Roland McGrath  <roland@hack.frob.com>
48909         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
48910         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
48911         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
48912         * sysdeps/i386/configure: Regenerated.
48913         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
48914         * sysdeps/mach/configure: Regenerated.
48915         * sysdeps/mach/hurd/configure: Regenerated.
48916         * sysdeps/powerpc/configure: Regenerated.
48917         * sysdeps/powerpc/powerpc32/configure: Regenerated.
48918         * sysdeps/powerpc/powerpc64/configure: Regenerated.
48919         * sysdeps/s390/s390-32/configure: Regenerated.
48920         * sysdeps/s390/s390-64/configure: Regenerated.
48921         * sysdeps/sh/configure: Regenerated.
48922         * sysdeps/sparc/configure: Regenerated.
48923         * sysdeps/unix/sysv/linux/configure: Regenerated.
48924         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
48925         * sysdeps/x86_64/configure: Regenerated.
48927         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
48928         defined.  Don't check if MAP is NULL.
48930 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
48932         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
48933         (_G_stat64): Likewise.
48934         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
48935         (_G_stat64): Likewise.
48936         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
48937         instead of struct _G_stat64.
48938         * libio/fileops.c (mmap_remap_check): Likewise.
48939         (decide_maybe_mmap): Likewise.
48940         (_IO_new_file_seekoff): Likewise.
48941         (_IO_file_stat): Likewise.
48942         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
48943         _G_off64_t.
48944         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
48945         instead of struct _G_stat64.
48946         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
48948 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
48950         [BZ #14602]
48951         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
48952         Replace with ...
48953         (CHECK_EOL): New macro.
48954         (two_way_short_needle): Check beginning of haystack for EOL.  Use
48955         CHECK_EOL.
48956         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
48957         Replace with CHECK_EOL.
48958         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
48959         Replace with CHECK_EOL.
48961 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
48963         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
48964         type-generic.
48965         * math/libm-test.inc: Update comment listing what functions and
48966         macros are tested.
48967         (finite_test): New function.
48968         (isinf_test): Likewise.
48969         (isnan_test): Likewise.
48970         (fpclassify_test): Test subnormal input.
48971         (isfinite_test): Likewise.
48972         (isnormal_test): Likewise.
48973         (main): Call the new functions.
48975 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
48977         [BZ #14660]
48978         * Makerules (%.dynsym): Force C locale when running
48979         $(OBJDUMP) --dynamic-syms.
48981 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
48983         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
48984         <stdint.h>.
48986 2012-10-06  David S. Miller  <davem@davemloft.net>
48988         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
48989         upper 32-bits of the length value in %o2 since we use branch-on-register
48990         tests which consider the entire 64-bit register.
48992 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
48994         * string/test-strstr.c (check2): Add a test for page boundary.
48996 2012-10-05  David S. Miller  <davem@davemloft.net>
48998         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
48999         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
49000         file.
49001         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
49002         sysdep_routines.
49003         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
49004         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
49005         and bzero when HWCAP_SPARC_CRYPTO is present.
49007 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
49009         [BZ #14602]
49010         * string/test-strstr.c (check2): New function.
49011         (test_main): Call check2.
49013         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
49014         and bug-strchr1.
49015         * string/bug-strcasestr1.c (do_test): Moved to ...
49016         * string/test-strcasestr.c (check1): Here.  New function.
49017         (do_one_test): Break out result checking code into ...
49018         (check_result): This.  New function.
49019         (do_one_test): Call check_result.
49020         (test_main): Call check1.
49021         * string/bug-strchr1.c (do_test): Moved to ...
49022         * string/test-strchr.c (check1): Here.  New function.
49023         (do_one_test): Break out result checking code into ...
49024         (check_result): This.  New function.
49025         (do_one_test): Call check_result.
49026         (test_main): Call check1.
49027         * string/bug-strstr1.c (main): Moved to ...
49028         * string/test-strstr.c (check1): Here.  New function.
49029         (do_one_test): Break out result checking code into ...
49030         (check_result): This.  New function.
49031         (do_one_test): Call check_result.
49032         (test_main): Call check1.
49033         * string/bug-strcasestr1.c: Removed.
49034         * string/bug-strchr1.c: Likewise.
49035         * string/bug-strstr1.c: Likewise.
49037         * elf/Makefile (dl-routines): Add hwcaps.
49038         * elf/dl-support.c (_dl_important_hwcaps): Removed.
49039         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
49040         (_dl_important_hwcaps): Moved to ...
49041         * elf/dl-hwcaps.c: Here.  New file.
49042         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
49044         [BZ #14557]
49045         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
49046         if IS_IN_rtld isn't defined.
49048         * elf/dl-support.c (_dl_sysinfo_map): New.
49049         Include "get-dynamic-info.h" and "setup-vdso.h".
49050         (_dl_non_dynamic_init): Call setup_vdso.
49051         * elf/dynamic-link.h: Don't include <assert.h>.
49052         (elf_get_dynamic_info): Moved to ...
49053         * elf/get-dynamic-info.h: Here.  New file.
49054         * elf/dynamic-link.h: Include "get-dynamic-info.h".
49055         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
49056         * elf/setup-vdso.h: Here.  New file.
49057         * elf/rtld.c: Include "setup-vdso.h".
49058         (dl_main): Call setup_vdso.
49060 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
49062         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
49063         creal in comment listing functions tested.  List finite, isinf,
49064         isnan, isless, islessequal, isgreater, isgreaterequal,
49065         islessgreater, isunordered, lgamma_r and pow10 as functions and
49066         macros not tested.  Mention which functions not tested are aliases
49067         for other functions.  Fix typo.  Note that signs of NaNs are not
49068         tested.
49070         * scripts/config.guess: Update from config.git.
49071         * scripts/config.sub: Likewise.
49073 2012-10-04  Roland McGrath  <roland@hack.frob.com>
49075         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
49076         * misc/madvise.c (madvise): Renamed to __madvise.
49077         Make madvise a weak alias.
49078         * include/sys/mman.h: Declare __madvise.
49079         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
49080         * sysdeps/unix/syscalls.list
49081         (madvise): Make __madvise the strong name, and madvise a weak alias.
49082         * sysdeps/unix/sysv/linux/syscalls.list
49083         (madvise, mmap): Remove redundant entries.
49084         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
49085         * malloc/malloc.c (mtrim): Likewise.
49086         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
49088 2012-10-03  Roland McGrath  <roland@hack.frob.com>
49090         * sysdeps/mach/hurd/dl-cache.c: File removed.
49091         * config.h.in (USE_LDCONFIG): New #undef.
49092         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
49093         * configure: Regenerated.
49094         * elf/Makefile (dl-routines): Add dl-cache only under
49095         [$(use-ldconfig) = yes].
49096         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
49097         cache on [USE_LDCONFIG].
49098         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
49099         [USE_LDCONFIG].
49100         * elf/rtld.c (dl_main): Likewise.
49102 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
49104         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
49105         _SC_LEVEL4_CACHE_LINESIZE.
49107 2012-10-03  Roland McGrath  <roland@hack.frob.com>
49109         * sysdeps/unix/bsd/confstr.h: File removed.
49111 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
49113         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
49114         sys/sdt-config.h.
49116 2012-10-02  Roland McGrath  <roland@hack.frob.com>
49118         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
49119         Make 'mapoff' field ElfW(Off) rather than off_t.
49121 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
49123         * nscd/Makefile: Remove nscd-cflags and all its users.
49124         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
49125         (CFLAGS-nonlib): Add compiler flags for nscd modules.
49127         [BZ #10631]
49128         * malloc.c (malloc_printerr): Clarify error message.
49130 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
49132         [BZ #14648]
49133         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49134         Set bit_FMA_Usable if FMA is supported.
49135         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
49136         macro.
49137         (bit_FMA4_Usable): Updated.
49138         (index_FMA_Usable): New macro.
49139         (CPUID_FMA): Likewise
49140         (HAS_FMA): Defined with bit_FMA_Usable.
49142 2012-10-01  Roland McGrath  <roland@hack.frob.com>
49144         * bits/types.h (__swblk_t): Type removed.
49145         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
49146         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
49147         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49148         (__SWBLK_T_TYPE): Likewise.
49149         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
49150         (__SWBLK_T_TYPE): Likewise.
49151         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49152         (__SWBLK_T_TYPE): Likewise.
49153         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49154         (__SWBLK_T_TYPE): Likewise.
49156 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
49157             Honza Horak <hhorak@redhat.com>
49159         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
49160         (xdr_mapname): Use YPMAXMAP as maxsize.
49161         (xdr_peername): Use YPMAXPEER as maxsize.
49162         (xdr_keydat): Use YPAXRECORD as maxsize.
49163         (xdr_valdat): Use YPMAXRECORD as maxsize.
49165 2012-10-01  Roland McGrath  <roland@hack.frob.com>
49167         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
49169         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
49170         * csu/init-first.c: ... here.
49171         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
49172         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
49173         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
49174         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
49175         * sysdeps/i386/init-first.c: File removed.
49176         * sysdeps/sh/init-first.c: File removed.
49178 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
49180         [BZ #14645]
49181         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
49182         if x * y might underflow to zero and z is zero.
49183         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49184         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49185         * math/libm-test.inc (min_subnorm_value): New variable.
49186         (fma_test): Add more tests.
49187         (fma_test_towardzero): Likewise.
49188         (fma_test_downward): Likewise
49189         (fma_test_upward): Likewise.
49190         (initialize): Set min_subnorm_value.
49192 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
49194         [BZ #14638]
49195         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
49196         0 + 0.
49197         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
49198         mode for addition resulting in exact zero.
49199         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
49200         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
49201         exact 0 + 0.
49202         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
49203         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49204         * math/libm-test.inc (fma_test): Add more tests.
49205         (fma_test_towardzero): New function.
49206         (fma_test_downward): Likewise.
49207         (fma_test_upward): Likewise.
49208         (main): Call the new functions.
49210 2012-09-28  David S. Miller  <davem@davemloft.net>
49212         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
49214 2012-09-28  Roland McGrath  <roland@hack.frob.com>
49216         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
49217         instead of SIGALRM.
49219         * sysdeps/gnu/_G_config.h: Moved to ...
49220         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
49221         * sysdeps/mach/hurd/_G_config.h: Moved to ...
49222         * sysdeps/generic/_G_config.h: ... here.
49224         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
49226         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
49228         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
49229         Conditionalize target on [libnss_test1.so-version].
49231         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
49233         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
49234         (elfobjdir): Move out of conditionals.
49236         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
49237         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
49238         (__nss_lookup_function): Conditionalize label remove_from_tree on
49239         [!DO_STATIC_NSS || SHARED], matching its only use.
49241 2012-09-28  David S. Miller  <davem@davemloft.net>
49243         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
49244         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
49245         file.
49246         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
49247         sysdep_routines.
49248         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
49249         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
49250         when HWCAP_SPARC_CRYPTO is present.
49252 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
49254         * io/tst-mknodat.c: Create a FIFO instead of a socket.
49256 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
49258         [BZ #6530]
49259         * stdio-common/vfprintf.c (process_string_arg): Revert
49260         2000-07-22 change.
49262 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
49264         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
49265         for testcase.
49266         * stdio-common/tst-sprintf.c: Include <locale.h>
49267         (main): Test sprintf's handling of incomplete multibyte
49268         characters.
49270 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
49272         * elf/dl-runtime.c (VERSYMIDX): Removed.
49273         * elf/dl-version.c (VERSYMIDX): Likewise.
49274         * elf/do-rel.h (VERSYMIDX): Likewise.
49275         (VALIDX): Likewise.
49276         * elf/dynamic-link.h (VERSYMIDX): Likewise.
49277         * elf/rtld.c (VALIDX): Likewise.
49278         (ADDRIDX): Likewise.
49279         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
49280         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
49281         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
49282         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
49283         (VALIDX): Likewise.
49284         (ADDRIDX): Likewise.
49286 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
49288         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
49290 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
49292         [BZ #11438]
49293         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
49294         to global scope.
49295         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
49296         addresses are in the same scope as 192.0.2/24.
49297         * posix/gai.conf: Document new scope table defaults.
49299 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49301         [BZ #5298]
49302         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
49303         for ftell.  Compute offsets from write pointers instead.
49304         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
49306 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49308         [BZ #14543]
49309         * libio/Makefile (tests): New test case tst-fseek.
49310         * libio/tst-fseek.c: New test case to verify that fseek/ftell
49311         combination works in wide mode.
49312         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
49313         state when the external buffer state changes.
49315 2012-09-27  David S. Miller  <davem@davemloft.net>
49317         [BZ #14376]
49318         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
49319         pass reloc->r_addend in as the 'high' argument to
49320         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
49322         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49324 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
49326         * rt/tst-aio2.c: Include <pthread.h>.
49327         * rt/tst-aio3.c: Likewise.
49329 2012-09-27  Steve Ellcey  <sellcey@mips.com>
49331         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
49333 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
49335         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
49336         contents on [SHARED].
49338 2012-09-26  Marek Polacek  <polacek@redhat.com>
49340         [BZ #14530]
49341         [BZ #13741]
49342         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
49343         for C++ and GCC <4.3 as well as for non GCC compilers.
49345 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
49347         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49349 2012-09-25  Roland McGrath  <roland@hack.frob.com>
49351         * Makefile.in (all, install): Declare with .PHONY.
49352         Reported by Michael Hope <michael.hope@linaro.org>.
49354 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49356         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
49357         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
49358         system header.
49359         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
49360         Likewise.
49361         (sydep_routines): Add the new and the internal functions.
49362         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
49363         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
49364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
49365         (GLIBC_2.17): Add the new function.
49366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
49367         (GLIBC_2.17): Likewise.
49368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
49369         (GLIBC_2.17): Likewise.
49370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
49371         (GLIBC_2.17): Likewise.
49372         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
49374 2012-09-25  Alan Modra  <amodra@gmail.com>
49376         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
49377         Add release barrier before setting once_control to say
49378         initialisation is done.  Add hints on lwarx.  Use macro in
49379         place of isync.
49380         (clear_once_control): Add release barrier.
49382 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
49384         [BZ #13629]
49385         * math/s_clog.c (__clog): Handle more values close to |z| = 1
49386         specially.
49387         * math/s_clog10.c (__clog10): Likewise.
49388         * math/s_clog10f.c (__clog10f): Likewise.
49389         * math/s_clog10l.c (__clog10l): Likewise.
49390         * math/s_clogf.c (__clogf): Likewise.
49391         * math/s_clogl.c (__clogl): Likewise.
49392         * math/Makefile (libm-calls): Add x2y2m1.
49393         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
49394         (__x2y2m1): Likewise.
49395         (__x2y2m1l): Likewise.
49396         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
49397         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
49398         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
49399         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
49400         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
49401         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
49402         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
49403         * sysdeps/i386/fpu/libm-test-ulps: Update.
49404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49406         [BZ #14621]
49407         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
49408         int as type of variable DEPTH.
49409         (glob): Use size_t instead of int as type of variables NEWCOUNT
49410         and OLD_PATHC.
49412 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49414         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
49415         Add s_sincosf-sse2.
49416         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
49417         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
49418         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
49419         macros for using routine as __sincosf_ia32.
49420         Use macro for function declaration and weak_alias.
49421         * sysdeps/i386/fpu/libm-test-ulps: Update.
49423         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
49424         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49426         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
49427         subnormal argument.
49428         * math/s_cexpf.c (__cexpf): Likewise.
49429         * math/s_csinf.c (__csinf): Likewise.
49430         * math/s_csinhf.c (__csinhf): Likewise.
49431         * math/s_ctanf.c (__ctanf): Likewise.
49432         * math/s_ctanhf.c (__ctanhf): Likewise.
49433         * math/s_ccosh.c (__ccoshf): Likewise.
49434         * math/s_cexp.c (__cexpl): Likewise.
49435         * math/s_csin.c (__csin): Likewise.
49436         * math/s_csinh.c (__csinh): Likewise.
49437         * math/s_ctan.c (__ctan): Likewise.
49438         * math/s_ctanh.c (ctanh): Likewise.
49439         * math/s_ccoshl.c (__ccoshl): Likewise.
49440         * math/s_cexpl.c (__cexpl): Likewise.
49441         * math/s_csinl.c (__csinl): Likewise.
49442         * math/s_csinhl.c (__csinhl): Likewise.
49443         * math/s_ctanl.c (__ctanl): Likewise.
49444         * math/s_ctanhl.c (__ctanhl): Likewise.
49446 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
49448         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
49449         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
49450         (_IO_off_t): Define to __off_t, not _G_off_t.
49451         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
49452         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
49453         (_IO_wint_t): Define to wint_t, not _G_wint_t.
49454         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
49455         type of __dummy and __dummy2 fields.
49456         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
49457         (_G_ssize_t): Likewise.
49458         (_G_off_t): Likewise.
49459         (_G_pid_t): Likewise.
49460         (_G_uid_t): Likewise.
49461         (_G_wchar_t): Likewise.
49462         (_G_wint_t): Likewise.
49463         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
49464         (_G_ssize_t): Likewise.
49465         (_G_off_t): Likewise.
49466         (_G_pid_t): Likewise.
49467         (_G_uid_t): Likewise.
49468         (_G_wchar_t): Likewise.
49469         (_G_wint_t): Likewise.
49470         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
49471         (_G_ssize_t): Likewise.
49472         (_G_off_t): Likewise.
49473         (_G_pid_t): Likewise.
49474         (_G_uid_t): Likewise.
49475         (_G_wchar_t): Likewise.
49476         (_G_wint_t): Likewise.
49478 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
49480         * malloc/arena.c: Include malloc-sysdep.h.
49481         (shrink_heap): Use check_may_shrink_heap to decide if madvise
49482         is sufficient to shrink the heap or an unmap is needed.
49483         * sysdeps/generic/malloc-sysdep.h: New file.  Define
49484         new function check_may_shrink_heap.
49485         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
49486         new function check_may_shrink_heap.
49488 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
49490         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
49491         comments.
49493 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
49495         * catgets/test-gencat.sh: Add "set -e".
49496         * elf/tst-pathopt.sh: Likewise.
49497         * grp/tst_fgetgrent.sh: Likewise.
49498         * iconvdata/run-iconv-test.sh: Likewise.
49499         * intl/tst-gettext.sh: Likewise.
49500         * intl/tst-gettext2.sh: Likewise.
49501         * intl/tst-gettext4.sh: Likewise.
49502         * intl/tst-gettext6.sh: Likewise.
49503         * intl/tst-translit.sh: Likewise.
49504         * io/ftwtest-sh: Likewise.
49505         * libio/test-freopen.sh: Likewise.
49506         * malloc/tst-mtrace.sh: Likewise.
49507         * posix/globtest.sh: Likewise.
49508         * posix/tst-getconf.sh: Likewise.
49509         * posix/wordexp-tst.sh: Likewise.
49510         * stdio-common/tst-printf.sh: Likewise.
49511         * stdio-common/tst-unbputc.sh: Likewise.
49512         * stdlib/tst-fmtmsg.sh: Likewise.
49513         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
49514         * catgets/Makefile: Do not specify -e option when running
49515         testsuite shell scripts.
49516         * elf/Makefile: Likewise.
49517         * grp/Makefile: Likewise.
49518         * iconvdata/Makefile: Likewise.
49519         * intl/Makefile: Likewise.
49520         * io/Makefile: Likewise.
49521         * libio/Makefile: Likewise.
49522         * malloc/Makefile: Likewise.
49523         * posix/Makefile: Likewise.
49524         * stdio-common/Makefile: Likewise.
49525         * stdlib/Makefile: Likewise.
49526         * sysdeps/x86_64/Makefile: Likewise.
49528         * io/ftwtest-sh: Add copyright header.
49529         * posix/globtest.sh: Likewise.
49530         * posix/tst-getconf.sh: Likewise.
49531         * posix/wordexp-tst.sh: Likewise.
49532         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
49534 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
49536         [BZ #13679]
49537         * Makeconfig (+link): Defined as $(+link-static) if
49538         $(build-shared) isn't yes.
49539         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
49540         isn't yes.
49541         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
49543         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
49545         [BZ #14562]
49546         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
49547         new chunk size with MALLOC_ALIGN_MASK.
49549 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
49551         [BZ #5044]
49552         * stdio-common/printf_fphex.c: Include <stdbool.h> and
49553         <rounding-mode.h>.
49554         (__printf_fphex): Determine rounding using get_rounding_mode and
49555         round_away.
49556         * stdio-common/tst-printf-round.c (struct hex_test): New
49557         structure.
49558         (hex_tests): New variable.
49559         (test_hex_in_one_mode): New function.
49560         (do_test): Also run tests for hex float output.
49562 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
49564         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
49565         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
49566         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
49567         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
49568         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
49569         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
49570         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
49571         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
49573 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
49575         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
49576         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
49577         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
49578         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
49580 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
49582         [BZ #14579]
49583         * elf/rtld.c (dl_main): Limit the check for self loading to normal
49584         mode only.
49585         * elf/tst-rtld-load-self.sh: New test.
49586         * elf/Makefile: Run it.
49588 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
49590         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
49591         (tst-writev-ENV): Remove.
49592         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
49594 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
49596         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
49598 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
49600         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
49601         unconditional.
49602         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
49603         Likewise.
49604         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
49605         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
49606         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
49607         Likewise.
49609 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
49611         [BZ #14587]
49612         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
49613         * config.make.in (have-cpp-asm-debuginfo): Removed.
49614         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
49615         * configure: Regenerated.
49617 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
49619         [BZ #5044]
49620         * stdio-common/printf_fp.c: Include <stdbool.h> and
49621         <rounding-mode.h>.
49622         (___printf_fp): Determine rounding using get_rounding_mode and
49623         round_away.
49624         * stdio-common/tst-printf-round.c: New file.
49625         * stdio-common/Makefile (tests): Add tst-printf-round.
49626         (link-libm): New variable.
49627         ($(objpfx)tst-printf-round): Depend in $(link-libm).
49629 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
49631         [BZ #14576]
49632         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
49633         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
49634         Likewise.
49635         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
49636         Likewise.
49638 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
49640         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
49641         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
49642         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
49643         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
49645 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
49647         [BZ #14518]
49648         * include/rounding-mode.h: New file.
49649         * sysdeps/generic/get-rounding-mode.h: Likewise.
49650         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
49651         * stdlib/strtod_l.c: Include <rounding-mode.h>.
49652         (MAX_VALUE): New macro.
49653         (MIN_VALUE): Likewise.
49654         (overflow_value): New function.
49655         (underflow_value): Likewise.
49656         (round_and_return): Use overflow_value and underflow_value to
49657         determine return values in overflow and underflow cases.  Use
49658         round_away to determine rounding depending on rounding mode.
49659         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
49660         determine return values in overflow and underflow cases.
49661         * stdlib/tst-strtod-round.c: Include <fenv.h>.
49662         (struct test_results): New structure.
49663         (struct test): Use struct test_results to store expected results
49664         for all rounding modes.
49665         (TEST): Include expected results for all rounding modes.
49666         (test_in_one_mode): New function.
49667         (do_test): Use test_in_one_mode to compute and check results.
49668         Check results for all rounding modes.
49669         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
49670         $(link-libm).
49672 2012-12-09  Allan McRae  <allan@archlinux.org>
49674         * sysdeps/i386/fpu/libm-test-ulps: Update
49676 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
49678         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
49679         (_G_int32_t): Likewise.
49680         (_G_uint16_t): Likewise.
49681         (_G_uint32_t): Likewise.
49682         (_G_HAVE_BOOL): Likewise.
49683         (_G_HAVE_ATEXIT): Likewise.
49684         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
49685         (_G_HAVE_IO_FILE_OPEN): Likewise.
49686         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
49687         (_G_int32_t): Likewise.
49688         (_G_uint16_t): Likewise.
49689         (_G_uint32_t): Likewise.
49690         (_G_HAVE_BOOL): Likewise.
49691         (_G_HAVE_ATEXIT): Likewise.
49692         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
49693         (_G_HAVE_IO_FILE_OPEN): Likewise.
49694         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
49695         (_G_int32_t): Likewise.
49696         (_G_uint16_t): Likewise.
49697         (_G_uint32_t): Likewise.
49698         (_G_HAVE_BOOL): Likewise.
49699         (_G_HAVE_ATEXIT): Likewise.
49700         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
49701         (_G_HAVE_IO_FILE_OPEN): Likewise.
49703 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
49705         * csu/libc-tls.c: Update copyright years.
49707 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
49709         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
49710         [!_G_USING_THUNKS]: Remove conditional code.
49711         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
49712         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
49714         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
49715         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
49716         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
49717         (_G_VTABLE_LABEL_PREFIX): Likewise.
49718         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
49719         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
49720         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
49721         (_G_VTABLE_LABEL_PREFIX): Likewise.
49722         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
49723         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
49724         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
49725         (_G_VTABLE_LABEL_PREFIX): Likewise.
49726         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
49728 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
49730         * libio/Makefile: Include ../Makeconfig before tests.
49731         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
49732         only if $(build-shared) is yes.
49734         * iconv/gconv_db.c: Update copyright years.
49736 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49738         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
49739         unwind info if defined PIC. Fix special cases description.
49740         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
49742         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
49743         DP_HI_MASK entry.
49744         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
49746 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
49748         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
49750         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
49751         is NULL.
49753         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
49754         (LDLIBS-tst-chk4): This.
49755         (LDFLAGS-tst-chk5): Renamed to ...
49756         (LDLIBS-tst-chk5): This.
49757         (LDFLAGS-tst-chk6): Renamed to ...
49758         (LDLIBS-tst-chk6): This.
49759         (LDFLAGS-tst-lfschk4): Renamed to ...
49760         (LDLIBS-tst-lfschk4): This.
49761         (LDFLAGS-tst-lfschk5): Renamed to ...
49762         (LDLIBS-tst-lfschk5): This.
49763         (LDFLAGS-tst-lfschk6): Renamed to ...
49764         (LDLIBS-tst-lfschk6): This.
49766         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
49767         on $(common-objpfx)soversions.mk.
49769 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
49771         [BZ #10014]
49772         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
49773         example host name.
49775 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
49777         * malloc/arena.c (arena_get_retry): New function that gets
49778         another arena for the caller to try its request on.
49779         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
49780         current arena cannot fulfill the request.
49781         (__libc_memalign): Likewise.
49782         (__libc_memalign): Likewise.
49783         (__libc_pvalloc): Likewise.
49784         (__libc_calloc): Likewise.
49786 2012-09-05  John Tobey  <john.tobey@gmail.com>
49788         [BZ #13542]
49789         * manual/arith.texi (Operations on Complex): Fix description
49790         of carg branch cut.
49792 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
49794         [BZ #10014]
49795         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
49796         host name.
49798         [BZ #10038]
49799         * manual/memory.texi (Memory): Make order of menu items match
49800         order of sections.
49802 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
49804         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
49805         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
49806         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
49808 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
49810         * csu/libc-tls.c (static_dtv): Renamed to ...
49811         (_dl_static_dtv): This.  Make it global.
49812         (_dl_initial_dtv): Removed.
49813         (__libc_setup_tls): Updated.
49814         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
49815         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
49816         DL_INITIAL_DTV.
49818 2012-09-06  Petr Machata  <pmachata@redhat.com>
49820         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
49821         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
49822         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
49823         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
49825 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
49827         [BZ #14545]
49828         * csu/libc-tls.c (_dl_initial_dtv): New variable.
49829         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
49830         freeing dtv[-1].
49832 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
49834         [BZ #14544]
49835         * Makeconfig (link-static-before-libc): Replace $(+prector)
49836         with $(+prectorT).
49837         (link-static-after-libc): Replace $(+postctor) with
49838         $(+postctorT).
49839         (link-bounded): Replace $(+prector)/$(+postctor) with
49840         $(+prectorT)/$(+postctorT).
49841         (+prectorT): New macro.
49842         (+postctorT): Likewise.
49844 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
49846         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
49847         (round_str): Handle values above the maximum for IBM long double
49848         as inexact.
49849         * stdlib/tst-strtod-round.c (tests): Regenerated.
49851 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49853         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
49854         assembler flag.
49855         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
49856         zarch_nohighgprs around the zarch optimized routines.
49857         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
49858         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
49859         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
49860         for zarch.
49862 2012-09-05  David S. Miller  <davem@davemloft.net>
49864         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49866         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
49867         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
49868         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
49869         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
49870         entries.
49872 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
49874         * malloc/arena.c: Fold copyright years.
49875         * malloc/mcheck.c, malloc/memusage.c: Likewise.
49877 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
49879         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
49881 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
49883         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
49885 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
49887         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
49888         change internal state upon failure.
49890 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
49892         * malloc/mcheck.c (mcheck_check_all): Fix typo.
49893         * malloc/memusage.c (mmap): Likewise.
49894         (mmap64, mremap): Likewise.  Adjust name in comment.
49896 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
49898         * libio/fileops.c: Fix typos in comments.
49899         * libio/oldfileops.c: Likewise.
49900         * libio/wfileops.c: Likewise.
49902 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
49904         [BZ #1349]
49905         * malloc/Makefile (tests): Add tst-malloc-usable test case.
49906         (tst-malloc-usable-ENV): Set environment for test case.
49907         * malloc/hooks.c (malloc_check_get_size): New function to get
49908         requested size.
49909         * malloc/malloc.c (musable): Use malloc_check_get_size.
49910         * malloc/tst-malloc-usable.c: New test case.
49912 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
49914         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
49916 2012-09-05  Allan McRae  <allan@archlinux.org>
49918         [BZ #13966]
49919         * configure.in (CXX_SYSINCLUDES): Use compiler output to
49920         determine header location.
49921         * configure: Regenerated.
49923 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
49925         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
49926         float format.
49927         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
49928         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
49929         format.
49930         (test): Regenerate.
49932 2012-09-04  David S. Miller  <davem@davemloft.net>
49934         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
49935         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
49936         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
49938 2012-09-04  Florian Weimer  <fweimer@redhat.com>
49940         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
49941         failures.
49943         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
49945 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
49947         [BZ #9914]
49948         * libio/iogetdelim.c: Include <limits.h>.
49949         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
49950         + len + 1 would overflow.
49952 2012-09-03  Andreas Jaeger  <aj@suse.de>
49954         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49955         * sysdeps/i386/fpu/libm-test-ulps: Update.
49957 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49959         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
49960         Add s_sinf-sse2, s_conf-sse2.
49962         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
49963         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
49964         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
49965         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
49967         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
49968         for using routine as __sinf_ia32.
49969         Use macro for function declaration and weak_alias.
49970         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
49971         for using routine as __cosf_ia32.
49972         Use macro for function declaration and weak_alias.
49974         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
49975         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
49977         * sysdeps/x86_64/fpu/s_sinf.S: New file.
49978         * sysdeps/x86_64/fpu/s_cosf.S: New file.
49979         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49981         * math/libm-test.inc (cos_test): Add more test cases.
49982         (sin_test): Likewise.
49983         (sincos_test): Likewise.
49985 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49987         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
49988         (IFUNC_RESOLVE): Make pointers to the specialized implementations
49989         hidden.
49990         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
49992 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
49994         [BZ #14538]
49995         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
49996         first element of the GOT.
49997         (elf_machine_load_address): Return the difference between
49998         the runtime address of _DYNAMIC and elf_machine_dynamic ().
50000 2012-09-01  Allan McRae  <allan@archlinux.org>
50002         [BZ #13412]
50003         * configure.in (AWK): Require gawk version 3.0 or later.
50004         * configure: Regenerated.
50006 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
50008         * sysdeps/unix/sysv/linux/kernel-features.h
50009         (__ASSUME_POSIX_CPU_TIMERS): Remove.
50010         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
50011         [__NR_clock_getres]: Make code unconditional.
50012         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
50013         (clock_getcpuclockid): Remove code left unreachable by removal of
50014         conditionals.
50015         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
50016         code unconditional.
50017         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
50018         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
50019         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
50020         Make code unconditional.
50021         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
50022         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
50023         * sysdeps/unix/sysv/linux/clock_settime.c
50024         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
50025         conditional code.
50026         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
50027         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
50029 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
50031         [BZ #14476]
50032         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
50033         scripts/test-installation.pl.
50035         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
50036         and $ld_so_version if it is set.
50038 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
50040         [BZ #14516]
50041         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
50042         failure if reading from procfs failed.
50043         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
50045 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
50047         * sysdeps/unix/sysv/linux/kernel-features.h
50048         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
50049         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
50050         Remove conditional code.
50051         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
50052         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
50053         Remove conditional code.
50054         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
50055         * sysdeps/unix/sysv/linux/i386/fxstat.c
50056         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
50057         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
50058         * sysdeps/unix/sysv/linux/i386/fxstatat.c
50059         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
50060         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
50061         * sysdeps/unix/sysv/linux/i386/lxstat.c
50062         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
50063         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
50064         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
50065         Remove conditional code.
50066         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
50067         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
50068         Remove conditional code.
50069         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
50070         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
50071         <kernel-features.h>.
50072         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
50073         Remove.
50074         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
50075         Remove conditional code.
50076         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
50077         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
50078         Remove conditional.
50080 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
50082         [BZ #5400]
50083         * NEWS: Add fixed bug number.
50085 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
50087         [BZ #14519]
50088         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
50089         underflowing exponent in case of negative sign.
50090         * stdlib/tst-strtod-round-data: Add more tests.
50091         * stdlib/tst-strtod-round.c (tests): Regenerated.
50093         [BZ #3479]
50094         * stdlib/strtod_l.c (NDIG): Remove.
50095         (HEXNDIG): Likewise.
50096         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
50097         smallest representable value.
50098         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
50099         lie within an exact representation of 1/2 ulp of the result.
50100         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
50101         unconditionally.
50102         (TENS_P9_IDX): Define unconditionally.
50103         (TENS_P9_SIZE): Likewise.
50104         (TENS_P10_IDX): Likewise.
50105         (TENS_P10_SIZE): Likewise.
50106         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
50107         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
50108         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
50109         entries for 10^2^13 and 10^2^14.
50110         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
50111         (TENS_P13_IDX): Define.
50112         (TENS_P13_SIZE): Likewise.
50113         (TENS_P14_IDX): Likewise.
50114         (TENS_P14_SIZE): Likewise.
50115         (_fpioconst_pow10): Change array size to
50116         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
50117         unconditional.
50118         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
50119         1024]: Add entries for 10^2^13 and 10^2^14.
50120         [LAST_POW10 > _LAST_POW10]: Remove #error.
50121         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
50122         (_fpioconst_pow10): Change array size to
50123         FPIOCONST_POW10_ARRAY_SIZE.
50124         * stdlib/gen-fpioconst.c: New file.
50125         * stdlib/gen-tst-strtod-round.c: Likewise.
50126         * stdlib/tst-strtod-round-data: Likewise.
50127         * stdlib/tst-strtod-round.c: Likewise.
50128         * stdlib/Makefile (tests): Add tst-strtod-round.
50130         [BZ #14459]
50131         * stdlib/strtod_l.c: Include <stdint.h>.
50132         (NDEBUG): Do not define.
50133         (round_and_return): Change EXPONENT parameter to type intmax_t.
50134         Rearrange calculations to avoid internal overflow possibilities.
50135         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
50136         Rearrange calculations to avoid internal overflow possibilities.
50137         Assert that number fits inside MPNSIZE limbs.
50138         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
50139         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
50140         calculations and add assertions to avoid internal overflow
50141         possibilities.  Add casts to avoid signed/unsigned operations.
50142         * stdlib/tst-strtod-overflow.c: New file.
50143         * stdlib/Makefile (tests): Add tst-strtod-overflow.
50145 2012-08-25  Marek Polacek  <polacek@redhat.com>
50147         * time/time.h: Fix some typos in comments.
50149 2012-08-23  Roland McGrath  <roland@hack.frob.com>
50151         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
50152         * posix/tst-rfc3484-2.c: Likewise.
50153         * posix/tst-rfc3484-3.c: Likewise.
50155 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
50157         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
50158         (EF_ARM_ABI_FLOAT_HARD): Likewise.
50160 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
50162         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
50163         #include of fxstatat64.c.
50165 2012-08-22  Roland McGrath  <roland@hack.frob.com>
50167         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
50168         * shadow/getspent_r.c: Likewise.
50169         * shadow/getspnam.c: Likewise.
50170         * shadow/getspnam_r.c: Likewise.
50171         * gshadow/getsgent.c: Likewise.
50172         * gshadow/getsgent_r.c: Likewise.
50173         * gshadow/getsgnam.c: Likewise.
50174         * gshadow/getsgnam_r.c: Likewise.
50175         * inet/getnetbyad.c: Likewise.
50176         * inet/getnetbyad_r.c: Likewise.
50177         * inet/getnetbynm.c: Likewise.
50178         * inet/getnetbynm_r.c: Likewise.
50179         * inet/getnetent.c: Likewise.
50180         * inet/getnetent_r.c: Likewise.
50181         * inet/getproto.c: Likewise.
50182         * inet/getproto_r.c: Likewise.
50183         * inet/getprtent.c: Likewise.
50184         * inet/getprtent_r.c: Likewise.
50185         * inet/getprtname.c: Likewise.
50186         * inet/getprtname_r.c: Likewise.
50187         * inet/getrpcbyname.c: Likewise.
50188         * inet/getrpcbyname_r.c: Likewise.
50189         * inet/getrpcbynumber.c: Likewise.
50190         * inet/getrpcbynumber_r.c: Likewise.
50191         * inet/getrpcent.c: Likewise.
50192         * inet/getrpcent_r.c: Likewise.
50193         * inet/getaliasent.c: Likewise.
50194         * inet/getaliasent_r.c: Likewise.
50195         * inet/getaliasname.c: Likewise.
50196         * inet/getaliasname_r.c: Likewise.
50197         * nscd/getgrgid_r.c: Likewise.
50198         * nscd/getgrnam_r.c: Likewise.
50199         * nscd/gethstbyad_r.c: Likewise.
50200         * nscd/gethstbynm3_r.c: Likewise.
50201         * nscd/getpwnam_r.c: Likewise.
50202         * nscd/getpwuid_r.c: Likewise.
50203         * nscd/getsrvbynm_r.c: Likewise.
50204         * nscd/getsrvbypt_r.c: Likewise.
50205         * nscd/gai.c: Likewise.
50207         * configure.in (build_nscd): New substituted variable, set
50208         by --disable-build-nscd and defaults to $use_nscd.
50209         * configure: Regenerated.
50210         * config.make.in (build-nscd): New substituted variable.
50211         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
50212         Change conditional to require [$(build-nscd) = yes] as well.
50213         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
50215         [BZ# 13696]
50216         * configure.in (use_nscd): New substituted variable, set by
50217         --disable-nscd.  If enabled, define USE_NSCD.
50218         * configure: Regenerated.
50219         * config.h.in: Add USE_NSCD.
50220         * config.make.in (use-nscd): New substituted variable.
50221         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
50222         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
50223         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
50224         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
50225         (CFLAGS-getgrnam_r.c): Likewise.
50226         (CFLAGS-initgroups.c): Likewise.
50227         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
50228         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
50229         Variables removed.
50230         * inet/getnetgrent_r.c
50231         (nscd_setnetgrent): New function, broken out of ...
50232         (setnetgrent): ... here.  Call it.
50233         (innetgr): Conditionalize nscd bits on [USE_NSCD].
50234         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
50235         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
50236         * nscd/Makefile (routines, aux): Move definitions after include of
50237         Makeconfig.  Conditionalize on [$(use-nscd) != no].
50238         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
50239         Conditionalize on [USE_NSCD].
50240         (is_nscd, nscd_init_cb): Likewise.
50241         (nss_load_library): Conditionalize init callback on [USE_NSCD].
50242         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
50243         * nss/nss_db/db-init.c: Likewise.
50244         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
50245         [USE_NSCD].
50246         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
50247         (make_request): Use it.
50248         (cache_valid_p): New function.
50249         (__check_pf): Use it.
50250         * NEWS: Add item for --disable-nscd.
50252 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
50254         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
50255         to support sed >= 4.2.1-20-ga9bf076.
50256         * configure: Regenerated.
50258 2012-08-22  Roland McGrath  <roland@hack.frob.com>
50260         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
50261         Conditionalize whole body on [IREL].
50263 2012-08-22  Jeff Law <law@redhat.com>
50265         [BZ #14505]
50266         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
50267         if the family is PF_UNSPEC.
50269 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
50271         * Makerules (lib-version): Rename from V.
50272         (install-lib-nosubdir): Change V to lib-version.
50274 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
50276         [BZ #14252]
50277         * powerpc32/power6/wcschr.c: New file.
50278         * powerpc32/power6/wcscpy.c: New file.
50279         * powerpc32/power6/wcsrchr.c: New file.
50280         * powerpc64/power6/wcschr.c: New file.
50281         * powerpc64/power6/wcscpy.c: New file.
50282         * powerpc64/power6/wcsrchr.c: New file.
50284 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
50286         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
50287         (two_way_short_needle): Use it.
50288         * string/strstr.c (AVAILABLE1_USES_J): Define.
50289         * string/strcasestr.c: Likewise.
50291         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
50292         array references.
50293         * string/strcasestr.c (TOLOWER): Make side-effect safe.
50295         [BZ #11607]
50296         * NEWS: Add an entry.
50297         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
50298         define their defaults.
50299         (two_way_short_needle): Detect end-of-string on-the-fly.
50300         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
50301         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
50302         * string/bug-strcasestr1.c: New test.
50303         * string/Makefile: Run it.
50305 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
50307         [BZ #11607]
50308         * string/str-two-way.h (two_way_short_needle): Optimize matching of
50309         the first character.
50311 2012-08-21  Roland McGrath  <roland@hack.frob.com>
50313         * csu/elf-init.c (__libc_csu_irel): Function removed.
50314         * csu/libc-start.c (apply_irel): New function.
50315         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
50317 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
50319         * sysdeps/unix/sysv/linux/kernel-features.h
50320         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
50321         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
50322         <kernel-features.h>.
50323         [__NR_fadvise64_64]: Make code unconditional.
50324         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
50325         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
50326         !__NR_fadvise64_64)]: Likewise.
50327         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
50328         !__NR_fadvise64_64))]: Likewise.
50329         [__NR_fadvise64]: Make code unconditional.
50330         [!__NR_fadvise64]: Remove conditional code.
50331         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
50332         <kernel-features.h>.
50333         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
50334         unconditional.
50335         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
50336         conditional code.
50337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
50338         not include <kernel-features.h>.
50339         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
50340         unconditional.
50341         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
50342         conditional code.
50343         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
50344         include <kernel-features.h>.
50345         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
50346         unconditional.
50347         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
50348         conditional code.
50350 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
50352         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
50353         slight instruction rearrangements per scrollpipe analysis.
50354         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
50356 2012-08-20  Roland McGrath  <roland@hack.frob.com>
50358         * manual/syslog.texi (syslog; vsyslog, closelog):
50359         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
50360         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
50362         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
50363         DSOCAPS to match condition on defining it.
50365 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
50367         * sysdeps/unix/sysv/linux/kernel-features.h
50368         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
50369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
50370         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
50371         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
50372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
50373         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
50374         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
50375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
50376         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
50377         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
50379         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
50380         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
50382         * sysdeps/unix/sysv/linux/kernel-features.h
50383         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
50384         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
50385         unconditional.
50386         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
50387         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
50388         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
50389         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
50390         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
50391         Make code unconditional.
50392         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
50393         (__mmap64) [!__NR_mmap2]: Likewise.
50394         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
50395         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
50396         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
50397         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
50398         [__NR_mmap2]: Make code unconditional.
50399         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
50400         (__mmap64) [!__NR_mmap2]: Likewise.
50402 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50404         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
50406 2012-08-18  Andreas Jaeger  <aj@suse.de>
50408         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
50410 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
50412         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
50413         * include/unistd.h (__have_sock_cloexec): Likewise.
50414         (__have_pipe2): Likewise.
50415         (__have_dup3): Likewise.
50417 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
50419         [BZ #9685]
50420         * include/unistd.h (__have_pipe2): Change define into an extern int.
50421         (__have_dup3): Likewise.
50422         * socket/have_sock_cloexec.c: Include fcntl.h.
50423         (__have_pipe2): New variable.
50424         (__have_dup3): Likewise.
50426 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
50428         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
50430 2012-08-17  Marek Polacek  <polacek@redhat.com>
50432         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
50433         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
50435 2012-08-17  Roland McGrath  <roland@hack.frob.com>
50437         * configure.in: Add AC_SUBST for sysheaders.
50438         * configure: Regenerated.
50439         * config.make.in (sysheaders): New substituted variable.
50441         * sysdeps/unix/mkfifo.c: Moved ...
50442         * sysdeps/posix/mkfifo.c: ... here.
50443         * sysdeps/unix/mkfifoat.c: Moved ...
50444         * sysdeps/posix/mkfifoat.c: ... here.
50446         * sysdeps/unix/utime.c: Moved ...
50447         * sysdeps/posix/utime.c: ... here.
50449         * sysdeps/unix/time.c: Moved ...
50450         * sysdeps/posix/time.c: ... here.
50451         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
50452         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
50454         * sysdeps/unix/nice.c: Moved ...
50455         * sysdeps/posix/nice.c: ... here.
50457         * sysdeps/unix/alarm.c: Moved ...
50458         * sysdeps/posix/alarm.c: ... here.
50460         * intl/Makefile ($(codeset_mo)): Depend on the input file.
50462 2012-08-17  Jeff Law <law@redhat.com>
50464         * intl/Makefile (codeset_mo): New variable.
50465         ($(codeset_mo)): New target.
50466         (tst-codeset.out): Depend on that.  Remove explicit rule.
50467         (tst-gettext3.out, tst-gettext5.out): Likewise.
50468         (LOCPATH-ENV, tst-codeset-ENV): New variables.
50469         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
50470         * intl/tst-codeset.sh: Remove.
50471         * intl/tst-gettext3.sh: Likewise.
50472         * intl/tst-gettext5.sh: Likewise.
50474 2012-08-17  Roland McGrath  <roland@hack.frob.com>
50476         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
50477         * sysdeps/unix/syscalls.list: ... here.
50479         * sysdeps/posix/getaddrinfo.c
50480         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
50481         (gaiconf_init, gaiconf_reload): Use them.
50482         [!_STATBUF_ST_NSEC]
50483         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
50484         Define using time_t rather than struct timespec.
50486         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
50487         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
50488         Macros removed.
50489         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
50490         [!NO_THREADS].
50491         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
50492         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
50493         Likewise.
50495         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
50496         __libc_cleanup_push argument.
50498         * bits/param.h: New file.
50499         * misc/sys/param.h: New file.
50500         * include/sys/param.h: New file.
50501         * misc/Makefile (headers): Add bits/param.h.
50502         * sysdeps/generic/sys/param.h: File removed.
50503         * sysdeps/unix/sysv/linux/bits/param.h: New file.
50504         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
50505         * sysdeps/mach/hurd/bits/param.h: New file.
50506         * sysdeps/mach/hurd/sys/param.h: File removed.
50508         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
50509         last change.
50511         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
50512         [_IO_MTSAFE_IO].
50513         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
50514         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
50515         New macros.
50517         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
50518         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
50519         rather than -D_IO_MTSAFE_IO conditionally.
50520         * stdio-common/Makefile (CPPFLAGS): Likewise.
50521         * wcsmbs/Makefile (CPPFLAGS): Likewise.
50522         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
50523         Use $(libio-mtsafe).
50524         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
50525         of -D_IO_MTSAFE_IO.
50526         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
50527         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
50528         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
50529         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
50530         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
50531         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
50532         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
50533         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
50534         (CFLAGS-fread_u_chk.c): Likewise.
50535         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
50536         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
50537         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
50538         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
50539         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
50540         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
50541         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
50542         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
50543         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
50545         * libio/Makefile: Test [$(libc-reentrant) = yes]
50546         instead of [$(filter %REENTRANT, $(defines)) nonempty].
50548         * Makeconfig
50549         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
50550         * sysdeps/pthread/configure: File removed.
50551         * sysdeps/pthread/Makeconfig: New file.
50552         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
50553         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
50555 2012-08-16  Gary Benson  <gbenson@redhat.com>
50557         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
50558         unmapping the first object in a namespace.
50560 2012-08-16  Roland McGrath  <roland@hack.frob.com>
50562         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
50563         (__internal_setnetgrent): ... this.  Add internal_function to
50564         definition.  Add libc_hidden_def.
50565         (setnetgrent): Update caller.
50566         (internal_endnetgrent): Renamed to ...
50567         (__internal_endnetgrent): ... this.  Add internal_function to
50568         definition.  Add libc_hidden_def.
50569         (endnetgrent): Update caller.
50570         (internal_getnetgrent_r): Renamed to ...
50571         (__internal_getnetgrent_r): ... this.  Add internal_function to
50572         definition.  Add libc_hidden_def.
50573         (__getnetgrent_r): Update caller.
50574         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
50576 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
50578         * stdlib/longlong.h: Update from GCC.
50580 2012-08-16  Roland McGrath  <roland@hack.frob.com>
50582         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
50583         on _QL, which is set by umul_ppmm but never used.
50584         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
50585         variables, which are set by GMP macros but never used.
50586         * stdio-common/_itowa.c (_itowa): Likewise.
50587         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
50588         * stdlib/mod_1.c (mpn_mod_1): Likewise.
50590 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
50592         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
50593         struct La_sh_regs is not constant.
50594         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
50595         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
50596         and struct La_sparc64_regs are not constant.
50598 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
50600         * sysdeps/unix/sysv/linux/kernel-features.h
50601         (__ASSUME_POSIX_TIMERS): Remove.
50602         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
50603         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
50604         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
50605         Make code unconditional.
50606         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
50607         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
50608         Make code unconditional.
50609         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
50610         * sysdeps/unix/sysv/linux/clock_nanosleep.c
50611         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
50612         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
50613         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
50614         Make code unconditional.
50615         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
50616         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
50617         (__libc_missing_posix_timers): Remove.
50619 2012-08-15  Roland McGrath  <roland@hack.frob.com>
50621         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
50622         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
50624         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
50626         * elf/dl-sym.c: Include <stdlib.h>.
50628         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
50629         constants, which avoids warnings in 32-bit builds.
50631         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
50632         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
50634         * misc/lseek.c: File moved to ...
50635         * io/lseek.c: ... here.
50637         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
50639         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
50640         shifting LEN more than 31 bits at once.
50642 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50644         [BZ #14195]
50645         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
50646         segmentation fault for a case of two empty input strings.
50647         * string/test-strncasecmp.c (check1): Renamed to...
50648         (bz12205): ...this.
50649         (bz14195): Add new testcase for two empty input strings and N > 0.
50650         (test_main): Call new testcase, adapt for renamed function.
50652 2012-08-15  Andreas Jaeger  <aj@suse.de>
50654         [BZ #14090]
50655         * crypt/md5test2.c: New test, based on test supplied by Serge
50656         Belyshev <belyshev@depni.sinp.msu.ru>.
50657         * crypt/Makefile (xtests): Add md5test-giant..
50658         * crypt/Makefile ($(objpfx)md5test-giant): Add.
50660 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
50662         [BZ #14090]
50663         * crypt/md5.c (md5_process_block): Don't assume the buffer
50664         length is less than 2**32.
50665         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
50666         length is less than 2**64.
50668 2012-08-15  Roland McGrath  <roland@hack.frob.com>
50670         * string/str-two-way.h: Include <sys/param.h>.
50671         (MAX): Macro removed.
50673         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
50674         Move #define and #undef of memmove to just before and after
50675         including <string.h>.
50677         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
50678         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
50679         and after including <string.h>.  Move declarations of
50680         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
50681         to before #include "string/memmove.c".
50683         * include/dirent.h: Declare __getdirentries.
50685         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
50686         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
50688 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
50690         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
50691         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
50692         * sysdeps/i386/configure: Regenerated.
50693         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
50694         STABS_CURRENT_FILE, and STABS_FUN.
50695         (END): Remove call to STABS_FUN_END.
50696         (STABS_CURRENT_FILE1): Delete.
50697         (STABS_CURRENT_FILE): Likewise.
50698         (STABS_FUN): Likewise.
50699         (STABS_FUN_END): Likewise.
50700         (STABS_FUN2): Likewise.
50701         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
50702         * sysdeps/x86_64/configure: Regenerated.
50704 2012-08-14  Roland McGrath  <roland@hack.frob.com>
50706         * elf/dl-open.c: Include <atomic.h>.
50707         * elf/dl-lookup.c: Likewise.
50709 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
50711         * sysdeps/unix/sysv/linux/kernel-features.h
50712         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
50713         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
50714         unconditionally.
50715         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
50716         unconditionally.
50717         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
50718         condition on __ASSUME_CLONE_THREAD_FLAGS.
50720 2012-08-14  Andreas Jaeger  <aj@suse.de>
50722         * sysdeps/i386/fpu/libm-test-ulps: Update.
50724 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
50726         * include/atomic.h (atomic_exchange_and_add): Split into ...
50727         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
50728         New atomic macros.
50730 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
50732         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50734 2012-08-13  Jeff Law <law@redhat.com>
50736         * manual/stdio.texi (snprintf): Clarify handling of the trailing
50737         null byte in the output string.
50739 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
50741         * sysdeps/unix/sysv/linux/kernel-features.h
50742         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
50743         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
50744         (__ASSUME_ARG_MAX_STACK_BASED): Define.
50745         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
50746         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
50747         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
50748         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
50750 2012-08-09  Jeff Law <law@redhat.com>
50752         [BZ #13939]
50753         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
50754         When avoid_arena is set, don't retry in the that arena.  Pick the
50755         next one, whatever it might be.
50756         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
50757         (arena_lock): Pass in new parameter to arena_get2.
50758         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
50759         arena_get2.
50760         (__libc_malloc): Unify retrying after main arena failure with
50761         __libc_memalign version.
50762         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
50764 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
50766         [BZ #14166]
50767         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
50768         to __redirect_strstr.
50769         (__strstr_sse42): Use typeof __redirect_strstr.
50770         (__strstr_ia32): Likewise.
50771         (__libc_strstr): New prototype.
50772         (strstr): Renamed to ...
50773         (__libc_strstr): This.
50774         (strstr): New strong alias of __libc_strstr.
50775         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
50776         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
50777         __redirect_time.
50778         Include <time.h>.
50779         (__libc_time): New prototype.
50780         (time_ifunc): Replace time with __libc_time.
50781         (time): New strong alias and hidden definition of __libc_time.
50782         (__GI_time): Remove strong alias.
50783         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
50784         Include <stddef.h>.
50785         (memmove): Redefined to __redirect_memmove.
50786         (__memmove_sse2): Use typeof __redirect_memmove.
50787         (__memmove_ssse3): Likewise.
50788         (__memmove_ssse3_back): Likewise.
50789         (__libc_memmove): New prototype.
50790         (memmove): Renamed to ...
50791         (__libc_memmove): This.
50792         (memmove): New strong alias of __libc_memmove.
50794 2012-08-08  Mark Salter  <msalter@redhat.com>
50796         * elf/elf.h
50797         (R_MN10300_TLS_GD): Define.
50798         (R_MN10300_TLS_LD): Likewise.
50799         (R_MN10300_TLS_LDO): Likewise.
50800         (R_MN10300_TLS_GOTIE): Likewise.
50801         (R_MN10300_TLS_IE): Likewise.
50802         (R_MN10300_TLS_LE): Likewise.
50803         (R_MN10300_TLS_DTPMOD): Likewise.
50804         (R_MN10300_TLS_DTPOFF): Likewise.
50805         (R_MN10300_TLS_TPOFF): Likewise.
50806         (R_MN10300_SYM_DIFF): Likewise.
50807         (R_MN10300_ALIGN): Likewise.
50808         (R_MN10300_NUM): Update.
50810 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
50812         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
50813         Remove.
50815 2012-08-08  Roland McGrath  <roland@hack.frob.com>
50817         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
50819         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
50820         sysdeps/unix -> sysdeps/posix move.
50821         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
50823 2012-08-07      Allan McRae     <allan@archlinux.org>
50825         [BZ #14303]
50826         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
50827         (SUNOS_CPP): Likewise.
50828         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
50829         not found.
50830         (open_input): Call CPP using execvp.
50832 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
50834         * sysdeps/unix/sysv/linux/kernel-features.h
50835         (__ASSUME_PROT_GROWSUPDOWN): Remove.
50836         (__ASSUME_NO_CLONE_DETACHED): Likewise.
50837         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
50838         (__ASSUME_WAITID_SYSCALL): Likewise.
50839         * sysdeps/unix/sysv/linux/dl-execstack.c
50840         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
50841         code unconditional.
50842         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
50843         conditional code.
50844         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
50845         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
50846         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
50847         code.
50848         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
50849         unconditional.
50850         [__ASSUME_WAITID_SYSCALL]: Likewise.
50851         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
50853 2012-08-07  Roland McGrath  <roland@hack.frob.com>
50855         * sysdeps/unix/closedir.c: Renamed to ...
50856         * sysdeps/posix/closedir.c: ... here.
50857         * sysdeps/unix/dirfd.c: Renamed to ...
50858         * sysdeps/posix/dirfd.c: ... here.
50859         * sysdeps/unix/dirstream.h: Renamed to ...
50860         * sysdeps/posix/dirstream.h: ... here.
50861         * sysdeps/unix/fdopendir.c: Renamed to ...
50862         * sysdeps/posix/fdopendir.c: ... here.
50863         * sysdeps/unix/opendir.c: Renamed to ...
50864         * sysdeps/posix/opendir.c: ... here.
50865         * sysdeps/unix/readdir.c: Renamed to ...
50866         * sysdeps/posix/readdir.c: ... here.
50867         * sysdeps/unix/readdir_r.c: Renamed to ...
50868         * sysdeps/posix/readdir_r.c: ... here.
50869         * sysdeps/unix/rewinddir.c: Renamed to ...
50870         * sysdeps/posix/rewinddir.c: ... here.
50871         * sysdeps/unix/seekdir.c: Renamed to ...
50872         * sysdeps/posix/seekdir.c: ... here.
50873         * sysdeps/unix/telldir.c: Renamed to ...
50874         * sysdeps/posix/telldir.c: ... here.
50875         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
50876         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
50877         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
50878         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
50880         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
50881         * bits/fcntl.h: ... here.
50883         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
50884         not 0.
50885         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
50886         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
50887         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
50888         (struct flock): Move l_start, l_len to the beginning.
50889         Use __pid_t for l_pid.
50890         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
50891         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
50892         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
50893         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
50894         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
50895         [__USE_LARGEFILE64] (struct flock64): New type.
50896         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
50898         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
50899         * bits/dirent.h: ... here.
50901         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
50902         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
50904 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
50906         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
50907         Change from 2.6.0 to 2.6.16.
50908         * sysdeps/unix/sysv/linux/configure: Regenerated.
50909         * sysdeps/unix/sysv/linux/kernel-features.h
50910         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
50911         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
50912         version.
50913         (__ASSUME_UTIMES): Likewise.
50914         (__ASSUME_CLONE_STOPPED): Remove.
50915         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
50916         architectures, not kernel version.
50917         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
50918         (__ASSUME_NO_CLONE_DETACHED): Likewise.
50919         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
50920         (__ASSUME_WAITID_SYSCALL): Likewise.
50921         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
50922         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
50923         * README: State 2.6.16 as minimum Linux kernel version.  Do not
50924         refer to older versions.
50926 2012-08-06  Roland McGrath  <roland@hack.frob.com>
50928         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
50929         Define alphasort64 as an alias.
50930         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
50931         Define versionsort64 as an alias.
50932         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
50933         Define scandir64 as an alias.
50934         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
50935         Define scandirat64 as an alias.
50936         * dirent/alphasort64.c (alphasort64):
50937         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
50938         * dirent/versionsort64.c: Likewise.
50939         * dirent/scandir64.c: Likewise.
50940         * dirent/scandirat64.c: Likewise.
50941         * sysdeps/wordsize-64/alphasort.c: File removed.
50942         * sysdeps/wordsize-64/alphasort64.c: File removed.
50943         * sysdeps/wordsize-64/scandir.c: File removed.
50944         * sysdeps/wordsize-64/scandir64.c: File removed.
50945         * sysdeps/wordsize-64/scandirat.c: File removed.
50946         * sysdeps/wordsize-64/scandirat64.c: File removed.
50947         * sysdeps/wordsize-64/versionsort.c: File removed.
50948         * sysdeps/wordsize-64/versionsort64.c: File removed.
50949         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
50950         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
50951         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
50952         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
50953         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
50954         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
50955         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
50956         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
50958         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
50959         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
50960         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
50961         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50962         [defined __arch64__ || defined __sparcv9]
50963         (__INO_T_MATCHES_INO64_T): New macro.
50964         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
50965         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
50966         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
50967         * sysdeps/unix/sysv/linux/bits/dirent.h
50968         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
50969         (_DIRENT_MATCHES_DIRENT64): New macro.
50971         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
50972         Define lockf64 as an alias.
50973         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
50974         Define fseeko64 as an alias.
50975         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
50976         Define ftello64 as an alias.
50977         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
50978         Define _IO_fgetpos64 and fgetpos64 as aliases.
50979         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
50980         Define _IO_fsetpos64 and fsetpos64 as aliases.
50981         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
50982         Conditionalize body on this.
50983         * libio/fseeko64.c: Likewise.
50984         * libio/ftello64.c: Likewise.
50985         * libio/iofgetpos64.c: Likewise.
50986         * libio/iofsetpos64.c: Likewise.
50987         * sysdeps/wordsize-64/lockf.c: File removed.
50988         * sysdeps/wordsize-64/lockf64.c: File removed.
50989         * sysdeps/wordsize-64/fseeko.c: File removed.
50990         * sysdeps/wordsize-64/fseeko64.c: File removed.
50991         * sysdeps/wordsize-64/ftello.c: File removed.
50992         * sysdeps/wordsize-64/ftello64.c: File removed.
50993         * sysdeps/wordsize-64/iofgetpos.c: File removed.
50994         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
50995         * sysdeps/wordsize-64/iofsetpos.c: File removed.
50996         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
50997         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
50998         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
50999         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
51000         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
51001         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
51002         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
51003         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
51004         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
51005         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
51006         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
51008         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
51009         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
51010         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
51011         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51012         [defined __arch64__ || defined __sparcv9]
51013         (__OFF_T_MATCHES_OFF64_T): New macro.
51014         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
51015         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
51016         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51017         (__OFF_T_MATCHES_OFF64_T): New macro.
51019 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
51021         * stdlib/secure-getenv.c (__secure_getenv): Replace
51022         GLIBC_2_16 with GLIBC_2_17.
51024 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
51026         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
51027         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
51029 2012-08-03  David S. Miller  <davem@davemloft.net>
51031         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51033 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
51035         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
51036         Remove.
51037         (__ASSUME_CORRECT_SI_PID): Likewise.
51038         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
51039         (__ASSUME_TMPFS_NAME): Likewise.
51040         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
51041         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
51042         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
51043         (HAVE_AUX_SECURE): Make definition unconditional.
51044         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
51045         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
51047 2012-08-03  Roland McGrath  <roland@hack.frob.com>
51049         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
51050         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
51051         * sysdeps/mach/hurd/eloop-threshold.h: New file.
51052         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
51053         __eloop_threshold instead of SYMLOOP_MAX.
51055         * sysdeps/generic/eloop-threshold.h: New file.
51056         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
51057         of MAXSYMLINKS.
51058         * elf/chroot_canon.c (chroot_canon): Likewise.
51060 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
51062         [BZ #13717]
51063         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
51064         Change to 2.6.0 everywhere.
51065         * sysdeps/unix/sysv/linux/configure: Regenerated.
51066         * sysdeps/unix/sysv/linux/kernel-features.h
51067         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
51068         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
51069         kernel versions.
51070         (__ASSUME_POSIX_TIMERS): Define unconditionally.
51071         (__ASSUME_FUTEX_REQUEUE): Remove.
51072         (__ASSUME_STATFS64): Define unconditionally.
51073         (__ASSUME_AT_SECURE): Likewise.
51074         (__ASSUME_CORRECT_SI_PID): Likewise.
51075         (__ASSUME_TGKILL): Define without depending on kernel version for
51076         i386.
51077         (__ASSUME_UTIMES): Likewise.
51078         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
51079         kernel version.
51080         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
51081         (__ASSUME_TMPFS_NAME): Likewise.
51082         * README: Update reference to Linux kernel versions.
51084 2012-08-02  Marek Polacek  <polacek@redhat.com>
51086         [BZ# 14150]
51087         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
51088         libc_cv_asm_type_prefix with %.
51089         * configure: Regenerated.
51090         * include/libc-symbols.h: Remove comment about
51091         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
51092         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
51093         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
51094         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
51095         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
51096         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
51097         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
51098         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
51099         * elf/tst-unique2mod1.c: Likewise.
51100         * elf/tst-unique1mod2.c: Likewise.
51101         * elf/tst-unique1mod1.c: Likewise.
51102         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
51103         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
51104         Replace ASM_TYPE_DIRECTIVE with .type.
51105         * sysdeps/s390/s390-64/sysdep.h: Likewise.
51106         * sysdeps/i386/sysdep.h: Likewise.
51107         * sysdeps/x86_64/sysdep.h: Likewise.
51108         * sysdeps/sh/sysdep.h: Likewise.
51109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
51110         Do not define ASM_TYPE_DIRECTIVE.
51111         * sysdeps/powerpc/sysdep.h: Likewise.
51112         * sysdeps/powerpc/powerpc32/sysdep.h:
51113         Replace ASM_TYPE_DIRECTIVE with .type.
51114         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
51115         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
51116         * sysdeps/i386/fpu/e_powf.S: Likewise.
51117         * sysdeps/i386/fpu/e_expl.S: Likewise.
51118         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
51119         * sysdeps/i386/fpu/e_acosh.S: Likewise.
51120         * sysdeps/i386/fpu/e_pow.S: Likewise.
51121         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
51122         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
51123         * sysdeps/i386/fpu/s_expm1.S: Likewise.
51124         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
51125         * sysdeps/i386/fpu/e_log2.S: Likewise.
51126         * sysdeps/i386/fpu/e_log2l.S: Likewise.
51127         * sysdeps/i386/fpu/e_scalb.S: Likewise.
51128         * sysdeps/i386/fpu/e_powl.S: Likewise.
51129         * sysdeps/i386/fpu/e_log10f.S: Likewise.
51130         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
51131         * sysdeps/i386/fpu/e_logl.S: Likewise.
51132         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
51133         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
51134         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
51135         * sysdeps/i386/fpu/e_log2f.S: Likewise.
51136         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
51137         * sysdeps/i386/fpu/e_log.S: Likewise.
51138         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
51139         * sysdeps/i386/fpu/e_logf.S: Likewise.
51140         * sysdeps/i386/fpu/e_log10l.S: Likewise.
51141         * sysdeps/i386/fpu/e_atanh.S: Likewise.
51142         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
51143         * sysdeps/i386/fpu/e_log10.S: Likewise.
51144         * sysdeps/i386/fpu/s_frexp.S: Likewise.
51145         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
51146         * sysdeps/i386/fpu/s_asinh.S: Likewise.
51147         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
51148         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
51149         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
51150         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
51151         * sysdeps/i386/i686/strtok.S: Likewise.
51152         * sysdeps/i386/i386-mcount.S: Likewise.
51153         * sysdeps/i386/strtok.S: Likewise.
51154         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
51155         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
51156         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51157         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
51158         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
51159         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
51160         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
51161         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
51162         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
51163         * sysdeps/x86_64/_mcount.S: Likewise.
51164         * sysdeps/x86_64/strtok.S: Likewise.
51165         * sysdeps/sh/_mcount.S: Likewise.
51167 2012-08-01  Roland McGrath  <roland@hack.frob.com>
51169         * libio/iofopen.c: Include <fcntl.h>.
51170         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
51171         (_IO_fopen64, fopen64): Define as aliases.
51172         * libio/iofopen64.c: Include <fcntl.h>.
51173         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
51174         Conditionalize body on this.
51175         * sysdeps/wordsize-64/iofopen.c: File removed.
51176         * sysdeps/wordsize-64/iofopen64.c: File removed.
51178 2012-08-01  Marek Polacek  <polacek@redhat.com>
51180         * libc/Makeconfig: Use elf in place of binfmt-subdir.
51181         Use dlfcn directly instead of a variable.
51182         (binfmt-subdir): Do not define.
51183         (dlfcn): Likewise.
51185 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
51187         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
51188         Remove all definitions.
51189         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
51190         <kernel-features.h>.
51191         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
51192         (miss_F_GETOWN_EX): Remove all definitions.
51193         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
51194         macro definition.
51195         [!__ASSUME_FCNTL64]: Remove conditional code.
51196         [__ASSUME_FCNTL64]: Make code unconditional.
51197         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
51198         <kernel-features.h>.
51199         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
51200         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
51201         (lockf64) [__NR_fcntl64]: Make code unconditional.
51202         (lockf64) [__ASSUME_FCNTL64]: Likewise.
51204         * sysdeps/unix/sysv/linux/kernel-features.h
51205         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
51206         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
51207         Make code unconditional.
51208         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
51209         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
51210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
51211         [__NR_vfork]: Make code unconditional.
51212         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
51213         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
51214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
51215         [__NR_vfork]: Make code unconditional.
51216         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
51217         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
51219 2012-08-01  Roland McGrath  <roland@hack.frob.com>
51221         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
51222         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
51224         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
51225         Define mkstemp64 as an alias.
51226         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
51227         Define mkstemps64 as an alias.
51228         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
51229         Define mkostemp64 as an alias.
51230         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
51231         Define mkostemps64 as an alias.
51232         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
51233         Conditionalize body on this.
51234         * misc/mkostemp64.c: Likewise.
51235         * misc/mkostemps64.c: Likewise.
51236         * misc/mkstemps64.c: Likewise.
51237         * sysdeps/wordsize-64/mkstemp64.c: File removed.
51238         * sysdeps/wordsize-64/mkostemp64.c: File removed.
51239         * sysdeps/wordsize-64/mkostemp.c: File removed.
51240         * sysdeps/wordsize-64/mkstemp.c: File removed.
51241         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
51242         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
51243         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
51244         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
51246         [BZ #14138]
51247         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
51248         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
51249         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
51250         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
51252         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
51253         compat_symbol macros from <shlib-compat.h> rather than the underlying
51254         default_symbol_version and symbol_version macros, so that DEFAULT
51255         lines in shlib-versions are respected.
51256         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
51258 2012-08-01  Florian Weimer  <fweimer@redhat.com>
51260         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
51261         Declare with warn_unused_result.
51262         (setgid, setregid, setegid, setresgid): Likewise.
51263         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
51264         Likewise.
51265         * WUR-REPORT: Remove set*id functions.
51267 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
51269         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
51271 2012-07-31  Roland McGrath  <roland@hack.frob.com>
51273         [BZ #10191]
51274         * include/sys/socket.h (__libc_accept, __libc_accept4):
51275         Add attribute_hidden.
51276         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
51278         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
51279         use of PTR_MANGLE.
51280         * inet/getnetgrent_r.c (setup): Likewise.
51282         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
51284 2012-07-31  David S. Miller  <davem@davemloft.net>
51286         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51288 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
51290         [BZ #13629]
51291         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
51292         value between 1.0 and 2.0 and smaller part has absolute value less
51293         than 1.0.
51294         * math/s_clog10.c (__clog10): Likewise.
51295         * math/s_clog10f.c (__clog10f): Likewise.
51296         * math/s_clog10l.c (__clog10l): Likewise.
51297         * math/s_clogf.c (__clogf): Likewise.
51298         * math/s_clogl.c (__clogl): Likewise.
51299         * math/libm-test.inc (clog_test): Add more tests.
51300         (clog10_test): Likewise.
51301         * sysdeps/i386/fpu/libm-test-ulps: Update.
51302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51304 2012-07-31  Florian Weimer  <fweimer@redhat.com>
51306         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
51307         Exit with zero in case no suitable GID is found, and write a
51308         message to standard error.
51310 2012-07-30  Roland McGrath  <roland@hack.frob.com>
51312         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
51313         rather than to 1.
51314         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
51315         (MAXPATHLEN): Removed.
51316         (NOGROUP, NODEV): New macros.
51317         (setbit, clrbit, isset, isclr): New macros.
51318         (howmany, roundup, powerof2): New macros.
51319         (DEV_BSIZE): New macro.
51321         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
51322         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
51324         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
51325         definition on [!__NO_LONG_DOUBLE_MATH].
51327         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
51328         PTR_MANGLE and PTR_DEMANGLE.
51330         * socket/accept4.c (accept4): Rename to __libc_accept4.
51331         Define accept4 as a weak alias.
51333         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
51334         on [_DIRENT_HAVE_D_TYPE].
51335         * io/ftw.c (ftw_dir): Likewise.
51337         * io/xmknod.c (__xmknod): Don't check PATH for being null.
51339         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
51341         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
51342         Use the BSD numbers rather than the arbitrary ones we had.
51343         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
51344         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
51345         (SIGXCPU, SIGXFSZ): New macros.
51346         (_NSIG): Now 32.
51348         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
51349         initializer on [_LIBC_REENTRANT].
51351         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
51352         definitions inside [_POSIX_MAPPED_FILES].
51354         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
51356         * dirent/opendir.c: Include <fcntl.h>.
51358         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
51359         (__libc_getspecific): Likewise.
51360         (__libc_key_create): Likewise.
51362         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
51363         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
51364         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
51365         (tmpfile64): Define as alias.
51366         * sysdeps/wordsize-64/tmpfile.c: File removed.
51367         * sysdeps/wordsize-64/tmpfile64.c: File removed.
51368         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
51369         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
51371         * stdio-common/vfscanf.c: Include <stdbool.h>.
51372         * nss/makedb.c: Likewise.
51373         * stdio-common/_i18n_number.h: Likewise.
51374         * argp/argp-help.c: Likewise.
51375         * posix/wordexp.c: Likewise.
51376         * sysdeps/posix/spawni.c: Likewise.
51377         * nss/nss_files/files-initgroups.c: Likewise.
51378         * stdio-common/reg-modifier.c: Include <stdlib.h>.
51379         * nss/nss_files/files-initgroups.c: Likewise.
51380         * nss/nss_db/db-netgrp.c: Likewise.
51381         * nss/nss_db/db-initgroups.c: Likewise.
51382         * io/fchmodat.c: Include <sys/stat.h>.
51384         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
51385         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
51387         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
51388         [HAVE_MMAP].
51390         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
51391         Add multiple inclusion protection.
51393 2012-07-27  David S. Miller  <davem@davemloft.net>
51395         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51397 2012-07-27  Gary Benson  <gbenson@redhat.com>
51399         [BZ #14298]
51400         * elf/rtld.c: Include <stap-probe.h>.
51401         (dl_main): Added static probes "init_start" and "init_complete".
51402         * elf/dl-load.c: Include <stap-probe.h>.
51403         (lose): Take new parameter "nsid".
51404         Added static probe "map_failed".
51405         (_dl_map_object_from_fd): Pass namespace id to lose.
51406         Added static probe "map_start".
51407         (open_verify): Pass namespace id to lose.
51408         * elf/dl-open.c: Include <stap-probe.h>.
51409         (dl_open_worker) Added static probes "map_complete", "reloc_start"
51410         and "reloc_complete".
51411         * elf/dl-close.c: Include <stap-probe.h>.
51412         (_dl_close_worker): Added static probes "unmap_start" and
51413         "unmap_complete".
51414         * elf/rtld-debugger-interface.txt: New file documenting the above.
51416 2012-07-26  Roland McGrath  <roland@hack.frob.com>
51418         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
51419         rather than a string variable.
51420         * sunrpc/rpc_main.c (h_output): Likewise.
51421         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
51423 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
51425         * inet/check_native.c: New file.
51427 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
51429         [BZ #13629]
51430         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
51431         if larger part has absolute value 1.0.
51432         * math/s_clog10.c (__clog10): Likewise.
51433         * math/s_clog10f.c (__clog10f): Likewise.
51434         * math/s_clog10l.c (__clog10l): Likewise.
51435         * math/s_clogf.c (__clogf): Likewise.
51436         * math/s_clogl.c (__clogl): Likewise.
51437         * math/libm-test.inc (clog_test): Add more tests.
51438         (clog10_test): Likewise.
51439         * sysdeps/i386/fpu/libm-test-ulps: Update.
51440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51442         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
51443         (pltexit): Likewise.
51444         (La_regs): Likewise.
51445         (La_retval): Likewise.
51446         (int_retval): Likewise.
51447         Update #error for removed macros to refer only to definitions in
51448         tst-audit.h.
51449         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
51450         macro.
51451         (pltexit): Likewise.
51452         (La_regs): Likewise.
51453         (La_retval): Likewise.
51454         (int_retval): Likewise.
51455         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
51456         macro.
51457         (pltexit): Likewise.
51458         (La_regs): Likewise.
51459         (La_retval): Likewise.
51460         (int_retval): Likewise.
51461         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
51462         macro.
51463         (pltexit): Likewise.
51464         (La_regs): Likewise.
51465         (La_retval): Likewise.
51466         (int_retval): Likewise.
51467         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
51468         macro.
51469         (pltexit): Likewise.
51470         (La_regs): Likewise.
51471         (La_retval): Likewise.
51472         (int_retval): Likewise.
51473         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
51474         macro.
51475         (pltexit): Likewise.
51476         (La_regs): Likewise.
51477         (La_retval): Likewise.
51478         (int_retval): Likewise.
51479         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
51480         macro.
51481         (pltexit): Likewise.
51482         (La_regs): Likewise.
51483         (La_retval): Likewise.
51484         (int_retval): Likewise.
51485         * sysdeps/generic/tst-audit.h: Update comment to refer only to
51486         macro definitions in tst-audit.h.
51487         * sysdeps/i386/tst-audit.h: New file.
51488         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
51489         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
51490         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
51491         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
51492         * sysdeps/sh/tst-audit.h: Likewise.
51493         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
51494         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
51495         * sysdeps/x86_64/tst-audit.h: Likewise.
51497 2012-07-26  Andreas Jaeger  <aj@suse.de>
51499         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
51500         ptrace.
51502         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
51503         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
51504         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
51505         PTRACE_O_MASK.
51506         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
51507         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
51508         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
51510         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
51511         value.
51513         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
51514         _sigsys.
51515         (si_call_addr, si_syscall, si_arch): Define new macro.
51516         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
51517         _sigsys.
51518         (si_call_addr, si_syscall, si_arch): Define new marcro.
51519         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
51520         _sigsys.
51521         (si_call_addr, si_syscall, si_arch): Define new macro.
51522         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
51523         _sigsys.
51524         (si_call_addr, si_syscall, si_arch): Define new macro.
51526 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
51528         [BZ #13717]
51529         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
51530         Change to 2.4.21 where previously 2.4.1.
51531         * sysdeps/unix/sysv/linux/configure: Regenerated.
51532         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
51533         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
51534         Linux kernel version.
51535         (__ASSUME_STD_AUXV): Remove.
51536         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
51537         kernel version.
51538         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
51539         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
51540         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
51541         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
51542         (__ASSUME_NETLINK_SUPPORT): Likewise.
51543         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
51544         (__no_netlink_support): Remove conditional definition.
51545         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
51546         Remove.
51547         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
51548         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
51549         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
51550         (if_nameindex_ioctl): Remove.
51551         (if_nameindex_netlink): Do not handle __no_netlink_support.
51552         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
51553         code.
51554         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
51555         Remove conditional code.
51556         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
51557         code.
51558         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
51559         unconditional.
51560         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
51561         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
51562         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
51563         Remove.
51564         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
51565         [!__ASSUME_STD_AUXV]: Remove conditional code.
51566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
51567         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
51568         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
51569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
51570         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
51571         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
51572         code.
51573         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
51574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
51575         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
51576         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
51577         conditional code.
51578         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
51579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
51580         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
51581         code.
51582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
51583         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
51584         conditional code.
51585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
51586         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
51587         code unconditional.
51588         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
51589         conditional code.
51590         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
51591         unconditional.
51592         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
51593         conditional code.
51594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
51595         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
51596         unconditional.
51597         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
51598         conditional code.
51599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
51600         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
51601         code unconditional.
51602         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
51603         conditional code.
51604         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
51605         unconditional.
51606         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
51607         conditional code.
51608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
51609         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
51610         code unconditional.
51611         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
51612         conditional code.
51613         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
51614         unconditional.
51615         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
51616         conditional code.
51618 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
51620         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
51621         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
51622         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
51623         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
51624         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
51625         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
51626         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
51627         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
51628         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
51629         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
51630         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
51631         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
51632         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
51633         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
51634         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
51635         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
51636         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
51637         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
51638         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
51639         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
51640         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
51641         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
51642         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
51644 2012-07-25  Florian Weimer  <fweimer@redhat.com>
51646         * Versions.def: Add GLIBC_2.17.
51647         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
51648         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
51649         Introduce __libc_secure_getenv.
51650         * stdlib/Versions (2.17): Add secure_getenv
51651         (GLIBC_PRIVATE): Add __libc_secure_getenv.
51652         * stdlib/secure-getenv.c: Rename __secure_getenv to
51653         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
51654         symbol __secure_getenv for GLIBC_2.0.
51655         * stdlib/tst-secure-getenv.c: New.
51656         * stdlib/Makefile (tests): Add testcase.
51657         * manual/startup.texi (Environment Access): Document
51658         secure_getenv.
51659         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
51660         __libc_secure_getenv.
51661         * inet/ruserpass.c (ruserpass): Likewise.
51662         * malloc/mtrace.c (mtrace): Likewise.
51663         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
51664         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
51665         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
51666         * sysdeps/posix/tempname.c: Likewise.  Evaluate
51667         HAVE_SECURE_GETENV.
51668         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
51669         __secure_getenv to __libc_secure_getenv.
51670         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
51671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51672         Likewise.
51673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51674         Likewise.
51675         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
51676         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
51677         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
51678         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
51679         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
51680         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
51681         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
51683 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
51685         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
51686         (struct La_i86_retval): Likewise.
51687         (struct La_x86_64_regs): Likewise.
51688         (struct La_x86_64_retval): Likewise.
51689         (struct La_x32_regs): Likewise.
51690         (struct La_x32_retval): Likewise.
51691         (struct La_ppc32_regs): Likewise.
51692         (struct La_ppc32_retval): Likewise.
51693         (struct La_ppc64_regs): Likewise.
51694         (struct La_ppc64_retval): Likewise.
51695         (struct La_sh_regs): Likewise.
51696         (struct La_sh_retval): Likewise.
51697         (struct La_s390_32_regs): Likewise.
51698         (struct La_s390_32_retval): Likewise.
51699         (struct La_s390_64_regs): Likewise.
51700         (struct La_s390_64_retval): Likewise.
51701         (struct La_sparc32_regs): Likewise.
51702         (struct La_sparc32_retval): Likewise.
51703         (struct La_sparc64_regs): Likewise.
51704         (struct La_sparc64_retval): Likewise.
51705         (struct audit_ifaces): Remove architecture-specific pltenter and
51706         pltexit members.
51707         * sysdeps/i386/ldsodefs.h: New file.
51708         * sysdeps/powerpc/ldsodefs.h: Likewise.
51709         * sysdeps/s390/ldsodefs.h: Likewise.
51710         * sysdeps/sh/ldsodefs.h: Likewise.
51711         * sysdeps/sparc/ldsodefs.h: Likewise.
51712         * sysdeps/x86_64/ldsodefs.h: Likewise.
51714 2012-07-25  Marek Polacek  <polacek@redhat.com>
51716         [BZ #6808]
51717         * math/libm-test.inc (yn_test): Add another test.
51718         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
51719         to ERANGE when the result is +-Inf.
51720         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
51721         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
51722         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
51723         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
51725 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
51727         * conform/data/time.h-data (NULL): Use macro-constant.  Require
51728         equal to 0.
51729         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
51730         clock_t.
51731         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
51733 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
51735         * configure.in <sysdeps resolving>: Correct printing
51736         Implies_before.
51737         * configure: Regenerate.
51739 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
51741         * math/w_ilogb.c: Include <limits.h>.
51742         * math/w_ilogbl.c: Likewise.
51744 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
51746         * manual/lang.texi (__va_copy): Document primarily as ISO C99
51747         va_copy.  Document allowing for unavailable va_copy only as
51748         pre-C99 compatibility.
51749         * manual/string.texi (Copying and Concatenation): Use va_copy
51750         instead of __va_copy in concat example.
51752 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
51754         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
51755         (__sendto): Use create_address_port.  Initialize APORT and deallocate
51756         it if not null.
51758         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
51759         with O_NOLINK passed to __file_name_lookup.
51761         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
51762         with O_NOLINK passed to __file_name_lookup.
51764         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
51765         negative N or less than NGIDS.
51767         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
51768         type to string_t.  Set ERANGE as errno and return it if NAME is not big
51769         enough.  Use memcpy instead of strncpy.
51771 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
51773         * elf/Makefile (check-data): Remove.
51774         (localplt.data): New vpath directive.
51775         ($(objpfx)check-localplt.out): Use localplt.data from vpath
51776         instead of $(check-data).
51777         * scripts/data/localplt-generic.data: Move to ...
51778         * sysdeps/generic/localplt.data: ... here.
51779         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
51780         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
51781         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
51782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
51783         ... here.
51784         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
51785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
51786         ... here.
51787         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
51788         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
51789         ... here.
51790         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
51791         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
51792         ... here.
51793         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
51794         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
51795         ... here.
51796         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
51797         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
51798         ... here.
51800 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51802         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
51803         PPC32 and PPC64 files.
51804         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
51805         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
51807 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51809         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
51810         __makecontext_ret to ...
51811         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
51812         ... here and call exit if uc_link is NULL.  New file.
51813         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
51814         __makecontext_ret.S.
51815         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
51816         __makecontext_ret to ...
51817         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
51818         ... here and call exit if uc_link is NULL.  New file.
51819         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
51820         __makecontext_ret.S.
51822 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51824         * elf/elf.h (R_390_IRELATIVE): New definition.
51825         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
51826         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
51827         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
51828         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
51829         (elf_machine_lazy_rel): Likewise.
51830         * sysdeps/s390/dl-irel.h: New file.
51831         * sysdeps/s390/s390-64/memcpy.S: New asm code.
51832         * sysdeps/s390/s390-64/memset.S: New asm code.
51833         * sysdeps/s390/s390-64/memcmp.S: New asm code.
51834         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
51835         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
51836         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
51837         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
51838         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
51839         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
51840         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
51841         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
51842         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
51843         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
51844         * sysdeps/s390/s390-32/memcpy.S: New asm code.
51845         * sysdeps/s390/s390-32/memset.S: New asm code.
51846         * sysdeps/s390/s390-32/memcmp.S: New asm code.
51848 2012-07-17  Marek Polacek  <polacek@redhat.com>
51850         [BZ #14349]
51851         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
51852         * sysdeps/s390/s390-64/configure.in: Likewise.
51853         * sysdeps/sparc/configure.in: Likewise.
51854         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
51855         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
51856         * sysdeps/i386/configure.in: Likewise.
51857         * sysdeps/x86_64/configure.in: Likewise.
51858         * sysdeps/sh/configure.in: Likewise.
51859         * sysdeps/s390/s390-32/configure: Regenerated.
51860         * sysdeps/s390/s390-64/configure: Likewise.
51861         * sysdeps/x86_64/configure: Likewise.
51862         * sysdeps/sh/configure: Likewise.
51863         * sysdeps/powerpc/powerpc64/configure: Likewise.
51864         * sysdeps/powerpc/powerpc32/configure: Likewise.
51865         * sysdeps/sparc/configure: Likwise.
51866         * sysdeps/i386/configure: Likewise.
51868         * elf/dl-open.c: Comment fixes.
51870 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
51872         * Makefile [CXX] (check-data): Remove.
51873         [CXX] (c++-types.data): New vpath directive.
51874         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
51875         vpath.  Do not allow for C++ type data being missing.
51876         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
51877         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
51878         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
51879         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
51880         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
51881         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
51882         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
51883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
51884         ... here.
51885         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
51886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
51887         ... here.
51888         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
51889         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
51890         ... here.
51891         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
51892         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
51893         ... here.
51894         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
51895         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
51896         ... here.
51897         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
51898         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
51899         ... here.
51900         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
51901         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
51902         ... here.
51903         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
51904         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
51906         * elf/tls-macros.h (TLS_LE): Move architecture-specific
51907         definitions to architecture-specific files.
51908         (TLS_IE): Likewise.
51909         (TLS_LD): Likewise.
51910         (TLS_GD): Likewise.
51911         * sysdeps/i386/tls-macros.h: New file.
51912         * sysdeps/powerpc/tls-macros.h: Likewise.
51913         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
51914         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
51915         * sysdeps/sh/tls-macros.h: Likewise.
51916         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
51917         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
51918         * sysdeps/x86_64/tls-macros.h: Likewise.
51920 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
51922         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
51923         zero value for regular exit case.
51925         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
51926         (__start_context): Preserve zero value for regular exit case.
51928 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
51929             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51931         * manual/setjmp.texi (setcontext): Clarify normal process
51932         termination when uc_link is the null pointer.
51933         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
51934         exit call.
51936 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
51938         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
51939         preprocessor.  Test for each exception mask separately.
51941 2012-07-16  Andreas Jaeger  <aj@suse.de>
51943         * po/ru.po: Update from translation team.
51945 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
51947         * conform/data/string.h-data (NULL): Use macro-constant.  Require
51948         equal to 0.
51949         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
51950         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
51951         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
51952         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
51953         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51955 2012-07-13  Andreas Jaeger  <aj@suse.de>
51957         * po/fr.po: Update from translation team.
51959 2012-07-12  Marek Polacek  <polacek@redhat.com>
51961         [BZ #14173]
51962         * math/libm-test.inc (yn_test): Add test for BZ #14173.
51963         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
51964         loop condition.
51966 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
51968         [BZ #13717]
51969         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
51970         Change to 2.4.1 where previously 2.4.0.
51971         * sysdeps/unix/sysv/linux/configure: Regenerated.
51972         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
51973         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
51974         version.
51975         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
51976         (__ASSUME_AT_CLKTCK): Remove.
51977         (__ASSUME_AT_PAGESIZE): Likewise.
51978         (__ASSUME_AT_XID): Likewise.
51979         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
51980         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
51981         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
51982         unconditionally.
51983         (HAVE_AUX_PAGESIZE): Likewise.
51984         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
51985         [__ASSUME_AT_CLKTCK]: Make code unconditional.
51986         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
51988 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
51990         [BZ #14307]
51991         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
51992         the temporary buffer used to invoke __gethostbyname2_r,
51993         __gethostbyaddr_r and gethostbyname4_r to make room for struct
51994         host_data / struct gaih_addrtuple.
51995         * resolv/nss_dns/dns-host.c (global scope): Move definition of
51996         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
51997         header file nss/nsswitch.h.
51998         * nss/nsswitch.h (global scope): Add definition of implementation
51999         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
52000         resolv/nss_dns/dns-host.c).
52002 2012-07-11  Andreas Jaeger  <aj@suse.de>
52004         * po/fr.po: Update from translation team.
52006         * po/sv.po: Update from translation team
52007         * po/fr.po: Another update from translation team.
52009 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52011         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
52012         for subnormals or multiply small sinh result by itself.
52013         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
52014         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52016 2012-07-11  David S. Miller  <davem@davemloft.net>
52018         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52020 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
52022         [BZ #14347]
52023         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
52024         (INTERNAL_MARK): Shift it here.
52026 2012-07-10  Marek Polacek  <polacek@redhat.com>
52028         [BZ #14151]
52029         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
52030         libc_cv_asm_global_directive with .globl.
52031         * configure: Regenerated.
52032         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
52033         with .globl.
52034         * sysdeps/i386/configure: Regenerated.
52035         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
52036         with .globl.
52037         * sysdeps/x86_64/configure: Regenerated.
52038         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
52039         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
52040         * elf/tst-unique2mod2.c: Likewise.
52041         * elf/tst-unique2mod1.c: Likewise.
52042         * elf/tst-unique1mod2.c: Likewise.
52043         * elf/tst-unique1mod1.c: Likewise.
52044         * sysdeps/s390/s390-32/sysdep.h: Likewise.
52045         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
52046         * sysdeps/s390/s390-64/sysdep.h: Likewise.
52047         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
52048         * sysdeps/mach/sysdep.h: Likewise.
52049         * sysdeps/i386/sysdep.h: Likewise.
52050         * sysdeps/i386/i386-mcount.S: Likewise.
52051         * sysdeps/x86_64/_mcount.S: Likewise.
52052         * sysdeps/x86_64/sysdep.h: Likewise.
52053         * sysdeps/sh/_mcount.S: Likewise.
52054         * sysdeps/sh/sysdep.h: Likewise.
52055         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
52056         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
52057         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
52058         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
52059         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
52060         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
52061         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
52062         * locale/localeinfo.h: Likewise.
52063         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
52064         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
52066 2012-07-09  Roland McGrath  <roland@hack.frob.com>
52068         [BZ #14336]
52069         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
52070         system".
52071         * manual/message.texi (The Uniforum approach): Likewise.
52072         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
52073         (glibc iconv Implementation): Likewise.
52075 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
52077         [BZ #14337]
52078         * math/s_clog.c (__clog): Avoid scaling a value down where that
52079         could result in underflow.
52080         * math/s_clog10.c (__clog10): Likewise.
52081         * math/s_clog10f.c (__clog10f): Likewise.
52082         * math/s_clog10l.c (__clog10l): Likewise.
52083         * math/s_clogf.c (__clogf): Likewise.
52084         * math/s_clogl.c (__clogl): Likewise.
52085         * math/libm-test.inc (clog_test): Add more tests.
52086         (clog10_test): Likewise.
52087         * sysdeps/i386/fpu/libm-test-ulps: Update.
52088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52090 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
52092         [BZ #14283]
52093         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
52094         by 7 not 8 to examine high bit of fractional part.
52096         [BZ #14042]
52097         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
52098         for call to __mcount_internal.
52099         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
52100         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
52101         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
52103 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
52105         [BZ #14154]
52106         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
52107         approximation for values within 0x1p-13f of an odd multiple of
52108         pi/4.
52109         * math/libm-test.inc (tan_test): Do not allow spurious underflow
52110         exception.  Add more tests.
52111         * sysdeps/i386/fpu/libm-test-ulps: Update.
52113         [BZ #6778]
52114         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
52115         inputs and return -1 for them.  Do not check for +Inf in case not
52116         reachable for +Inf.
52117         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
52118         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
52119         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
52120         and return -1 for them.  Do not check for +Inf in case not
52121         reachable for +Inf.
52122         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
52123         define.
52124         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
52125         and return -1 for them.  Do not check for +Inf in case not
52126         reachable for +Inf.
52127         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
52128         spurious underflow.
52129         * sysdeps/i386/fpu/libm-test-ulps: Update.
52130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52132 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
52134         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
52136 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
52138         [BZ #14157]
52139         [BZ #14331]
52140         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
52141         could result in spurious underflow.  Scale down values above
52142         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
52143         * math/s_csqrtf.c (__csqrtf): Likewise.
52144         * math/s_csqrtl.c (__csqrtl): Likewise.
52145         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
52146         spurious underflow.
52147         * sysdeps/i386/fpu/libm-test-ulps: Update.
52148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52150 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
52152         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
52153         xopen-msg.sed.
52154         * catgets/xopen-msg.awk: New file.
52155         * catgets/xopen-msg.sed: Removed.
52157         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
52158         po2text.sed.
52159         * intl/po2test.awk: New file.
52160         * intl/po2test.sed: Removed.
52162 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
52164         [BZ #14328]
52165         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
52166         or multiply small sinh result by itself.
52167         * math/s_ctanf.c (__ctanf): Likewise.
52168         * math/s_ctanh.c (__ctanh): Likewise.
52169         * math/s_ctanhf.c (__ctanhf): Likewise.
52170         * math/s_ctanhl.c (__ctanhl): Likewise.
52171         * math/s_ctanl.c (__ctanl): Likewise.
52172         * math/libm-test.inc (ctan_test_tonearest): New function.
52173         (ctan_test_towardzero): Likewise.
52174         (ctan_test_downward): Likewise.
52175         (ctan_test_upward): Likewise.
52176         (ctanh_test_tonearest): Likewise.
52177         (ctanh_test_towardzero): Likewise.
52178         (ctanh_test_downward): Likewise.
52179         (ctanh_test_upward): Likewise.
52180         (main): Call these new functions.
52181         * sysdeps/i386/fpu/libm-test-ulps: Update.
52182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52184 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
52186         * .gitignore: Delete /ports entry.
52188 2012-07-03  Andreas Jaeger  <aj@suse.de>
52190         * po/bg.po: Update from translation team.
52191         * po/cs.po: Likewise.
52192         * po/de.po: Likewise.
52193         * po/hr.po: Likewise.
52194         * po/nl.pl: Likewise.
52195         * po/pl.po: Likewise.
52196         * po/vi.po: Likewise.
52198 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
52200         * Makeconfig [!+link] (+link-before-libc): New variable.
52201         [!+link] (+link-after-libc): Likewise.
52202         [!+link] (+link-tests): Likewise.
52203         [!+link] (+link): Define in terms of $(+link-before-libc) and
52204         $(+link-after-libc).
52205         [!+link-static] (+link-static-before-libc): New variable.
52206         [!+link-static] (+link-static-after-libc): Likewise.
52207         [!+link-static] (+link-static-tests): Likewise.
52208         [!+link-static] (+link-static): Define in terms of
52209         $(+link-static-before-libc) and $(+link-static-after-libc).
52210         [build-shared] (link-libc-before-gnulib): New variable.
52211         [build-shared] (link-libc-tests): Likewise.
52212         [build-shared] (link-libc): Define in terms of
52213         $(link-libc-before-gnulib).
52214         [!build-shared] (link-libc-tests): New variable.
52215         (link-libc-static-tests): New variable.
52216         [!gnulib] (gnulib-arch): New variable.
52217         [!gnulib] (gnulib-tests): Likewise.
52218         [!gnulib] (static-gnulib-arch): Likewise.
52219         [!gnulib] (static-gnulib-tests): Likewise.
52220         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
52221         Define with "=" instead of ":=".
52222         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
52223         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
52224         * Rules (binaries-all-notests): New variable.
52225         (binaries-all-tests): Likewise.
52226         (binaries-static-notests): Likewise.
52227         (binaries-static-tests): Likewise.
52228         (binaries-all): Define using $(binaries-all-notests) and
52229         $(binaries-all-tests).
52230         (binaries-static): Define using $(binaries-static-notests) and
52231         $(binaries-static-tests).
52232         (binaries-shared-tests): New variable.
52233         (binaries-shared-notests): Likewise.
52234         (binaries-shared): Remove variable.
52235         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
52236         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
52237         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
52238         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
52239         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
52240         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
52241         * elf/Makefile (sln-modules): New variable.
52242         (extra-objs): Add $(sln-modules:=.o).
52243         (ldconfig-modules): Add static-stubs.
52244         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
52245         * elf/static-stubs.c: New file.
52247         [BZ #14283]
52248         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
52249         by 7 not 8 to examine high bit of fractional part.  Use volatile
52250         variables when splitting into final array of floats if
52251         __FLT_EVAL_METHOD__ != 0.
52252         * math/libm-test.inc (cos_test): Add another test.
52253         (sin_test): Likewise.
52254         * sysdeps/i386/fpu/libm-test-ulps: Update.
52256         [BZ #14273]
52257         * math/libm-test.inc (cosh_test): Add more tests.
52259         * version.h (RELEASE): Set to "development".
52260         (VERSION): Set to "2.16.90".
52262 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
52264         * NEWS: Update copyright. Remove last-updated date.
52265         Mention math library bug fixes and timezone data changes.
52266         * README: Mention GNU/Hurd, x32, and HPPA support status.
52268 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
52270         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
52272 2012-06-27  Andreas Jaeger  <aj@suse.de>
52274         * manual/contrib.texi (Contributors): Add Samuel Thibault.
52276 2012-06-25  Andreas Jaeger  <aj@suse.de>
52278         * sysdeps/s390/fpu/libm-test-ulps: Update.
52280 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
52281             Thomas Schwinge  <thomas@codesourcery.com>
52283         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
52284         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
52285         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
52286         fanotify_mark.
52288 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
52290         * sysdeps/mach/start.c: Remove file.
52291         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
52292         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
52293         * sysdeps/sh/init-first.c: Likewise.
52295         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
52296         registers for frame unwinding purposes, add CFI directives.
52297         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
52298         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
52299         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
52300         Likewise.
52302         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
52303         __fortify_fail returning.
52304         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
52306         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
52307         sysdeps/sh/____longjmp_chk.S.
52308         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
52309         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
52310         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
52311         (gen-as-const-headers): Append sigaltstack-offsets.sym.
52313         * sysdeps/sh/abort-instr.h: New file.
52314         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
52315         process in case exit returns.
52317         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
52318         initialize the GOT register before use.
52320         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
52321         calculation of ARGC > 4.
52323         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
52324         meaningful names to some local labels.
52326 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52327             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52329         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
52330         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
52331         (__arch_compare_and_exchange_val_16_acq): Likewise.
52332         (__arch_compare_and_exchange_val_32_acq): Likewise.
52333         (atomic_exchange_and_add): Fix gUSA sequence.
52334         (atomic_add): Likewise.
52335         (atomic_add_negative): Likewise.
52336         (atomic_add_zero): Likewise.
52337         (atomic_bit_test_set): Likewise.
52339 2012-06-22  Andreas Schwab  <schwab@redhat.com>
52341         [BZ #13579]
52342         * include/link.h (struct link_map): Add l_free_initfini.
52343         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
52344         l_initfini.
52345         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
52346         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
52347         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
52348         set.
52350 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
52352         * configure.in: Use AC_LANG_SOURCE.
52353         * configure: Regenerate.
52355 2012-06-22  Roland McGrath  <roland@hack.frob.com>
52357         * configure.in (libc_cv_localstatedir): New substituted variable.
52358         * configure: Regenerated.
52359         * config.make.in (localstatedir): New variable, substituted from
52360         libc_cv_localstatedir.
52361         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
52362         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
52363         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
52364         * sysdeps/gnu/configure: Regenerated.
52366 2012-06-21  Jeff Law  <law@redhat.com>
52368         [BZ #14277]
52369         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
52370         free.  Simplify list management for _LIBC case.
52372 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
52374         [BZ #14273]
52375         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
52376         Clear sign bit of 64-bit integer value before comparing against
52377         overflow value.
52379         * sysdeps/mach/configure: Regenerated.
52381 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
52383         [BZ #14278]
52384         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
52386 2012-06-21  Jeff Law  <law@redhat.com>
52388         [BZ #13882]
52389         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
52390         uint16_t for elements in the "seen" array to avoid char overflows.
52391         * elf/dl-fini.c (_dl_sort_fini): Likewise.
52392         * elf/dl-open.c (dl_open_worker): Likewise.
52394 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
52396         * scripts/list-sources.sh: Scan PORTS for translations.
52397         * po/libc.pot: Regenerated.
52399 2012-06-21  Andreas Jaeger  <aj@suse.de>
52401         [BZ #12194]
52402         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
52403         warning.
52404         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
52405         * bits/byteswap-16.h (__bswap_16): Likewise.
52406         * bits/byteswap.h (__bswap_constant_16): Likewise.
52408 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
52410         [BZ #14117]
52411         * sysdeps/i386/fpu_control.h: Removed.
52412         * sysdeps/x86_64/fpu_control.h: Moved to ...
52413         * sysdeps/x86/fpu_control.h: Here.
52415         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
52416         (_FPU_SETCW): Likewise.
52418 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
52420         [BZ #14117]
52421         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
52422         * sysdeps/x86/fpu/bits/mathinline.h: This.
52423         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
52425         [BZ #14050]
52426         [BZ #14117]
52427         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
52428         functions if __x86_64__ is defined.
52430 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
52432         * string/endian.h: Add !__ASSEMBLER__ condition for including
52433         conversion interfaces.
52435 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
52437         [BZ #14241]
52438         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
52439         of ABS(x) in calculating zero to negative powers other than odd
52440         integers.
52441         * math/libm-test.inc (pow_test): Add more tests.
52443 2012-06-15  Andreas Jaeger  <aj@suse.de>
52445         * manual/contrib.texi (Contributors): Update entry of Liubov
52446         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
52447         Machado Filho.
52449 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
52451         * string/string.h: Add __wur to GNU version of strerror_r.
52453 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
52455         [BZ #14229]
52456         * string/Makefile (tests): Add tst-strtok_r.
52457         * string/tst-strtok_r.c: New file.
52458         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
52459         RAX_LP/RDX_LP on SAVE_PTR.
52461 2012-06-14  Roland McGrath  <roland@hack.frob.com>
52463         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
52465 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
52467         * libm_test.inc (csqrt_test): Allow more spurious underflow
52468         exceptions.
52469         (j0_test): Likewise.
52470         (j1_test): Likewise.
52471         (y0_test): Likewise.
52472         (y1_test): Likewise.
52474 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
52476         * po/Makefile (libc.pot): Use UTF-8 charset.
52478 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
52480         [BZ #14210]
52481         Suppress sign-conversion warning from FD_SET.
52482         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
52483         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
52484         not unsigned long int.
52485         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
52487 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
52489         [BZ #14050]
52490         [BZ #14117]
52491         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
52492         __extern_always_inline instead of __extern_inline.
52493         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
52494         (__signbit): Likewise.
52495         (__signbitl): Support C++ namespace.
52496         (lrintf): New inline function.
52497         (lrint): Likewise.
52498         (llrintf): Likewise.
52499         (llrint): Likewise.
52500         (fmaxf): Likewise.
52501         (fmax): Likewise.
52502         (fminf): Likewise.
52503         (fmin): Likewise.
52504         (rint): Likewise.
52505         (rintf): Likewise.
52506         (ceil): Likewise.
52507         (ceilf): Likewise.
52508         (floor): Likewise.
52509         (floorf): Likewise.
52510         (nearbyint): Likewise.
52511         (nearbyintf): Likewise.
52513 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
52515         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
52516         non-default versions.
52518 2012-06-11  Roland McGrath  <roland@hack.frob.com>
52520         [BZ #14218]
52521         * manual/argp.texi (Argp): Reword argp_parse description slightly.
52523 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
52525         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
52526         (FE_UPWARD, FE_DOWNWARD): Don't define.
52527         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
52528         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
52530         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
52531         reading it.
52532         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
52533         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
52535 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52537         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
52538         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
52539         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
52540         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
52542 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
52544         [BZ #14117]
52545         * sysdeps/i386/fpu/bits/fenv.h: Removed.
52546         * sysdeps/i386/fpu/Implies: New file.
52547         * sysdeps/x86_64/fpu/Implies: Likewise.
52548         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
52549         * sysdeps/x86/fpu/bits/fenv.h: This.
52551         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
52552         __SSE_MATH__.
52554 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
52556         [BZ #14134]
52557         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
52558         character 0xffff that matches the last element of the
52559         conversion table.
52561 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52563         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
52564         fmodl commit.
52566 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52568         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
52569         values higher than 25.6283.
52571 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52573         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
52574         subnormal exponent extraction and add some __builtin_expect.
52575         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
52576         Fix for subnormal mantissa calculation.
52578 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
52580         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
52581         cpu2 is -1 and errno is not ENOSYS.
52583 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
52585         [BZ #14117]
52586         * sysdeps/i386/i486/bits/string.h: Renamed to ...
52587         * sysdeps/x86/bits/string.h: This.
52588         * sysdeps/x86_64/bits/string.h: Removed.
52590         * sysdeps/i386/i486/bits/string.h: Define inline functions only
52591         if not compiling for x86-64, but compiling for >= i486.
52593         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
52594         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
52596         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
52597         New macro from Linux kernel 3.4.0.
52598         (FP_XSTATE_MAGIC2): Likewise.
52599         (FP_XSTATE_MAGIC2_SIZE): Likewise.
52600         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
52601         (struct _fpx_sw_bytes): New struct.
52602         (struct _xsave_hdr): Likewise.
52603         (struct _ymmh_state): Likewise.
52604         (struct _xstate): Likewise.
52606         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
52607         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
52608         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
52609         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
52610         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
52611         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
52613         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
52614         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
52615         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
52616         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
52617         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
52618         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
52620 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52622         [BZ #13743]
52623         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
52624         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
52625         (sysdep_headers): Include sys/platform/ppc.h.
52626         * sysdeps/powerpc/test-gettimebase.c: Test for
52627         __ppc_get_timebase() to catch future ISA opcode/insn changes.
52628         * manual/Makefile (appendices): Include platform.texi.
52629         * manual/contrib.texi (Contributors): Update @node pointers.
52630         * manual/maint.texi (Maintenance): Likewise.
52631         (Platform): New node.
52632         * manual/platform.texi: New file.  Document the new features.
52634 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
52635             Jakub Jelinek  <jakub@redhat.com>
52637         [BZ #14188]
52638         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
52639         where __builtin_expect is unavailable.
52641 2012-06-03  David S. Miller  <davem@davemloft.net>
52643         * stdlib/longlong.h: Updated from GCC.
52645 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
52647         [BZ #14042]
52648         * sysdeps/powerpc/powerpc32/mcount.c: New file.
52649         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
52650         __mcount_internal.
52651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
52652         (GLIBC_2.16): Likewise.
52654 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
52656         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
52658 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
52660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
52661         (default-abi): New variable.
52662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
52663         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
52664         variable.
52665         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
52666         Likewise.
52667         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
52668         Likewise.
52669         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
52670         Likewise.
52672         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
52673         definition.  Document in comment.
52675 2012-06-01  David S. Miller  <davem@davemloft.net>
52677         * stdlib/longlong.h: Updated from GCC.
52679 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
52681         [BZ #14117]
52682         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
52683         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
52684         sys/debugreg.h sys/io.h here.
52685         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
52686         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
52687         sys/io.h.
52688         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
52689         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
52690         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
52691         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
52692         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
52693         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
52695         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
52696         Define only if __x86_64__ is defined.
52698 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
52700         [BZ #14048]
52701         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
52702         Use int64_t for variable i.
52703         * math/libm-test.inc (fmod_test): Add more tests.
52705         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
52706         z computation is not scheduled after fetestexcept.
52707         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
52708         Use math_force_eval instead of asm to ensure calculation scheduled
52709         before exception test.
52710         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
52711         Ensure a1 + u.d computation is not scheduled after fetestexcept.
52713 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
52715         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
52716         computation is not scheduled after fetestexcept.
52718 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
52720         [BZ #14117]
52721         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
52722         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
52724 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52726         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
52727         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
52729 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
52731         [BZ #14117]
52732         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
52733         <bits/wordsize.h>.
52734         (__WCHAR_MIN): Support __WORDSIZE == 64.
52735         (__WCHAR_MAX): Likewise.
52737         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
52738         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
52740         [BZ #14183]
52741         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
52742         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
52744         [BZ #14117]
52745         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
52746         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
52748         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
52749         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
52751         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
52752         Defined to 1 if __x86_64__ isn't defined.
52753         (_STAT_VER_LINUX_OLD): New.
52754         (st_atime): Remove duplicate.
52755         (st_mtime): Likewise.
52756         (st_ctime): Likewise.
52758 2012-05-31  David S. Miller  <davem@davemloft.net>
52760         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
52761         entries.
52763 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
52765         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
52766         gen-libm-test.pl.
52768         [BZ #14132]
52769         * elf/dl-reloc.c: Include <_itoa.h>.
52770         (_dl_reloc_bad_type): Remove use of INTUSE.
52771         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
52772         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
52773         * stdio-common/psiginfo.c (psiginfo): Likewise.
52774         * stdio-common/psignal.c (psignal): Likewise.
52775         * string/strsignal.c (strsignal): Likewise.
52776         * include/signal.h (_sys_siglist): Declare hidden proto.
52777         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
52778         INTVARDEF with libc_hidden_data_def.
52779         * stdio-common/itoa-udigits.c: Likewise.
52780         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
52781         (_itoa_lower_digits_internal): Remove declaration.
52782         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
52783         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
52784         (_sys_sigabbrev_internal): Remove aliases.
52785         (_sys_siglist): Define hidden alias.
52787 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
52789         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52790         bits/sysctl.h.
52792 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
52794         [BZ #14117]
52795         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
52796         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
52798         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
52799         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
52800         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
52801         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
52802         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
52803         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
52805         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
52806         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
52807         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
52809         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
52810         with __addr.
52811         (insw): Likewise.
52812         (insl): Likewise.
52813         (outsb): Likewise.
52814         (outsw): Likewise.
52815         (outsl): Likewise.
52817         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
52818         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
52819         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
52821         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
52822         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
52823         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
52824         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
52825         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
52826         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
52828         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
52829         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
52831         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
52832         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
52834         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
52835         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
52836         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
52838         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
52839         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
52840         to ...
52841         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
52843         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
52844         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
52845         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
52847         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
52848         for x86-64.
52849         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
52851 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
52853         * math/math.h (M_El): Use two more decimal places.
52854         (M_LOG2El): Likewise.
52855         (M_LOG10El): Likewise.
52856         (M_LN2l): Likewise.
52857         (M_LN10l): Likewise.
52858         (M_PIl): Likewise.
52859         (M_PI_2l): Likewise.
52860         (M_PI_4l): Likewise.
52861         (M_1_PIl): Likewise.
52862         (M_2_PIl): Likewise.
52863         (M_2_SQRTPIl): Likewise.
52864         (M_SQRT2l): Likewise.
52865         (M_SQRT1_2l): Likewise.
52867 2012-05-31  David S. Miller  <davem@davemloft.net>
52869         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
52870         values between float registers.
52871         * sysdeps/sparc/sparc64/memset.S: Likewise.
52872         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
52874 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
52876         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
52877         -D_FORTIFY_SOURCE=1.
52878         (CPPFLAGS-tst-longjmp_chk.c): Define.
52879         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
52880         (CPPFLAGS-tst-longjmp_chk2.c): Define.
52881         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
52882         CFLAGS-tst-wchar-h.c.
52884 2012-05-31  Marek Polacek  <polacek@redhat.com>
52886         [BZ #14132]
52887         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
52888         __endmntent_internal): Remove declaration.
52889         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
52890         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
52891         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
52893 2012-05-30  David S. Miller  <davem@davemloft.net>
52895         * sysdeps/sparc/sparc32/soft-fp/q_util.c
52896         (___Q_simulate_exceptions): Use real FP ops rather than writing
52897         into the %fsr.
52898         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
52899         Likewise.
52901 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
52903         [BZ #14117]
52904         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
52905         * sysdeps/x86/bits/xtitypes.h: This.
52907         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
52908         * sysdeps/x86/bits/wordsize.h: This.
52910         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
52911         * sysdeps/x86/bits/huge_vall.h: This.
52913         * sysdeps/i386/bits/select.h: Removed.
52914         * sysdeps/x86_64/bits/select.h: Renamed to ...
52915         * sysdeps/x86/bits/select.h: This.
52917         * sysdeps/i386/bits/setjmp.h: Removed.
52918         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
52919         * sysdeps/x86/bits/setjmp.h: This.
52921         * sysdeps/i386/bits/mathdef.h: Removed.
52922         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
52923         * sysdeps/x86/bits/mathdef.h: This.
52925 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
52927         [BZ #14132]
52928         * include/sys/socket.h (__connect_internal)
52929         (__libc_sa_len_internal): Remove declaration.
52930         (__connect, __libc_sa_len): Declare hidden_proto.
52931         (SA_LEN): Remove use of INTUSE.
52932         * socket/connect.c: Add libc_hidden_def.
52933         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
52934         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
52935         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
52936         alias.
52937         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
52938         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
52939         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
52940         of adding _internal alias.
52942 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
52944         [BZ #14117]
52945         * sysdeps/i386/bits/link.h: Removed.
52946         * sysdeps/i386/bits/linkmap.h: Likewise.
52947         * sysdeps/x86_64/bits/link.h: Renamed to ...
52948         * sysdeps/x86/bits/link.h: This.
52949         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
52950         * sysdeps/x86/bits/linkmap.h: This.
52952         * sysdeps/i386/bits/endian.h: Removed.
52953         * sysdeps/x86_64/bits/endian.h: Renamed to ...
52954         * sysdeps/x86/bits/endian.h: This.
52956         * sysdeps/i386/bits/byteswap.h: Removed.
52957         * sysdeps/i386/bits/byteswap-16.h: Likewise.
52958         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
52959         * sysdeps/x86/bits/byteswap.h: This.
52960         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
52961         * sysdeps/x86/bits/byteswap-16.h: This.
52962         * sysdeps/i386/Implies: Add x86.
52963         * sysdeps/x86_64/Implies: Likewise.
52965 2012-05-30  David S. Miller  <davem@davemloft.net>
52967         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
52968         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
52969         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
52970         (FP_TRAPPING_EXCEPTIONS): Define.
52971         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
52972         (FP_TRAPPING_EXCEPTIONS): Define.
52973         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
52974         subnormals only when inexact has been signalled or underflow
52975         exceptions are enabled.
52976         (_FP_PACK_CANONICAL): Likewise.
52978 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
52980         [BZ #14183]
52981         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
52982         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
52984 2012-05-30  Richard Henderson  <rth@twiddle.net>
52986         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
52987         with #ifndef NOT_IN_libc.
52989         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
52990         marked to avoid plt entry.
52992 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
52994         [BZ #14112]
52995         * Makeconfig (default-abi): New macro.
52996         (abi-includes): Likewise.
52997         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
52998         $(abi-$(default-abi)-lib-soname) for soname if defined.
52999         ($(common-objpfx)gnu/lib-names.stmp): Generate from
53000         abi-variants.
53001         * Makefile (installed-stubs): Likewise.
53002         * include/stubs-biarch.h: Removed.
53003         * scripts/lib-names.awk: Only handle one library at a time.
53004         * scripts/soversions.awk: Remove WORDSIZE support.
53005         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
53006         entries.
53007         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
53008         Removed.
53009         (syscall-list-default-condition): Likewise.
53010         (syscall-list-default-condition): Likewise.
53011         (syscall-list-includes): Likewise.
53012         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
53013         syscall-list-* with abi-*.  Handle undefined abi-variants.
53014         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
53015         * sysdeps/unix/sysv/linux/i386/Implies: New file.
53016         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
53017         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
53018         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
53019         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
53020         Removed.
53021         (syscall-list-32-options): Likewise.
53022         (syscall-list-32-condition): Likewise.
53023         (syscall-list-64-options): Likewise.
53024         (syscall-list-64-condition): Likewise.
53025         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
53026         macro.
53027         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
53028         Renamed to ...
53029         (abi-*): This.
53030         (abi-64-ld-soname): New macro.
53031         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
53032         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
53033         Renamed to ...
53034         (abi-*): This.
53035         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
53036         * sysdeps/x86_64/x32/shlib-versions: Likewise.
53038 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
53040         * sysdeps/unix/sysv/linux/kernel-features.h
53041         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
53042         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
53043         include <kernel-features.h>.
53044         [!__NR_ftruncate64]: Remove conditional code.
53045         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
53046         [__NR_ftruncate64]: Make code unconditional.
53047         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
53048         * sysdeps/unix/sysv/linux/truncate64.c: Do not
53049         include <kernel-features.h>.
53050         [!__NR_ftruncate64]: Remove conditional code.
53051         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
53052         [__NR_ftruncate64]: Make code unconditional.
53053         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
53054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
53055         include <kernel-features.h>.
53056         [!__NR_ftruncate64]: Remove conditional code.
53057         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
53058         [__NR_ftruncate64]: Make code unconditional.
53059         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
53060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
53061         include <kernel-features.h>.
53062         [!__NR_ftruncate64]: Remove conditional code.
53063         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
53064         [__NR_ftruncate64]: Make code unconditional.
53065         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
53067         * configure.in (libc_cv_fpie): Weaken to a compile test using
53068         LIBC_TRY_CC_OPTION.
53069         * configure: Regenerated.
53071 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53073         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
53074         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
53075         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
53076         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
53077         Refreshed.
53078         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
53079         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
53080         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
53081         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
53082         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
53083         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
53084         Refreshed.
53086 2012-05-27  David S. Miller  <davem@davemloft.net>
53088         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
53089         (___Q_zero): New.
53090         (__Q_simulate_exceptions): Return void.  Change to simulate
53091         exceptions by writing into the %fsr.
53092         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
53093         (__Qp_handle_exceptions): Likewise.
53094         (numbers): Delete.
53095         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
53096         __Qp_handle_exceptions.
53097         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
53098         __Qp_handle_exceptions.
53099         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
53100         as unused and give dummy FP_RND_NEAREST initializer.
53101         (FP_INHIBIT_RESULTS): Define.
53102         (___Q_simulate_exceptions): Update declaration.
53103         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
53104         formatting.
53105         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
53106         as unused and give dummy FP_RND_NEAREST initializer.
53107         (__Qp_handle_exceptions): Update declaration.
53108         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
53109         formatting.
53111 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
53113         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
53114         the temporary FPU control word.
53115         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
53116         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
53117         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
53118         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
53119         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
53120         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
53121         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
53122         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
53123         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
53124         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
53125         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
53127 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53129         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
53130         fields.
53132 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
53134         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
53135         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
53136         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
53137         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
53138         Likewise.
53139         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
53140         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
53141         Likewise.
53143 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
53145         * po/h.po: Update from translation team.
53147 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
53149         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
53151         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
53152         handling of denormals.
53153         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
53154         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
53155         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
53156         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
53157         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
53158         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
53159         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
53160         Likewise.
53162 2012-05-26  Marek Polacek  <polacek@redhat.com>
53164         [BZ #14152]
53165         * math/libm-test.inc (fma_test): Don't always expect underflow
53166         exception.
53168 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53170         [BZ #12416]
53171         * elf/tst-execstack.c: Include stackinfo.h.
53172         (do_test): Adjust test case to ensure that pthread_getattr_np
53173         behaviour remains the same after marking stack executable.
53175 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
53177         * sysdeps/unix/sysv/linux/kernel-features.h
53178         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
53179         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
53180         kernel-features.h.
53181         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
53182         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
53183         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
53184         kernel-features.h.
53185         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
53186         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
53188 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
53190         * configure.in: Define the default includes to being none.
53191         * configure: Regenerated.
53193 2012-05-25  Roland McGrath  <roland@hack.frob.com>
53195         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
53196         * sysdeps/x86_64/setjmp.S: Likewise.
53197         * sysdeps/i386/bsd-setjmp.S: Likewise.
53198         * sysdeps/i386/bsd-_setjmp.S: Likewise.
53199         * sysdeps/i386/setjmp.S: Likewise.
53200         * sysdeps/i386/__longjmp.S: Likewise.
53201         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
53202         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
53204         * include/stap-probe.h: New file.
53205         * configure.in: Handle --enable-systemtap.
53206         * configure: Regenerated.
53207         * config.h.in (USE_STAP_PROBE): New #undef.
53208         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
53209         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
53210         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
53212 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
53214         [BZ #13717]
53215         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
53216         to 2.4.0 where earlier.
53217         * sysdeps/unix/sysv/linux/configure: Regenerated.
53218         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
53219         <kernel-features.h>.
53220         [__ASSUME_32BITUIDS]: Make code unconditional.
53221         [!__ASSUME_32BITUIDS]: Remove conditional code.
53222         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
53223         <kernel-features.h>.
53224         [__ASSUME_32BITUIDS]: Make code unconditional.
53225         [!__ASSUME_32BITUIDS]: Remove conditional code.
53226         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
53227         [__ASSUME_32BITUIDS]: Make code unconditional.
53228         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
53229         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
53230         <kernel-features.h>.
53231         [__ASSUME_32BITUIDS]: Make code unconditional.
53232         [!__ASSUME_32BITUIDS]: Remove conditional code.
53233         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
53234         <kernel-features.h>.
53235         [__ASSUME_32BITUIDS]: Make code unconditional.
53236         [!__ASSUME_32BITUIDS]: Remove conditional code.
53237         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
53238         <kernel-features.h>.
53239         [__ASSUME_32BITUIDS]: Make code unconditional.
53240         [!__ASSUME_32BITUIDS]: Remove conditional code.
53241         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
53242         <kernel-features.h>.
53243         [__ASSUME_32BITUIDS]: Make code unconditional.
53244         [!__ASSUME_32BITUIDS]: Remove conditional code.
53245         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
53246         <kernel-features.h>.
53247         [__ASSUME_32BITUIDS]: Make code unconditional.
53248         [!__ASSUME_32BITUIDS]: Remove conditional code.
53249         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
53250         <kernel-features.h>.
53251         [__ASSUME_32BITUIDS]: Make code unconditional.
53252         [!__ASSUME_32BITUIDS]: Remove conditional code.
53253         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
53254         <kernel-features.h>.
53255         [__ASSUME_32BITUIDS]: Make code unconditional.
53256         [!__ASSUME_32BITUIDS]: Remove conditional code.
53257         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
53258         <kernel-features.h>.
53259         [__ASSUME_32BITUIDS]: Make code unconditional.
53260         [!__ASSUME_32BITUIDS]: Remove conditional code.
53261         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
53262         <kernel-features.h>.
53263         [__ASSUME_32BITUIDS]: Make code unconditional.
53264         [!__ASSUME_32BITUIDS]: Remove conditional code.
53265         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
53266         <kernel-features.h>.
53267         [__ASSUME_32BITUIDS]: Make code unconditional.
53268         [!__ASSUME_32BITUIDS]: Remove conditional code.
53269         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
53270         <kernel-features.h>.
53271         [__NR_setresgid] (__setresgid): Do not declare.
53272         [__ASSUME_32BITUIDS]: Make code unconditional.
53273         [!__ASSUME_32BITUIDS]: Remove conditional code.
53274         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
53275         <kernel-features.h>.
53276         [__NR_setresuid] (__setresuid): Do not declare.
53277         [__ASSUME_32BITUIDS]: Make code unconditional.
53278         [!__ASSUME_32BITUIDS]: Remove conditional code.
53279         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
53280         <kernel-features.h>.
53281         [__ASSUME_32BITUIDS]: Make code unconditional.
53282         [!__ASSUME_32BITUIDS]: Remove conditional code.
53283         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
53284         <kernel-features.h>.
53285         [__ASSUME_32BITUIDS]: Make code unconditional.
53286         [!__ASSUME_32BITUIDS]: Remove conditional code.
53287         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
53288         <kernel-features.h>.
53289         [__ASSUME_32BITUIDS]: Make code unconditional.
53290         [!__ASSUME_32BITUIDS]: Remove conditional code.
53291         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
53292         <kernel-features.h>.
53293         [__ASSUME_32BITUIDS]: Make code unconditional.
53294         [!__ASSUME_32BITUIDS]: Remove conditional code.
53295         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
53296         <kernel-features.h>.
53297         [__ASSUME_32BITUIDS]: Make code unconditional.
53298         [!__ASSUME_32BITUIDS]: Remove conditional code.
53299         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
53300         <kernel-features.h>.
53301         [__ASSUME_32BITUIDS]: Make code unconditional.
53302         [!__ASSUME_32BITUIDS]: Remove conditional code.
53303         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
53304         <kernel-features.h>.
53305         [__ASSUME_32BITUIDS]: Make code unconditional.
53306         [!__ASSUME_32BITUIDS]: Remove conditional code.
53307         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
53308         <kernel-features.h>.
53309         [__ASSUME_32BITUIDS]: Make code unconditional.
53310         [!__ASSUME_32BITUIDS]: Remove conditional code.
53311         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
53312         <kernel-features.h>.
53313         [__ASSUME_32BITUIDS]: Make code unconditional.
53314         [!__ASSUME_32BITUIDS]: Remove conditional code.
53315         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
53316         <kernel-features.h>.
53317         [__ASSUME_32BITUIDS]: Make code unconditional.
53318         [!__ASSUME_32BITUIDS]: Remove conditional code.
53319         * sysdeps/unix/sysv/linux/kernel-features.h
53320         (__ASSUME_SETRESUID_SYSCALL): Remove.
53321         (__ASSUME_SETRESGID_SYSCALL): Likewise.
53322         (__ASSUME_32BITUIDS): Likewise.
53323         (__ASSUME_LDT_WORKS): Likewise.
53324         (__ASSUME_O_DIRECTORY): Likewise.
53325         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
53326         architecture but not kernel version.
53327         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
53328         (__ASSUME_MMAP2_SYSCALL): Likewise.
53329         (__ASSUME_STAT64_SYSCALL): Likewise.
53330         (__ASSUME_IPC64): Likewise.
53331         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
53332         <kernel-features.h>.
53333         [__ASSUME_32BITUIDS]: Make code unconditional.
53334         [!__ASSUME_32BITUIDS]: Remove conditional code.
53335         * sysdeps/unix/sysv/linux/opendir.c: Do not include
53336         <kernel-features.h>.
53337         [__ASSUME_O_DIRECTORY]: Make code unconditional.
53338         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
53339         132096]: Remove conditional code.
53340         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
53341         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
53342         <kernel-features.h>.
53343         [__ASSUME_32BITUIDS]: Make code unconditional.
53344         [!__ASSUME_32BITUIDS]: Remove conditional code.
53345         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
53346         <kernel-features.h>.
53347         [__ASSUME_32BITUIDS]: Make code unconditional.
53348         [!__ASSUME_32BITUIDS]: Remove conditional code.
53349         * sysdeps/unix/sysv/linux/setegid.c: Do not include
53350         <kernel-features.h>.
53351         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
53352         unconditional.
53353         (__setresgid): Do not declare.
53354         [__ASSUME_32BITUIDS]: Make code unconditional.
53355         [!__ASSUME_32BITUIDS]: Remove conditional code.
53356         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
53357         <kernel-features.h>.
53358         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
53359         unconditional.
53360         (__setresuid): Do not declare.
53361         [__ASSUME_32BITUIDS]: Make code unconditional.
53362         [!__ASSUME_32BITUIDS]: Remove conditional code.
53363         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
53364         <kernel-features.h>.
53365         [__ASSUME_32BITUIDS]: Make code unconditional.
53366         [!__ASSUME_32BITUIDS]: Remove conditional code.
53367         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
53368         <kernel-features.h>.
53369         [__ASSUME_32BITUIDS]: Make code unconditional.
53370         [!__ASSUME_32BITUIDS]: Remove conditional code.
53372 2012-05-25  Richard Henderson  <rth@twiddle.net>
53374         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
53375         dl_hwcap to ifunc resolver.
53376         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
53377         elf_ifunc_invoke.
53378         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
53379         dl_hwcap to ifunc resolver.
53380         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
53382 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
53384         [BZ #14153]
53385         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
53386         for |x| <= 2**-26, not 2**-57.
53387         * math/libm-test.inc (acos_test): Do not allow spurious underflow
53388         exception.
53390 2012-05-24  Jeff Law  <law@redhat.com>
53392         * stdio-common/Makefile (tests): Add bug25.
53393         * stdio-common/bug25.c: New test.
53395 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
53397         [BZ #13576]
53398         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
53399         multiple of MALLOC_ALIGNMENT in size.
53400         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
53402 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
53404         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
53405         Require >= 256.
53406         (FILENAME_MAX): Use macro-int-constant.
53407         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
53408         (_IOFBF): Use macro-int-constant.
53409         (_IOLBF): Likewise.
53410         (_IONBF): Likewise.
53411         (SEEK_CUR): Likewise.
53412         (SEEK_END): Likewise.
53413         (SEEK_SET): Likewise.
53414         (TMP_MAX): Likewise.
53415         (EOF): Use macro-int-constant.  Require < 0.
53416         (NULL): Use macro-constant.  Require == 0.
53417         (stdin): Require type to be FILE *.
53418         (stdout): Likewise.
53419         (stderr): Likewise.
53420         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
53421         macro-int-constant.
53422         (EXIT_SUCCESS): Likewise.
53423         (NULL): Use macro-constant.  Require == 0.
53424         (RAND_MAX): Use macro-int-constant.
53425         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
53426         [C99-based standards] (strtof): Require function.
53427         [C99-based standards] (strtold): Likewise.
53428         [C99-based standards] (strtoll): Likewise.
53429         [C99-based standards] (strtoull): Likewise.
53430         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
53431         [ISO || ISO99 || ISO11] (limits.h): Likewise.
53432         [ISO || ISO99 || ISO11] (math.h): Likewise.
53433         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
53434         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
53435         [ISO || ISO99 || ISO11] (*_t): Do not allow.
53437 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
53439         [BZ #14132]
53440         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
53441         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
53442         * intl/dgettext.c (DCGETTEXT): Likewise.
53443         * intl/gettext.c (DCGETTEXT): Likewise.
53444         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
53445         * posix/regex_internal.h (gettext): Likewise.
53446         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
53447         Remove declaration.
53448         * include/argz.h (__argz_count_internal)
53449         (__argz_stringify_internal): Remove declaration.
53450         (__argz_count, __argz_stringify): Declare hidden proto.
53451         * intl/dcgettext.c: Remove use of INTDEF.
53452         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
53453         * string/argz-stringify.c: Likewise.
53454         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
53455         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
53456         Declare hidden proto.
53457         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
53458         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
53459         Declare hidden proto.
53460         * include/stdio.h (__asprintf_internal): Don't declare.
53461         (__asprintf): Don't define as macro.  Declare hidden proto.
53462         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
53463         (__fsetlocking): Declare hidden proto.
53464         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
53465         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
53466         hidden proto.
53467         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
53468         (_IO_setlinebuf): Remove use of INTUSE.
53469         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
53470         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
53471         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
53472         Remove declaration.
53473         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
53474         (_IO_do_flush): Remove use of INTUSE.
53475         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
53476         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
53477         (_IO_adjust_column, _IO_least_wmarker)
53478         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
53479         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
53480         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
53481         (_IO_default_doallocate, _IO_wdefault_doallocate)
53482         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
53483         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
53484         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
53485         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
53486         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
53487         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
53488         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
53489         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
53490         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
53491         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
53492         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
53493         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
53494         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
53495         proto.
53496         (_IO_flush_all_internal, _IO_adjust_column_internal)
53497         (_IO_default_uflow_internal, _IO_default_finish_internal)
53498         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
53499         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
53500         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
53501         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
53502         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
53503         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
53504         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
53505         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
53506         (_IO_file_close_internal, _IO_file_close_it_internal)
53507         (_IO_file_underflow_internal, _IO_file_overflow_internal)
53508         (_IO_file_init_internal, _IO_file_attach_internal)
53509         (_IO_file_fopen_internal, _IO_file_read_internal)
53510         (_IO_file_sync_internal, _IO_file_seek_internal)
53511         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
53512         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
53513         (_IO_str_underflow_internal, _IO_str_overflow_internal)
53514         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
53515         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
53516         (_IO_list_all_internal, _IO_link_in_internal)
53517         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
53518         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
53519         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
53520         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
53521         (_IO_do_write_internal, _IO_padn_internal)
53522         (_IO_getline_info_internal, _IO_getline_internal)
53523         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
53524         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
53525         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
53526         (_IO_vfscanf_internal, _IO_vfprintf_internal)
53527         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
53528         (_IO_init_internal, _IO_un_link_internal): Don't declare.
53529         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
53530         with libc_hidden_ver, remove use of INTUSE.
53531         * libio/genops.c: Likewise.
53532         * libio/freopen.c: Likewise.
53533         * libio/freopen64.c: Likewise.
53534         * libio/iofclose.c: Likewise.
53535         * libio/iofdopen.c: Likewise.
53536         * libio/iofflush.c: Likewise.
53537         * libio/iofflush_u.c: Likewise.
53538         * libio/iofgets.c: Likewise.
53539         * libio/iofgets_u.c: Likewise.
53540         * libio/iofopen.c: Likewise.
53541         * libio/iofopncook.c: Likewise.
53542         * libio/iofread.c: Likewise.
53543         * libio/iofread_u.c: Likewise.
53544         * libio/ioftell.c: Likewise.
53545         * libio/iofwrite.c: Likewise.
53546         * libio/iogetline.c: Likewise.
53547         * libio/iogets.c: Likewise.
53548         * libio/iogetwline.c: Likewise.
53549         * libio/iopadn.c: Likewise.
53550         * libio/iopopen.c: Likewise.
53551         * libio/ioseekoff.c: Likewise.
53552         * libio/ioseekpos.c: Likewise.
53553         * libio/iosetbuffer.c: Likewise.
53554         * libio/iosetvbuf.c: Likewise.
53555         * libio/ioungetc.c: Likewise.
53556         * libio/ioungetwc.c: Likewise.
53557         * libio/iovdprintf.c: Likewise.
53558         * libio/iovsprintf.c: Likewise.
53559         * libio/iovsscanf.c: Likewise.
53560         * libio/memstream.c: Likewise.
53561         * libio/obprintf.c: Likewise.
53562         * libio/oldfileops.c: Likewise.
53563         * libio/oldiofclose.c: Likewise.
53564         * libio/oldiofdopen.c: Likewise.
53565         * libio/oldiofopen.c: Likewise.
53566         * libio/oldiopopen.c: Likewise.
53567         * libio/oldstdfiles.c: Likewise.
53568         * libio/putc.c: Likewise.
53569         * libio/setbuf.c: Likewise.
53570         * libio/setlinebuf.c: Likewise.
53571         * libio/stdfiles.c: Likewise.
53572         * libio/strops.c: Likewise.
53573         * libio/vasprintf.c: Likewise.
53574         * libio/vscanf.c: Likewise.
53575         * libio/vsnprintf.c: Likewise.
53576         * libio/vswprintf.c: Likewise.
53577         * libio/wfiledoalloc.c: Likewise.
53578         * libio/wfileops.c: Likewise.
53579         * libio/wgenops.c: Likewise.
53580         * libio/wmemstream.c: Likewise.
53581         * libio/wstrops.c: Likewise.
53582         * libio/__fpurge.c: Likewise.
53583         * libio/__fsetlocking.c: Likewise.
53584         * assert/assert.c: Likewise.
53585         * debug/fgets_chk.c: Likewise.
53586         * debug/fgets_u_chk.c: Likewise.
53587         * debug/fread_chk.c: Likewise.
53588         * debug/fread_u_chk.c: Likewise.
53589         * debug/gets_chk.c: Likewise.
53590         * debug/obprintf_chk.c: Likewise.
53591         * debug/vasprintf_chk.c: Likewise.
53592         * debug/vdprintf_chk.c: Likewise.
53593         * debug/vsnprintf_chk.c: Likewise.
53594         * debug/vsprintf_chk.c: Likewise.
53595         * malloc/mtrace.c: Likewise.
53596         * misc/error.c: Likewise.
53597         * misc/syslog.c: Likewise.
53598         * stdio-common/asprintf.c: Likewise.
53599         * stdio-common/fxprintf.c: Likewise.
53600         * stdio-common/getw.c: Likewise.
53601         * stdio-common/isoc99_fscanf.c: Likewise.
53602         * stdio-common/isoc99_scanf.c: Likewise.
53603         * stdio-common/isoc99_vfscanf.c: Likewise.
53604         * stdio-common/isoc99_vscanf.c: Likewise.
53605         * stdio-common/isoc99_vsscanf.c: Likewise.
53606         * stdio-common/printf-prs.c: Likewise.
53607         * stdio-common/printf_fp.c: Likewise.
53608         * stdio-common/printf_fphex.c: Likewise.
53609         * stdio-common/printf_size.c: Likewise.
53610         * stdio-common/putw.c: Likewise.
53611         * stdio-common/scanf.c: Likewise.
53612         * stdio-common/sprintf.c: Likewise.
53613         * stdio-common/tmpfile.c: Likewise.
53614         * stdio-common/vfprintf.c: Likewise.
53615         * stdio-common/vfscanf.c: Likewise.
53616         * stdlib/strfmon_l.c: Likewise.
53617         * sunrpc/openchild.c: Likewise.
53618         * sunrpc/xdr_stdio.c: Likewise.
53619         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
53620         * sysdeps/mach/hurd/tmpfile.c: Likewise.
53622 2012-05-24  Roland McGrath  <roland@hack.frob.com>
53624         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
53626         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
53627         in the third column, to generate for the shared library an IFUNC
53628         that uses _dl_vdso_vsym.
53629         * Makerules (COMPILE.c, compile-stdin.c): New variables.
53630         * Makeconfig (object-suffixes-noshared): New variable.
53632         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
53633         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
53634         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
53635         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
53637         [BZ #14132]
53638         * include/sys/time.h (__gettimeofday): Remove macro.
53639         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
53640         * time/gettimeofday.c (__gettimeofday): Remove #undef.
53641         Remove INTDEF.
53642         (__gettimeofday): Add libc_hidden_def.
53643         (gettimeofday): Add libc_hidden_weak.
53644         * sysdeps/mach/gettimeofday.c: Likewise.
53645         * sysdeps/posix/gettimeofday.c: Likewise.
53646         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
53647         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
53648         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
53649         (__gettimeofday_internal): Remove strong_alias.
53650         (__gettimeofday): Add libc_hidden_def.
53651         (gettimeofday): Add libc_hidden_weak.
53652         * sysdeps/unix/syscalls.list (gettimeofday):
53653         Remove __gettimeofday_internal alias.
53655 2012-05-24  Daniel Jacobowitz  <drow@false.org>
53656             H.J. Lu  <hongjiu.lu@intel.com>
53658         [BZ #12495]
53659         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
53660         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
53661         (largebin_index_32_big): New.
53662         (largebin_index): Use it for 16-byte alignment.
53663         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
53664         correction with front_misalign.
53666 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
53668         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
53669         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
53670         Likewise.
53671         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
53672         Likewise.
53673         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
53674         Likewise.
53675         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
53676         Likewise.
53677         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
53678         Likewise.
53679         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
53680         Likewise.
53681         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
53682         Likewise.
53683         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
53684         Likewise.
53685         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
53686         Likewise.
53687         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
53688         Likewise.
53689         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
53690         Likewise.
53691         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
53692         Likewise.
53694         * scripts/data/c++-types-x32-linux-gnu.data: New file.
53695         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
53697 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
53699         [BZ #10846]
53700         [BZ #14036]
53701         * math/libm-test.inc (exp_test): Add test from bug 14036.
53702         (pow_test): Add test from bug 10846.
53704         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
53705         and other flags.
53706         (special_function): Do not include flags in test name.
53707         (parse_args): Likewise.
53708         * sysdeps/i386/fpu/libm-test-ulps: Update.
53709         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53710         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
53711         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
53712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53714         * math/gen-libm-test.pl (%beautify): Add entries for underflow
53715         exceptions.
53716         * math/libm-test.inc ("Philosophy"): Update comment about
53717         exception testing.
53718         (UNDERFLOW_EXCEPTION): New macro.
53719         (UNDERFLOW_EXCEPTION_OK): Likewise.
53720         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
53721         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
53722         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
53723         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
53724         (INVALID_EXCEPTION_OK): Update value.
53725         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
53726         (OVERFLOW_EXCEPTION_OK): Likewise.
53727         (IGNORE_ZERO_INF_SIGN): Likewise.
53728         (test_exceptions): Handle underflow exceptions.
53729         (acos_test): Update for underflow exception expectations.
53730         (cexp_test): Likewise.
53731         (clog_test): Likewise.
53732         (clog10_test): Likewise.
53733         (csqrt_test): Likewise.
53734         (ctan_test): Likewise.
53735         (ctanh_test): Likewise.
53736         (exp_test): Likewise.
53737         (exp10_test): Likewise.
53738         (exp2_test): Likewise.
53739         (expm1_test): Likewise.
53740         (fma_test): Likewise.
53741         (j0_test): Likewise.
53742         (jn_test): Likewise.
53743         (nexttoward_test): Likewise.
53744         (pow_test): Likewise.
53745         (scalbn_test): Likewise.
53746         (scalbln_test): Likewise.
53747         (tan_test): Likewise.
53748         (y1_test): Likewise.
53749         * sysdeps/i386/fpu/libm-test-ulps: Update.
53750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53752 2012-05-23  David S. Miller  <davem@davemloft.net>
53754         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
53755         (__libc_sigaction): Remove unused local variables.
53757 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
53759         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
53761 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
53763         mktime: avoid signed integer overflow
53764         * time/mktime.c (__mktime_internal): Do not mishandle the case
53765         where diff == INT_MIN.
53767         mktime: simplify computation of average
53768         * time/mktime.c (ranged_convert): Use new time_t_avg function
53769         instead of rolling our own (probably-slower) code.
53771         mktime: do not assume signed right shift propagates sign bit
53772         * time/mktime.c (isdst_differ): New static function.
53773         (__mktime_internal): No need to normalize tm_isdst now.
53774         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
53775         tm_isdst values.
53777         mktime: merge another wrapv change from gnulib
53778         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
53779         from some compilers.
53781         mktime: remove incorrect attempt at unusual arithmetics
53782         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
53783         The code didn't really work on such machines anyway.
53784         (TYPE_MINIMUM): Assume two's complement.
53785         (twos_complement_arithmetic): Verify that long_int and time_t
53786         are two's complement (or unsigned, in the latter case).
53788         mktime: check signed shifts on long_int and time_t, too
53789         * time/mktime.c (SHR): Check that shifts work as desired
53790         on the types long_int and time_t too, as SHR is used on
53791         such types.
53793         mktime: do not assume 'long' is wide enough
53794         * time/mktime.c (verify): Move decl up.
53795         (long_int): New type.
53796         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
53797         to remove assumption in the code that 'long' is wide enough to
53798         store year values.  This assumption is not true on x32 and on
53799         some non-glibc platforms.
53801         mktime: merge wrapv change from gnulib
53802         * time/mktime.c (WRAPV): New macro.
53803         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
53804         (guess_time_tm, __mktime_internal): Do not assume that signed
53805         integer overflow wraps around; modern compilers generate code
53806         where this assumption is no longer valid.
53808 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
53810         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
53811         Replace "jmp L(pseudo_end)" with "ret".
53812         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
53813         Likewise.
53815 2012-05-23  Andreas Jaeger  <aj@suse.de>
53817         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
53818         * sysdeps/unix/sysv/linux/poll.c: Remove file.
53820 2012-05-23  Andreas Jaeger  <aj@suse.de>
53821             Maximilian Attems  <max@stro.at>
53823         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
53824         New macros.
53826 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
53828         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
53829         code so that pseudo_end is just ret and the stack pointer is
53830         correct also for static library in error case.
53832 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
53834         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
53835         move to syscalls.list.
53836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
53837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
53838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
53839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
53841         * manual/install.texi (Running make install): Do not mention Linux
53842         kernel version for which pt_chown is not needed.
53843         (Linux): Do not mention problems with nscd with 2.0 kernels.
53844         * INSTALL: Regenerated.
53846 2012-05-23  Andreas Jaeger  <aj@suse.de>
53848         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
53849         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
53850         macro.
53851         * sysdeps/unix/sysv/linux/s390/bits/mman.h
53852         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
53853         * sysdeps/unix/sysv/linux/sh/bits/mman.h
53854         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
53855         * sysdeps/unix/sysv/linux/i386/bits/mman.h
53856         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
53857         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
53858         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
53859         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
53860         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
53861         * sysdeps/unix/sysv/linux/bits/in.h
53862         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
53864 2012-05-22  Roland McGrath  <roland@hack.frob.com>
53866         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
53867         (PREPARE_VERSION): Just use assert instead, it will be elided
53868         under [NDEBUG] anyway.
53870 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
53872         * sysdeps/unix/sysv/linux/Makefile: Include
53873         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
53874         (sysdep_routines): Remove sysctl.
53875         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
53876         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
53877         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
53878         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
53879         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
53881 2012-05-22  Andreas Jaeger  <aj@suse.de>
53883         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
53884         that pseudo_end is just ret and the stack pointer is correct also
53885         for static library in error case.
53887 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
53889         [BZ #14122]
53890         * nss/nsswitch.c (defconfig_entries): New variable.
53891         (__nss_database_lookup): Don't leak defconfig entries.
53892         (nss_parse_service_list): Don't leak on error paths.
53893         (free_database_entries): New function.
53894         (free_defconfig): New function.
53895         (free_mem): Move common code to free_database_entries.
53897 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
53899         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
53900         Add arch_prctl.
53901         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
53903         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
53904         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
53905         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
53906         New macro.
53907         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
53908         (INTERNAL_SYSCALL_TYPES): Likewise.
53909         (LOAD_ARGS_TYPES_[1-6]): Likewise.
53910         (LOAD_REGS_TYPES_[1-6]): Likewise.
53911         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
53912         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
53914 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53916         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
53917         copysignl for GLIBC_2_0.
53918         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
53919         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
53920         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
53921         logbl for GLIBC_2_0.
53922         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
53923         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
53925 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
53927         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
53928         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
53930         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
53931         Use "neg %eax".
53933         * time/mktime.c: Update copyright years.
53935 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
53937         mktime: merge comment-quoting-style change from gnulib
53938         * time/mktime.c: Quote 'like this' in comments.
53939         The GNU coding standards suggest that we no longer quote `like this',
53940         as "`" and "'" are typically rendered asymmetrically nowadays.
53941         The typical gnulib style is to quote 'like this' when quoting
53942         code, and "like this" when quoting English.
53944         * time/mktime.c (compile-command): Add "-I.".
53946         mktime: merge mktime-internal.h change from gnulib
53947         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
53949         mktime: merge time_r change from gnulib
53950         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
53952         mktime: merge DEBUG change from gnulib
53953         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
53954         case system <time.h> has a #define.
53956         mktime: merge <sys/types.h> change from gnulib
53957         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
53958         since <time.t> is now guaranteed to define time_t.
53960         mktime: merge HAVE_CONFIG_H change from gnulib
53961         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
53963 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
53965         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
53966         Use "neg %eax".
53968         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
53969         __rlim_t cast.
53970         (struct rusage): Use anonymous union to pad each field to
53971         __syscall_slong_t.
53973 2012-05-21  David S. Miller  <davem@davemloft.net>
53975         * Makefules (o-iterator): Remove .s cases.
53976         (compile-command.s): Delete.
53977         (COMPILE.s): Delete.
53978         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
53980 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
53982         * configure.in (libc_cv_predef_stack_protector): Only consider
53983         "foobar" and "__stack_chk_fail" lines in libc_undefs.
53984         * configure: Regenerated.
53986 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
53988         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
53989         New macro.  Use R*LP on int and pointer.
53990         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
53991         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
53992         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
53993         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
53995         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
53996         [__WORDSIZE_TIME64_COMPAT32] instead of
53997         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
53998         (struct utmp): Likewise.
53999         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
54000         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
54001         Renamed to ...
54002         (__WORDSIZE_TIME64_COMPAT32): This.
54003         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
54004         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
54005         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
54006         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
54007         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
54008         (__WORDSIZE_TIME64_COMPAT32): New macro.
54010 2012-05-21  Andreas Jaeger  <aj@suse.de>
54012         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
54013         only if [SHARED]. Add prototype for __wcschr_ia32.
54015 2012-05-21  Roland McGrath  <roland@hack.frob.com>
54017         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
54018         of %rbp unmolested in the jmp_buf while mangling the low bits.
54019         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
54020         unmolested high bits of %rbp while demangling the low bits.
54021         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
54023 2012-05-21  Andreas Jaeger  <aj@suse.de>
54025         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
54026         * sunrpc/svc_simple.c: Use it for registerrpc.
54027         * sunrpc/xcrypt.c: Use it for passwd2des.
54029         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
54031 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
54033         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
54034         Don't define if [__SYSCALL_WORDSIZE != 32].
54035         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
54036         New macro.
54038 2012-05-21  Bruno Haible  <bruno@clisp.org>
54039             Andreas Jaeger  <aj@suse.de>
54041         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
54042         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
54043         inptr and inend for must_buffer_ch.
54044         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
54045         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
54046         * stdio-common/Makefile (tests): Remove bug15.
54047         (bug15-ENV): Remove macro.
54048         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
54049         anymore.
54051 2012-05-19  Andreas Jaeger  <aj@suse.de>
54052             Roland McGrath  <roland@hack.frob.com>
54054         * manual/contrib.texi: Completely rewritten. It contains now an
54055         alphabetical list of contributors and their contributions.
54057 2012-05-21  Richard Henderson  <rth@twiddle.net>
54059         * misc/getauxval.c (__getauxval): Use unsigned long int.
54060         * misc/sys/auxv.h: Include <sys/cdefs.h>.
54061         (getauxval): Use unsigned long int.
54063 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
54065         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
54067 2012-05-21  Roland McGrath  <roland@hack.frob.com>
54069         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
54070         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
54071         __alignof__ (long double).
54073 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54075         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54077 2012-05-20  Richard Henderson  <rth@twiddle.net>
54079         * misc/getauxval.c: New file.
54080         * misc/sys/auxv.h: New file.
54081         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
54082         (routines): Add getauxval.
54083         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
54084         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
54085         * elf/dl-sysdep.c (_dl_auxv): Remove.
54086         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
54087         * elf/dl-support.c (_dl_auxv): New variable.
54088         (_dl_aux_init): Initialize it.
54089         * manual/startup.texi (Auxiliary Vector): New node.
54090         * sysdeps/generic/bits/hwcap.h: New file.
54091         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
54092         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
54093         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
54094         * sysdeps/sparc/sysdep.h: ... here.  Include it.
54095         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
54096         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
54097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54098         Update.
54099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
54100         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
54101         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
54102         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
54103         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
54104         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
54105         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
54106         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
54108 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54110         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54112 2012-05-19  David S. Miller  <davem@davemloft.net>
54114         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54116 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
54118         [BZ #14123]
54119         * math/s_ccosh.c: Include <float.h>
54120         (__ccosh): Avoid internal overflow calculating sinh and cosh
54121         values before multiplying by sin and cos values.
54122         * math/s_ccoshf.c: Likewise.
54123         * math/s_ccoshl.c: Likewise.
54124         * math/s_csin.c: Likewise.
54125         * math/s_csinf.c: Likewise.
54126         * math/s_csinl.c: Likewise.
54127         * math/s_csinh.c: Likewise.
54128         * math/s_csinhf.c: Likewise.
54129         * math/s_csinhl.c: Likewise.
54130         * math/libm-test.inc (ccos_test): Add more tests.
54131         (ccosh_test): Likewise.
54132         (csin_test): Likewise.
54133         (csinh_test): Likewise.
54134         * sysdeps/i386/fpu/libm-test-ulps: Update.
54135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54137 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
54139         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
54140         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
54142         * sysdeps/x86_64/x32/_itoa.h: Add comment.
54144 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
54146         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
54147         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
54148         * sysdeps/powerpc/soft-fp/Versions: Likewise.
54149         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
54150         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
54151         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
54152         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
54153         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
54154         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
54155         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
54156         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
54157         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
54158         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
54159         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
54160         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
54161         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
54162         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
54163         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
54164         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
54165         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
54166         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
54167         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
54168         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
54169         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
54170         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
54171         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
54172         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
54173         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
54174         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
54175         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
54176         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
54178 2012-05-18  Andreas Jaeger  <aj@suse.de>
54180         * csu/.gitignore: Delete.
54182 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
54184         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
54185         (timex): Use __syscall_slong_t.
54187 2012-05-18  Andreas Jaeger  <aj@suse.de>
54188             Carlos O'Donell  <carlos_odonell@mentor.com>
54190         * manual/install.texi (Configuring and compiling): Update
54191         description about files modified in the source directory.
54192         * INSTALL: Regenerated.
54194 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
54196         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
54197         value.  Use "or" to set return value to -1.
54198         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
54199         negate return value.
54201 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54203         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
54204         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
54205         failure if the compiler has Graphite support disabled.
54206         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
54207         Likewise.
54208         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
54209         (CFLAGS-memmove.c): Likewise.
54210         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
54211         Likewise.
54213 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
54215         * sysdeps/x86_64/x32/_itoa.h: New file.
54217         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
54218         getdents system call only if kernel and user dirents have the
54219         same d_ino and d_off.
54221         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
54222         LLONG_MAX != LONG_MAX.
54223         (_itoa_word): Use _ITOA_WORD_TYPE on value.
54224         (_fitoa_word): Likewise.
54226         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
54227         years.
54228         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
54229         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
54230         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
54232         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
54233         include <bits/wordsize.h>.  Check __x86_64__ instead of
54234         __WORDSIZE.
54235         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
54236         if __x86_64__ is defined.  Use anonymous union on fpstate.
54238         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
54239         anonymous union.
54241 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
54243         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
54244         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
54245         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
54246         Refer to _rtld_local_ro instead of _rtld_global_ro.
54247         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
54248         Likewise.
54249         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
54250         Likewise.
54251         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
54252         Likewise.
54253         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
54254         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
54255         of _rtld_global, and rtld_progname instead of _dl_argv[0].
54257         [BZ #10882]
54258         * sysdeps/powerpc/powerpc32/dl-machine.c
54259         (__elf_machine_runtime_setup) [PROF]: Don't reference
54260         _dl_prof_resolve.
54262 2012-05-18  Andreas Jaeger  <aj@suse.de>
54264         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
54265         function only available for GCCs before 3.4 since GCC 3.4
54266         introduced a builtin.
54267         (lrint): Likewise.
54268         (llrintf): Likewise.
54269         (llrint): Likewise.
54270         (fmaxf): Likewise.
54271         (fmax): Likewise.
54272         (fminf): Likewise.
54273         (fmin): Likewise.
54274         (rint): Likewise.
54275         (rintf): Likewise.
54276         (nearbyint): Likewise.
54277         (nearbyintf): Likewise.
54278         (ceil): Likewise.
54279         (ceilf): Likewise.
54280         (floor): Likewise.
54281         (floorf): Likewise.
54283 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
54285         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
54286         on both fields and cast pointer to __syscall_ulong_t.
54288         * bits/types.h (__fsword_t): New type.
54289         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
54290         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
54291         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54292         (__FSWORD_T_TYPE): Likewise.
54293         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
54294         (__FSWORD_T_TYPE): Likewise.
54295         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54296         (__FSWORD_T_TYPE): Likewise.
54297         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
54298         (__FSWORD_T_TYPE): Likewise.
54299         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
54300         __SWORD_TYPE with __fsword_t.
54301         (statfs64): Likewise.
54303 2012-05-17  David S. Miller  <davem@davemloft.net>
54305         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
54307 2012-05-17  Andreas Jaeger  <aj@suse.de>
54309         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
54310         warning.
54312 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
54314         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
54316 2012-05-17  Andreas Jaeger  <aj@suse.de>
54318         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
54319         when it is used.
54321 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
54323         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
54325 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
54327         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
54328         * sysdeps/x86_64/tst-mallocalign1.c: New file.
54330 2012-05-17  Andreas Jaeger  <aj@suse.de>
54331             Carlos O'Donell  <carlos_odonell@mentor.com>
54333         [BZ #14059]
54334         * sysdeps/x86_64/multiarch/init-arch.h
54335         (bit_YMM_Usable): Rename to...
54336         (bit_AVX_Usable): ... this.
54337         (bit_FMA4_Usable): New macro.
54338         (bit_XMM_state): New macro.
54339         (bit_YMM_state): New macro.
54340         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
54341         [__ASSEMBLER__] (index_AVX_Usable): ... this.
54342         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
54343         (CPUID_OSXSAVE): New macro.
54344         (CPUID_AVX): New macro.
54345         (CPUID_FMA4): New macro.
54346         (index_YMM_Usable): Rename to...
54347         (index_AVX_Usable): ... this.
54348         (HAS_AVX): Use HAS_ARCH_FEATURE.
54349         (HAS_FMA4): Likewise.
54350         (HAS_YMM_USABLE): Remove.
54351         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54352         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
54353         are present.
54354         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
54355         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
54356         * sysdeps/x86_64/multiarch/Makefile: Likewise.
54357         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
54358         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
54360 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
54362         * math/libm-test.c: Support platforms without multiple rounding modes.
54363         * math/bug-nextafter.c: Support platforms without FP exceptions.
54364         * math/bug-nexttoward.c: Likewise.
54365         * math/test-fenv.c: Likewise.
54366         * math/test-misc.c: Likewise.
54367         * stdlib/bug-getcontext.c: Likewise.
54369 2012-05-17  Andreas Jaeger  <aj@suse.de>
54371         * manual/examples/search.c (critter_cmp): Change signature to
54372         avoid warnings.
54373         * manual/string.texi (Collation Functions): Likewise.
54375 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54377         * bits/types.h: Fold copyright years.
54378         * bits/typesizes.h: Likewise.
54379         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
54380         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
54381         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
54382         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
54383         * time/time.h: Likewise.
54385 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
54387         [BZ #208]
54388         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
54389         in instead of returning them.  Return void.
54390         (__libc_mallinfo): Accumulate over all arenas.
54391         (__malloc_stats): Adjust for change in int_mallinfo interface.
54393 2012-05-16  Roland McGrath  <roland@hack.frob.com>
54395         [BZ #10375]
54396         * configure.in (NM): Add AC_CHECK_TOOL for it.
54397         (libc_extra_cflags): New substituted variable.
54398         Check for -fstack-protector being used implicitly.
54399         * configure: Regenerated.
54400         * config.make.in (config-extra-cflags): New variable,
54401         gets @libc_extra_cflags@.
54402         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
54404         [BZ #10375]
54405         * configure.in: Check for _FORTIFY_SOURCE being predefined.
54406         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
54407         * configure: Regenerated.
54408         * config.make.in (CPPUNDEFS): New substituted variable.
54409         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
54410         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
54411         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
54413 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54415         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
54416         (mq_attr): Use __syscall_slong_t.
54418 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54420         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
54421         Check __x86_64__ instead of __WORDSIZE.
54422         (_STAT_VER_LINUX): Likewise.
54423         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
54424         __syscall_ulong_t and __syscall_slong_t.
54425         (stat64): Likewise.
54427 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54429         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
54431 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54433         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
54435 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54437         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
54438         __syscall_ulong_t.
54440         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
54441         include <bits/wordsize.h>.  Check __x86_64__ instead of
54442         __WORDSIZE.
54443         (greg_t): Use "__extension__ long long int" if __x86_64__ is
54444         defined.
54445         (mcontext_t): Replace "unsigned long" with "unsigned long long".
54447         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
54448         include <bits/wordsize.h>.  Check __x86_64__ instead of
54449         __WORDSIZE.
54450         (user_regs_struct): Use "__extension__ unsigned long long"
54451         instead of "unsigned long" if __x86_64__ is defined.
54452         (user): Likewise.  Pad after pointer field if __ILP32__ is
54453         defined.
54455 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
54457         * configure.in (makeinfo): Require version 4.5 or later.  Allow
54458         versions 5 to 9.
54459         * configure: Regenerated.
54460         * manual/install.texi (texinfo): Increase version requirement to
54461         4.5 or later.
54462         * INSTALL: Regenerated.
54464         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
54466 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54468         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
54470         * sysdeps/x86_64/x32/ffs.c: New file.
54472         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
54473         __syscall_ulong_t.
54474         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
54475         defined.  Use __syscall_ulong_t.
54476         (shminfo): Use __syscall_ulong_t.
54477         (shm_info): Likewise.
54479         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
54480         __syscall_ulong_t.
54482         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
54483         <bits/wordsize.h>.
54484         (msgqnum_t): Use __syscall_ulong_t.
54485         (msglen_t): Likewise.
54486         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
54487         __syscall_ulong_t.
54489         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
54490         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
54492         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
54494         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
54495         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
54497         * sysvipc/sys/msg.h (msgbuf): Replace long int with
54498         __syscall_slong_t.
54500         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
54501         include <bits/wordsize.h>.  Check __x86_64__ instead of
54502         __WORDSIZE.
54504         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
54505         "unsigned long long int" if __x86_64__ is defined.
54506         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
54508         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
54509         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
54510         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
54512         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
54513         <stdint.h>.
54514         (GET_PC): Cast to uintptr_t first.
54515         (GET_FRAME): Likewise.
54516         (GET_STACK): Likewise.
54518         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
54519         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
54520         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
54521         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
54522         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
54523         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
54524         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
54525         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
54526         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
54527         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
54528         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
54529         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
54530         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
54531         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
54532         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
54533         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
54534         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
54535         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
54536         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
54537         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
54538         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
54539         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
54540         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
54541         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
54542         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
54543         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
54544         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
54545         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
54546         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
54548 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
54550         * Makerules (+depfiles): Also collect depfiles from .oS in
54551         $(extra-objs).
54552         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
54553         .oS, $(libnldbl-routines)).
54555         * Makerules (native-compile-mkdep-flags): Define.
54556         * sunrpc/Makefile (extra-objs): Add $(addprefix
54557         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
54558         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
54559         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
54560         calling $(make-target-directory).
54562 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54564         * bits/types.h (__snseconds_t): Removed.
54565         * time/time.h (struct timespec): Replace __snseconds_t with
54566         __syscall_slong_t.
54567         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
54568         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
54569         Likewise.
54570         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54571         (__SNSECONDS_T_TYPE): Likewise.
54572         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
54573         (__SNSECONDS_T_TYPE): Likewise.
54574         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54575         (__SNSECONDS_T_TYPE): Likewise.
54577 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54579         * sysdeps/mach/hurd/bits/typesizes.h
54580         (__SYSCALL_SLONG_TYPE): New macro.
54581         (__SYSCALL_ULONG_TYPE): Likewise.
54583 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54585         * bits/types.h (__syscall_slong_t): New type.
54586         (__syscall_ulong_t): Likewise.
54588         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
54589         (__SYSCALL_ULONG_TYPE): Likewise.
54590         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54591         (__SYSCALL_SLONG_TYPE): Likewise.
54592         (__SYSCALL_ULONG_TYPE): Likewise.
54593         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
54594         (__SYSCALL_SLONG_TYPE): Likewise.
54595         (__SYSCALL_ULONG_TYPE): Likewise.
54596         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54597         (__SYSCALL_SLONG_TYPE): Likewise.
54598         (__SYSCALL_ULONG_TYPE): Likewise.
54600 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54602         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
54603         Add sigaltstack-offsets.sym.
54604         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
54605         <sigaltstack-offsets.h>.
54606         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
54607         longjmp_msg pointer.
54608         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
54609         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
54610         signal stack.
54611         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
54613 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
54615         * elf/stackguard-macros.h: Remove file.
54616         * sysdeps/generic/stackguard-macros.h: New file.
54617         * sysdeps/i386/stackguard-macros.h: Likewise.
54618         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
54619         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
54620         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
54621         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
54622         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
54623         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
54624         * sysdeps/x86_64/stackguard-macros.h: Likewise.
54625         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
54626         <elf/stackguard-macros.h>.
54628         [BZ #14109]
54629         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
54630         __aligned__ in attribute.
54631         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
54632         (gregset_t): Likewise.
54634 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54636         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
54637         * sysdeps/x86_64/64/Implies-after: Here.  New file.
54638         * sysdeps/x86_64/x32/Implies-after: New file.
54640 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54642         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
54643         and access return value for _dl_profile_fixup.  Use R10_LP to
54644         load frame size.
54646 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54648         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
54650 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54652         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
54653         * sysdeps/x86_64/x32/sysdep.h: New file.
54655 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54657         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
54658         * sysdeps/x86_64/setjmp.S: Likewise.
54660 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54662         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
54663         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
54664         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
54665         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
54666         remove unused global constant.
54668 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
54670         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
54671         include of <not-cancel.h>.
54673 2012-05-15  Roland McGrath  <roland@hack.frob.com>
54675         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
54677 2012-05-15  Jeff Law  <law@redhat.com>
54678             Andreas Jaeger  <aj@suse.de>
54680         [BZ #13594]
54681         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
54682         out from...
54683         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
54684         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
54685         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
54686         code changing __hst_map_handle.map.
54688 2012-05-15  Roland McGrath  <roland@hack.frob.com>
54690         * configure.in (sysnames): Look for Implies-before and Implies-after
54691         files.
54692         * configure: Regenerated.
54694 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54696         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
54697         8-byte data alignment with LP_SIZE alignment.
54699 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54701         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
54702         into R10_LP.
54704 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54706         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
54708 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54710         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
54711         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
54712         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
54713         Likewise.
54714         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
54716 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54718         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
54719         (stackinfo_sub_sp): Likewise.
54721 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54723         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
54724         RAX_LP.
54726 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54728         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
54729         into R*_LP.
54731 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54733         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
54734         sizes into R*_LP.
54736 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54738         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
54740 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54742         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
54743         into R11_LP and load __x86_64_shared_cache_size_half into
54744         R8_LP.
54746 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54748         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
54749         R8_LP.
54751 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54753         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
54754         logb for POWER7.
54755         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
54756         logbf for POWER7.
54757         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
54758         logbl for POWER7.
54759         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
54760         powerpc32/power7/fpu/s_logb.c via #include.
54761         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
54762         powerpc32/power7/fpu/s_logbf.c via #include.
54763         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
54764         powerpc32/power7/fpu/s_logbl.c via #include.
54766 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
54768         * README.libm: Remove file.
54770 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
54772         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
54773         count for x32.  Use R*_LP and omit operand-size suffix.
54775 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
54777         * shlib-versions: Move x86_64-.*-linux.* entries to ...
54778         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
54779         * sysdeps/x86_64/x32/shlib-versions: New file.
54781 2012-05-14  Roland McGrath  <roland@hack.frob.com>
54783         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
54784         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
54785         Use _dl_fatal_printf instead.
54787 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
54789         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
54790         set if not set by the user.  Do not allow for being unset.
54791         * sysdeps/unix/sysv/linux/configure: Regenerated.
54793 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
54795         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
54796         the `q' suffix from lea and replace .quad with ASM_ADDR.
54798 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
54800         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
54801         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
54802         instead of $17.
54803         (PTR_DEMANGLE): Likewise.
54805 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
54807         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
54808         (LP_OP): Likewise.
54809         (ASM_ADDR): Likewise.
54810         (RAX_LP): Likewise.
54811         (RBP_LP): Likewise.
54812         (RBX_LP): Likewise.
54813         (RCX_LP): Likewise.
54814         (RDI_LP): Likewise.
54815         (RSI_LP): Likewise.
54816         (RSP_LP): Likewise.
54817         (R8_LP): Likewise.
54818         (R9_LP): Likewise.
54819         (R10_LP): Likewise.
54820         (R10_LP): Likewise.
54821         (R11_LP): Likewise.
54822         (R12_LP): Likewise.
54823         (R13_LP): Likewise.
54824         (R14_LP): Likewise.
54825         (R15_LP): Likewise.
54827 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
54829         * sysdeps/x86_64/x32/dl-machine.h: New file.
54831 2012-05-14  Andreas Jaeger  <aj@suse.de>
54833         * manual/Makefile (subdir): Remove export of subdir.
54834         (all): Remove target.
54835         (.PHONY): Remove all from list.
54836         (mkinstalldirs): Remove.
54837         (.PHONY): Remove installdirs from list.
54838         ($(inst_infodir)/libc.info): Use make-target-directory.
54839         (installdirs): Remove.
54840         (subdir_%): Remove.
54841         (glibc-targets): Remove.
54842         (lib): Remove.
54843         (stubs): Remove.
54844         ($(objpfx)stubs ../po/manual.pot): Remove.
54845         ($(objpfx)stamp%): Remove.
54846         (make-target-directory): Remove.
54847         (subdir_install): Remove.
54848         (routines): Remove.
54849         (aux): Remove.
54850         (sources): Remove.
54851         (objects): Remove.
54852         (headers): Remove.
54854         [BZ #13750]
54855         * manual/.gitignore: Remove, it's not needed anymore.
54856         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
54857         all files in it.
54858         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
54859         directory.
54860         (texis): Renamed to $(objpfx)texis.
54861         (texis-path): New, contains path to generated files.
54862         (chapters.%): Use texis-path for complete path, add extra argument
54863         libc-texinfo.sh.
54864         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
54865         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
54866         (summary,texi, stamp-summary): Use complete path of
54867         files. Generate files in build dir.
54868         (dir-add.texi): Build in build dir.
54869         (libm-err.texi,stamp-libm-err): Likewise.
54870         (version.texi, stamp-version): Likewise.
54871         (.%c.texi): Likewise.
54872         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
54873         (mostlyclean): Remove target.
54874         (realclean): Remove target.
54875         (generated): Add new variable with contents from mostlyclean and
54876         realclean, remove entries duplicated in common-mostlyclean, add
54877         stamp-libm-err and stamp-version.
54878         (generated-dirs): Add libc directory.
54879         ($(inst_infodir)/libc.info): Install files from build dir.
54881         * manual/install.texi (Configuring and compiling): Adjust since
54882         the info files are not part of the tar ball anymore.
54884 2012-05-14  Andreas Jaeger  <aj@suse.de>
54886         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
54887         variable.
54889 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
54891         [BZ #13717]
54892         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
54893         to 2.2.0 where earlier.
54894         * sysdeps/unix/sysv/linux/configure: Regenerated.
54895         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
54896         Remove conditional code.
54897         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
54898         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
54899         Remove conditional code.
54900         [!__NR_lchown]: Likewise.
54901         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
54902         [__NR_lchown]: Likewise.
54903         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
54904         comment referencing __ASSUME_LCHOWN_SYSCALL.
54905         * sysdeps/unix/sysv/linux/i386/sigaction.c
54906         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
54907         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
54908         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
54909         Remove conditional code.
54910         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
54911         (__protocol_available): Remove #if 0 code.
54912         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
54913         conditional code.
54914         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
54915         * sysdeps/unix/sysv/linux/kernel-features.h
54916         (__ASSUME_GETCWD_SYSCALL): Don't define.
54917         (__ASSUME_REALTIME_SIGNALS): Likewise.
54918         (__ASSUME_PREAD_SYSCALL): Likewise.
54919         (__ASSUME_PWRITE_SYSCALL): Likewise.
54920         (__ASSUME_POLL_SYSCALL): Likewise.
54921         (__ASSUME_LCHOWN_SYSCALL): Likewise.
54922         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
54923         non-SPARC.
54924         (__ASSUME_SIOCGIFNAME): Don't define.
54925         (__ASSUME_MSG_NOSIGNAL): Likewise.
54926         (__ASSUME_SENDFILE): Define unconditionally.
54927         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
54928         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
54929         conditional code.
54930         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
54931         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
54932         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
54933         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
54934         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
54935         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
54936         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
54937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
54938         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
54939         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
54940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
54941         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
54942         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
54943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
54944         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
54945         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
54946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
54947         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
54948         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
54949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
54950         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
54951         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
54952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
54953         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
54954         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
54955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
54956         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
54957         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
54958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
54959         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
54960         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
54961         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
54962         Remove conditional code.
54963         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
54964         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
54965         Remove conditional code.
54966         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
54967         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
54968         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
54969         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
54970         Remove conditional code.
54971         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
54972         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
54973         Remove conditional code.
54974         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
54975         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
54976         Remove conditional code.
54977         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
54978         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
54979         Remove conditional code.
54980         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
54981         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
54982         Remove conditional code.
54983         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
54984         * sysdeps/unix/sysv/linux/sh/pwrite64.c
54985         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
54986         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
54987         * sysdeps/unix/sysv/linux/sigaction.c
54988         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
54989         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
54990         * sysdeps/unix/sysv/linux/sigpending.c
54991         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
54992         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
54993         * sysdeps/unix/sysv/linux/sigprocmask.c
54994         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
54995         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
54996         * sysdeps/unix/sysv/linux/sigsuspend.c
54997         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
54998         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
54999         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
55000         (__libc_missing_rt_sigs): Remove.
55001         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
55002         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
55003         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
55004         Remove conditional code.
55005         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
55006         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
55007         return 1.
55008         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
55009         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
55010         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
55011         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
55013 2012-05-14  Andreas Jaeger  <aj@suse.de>
55015         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
55016         it's not used in glibc.
55017         (__coshm1): Likewise.
55018         (__acosh1p): Likewise.
55019         (__sgn): Likewise.
55021         * manual/string.texi (Copying and Concatenation): Add missing
55022         variable in concat example.
55023         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
55025 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
55027         [BZ #14103]
55028         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
55029         __builtin_clzl with __builtin_clzll.
55031 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
55033         [BZ #14104]
55034         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
55035         libc_freeres_ptr.
55037 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55039         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
55040         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
55041         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
55042         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
55044 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
55046         * NEWS: Update ia64 info.
55048 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
55050         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
55051         used as bcopy.
55053 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
55055         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
55056         * sysdeps/unix/syscalls.list (dup3): Likewise.
55057         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
55058         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
55060 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
55062         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
55063         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
55065 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
55067         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
55068         thread pointer.
55069         (TLS_IE): Use mov/add instead of movq/addq to load thread
55070         pointer.
55071         (TLS_GD_PREFIX): New.
55072         (TLS_GD): Use it.
55074 2012-05-11  David S. Miller  <davem@davemloft.net>
55076         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
55077         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
55078         (_FPU_SETCW): Likewise.
55080 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
55082         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
55083         is 32-byte aligned.
55085 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
55087         [BZ #11837]
55088         * iconvdata/gb18030.c: Update tables.
55089         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
55090         characters specially.
55091         (BODY for TO_LOOP): Add encoding of missing ranges.
55093 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
55095         [BZ #13673]
55096         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
55097         * sysdeps/mach/hurd/dup3.c: Likewise.
55098         * sysdeps/mach/hurd/readlinkat.c: Likewise.
55099         * sysdeps/powerpc/memmove.c:: Likewise.
55101 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
55103         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
55104         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
55106 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
55108         * elf/elf.h (R_X86_64_RELATIVE64): New.
55109         (R_X86_64_NUM): Updated.
55110         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
55111         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
55112         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
55113         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
55114         tst-quad1pie tst-quad2pie
55115         (modules-names): Add tst-quadmod1 tst-quadmod2.
55116         ($(objpfx)tst-quad1): New dependency.
55117         ($(objpfx)tst-quad2): Likewise.
55118         ($(objpfx)tst-quad1pie): Likewise.
55119         ($(objpfx)tst-quad2pie): Likewise.
55120         * sysdeps/x86_64/tst-quad1.c: New file.
55121         * sysdeps/x86_64/tst-quad1pie.c: New file.
55122         * sysdeps/x86_64/tst-quad2.c: Likewise.
55123         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
55124         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
55125         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
55126         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
55127         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
55129 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55131         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
55132         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
55133         * streams/stropts.h (t_scalar_t): Define type.
55135         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
55136         (_PATH_PRESERVE): Set to "/var/lib".
55137         (_PATH_RWHODIR): Set to "/var/spool/rwho".
55139         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
55140         instead of int.
55142         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
55143         if __dir_mkfile succeeded.
55145         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
55146         checking for _hurd_dtablesize.  Unlock it right after having
55147         finished _hurd_dtable allocation.
55149 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55151         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
55152         * sysdeps/mach/hurd/configure: Regenerated.
55153         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
55154         special-casing to...
55155         * sysdeps/gnu/configure.in: ... this new file.
55156         * sysdeps/unix/sysv/linux/configure: Regenerated.
55157         * sysdeps/gnu/configure: New generated file.
55159         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
55160         for Linux: use nsec instead of usec, as well as:
55161         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
55162         members of type struct timespec.
55163         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
55164         New macros.
55165         (struct stat64): Likewise.
55166         (_STATBUF_ST_NSEC): New macro.
55167         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
55169         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
55170         __strtoul_internal rather than strtoul.
55172 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
55174         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
55175         and reject them.
55177 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55179         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
55180         which preserves existing values.
55181         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
55183 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
55185         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
55186         TIMEOUT values.  Return EINVAL for NFDS values either negative or
55187         greater than FD_SETSIZE.
55189 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55191         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
55192         allocated, call __vm_protect to finish enabling the existing space, and
55193         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
55194         allocate the remainder.
55196 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
55198         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
55199         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
55201 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55203         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
55204         sysdeps/mach/hurd/readlink.c.
55206         * posix/tst-sysconf.c (posix_options): Only use
55207         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
55208         _POSIX_SYNCHRONIZED_IO when they are defined
55209         * sysdeps/mach/hurd/bits/posix_opt.h:
55210         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
55211         (_XOPEN_REALTIME): Undefine macro.
55212         (_XOPEN_REALTIME_THREADS): Undefine macro.
55213         (_XOPEN_SHM): Undefine macro.
55214         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
55215         macro to -1.
55216         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
55217         macro to -1.
55218         (_POSIX_ASYNC_IO): Undefine macro.
55219         (_POSIX_PRIORITIZED_IO): Undefine macro.
55220         (_POSIX_SPIN_LOCKS): Define macro to -1.
55222         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
55223         SA_NODEFER, SA_RESETHAND.
55224         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
55225         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
55226         F_DUPFD_CLOEXEC.
55228 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55230         * elf/Makefile (pldd-modules): Define unconditionally.
55232 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55234         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
55236 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55238         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
55239         Return ENOENT when name is empty.
55240         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
55242 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55244         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
55246         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
55248 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55250         Fix mlock in all cases except non-readable pages.
55251         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
55252         instead of VM_PROT_ALL as parameter to __vm_wire function.
55254         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
55255         (__mkdir): When path is `/', just fail with EEXIST.
55256         * sysdeps/mach/hurd/mkdirat.c: Likewise.
55258 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55260         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
55261         <sys/uio.h> (for writev).
55262         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
55263         and <sys/param.h> (for MIN).
55265 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
55267         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
55268         REQUESTED_TIME.  Properly set the remaining time and return EINTR
55269         if interrupted.
55271 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55273         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
55274         Depend on against $(link-rpcuserlibs).
55276 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55278         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
55279         (__libc_stack_end): Do not use attribute_relro.
55280         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
55281         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
55282         to libthread-provided value.
55283         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
55284         attribute_relro.
55286 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55288         [BZ #3748]
55289         * bits/libc-lock.h (__libc_once_get): New macro.
55290         * sysdeps/mach/bits/libc-lock.h: Likewise.
55291         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
55292         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
55293         instead of using implementation details.
55295         * libio/fileops.c: Unconditionally include <kernel-features.h>.
55296         * libio/freopen.c: Likewise.
55297         * libio/freopen64.c: Likewise.
55298         * misc/syslog.c: Likewise.
55299         * nscd/connections.c: Likewise.
55300         * nscd/netgroupcache.c: Likewise.
55301         * sysdeps/posix/getcwd.c: Likewise.
55303 2012-05-10  Roland McGrath  <roland@hack.frob.com>
55305         * math/w_ilogbf.c: Add #include <limits.h>.
55307 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55309         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
55310         path instead of returning without unlocking.
55312         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
55313         immediate-write ioctls.
55314         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
55316 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55318         * sysdeps/mach/hurd/i386/init-first.c (init): Use
55319         __builtin_frame_address instead of making assumptions about the
55320         location of the return address relative to DATA.  Force early load of
55321         the return address.
55322         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
55323         __builtin_frame_address.
55325         dup3 for GNU Hurd.
55326         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
55327         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
55328         implement dup3 and do some further code clean-ups.
55329         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
55330         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
55332 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55334         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
55336         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
55337         HURD_CRITICAL_END around holding _hurd_dtable_lock.
55338         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
55339         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
55340         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
55341         d->port.lock.
55343         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
55344         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
55345         when handler == SIG_ERR, not when handler != SIG_ERR.
55347 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55349         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
55350         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
55351         definitions.
55353         accept4 for GNU Hurd.
55354         * include/sys/socket.h (__libc_accept4): New prototype.
55355         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
55356         to implement __libc_accept4.
55357         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
55358         __libc_accept4.
55359         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
55361         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
55362         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
55363         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
55364         signal-defines.sym.
55366 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55368         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
55370 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55372         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
55373         assertion on O_CLOEXEC flag.
55374         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
55375         * hurd/intern-fd.c: Likewise.
55376         * hurd/port2fd.c: Likewise.
55378 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55380         [BZ #3906]
55381         * bits/in.h (IPV6_PKTINFO): Define new macro.
55382         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
55384 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55386         [BZ #13954]
55387         [BZ #13955]
55388         [BZ #13956]
55389         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
55390         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
55391         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
55392         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
55393         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
55394         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
55395         * math/libm-test.inc (logb_test) : Additional logb tests.
55397 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
55398             Andreas Jaeger  <aj@suse.de>
55400         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
55401         * configure: Regenerated.
55402         * config.h.in (LINK_OBSOLETE_RPC): New macro.
55403         * config.make.in (link-obsolete-rpc): New substituted variable.
55404         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
55405         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
55406         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
55407         (shared-only-routines): Don't set it under [link-obsolete-rpc],
55408         so that libc.a contains the symbols.
55409         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
55410         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
55411         * sunrpc/auth_none.c: Likewise.
55412         * sunrpc/auth_unix.c: Likewise.
55413         * sunrpc/authdes_prot.c: Likewise.
55414         * sunrpc/authuxprot.c: Likewise.
55415         * sunrpc/clnt_gen.c: Likewise.
55416         * sunrpc/clnt_perr.c: Likewise.
55417         * sunrpc/clnt_raw.c: Likewise.
55418         * sunrpc/clnt_simp.c: Likewise.
55419         * sunrpc/clnt_tcp.c: Likewise.
55420         * sunrpc/clnt_udp.c: Likewise.
55421         * sunrpc/clnt_unix.c: Likewise.
55422         * sunrpc/des_crypt.c: Likewise.
55423         * sunrpc/des_soft.c: Likewise.
55424         * sunrpc/get_myaddr.c: Likewise.
55425         * sunrpc/key_call.c: Likewise.
55426         * sunrpc/key_prot.c: Likewise.
55427         * sunrpc/netname.c: Likewise.
55428         * sunrpc/pm_getmaps.c: Likewise.
55429         * sunrpc/pm_getport.c: Likewise.
55430         * sunrpc/pmap_clnt.c: Likewise.
55431         * sunrpc/pmap_prot.c: Likewise.
55432         * sunrpc/pmap_prot2.c: Likewise.
55433         * sunrpc/pmap_rmt.c: Likewise.
55434         * sunrpc/publickey.c: Likewise.
55435         * sunrpc/rpc_cmsg.c: Likewise.
55436         * sunrpc/rpc_common.c: Likewise.
55437         * sunrpc/rpc_dtable.c: Likewise.
55438         * sunrpc/rpc_prot.c: Likewise.
55439         * sunrpc/rpc_thread.c: Likewise.
55440         * sunrpc/rtime.c: Likewise.
55441         * sunrpc/svc.c: Likewise.
55442         * sunrpc/svc_auth.c: Likewise.
55443         * sunrpc/svc_raw.c: Likewise.
55444         * sunrpc/svc_run.c: Likewise.
55445         * sunrpc/svc_tcp.c: Likewise.
55446         * sunrpc/svc_udp.c: Likewise.
55447         * sunrpc/svc_unix.c: Likewise.
55448         * sunrpc/svcauth_des.c: Likewise.
55449         * sunrpc/xcrypt.c: Likewise.
55450         * sunrpc/xdr.c: Likewise.
55451         * sunrpc/xdr_array.c: Likewise.
55452         * sunrpc/xdr_float.c: Likewise.
55453         * sunrpc/xdr_intXX_t.c: Likewise.
55454         * sunrpc/xdr_mem.c: Likewise.
55455         * sunrpc/xdr_rec.c: Likewise.
55456         * sunrpc/xdr_ref.c: Likewise.
55457         * sunrpc/xdr_sizeof.c: Likewise.
55458         * sunrpc/xdr_stdio.c: Likewise.
55460 2012-05-10  Roland McGrath  <roland@hack.frob.com>
55462         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
55463         change.  Update copyright years.
55465 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
55467         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
55469 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
55470             Joseph Myers  <joseph@codesourcery.com>
55471             Paul Pluzhnikov  <ppluzhnikov@google.com>
55473         [BZ #14012]
55474         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
55475         requiring rpcgen.
55476         [cross-compiling] (extra-libs): Likewise.
55477         [cross-compiling] (extra-libs-others): Likewise.
55478         [cross-compiling] (librpcsvc-routines): Likewise.
55479         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
55480         [cross-compiling] (omit-deps): Likewise.
55481         (sunrpc-CPPFLAGS): New variable.
55482         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
55483         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
55484         (cross-rpcgen-objs): New variable.
55485         (extra-objs): Append $(cross-rpcgen-objs).
55486         ($(cross-rpcgen-objs)): New rule.
55487         ($(objpfx)cross-rpcgen): Likewise.
55488         (rpcgen-cmd): Define to use $(built-program-file).  Expand
55489         comment.
55490         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
55491         ($(objpfx)x%.stmp): Likewise.
55492         * sunrpc/proto.h [IS_IN_build] (_): Define.
55493         [IS_IN_build] (_libc_intl_domainname): Likewise.
55495 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
55497         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
55498         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
55499         and R_X86_64_TPOFF64.
55501 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
55503         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
55504         sysdeps/unix/sysv/syscalls.list.
55505         (stime): Likewise.
55506         (utime): Likewise.
55507         * sysdeps/unix/sysv/syscalls.list: Remove file.
55509 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
55511         [BZ #3440]
55512         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
55513         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
55514         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
55515         (__LC_IDENTIFICATION): Make these macros useful in #if
55516         expressions, as required by C99.
55518 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
55520         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
55521         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
55522         after this.
55524 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
55526         * stdlib/longlong.h: Updated from GCC.
55528 2012-05-09  Andreas Jaeger  <aj@suse.de>
55530         * nscd/nscd.c (run_modes): Make named enum, reorder so that
55531         default is first entry.
55532         (run_mode): Set type.
55533         (main): Remove informal message about syslog.
55534         (options): Fix typo.
55536         [BZ #14053]
55537         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
55538         to asm.
55539         (lrint): Likewise.
55540         (llrintf): Likewise.
55541         (llrint): Likewise.
55542         (rint): Likewise.
55543         (rintf): Likewise.
55544         (nearbyint): Likewise.
55545         (nearbyintf): Likewise.
55547 2012-05-09  Andreas Jaeger  <aj@suse.de>
55548             Pedro Alves  <palves@redhat.com>
55550         * nscd/nscd.c (run_mode): Use enum.
55551         (main): Cleanup coding style issue.
55553 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
55554             Andreas Jaeger  <aj@suse.de>
55556         * nscd/nscd.c (go_background): Replaced with...
55557         (run_mode): ... this.
55558         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
55559         (options): Add -F --foreground.
55560         (main): Implement it.
55561         (parse_opt): Parse it.
55563 2012-05-09  Andreas Jaeger  <aj@suse.de>
55565         [BZ #14083]
55566         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
55567         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
55568         -Wconversion warning.
55569         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
55570         Likewise.
55572 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
55574         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
55575         == 0.
55576         (LC_ALL): Use macro-int-constant.
55577         (LC_COLLATE): Likewise.
55578         (LC_CTYPE): Likewise.
55579         (LC_MESSAGES): Likewise.
55580         (LC_MONETARY): Likewise.
55581         (LC_NUMERIC): Likewise.
55582         (LC_TIME): Likewise.
55583         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
55584         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
55585         [ISO || ISO99 || ISO11] (*_t): Do not allow.
55586         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
55587         Specify type.
55588         [C99-based standards] (float_t): Expect type.
55589         [C99-based standards] (double_t): Expect type.
55590         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
55591         type.
55592         [C99-based standards] (HUGE_VALL): Likewise.
55593         [C99-based standards] (INFINITY): Likewise.
55594         [C99-based standards] (NAN): Likewise.
55595         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
55596         [C99-based standards] (FP_NAN): Likewise.
55597         [C99-based standards] (FP_NORMAL): Likewise.
55598         [C99-based standards] (FP_SUBNORMAL): Likewise.
55599         [C99-based standards] (FP_ZERO): Likewise.
55600         [C99-based standards] (FP_FAST_FMA): Use
55601         optional-macro-int-constant.  Specify type.  Require == 1.
55602         [C99-based standards] (FP_FAST_FMAF): Likewise.
55603         [C99-based standards] (FP_FAST_FMAL): Likewise.
55604         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
55605         [C99-based standards] (FP_ILOGBNAN): Likewise.
55606         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
55607         Specify type.
55608         [C99-based standards] (MATH_ERREXCEPT): Likewise.
55609         [C99-based standards] (math_errhandling): Specify type.
55610         [ISO99 || ISO11] (signgam): Do not allow.
55611         [non-C99-based standards] (copysignf): Do not allow.
55612         [non-C99-based standards] (exp2f): Likewise.
55613         [non-C99-based standards] (log2f): Likewise.
55614         [non-C99-based standards] (modff): Allow.
55615         [non-C99-based standards] (erff): Do not allow.
55616         [non-C99-based standards] (erfcf): Likewise.
55617         [non-C99-based standards] (gammaf): Likewise.
55618         [non-C99-based standards] (hypotf): Likewise.
55619         [non-C99-based standards] (j0f): Likewise.
55620         [non-C99-based standards] (j1f): Likewise.
55621         [non-C99-based standards] (jnf): Likewise.
55622         [non-C99-based standards] (lgammaf): Likewise.
55623         [non-C99-based standards] (tgammaf): Likewise.
55624         [non-C99-based standards] (y0f): Likewise.
55625         [non-C99-based standards] (y1f): Likewise.
55626         [non-C99-based standards] (ynf): Likewise.
55627         [non-C99-based standards] (isnanf): Likewise.
55628         [non-C99-based standards] (acoshf): Likewise.
55629         [non-C99-based standards] (asinhf): Likewise.
55630         [non-C99-based standards] (atanhf): Likewise.
55631         [non-C99-based standards] (cbrtf): Likewise.
55632         [non-C99-based standards] (expm1f): Likewise.
55633         [non-C99-based standards] (ilogbf): Likewise.
55634         [non-C99-based standards] (log1pf): Likewise.
55635         [non-C99-based standards] (logbf): Likewise.
55636         [non-C99-based standards] (nextafterf): Likewise.
55637         [non-C99-based standards] (remainderf): Likewise.
55638         [non-C99-based standards] (rintf): Likewise.
55639         [non-C99-based standards] (scalbf): Likewise.
55640         [non-C99-based standards] (copysignl): Likewise.
55641         [non-C99-based standards] (exp2l): Likewise.
55642         [non-C99-based standards] (log2l): Likewise.
55643         [non-C99-based standards] (modfl): Allow.
55644         [non-C99-based standards] (erfl): Do not allow.
55645         [non-C99-based standards] (erfcl): Likewise.
55646         [non-C99-based standards] (gammal): Likewise.
55647         [non-C99-based standards] (hypotl): Likewise.
55648         [non-C99-based standards] (j0l): Likewise.
55649         [non-C99-based standards] (j1l): Likewise.
55650         [non-C99-based standards] (jnl): Likewise.
55651         [non-C99-based standards] (lgammal): Likewise.
55652         [non-C99-based standards] (tgammal): Likewise.
55653         [non-C99-based standards] (y0l): Likewise.
55654         [non-C99-based standards] (y1l): Likewise.
55655         [non-C99-based standards] (ynl): Likewise.
55656         [non-C99-based standards] (isnanl): Likewise.
55657         [non-C99-based standards] (acoshl): Likewise.
55658         [non-C99-based standards] (asinhl): Likewise.
55659         [non-C99-based standards] (atanhl): Likewise.
55660         [non-C99-based standards] (cbrtl): Likewise.
55661         [non-C99-based standards] (expm1l): Likewise.
55662         [non-C99-based standards] (ilogbl): Likewise.
55663         [non-C99-based standards] (log1pl): Likewise.
55664         [non-C99-based standards] (logbl): Likewise.
55665         [non-C99-based standards] (nextafterl): Likewise.
55666         [non-C99-based standards] (remainderl): Likewise.
55667         [non-C99-based standards] (rintl): Likewise.
55668         [non-C99-based standards] (scalbl): Likewise.
55669         [ISO || ISO99 || ISO11] (*_t): Do not allow.
55670         [non-C99-based standards] (FP_*): Do not allow.
55671         [C99-based standards] (FP_*): Change to
55672         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
55673         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
55674         allow.
55675         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
55676         (SIG_ERR): Likewise.
55677         [X/Open-based standards] (SIG_HOLD): Likewise.
55678         (SIG_IGN): Likewise.
55679         (SIGABRT): Use macro-int-constant.  Specify type.  Require
55680         positive value.
55681         (SIGFPE): Likewise.
55682         (SIGILL): Likewise.
55683         (SIGINT): Likewise.
55684         (SIGSEGV): Likewise.
55685         (SIGTER): Likewise.
55686         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
55687         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
55688         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
55689         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
55690         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
55691         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
55692         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
55693         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
55694         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
55695         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
55696         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
55697         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
55698         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
55699         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
55700         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
55701         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
55702         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
55703         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
55704         [X/Open-based standards] (SIGTRAP): Likewise.
55705         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
55706         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
55707         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
55708         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
55709         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
55710         allow.
55712 2012-05-08  Ian Wienand  <ianw@vmware.com>
55714         [BZ #14080]
55715         * time/tzset.c (__tzset_parse_tz): Update default rules for
55716         daylight time changes in the Energy Policy Act of 2005.
55718 2012-05-09  Andreas Jaeger  <aj@suse.de>
55720         [BZ #13983]
55721         * elf/ldconfig.c (parse_conf): Change string to make clear that
55722         ldconfig only issued a warning if ld.so.conf does not exist.
55724 2012-05-08  David S. Miller  <davem@davemloft.net>
55726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
55727         movxtod instead of popping the value on the stack.
55729         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55731 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
55733         * config.h.in: Add HAVE_ARM_PCS_VFP.
55735 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
55737         [BZ #13979]
55738         * include/features.h: Warn if user requests __FORTIFY_SOURCE
55739         checking but the checks are disabled for any reason.
55741 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
55743         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
55744         and ELF64_R_TYPE with ELFW(R_TYPE).
55746 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
55748         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
55749         (ulimit): Likewise.
55751         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
55752         (settimeofday): Likewise.
55754 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
55756         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
55757         a struct th_u2 inside the union, and move tu_block/tu_code into
55758         a new th_u3 union of tu_block/tu_code inside of that.  Move
55759         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
55760         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
55761         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
55762         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
55763         (th_stuff): Change to th_u1.tu_stuff.
55764         (th_data): Define.
55765         (th_msg): Change to th_u1.th_u2.tu_data.
55767 2012-05-07  David S. Miller  <davem@davemloft.net>
55769         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55771         [BZ #14074]
55772         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
55773         (SETUP_PIC_REG): Use it.
55774         (SETUP_PIC_REG_LEAF): Use it.
55776 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
55778         [BZ #13885]
55779         [BZ #13923]
55780         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
55781         USE_AS_EXPM1L.
55782         (EXPL_FINITE): Likewise.
55783         (FLDLOG): Likewise.
55784         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
55785         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
55786         e_expl.S.
55787         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
55788         USE_AS_EXPM1L.
55789         (EXPL_FINITE): Likewise.
55790         (FLDLOG): Likewise.
55791         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
55792         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
55793         e_expl.S.
55794         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
55795         test of -max_value argument for long double.
55796         * sysdeps/i386/fpu/libm-test-ulps: Update.
55797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55799 2012-05-06  David S. Miller  <davem@davemloft.net>
55801         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
55802         quad soft-float symbols whose references which are compiler
55803         generated.
55804         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
55806 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
55808         [BZ #13884]
55809         [BZ #13914]
55810         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
55811         USE_AS_EXP10L.
55812         (EXPL_FINITE): Likewise.
55813         (FLDLOG): Likewise.
55814         (c0): Likewise.
55815         (c1): Likewise.
55816         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
55817         Adjust comments for base varying.
55818         (__expl_finite): Change alias to EXPL_FINITE.
55819         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
55820         e_expl.S.
55821         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
55822         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
55823         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
55824         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
55825         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
55826         USE_AS_EXP10L.
55827         (EXPL_FINITE): Likewise.
55828         (FLDLOG): Likewise.
55829         (c0): Likewise.
55830         (c1): Likewise.
55831         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
55832         Adjust comments for base varying.
55833         (__expl_finite): Change alias to EXPL_FINITE.
55834         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
55835         tests for bugs.
55836         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55838         [BZ #14064]
55839         * math/libm-test.inc (check_float_internal): Correct ulp
55840         calculation for subnormal expected results.
55842 2012-05-06  Andreas Jaeger  <aj@suse.de>
55844         * Makeconfig (+math-flags): New, set to -frounding-math.
55845         (+cflags): Add +math-flags so that all of glibc gets compiled with
55846         it.
55848         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
55850 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
55852         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
55853         Disable one test.
55855         [BZ #13787]
55856         [BZ #13922]
55857         [BZ #14036]
55858         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
55859         (__ieee754_expl): Allow for and saturate large arguments.
55860         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
55861         (u_threshold): Likewise.
55862         (__exp): Call __ieee754_exp before checking for overflow and
55863         underflow.
55864         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
55865         (u_threshold): Likewise.
55866         (__expf): Call __ieee754_expf before checking for overflow and
55867         underflow.
55868         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
55869         (u_threshold): Likewise.
55870         (__expl): Call __ieee754_expl before checking for overflow and
55871         underflow.
55872         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
55873         (__ieee754_expl): Allow for and saturate large arguments.
55874         * math/libm-test.inc (exp_test): Add another test.  Do not allow
55875         missing overflow exception on overflow.
55876         (expm1_test): Do not allow missing overflow exception on overflow.
55878         * sysdeps/i386/fpu/e_expl.c: Move to ...
55879         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
55880         rather than using inline asm.
55881         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
55882         * sysdeps/x86_64/fpu/e_expl.S: Copy from
55883         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
55885         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
55886         (nice): Likewise.
55887         (poll): Likewise.
55888         (signal): Likewise.
55889         (time): Likewise.
55890         (times): Likewise.
55892 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
55894         * sysdeps/unix/syscalls.list (adjtime): Add entry from
55895         sysdeps/unix/common/syscalls.list.
55896         (fchmod): Likewise.
55897         (fchown): Likewise.
55898         (ftruncate): Likewise.
55899         (getrusage): Likewise.
55900         (gettimeofday): Likewise.
55901         (setpgid): Likewise.
55902         (setregid): Likewise.
55903         (setreuid): Likewise.
55904         (sigaction): Likewise.
55905         (truncate): Likewise.
55906         (vhangup): Likewise.
55907         * sysdeps/unix/common/syscalls.list: Remove file.
55908         * sysdeps/unix/bsd/Implies: Don't include unix/common.
55909         * sysdeps/unix/sysv/linux/Implies: Likewise.
55911 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
55913         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
55914         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
55915         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
55916         Moved to ...
55917         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
55918         Here.
55919         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
55920         to ...
55921         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
55922         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
55923         to ...
55924         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
55925         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
55926         to ...
55927         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
55928         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
55929         to ...
55930         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
55931         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
55932         to ...
55933         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
55934         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
55935         to ...
55936         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
55937         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
55938         to ...
55939         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
55940         Here.
55941         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
55942         to ...
55943         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
55944         Here.
55945         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
55946         to ...
55947         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
55948         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
55949         Moved to ...
55950         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
55951         Here.
55952         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
55953         to ...
55954         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
55956 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
55958         * sysdeps/unix/common/bits/dirent.h: Remove file.
55959         * sysdeps/unix/common/bits/fcntl.h: Likewise.
55961         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
55962         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
55963         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
55964         * sysdeps/unix/bsd/isatty.c: Likewise.
55965         * sysdeps/unix/bsd/tcdrain.c: Likewise.
55966         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
55967         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
55969 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55971         [BZ #13563]
55972         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
55973         long double comparison inaccuracies.
55974         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
55975         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55977 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
55979         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
55980         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
55982 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
55984         [BZ #14049]
55985         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
55986         nonzero digits before rounding a hex value.
55987         * stdlib/tst-strtod.c (tests): Add another test.
55989 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55991         * sysdeps/s390/fpu/libm-test-ulps: Update.
55993 2012-05-03  Andreas Jaeger  <aj@suse.de>
55995         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
55996         does not get optimized out.
55997         (malloc_opt_barrier): New.
55999 2012-05-03  Andreas Jaeger  <aj@suse.de>
56000             Roland McGrath  <roland@hack.frob.com>
56002         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
56003         intermediate file deletion.
56004         (generated): Add .symlist files.
56006 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
56008         [BZ #13775]
56009         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
56010         Redirect under this condition.
56011         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
56012         [__USE_GNU] (__dprintf_chk): Not under this condition.
56013         [__USE_GNU] (__vdprintf_chk): Likewise.
56014         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
56015         under this condition.
56016         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
56017         [__USE_XOPEN2K8] (dprintf): Define under this condition.
56018         [__USE_XOPEN2K8] (vdprintf): Likewise.
56019         [__USE_GNU] (__dprintf_chk): Not under this condition.
56020         [__USE_GNU] (__vdprintf_chk): Likewise.
56021         [__USE_GNU] (dprintf): Likewise.
56022         [__USE_GNU] (vdprintf): Likewise.
56024 2012-05-03  Roland McGrath  <roland@hack.frob.com>
56026         * elf/Makefile (common-generated): Set this instead of generated for
56027         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
56028         $(all-built-dso)-derived lists.
56030 2012-05-03  Andreas Jaeger  <aj@suse.de>
56032         * sysdeps/i386/fpu/libm-test-ulps: Update.
56034         * FAQ: Removed.
56035         * FAQ.in: Likewise.
56036         * scripts/gen-FAQ.pl: Likewise.
56037         * manual/install.texi (Installation): Point to online location of
56038         FAQ.
56039         * Makefile (files-for-dist): Remove FAQ.
56040         (FAQ): Remove.
56042 2012-05-02  Allan McRae  <allan@archlinux.org>
56044         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
56045         (LDFLAGS-reldepmod5.so): Likewise.
56046         (LDFLAGS-reldep6mod1.so): Likewise.
56047         (LDFLAGS-reldep6mod4.so): Likewise.
56048         (LDFLAGS-reldep8mod3.so): Likewise.
56049         (LDFLAGS-unload4mod1.so): Likewise.
56050         (LDFLAGS-unload4mod2.so): Likewise.
56051         (LDFLAGS-tst-initorder): Likewise.
56052         (LDFLAGS-tst-initordera2.so): Likewise.
56053         (LDFLAGS-tst-initordera3.so): Likewise.
56054         (LDFLAGS-tst-initordera4.so): Likewise.
56055         (LDFLAGS-tst-initorderb2.so): Likewise.
56056         (LDFLAGS-noload): Likewise.
56057         (LDFLAGS-next): Likewise.
56058         (LDFLAGS-order2mod1.so): Likewise.
56059         (LDFLAGS-order2mod2.so): Likewise.
56060         (LDFLAGS-tst-initorder2): Likewise.
56061         (LDFLAGS-tst-initorder2a.so): Likewise.
56062         (LDFLAGS-tst-initorder2b.so): Likewise.
56063         (LDFLAGS-tst-initorder2c.so): Likewise.
56064         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
56066 2012-05-02  David S. Miller  <davem@davemloft.net>
56068         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56070 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
56072         [BZ #14055]
56073         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
56075 2012-05-02  Andreas Jaeger  <aj@suse.de>
56077         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
56078         since we manipulate rounding mode.
56079         (CPPFLAGS-test-idouble.c): Likewise.
56080         (CPPFLAGS-test-ifloat.c): Likewise.
56081         (CFLAGS-test-ldouble.c): Likewise.
56082         (CFLAGS-test-double.c): Likewise.
56083         (CFLAGS-test-float.c): Likewise.
56084         (CFLAGS-test-misc.c): Likewise.
56085         (CFLAGS-test-test-fenv.c): Likewise.
56087 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56089         [BZ #2550]
56090         [BZ #2570]
56091         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
56092         comparisons to determine direction to adjust input.
56094 2012-05-01  Roland McGrath  <roland@hack.frob.com>
56096         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
56097         output to the target.
56099         * scripts/localplt.awk: New file.
56100         * elf/Makefile ($(objpfx)check-localplt): Target removed.
56101         (check-localplt-CFLAGS): Variable removed.
56102         ($(all-built-dso:=.jmprel)): New static pattern rule.
56103         (generated): Add those targets.
56104         (localplt-built-dso): New variable.
56105         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
56107         * elf/check-localplt.c: File removed.
56109         * scripts/check-execstack.awk: New file.
56110         * elf/Makefile ($(objpfx)check-execstack): Target removed.
56111         (check-execstack-CFLAGS): Variable removed.
56112         ($(objpfx)check-execstack.h): Target removed.
56113         ($(objpfx)execstack-default): New target.
56114         (generated): Add that instead of check-execstack.h.
56115         ($(all-built-dso:=.phdr)): New static pattern rule.
56116         (generated): Add those targets.
56117         * elf/check-execstack.c: File removed.
56119         * scripts/check-textrel.awk: New file.
56120         * elf/Makefile ($(objpfx)check-textrel): Target removed.
56121         (check-textrel-CFLAGS): Variable removed.
56122         (all-built-dso): Use := to define.o
56123         ($(all-built-dso:=.dyn)): New static pattern rule.
56124         (generated): Add those targets.
56125         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
56126         * config.make.in (READELF): New substituted variable.
56127         * elf/check-textrel.c: File removed.
56129 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
56131         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
56132         allow.
56133         * conform/data/ctype.h-data [C99-based standards] (isblank):
56134         Expect function.
56135         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
56136         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
56137         [ISO || ISO99 || ISO11] (*_t): Do not allow.
56138         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
56139         Specify type.  Require positive value.
56140         (EILSEQ): Likewise.
56141         (ERANGE): Likewise.
56142         [ISO || POSIX] (EILSEQ): Do not expect.
56143         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
56144         Specify type.  Require positive value.
56145         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
56146         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
56147         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
56148         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
56149         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
56150         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
56151         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
56152         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
56153         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
56154         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
56155         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
56156         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
56157         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
56158         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
56159         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
56160         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
56161         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
56162         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
56163         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
56164         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
56165         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
56166         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
56167         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
56168         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
56169         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
56170         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
56171         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
56172         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
56173         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
56174         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
56175         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
56176         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
56177         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
56178         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
56179         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
56180         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
56181         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
56182         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
56183         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
56184         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
56185         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
56186         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
56187         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
56188         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
56189         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
56190         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
56191         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
56192         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
56193         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
56194         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
56195         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
56196         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
56197         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
56198         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
56199         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
56200         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
56201         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
56202         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
56203         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
56204         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
56205         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
56206         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
56207         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
56208         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
56209         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
56210         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
56211         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
56212         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
56213         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
56214         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
56215         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
56216         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
56217         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
56218         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
56219         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
56220         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
56221         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
56222         Require >= 2.
56223         (FLT_ROUNDS): Expect as macro, not constant.
56224         (FLT_MANT_DIG): Use macro-int-constant.
56225         (DBL_MANT_DIG): Likewise.
56226         (LDBL_MANT_DIG): Likewise.
56227         (FLT_DIG): Likewise.
56228         (DBL_DIG): Likewise.
56229         (LDBL_DIG): Likewise.
56230         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
56231         (DBL_MIN_EXP): Likewise.
56232         (LDBL_MIN_EXP): Likewise.
56233         (FLT_MAX_EXP): Use macro-int-constant.
56234         (DBL_MAX_EXP): Likewise.
56235         (LDBL_MAX_EXP): Likewise.
56236         (FLT_MAX_10_EXP): Likewise.
56237         (DBL_MAX_10_EXP): Likewise.
56238         (LDBL_MAX_10_EXP): Likewise.
56239         (FLT_MAX): Use macro-constant.
56240         (DBL_MAX): Likewise.
56241         (LDBL_MAX): Likewise.
56242         (FLT_EPSILON): Use macro-constant.  Give upper bound.
56243         (DBL_EPSILON): Likewise.
56244         (LDBL_EPSILON): Likewise.
56245         (FLT_MIN): Likewise.
56246         (DBL_MIN): Likewise.
56247         (LDBL_MIN): Likewise.
56248         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
56249         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
56250         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
56251         [ISO11] (FLT_HAS_SUBNORM): Likewise.
56252         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
56253         [ISO11] (DBL_DECIMAL_DIG): Likewise.
56254         [ISO11] (FLT_DECIMAL_DIG): Likewise.
56255         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
56256         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
56257         [ISO11] (FLT_TRUE_MIN): Likewise.
56258         [ISO11] (LDBL_TRUE_MIN): Likewise.
56259         [ISO || ISO99 || ISO11] (*_t): Do not allow.
56260         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
56261         (SCHAR_MIN): Use macro-int-constant.  Specify type.
56262         (SCHAR_MAX): Likewise.
56263         (UCHAR_MAX): Likewise.
56264         (CHAR_MIN): Likewise.
56265         (CHAR_MAX): Likewise.
56266         (MB_LEN_MAX): Use macro-int-constant.
56267         (SHRT_MIN): Use macro-int-constant.  Specify type.
56268         (SHRT_MAX): Likewise.
56269         (USHRT_MAX): Likewise.
56270         (INT_MAX): Likewise.
56271         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
56272         bound negative.
56273         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
56274         bound with "U".
56275         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
56276         bound with "L".
56277         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
56278         bound negative.  Suffix upper bound with "L".
56279         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
56280         bound with "UL".
56281         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
56282         Specify type.
56283         [C99-based standards] (LLONG_MAX): Likewise.
56284         [C99-based standards] (ULLONG_MAX): Likewise.
56285         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
56286         == 0.
56287         [ISO11] (max_align_t): Require type.
56288         [ISO || ISO99 || ISO11] (*_t): Do not allow.
56290         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
56291         from $CFLAGS, without defining away __attribute__ calls.
56292         (checknamespace): Use $CFLAGS_namespace.
56294         * conform/conformtest.pl (@keywords): Only include C99 keywords
56295         for standards based on C99 or C11.
56297         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
56298         Disable tests.
56299         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
56300         UNIX98]: Likewise.
56302         * conform/conformtest.pl: Handle "macro-int-constant" and test for
56303         usability of symbols in #if.
56305         * conform/conformtest.pl: If macro or constant types start
56306         "promoted:", expect the symbol to be of the following type
56307         promoted by the integer promotions.
56309         * conform/conformtest.pl: Parse all "constant" and "macro" lines
56310         in one place.  Also handle "macro-constant".
56312         * conform/conformtest.pl: Only accept expected macro values with
56313         "==".  Parse all "macro" lines in one place.
56314         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
56316         * conform/conformtest.pl: Handle braced types on "constant" lines
56317         instead of handling "typed-constant".
56318         * conform/data/signal.h-data: Use "constant" instead of
56319         "typed-constant".
56321         * conform/conformtest.pl: Handle "optional-" at start of lines in
56322         one place rather than duplicating several cases.  Handle each
56323         format of "macro" line with initial "optional-".
56325         * conform/conformtest.pl: Only accept expected constant or
56326         optional-constant values with "==".  Parse all "constant" lines in
56327         one place.  Parse all "optional-constant" lines in one place.
56328         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
56329         * conform/data/fmtmsg.h-data: Likewise.
56330         * conform/data/netinet/in.h-data: Likewise.
56331         * conform/data/tar.h-data: Likewise.
56332         * conform/data/limits.h-data: Use "==" form on "constant" and
56333         "optional-constant" lines.
56335         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
56336         Use -std=c99 for XOPEN2K.
56337         (@knownproblems): Remove.
56338         (newtoken): Don't check %isknown.
56340         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
56341         Do not expect macro.
56342         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
56343         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
56344         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
56345         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
56346         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
56347         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
56348         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
56349         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
56350         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
56351         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
56352         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
56353         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
56354         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
56355         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
56356         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
56357         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
56358         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
56359         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
56360         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
56361         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
56362         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
56363         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
56364         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
56365         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
56366         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
56367         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
56368         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
56369         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
56370         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
56371         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
56372         [XPG3] (acosh): Likewise.
56373         [XPG3] (asinh): Likewise.
56374         [XPG3] (atanh): Likewise.
56375         [XPG3] (cbrt): Likewise.
56376         [XPG3] (expm1): Likewise.
56377         [XPG3] (ilogb): Likewise.
56378         [XPG3] (log1p): Likewise.
56379         [XPG3] (logb): Likewise.
56380         [XPG3] (nextafter): Likewise.
56381         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
56382         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
56383         [XPG3] (remainder): Likewise.
56384         [XPG3] (rint): Likewise.
56385         [XPG3 || XPG4 || UNIX98] (round): Likewise.
56386         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
56387         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
56388         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
56389         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
56390         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
56391         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
56392         [UNIX98 || XOPEN2K] (scalb): Expect.
56393         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
56394         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
56395         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
56396         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
56397         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
56398         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
56399         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
56400         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
56401         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
56402         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
56403         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
56404         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
56405         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
56406         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
56407         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
56408         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
56409         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
56410         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
56411         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
56412         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
56413         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
56414         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
56415         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
56416         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
56417         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
56418         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
56419         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
56420         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
56421         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
56422         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
56423         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
56424         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
56425         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
56426         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
56427         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
56428         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
56429         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
56430         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
56431         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
56432         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
56433         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
56434         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
56435         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
56436         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
56437         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
56438         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
56439         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
56440         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
56441         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
56442         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
56443         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
56444         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
56445         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
56446         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
56447         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
56448         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
56449         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
56450         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
56451         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
56452         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
56453         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
56454         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
56455         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
56456         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
56457         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
56458         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
56459         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
56460         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
56461         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
56462         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
56463         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
56464         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
56465         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
56466         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
56467         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
56468         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
56469         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
56470         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
56471         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
56472         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
56473         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
56474         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
56475         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
56476         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
56477         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
56478         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
56479         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
56480         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
56481         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
56482         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
56483         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
56484         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
56485         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
56486         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
56487         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
56488         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
56489         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
56490         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
56491         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
56492         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
56493         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
56494         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
56495         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
56496         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
56497         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
56498         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
56499         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
56500         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
56501         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
56502         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
56503         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
56504         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
56505         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
56506         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
56507         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
56508         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
56509         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
56510         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
56511         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
56512         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
56513         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
56514         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
56515         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
56516         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
56517         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
56518         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
56519         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
56520         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
56521         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
56522         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
56523         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
56524         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
56525         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
56526         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
56527         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
56528         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
56529         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
56531         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
56532         _XOPEN_SOURCE_EXTENDED for XPG4.
56534         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
56536         * Makeconfig (localtime): Remove variable.
56537         (inst_localtime-file): Likewise.
56539 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
56541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
56542         Update.
56543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56544         Update.
56545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
56546         Update.
56547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
56548         Update.
56549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
56550         Update.
56551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
56552         Update.
56553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56554         Update.
56555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
56556         Update.
56557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
56558         Update.
56560 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
56562         [BZ #2550]
56563         [BZ #2570]
56564         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
56565         comparisons to determine direction to adjust input.
56566         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
56567         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
56568         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
56569         Likewise.
56570         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
56571         Likewise.
56572         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
56573         Likewise.
56574         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
56575         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
56576         Likewise.
56577         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
56578         Likewise.
56579         * math/libm-test.inc (nexttoward_test): Add more tests.
56581 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
56583         [BZ #14040]
56584         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
56585         in version GLIBC_2.1, not GLIBC_2.0.
56586         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
56587         Likewise.
56589 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
56591         [BZ #13942]
56592         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
56593         (1 - x) * (1 + x).
56594         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
56595         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
56596         * math/libm-test.inc (acos_test): Add more tests.
56597         (asin_test): Likewise.
56598         * sysdeps/i386/fpu/libm-test-ulps: Update.
56599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56601         [BZ #14034]
56602         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
56603         of square root.
56604         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
56605         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
56606         * math/libm-test.inc (acos_test_tonearest): New function.
56607         (acos_test_towardzero): Likewise.
56608         (acos_test_downward): Likewise.
56609         (acos_test_upward): Likewise.
56610         (asin_test_tonearest): Likewise.
56611         (asin_test_towardzero): Likewise.
56612         (asin_test_downward): Likewise.
56613         (asin_test_upward): Likewise.
56614         (main): Call the new functions.
56615         * sysdeps/i386/fpu/libm-test-ulps: Update.
56616         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56618         [BZ #13884]
56619         [BZ #13924]
56620         * math/e_exp10.c: Include <float.h>.
56621         (__ieee754_exp10): Handle underflow here rather than multiplying
56622         large negative argument by M_LN10.
56623         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
56624         of __ieee754_expf.
56625         * math/e_exp10l.c: Include <float.h>.
56626         (__ieee754_exp10l): Handle underflow here rather than multiplying
56627         large negative argument by M_LN10l.
56628         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
56629         spurious overflow exception on underflow.
56631 2012-04-29  Marek Polacek  <polacek@redhat.com>
56633         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
56634         (__fortify_function): New macro.
56635         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
56636         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
56637         __extern_always_inline.
56638         * libio/bits/stdio2.h: Likewise.
56639         * libio/bits/stdio.h: Likewise.
56640         * string/string.h: Likewise.
56641         * string/bits/string3.h: Likewise.
56642         * include/stdio.h: Likewise.
56643         * stdlib/bits/stdlib.h: Likewise.
56644         * stdlib/stdlib.h: Likewise.
56645         * rt/bits/mqueue2.h: Likewise.
56646         * rt/mqueue.h: Likewise.
56647         * posix/bits/unistd.h: Likewise.
56648         * posix/unistd.h: Likewise.
56649         * io/bits/poll2.h: Likewise.
56650         * io/bits/fcntl2.h: Likewise.
56651         * io/fcntl.h: Likewise.
56652         * io/sys/poll.h: Likewise.
56653         * misc/bits/syslog.h: Likewise.
56654         * misc/bits/syslog-ldbl.h: Likewise.
56655         * misc/sys/syslog.h: Likewise.
56656         * socket/bits/socket2.h: Likewise.
56657         * socket/sys/socket.h: Likewise.
56658         * debug/tst-chk1.c: Likewise.
56659         * wcsmbs/bits/wchar2.h: Likewise.
56660         * wcsmbs/bits/wchar-ldbl.h: Likewise.
56661         * wcsmbs/wchar.h: Likewise.
56663 2012-04-29  Andreas Jaeger  <aj@suse.de>
56665         * Makerules (tests): Remove enable-check-abi protection.
56666         (check-abi-warn): Remove.
56667         (check-abi-%): Remove check-abi-warn usage.
56669         * configure.in: Remove check-abi configure option.
56670         * configure: Regenerated.
56671         * config.make.in (enable-check-abi): Remove.
56673 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
56675         [BZ #14033]
56676         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
56677         double functions to double *_finite functions.
56679         [BZ #13941]
56680         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
56681         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
56682         LDBL_MIN_EXP.
56683         * stdio-common/Makefile (tests): Add tst-sprintf3.
56684         * stdio-common/tst-sprintf3.c: New file.
56686         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
56687         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
56689 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
56691         * conform/conformtest.pl: Remove duplicate typed-constant
56692         handling.
56694 2012-04-28  David S. Miller  <davem@davemloft.net>
56696         * Makerules (%.abilist): Add vpath on sysdep_dirs.
56697         (check-abi-%): Remove AWK script prerequisite and explicit
56698         abilist directory.
56699         (check-abi): Rewrite to just diff the symlist with the abilist.
56700         (config-tls, config-abi-config): Delete, no longer used.
56701         (update-abi-%): Remove AWK script and explicit abilist directory.
56702         (update-abi): Rewrite to simply compare and conditionally copy the
56703         symlist and the sysdep abilist file.  Remove update-abi-config
56704         checks.
56705         * abilist/ld.abilist: Remove.
56706         * abilist/libBrokenLocale.abilist: Remove.
56707         * abilist/libanl.abilist: Remove.
56708         * abilist/libcrypt.abilist: Remove.
56709         * abilist/libdl.abilist: Remove.
56710         * abilist/librt.abilist: Remove.
56711         * abilist/libthread_db.abilist: Remove.
56712         * abilist/libutil.abilist: Remove.
56713         * scripts/extract-abilist.awk: Remove.
56714         * scripts/merge-abilist.awk: Remove.
56715         * sysdeps/generic/libcidn.abilist: New file.
56716         * sysdeps/generic/libnss_compat.abilist: New file.
56717         * sysdeps/generic/libnss_db.abilist: New file.
56718         * sysdeps/generic/libnss_dns.abilist: New file.
56719         * sysdeps/generic/libnss_files.abilist: New file.
56720         * sysdeps/generic/libnss_hesiod.abilist: New file.
56721         * sysdeps/generic/libnss_nis.abilist: New file.
56722         * sysdeps/generic/libnss_nisplus.abilist: New file.
56723         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
56724         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
56725         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
56726         file.
56727         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
56728         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
56729         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
56730         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
56731         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
56732         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
56733         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
56734         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
56735         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
56736         file.
56737         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
56738         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
56739         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
56740         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
56741         file.
56742         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
56743         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
56744         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
56745         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
56746         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
56747         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
56748         file.
56749         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
56750         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
56751         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
56752         file.
56753         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
56754         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
56755         New file.
56756         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
56757         New file.
56758         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
56759         New file.
56760         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
56761         New file.
56762         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
56763         New file.
56764         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
56765         New file.
56766         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
56767         New file.
56768         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
56769         New file.
56770         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
56771         New file.
56772         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
56773         New file.
56774         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
56775         New file.
56776         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
56777         New file.
56778         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
56779         New file.
56780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
56781         file.
56782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
56783         New file.
56784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
56785         New file.
56786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
56787         file.
56788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
56789         New file.
56790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
56791         New file.
56792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
56793         file.
56794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
56795         New file.
56796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
56797         New file.
56798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
56799         New file.
56800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
56801         New file.
56802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
56803         New file.
56804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
56805         New file.
56806         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
56807         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
56808         file.
56809         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
56810         New file.
56811         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
56812         file.
56813         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
56814         file.
56815         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
56816         file.
56817         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
56818         file.
56819         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
56820         file.
56821         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
56822         New file.
56823         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
56824         file.
56825         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
56826         file.
56827         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
56828         New file.
56829         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
56830         file.
56831         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
56832         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
56833         file.
56834         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
56835         New file.
56836         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
56837         file.
56838         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
56839         file.
56840         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
56841         file.
56842         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
56843         file.
56844         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
56845         file.
56846         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
56847         New file.
56848         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
56849         file.
56850         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
56851         file.
56852         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
56853         New file.
56854         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
56855         file.
56856         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
56857         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
56858         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
56859         file.
56860         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
56861         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
56862         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
56863         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
56864         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
56865         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
56866         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
56867         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
56868         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
56869         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
56870         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
56871         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
56872         file.
56873         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
56874         New file.
56875         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
56876         file.
56877         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
56878         file.
56879         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
56880         file.
56881         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
56882         file.
56883         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
56884         file.
56885         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
56886         New file.
56887         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
56888         New file.
56889         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
56890         file.
56891         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
56892         New file.
56893         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
56894         file.
56895         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
56896         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
56897         file.
56898         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
56899         New file.
56900         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
56901         file.
56902         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
56903         file.
56904         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
56905         file.
56906         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
56907         file.
56908         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
56909         file.
56910         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
56911         New file.
56912         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
56913         New file.
56914         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
56915         file.
56916         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
56917         New file.
56918         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
56919         file.
56921 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
56923         * conform/conformtest.pl: Fix typo in handling typed-constant from
56924         allow-header.
56926 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
56928         * README: Cut down references to pre-2.6 Linux kernels and
56929         Linuxthreads.  Update lists of configurations in libc and ports
56930         and sort alphabetically.  Say "or newer" with Linux kernel version
56931         requirements.
56933         * config.h.in [IS_IN_build]: Allow compiling without optimization.
56935 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56937         [BZ #887]
56938         * math/libm-test.inc (logb_test_downward): New test to expose
56939         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
56940         rounding mode.
56942 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
56944         [BZ #14027]
56945         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
56946         to be done.
56947         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
56948         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
56950 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
56952         * sysdeps/unix/i386/brk.S: Remove file.
56953         * sysdeps/unix/i386/dl-brk.S: Likewise.
56954         * sysdeps/unix/i386/pipe.S: Likewise.
56955         * sysdeps/unix/i386/sigreturn.S: Likewise.
56956         * sysdeps/unix/i386/syscall.S: Likewise.
56957         * sysdeps/unix/i386/vfork.S: Likewise.
56958         * sysdeps/unix/i386/wait.S: Likewise.
56960         * sysdeps/unix/common/tcsendbrk.c: Move to ...
56961         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
56963         * configure.in (arm*-none*): Do not allow without
56964         --enable-hacker-mode.
56965         (netbsd*): Remove case setting base_os.
56966         (386bsd*): Likewise.
56967         (freebsd*): Likewise.
56968         (bsdi*): Likewise.
56969         (osf*): Likewise.
56970         (sunos*): Likewise.
56971         (ultrix*): Likewise.
56972         (newsos*): Likewise.
56973         (dynix*): Likewise.
56974         (*bsd*): Likewise.
56975         (sysv*): Likewise.
56976         (isc*): Likewise.
56977         (esix*): Likewise.
56978         (sco*): Likewise.
56979         (minix*): Likewise.
56980         (irix4*): Likewise.
56981         (irix6*): Likewise.
56982         (solaris[2-9]*): Likewise.
56983         (none): Likewise.
56984         * configure: Regenerated.
56986 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56988         [BZ #11521]
56989         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
56990         overflow or cancellation in calculating denominator.
56991         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
56992         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
56993         down expression to avoid unexpected rounding in newer GCCs.
56994         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
56996 2012-04-26  David S. Miller  <davem@davemloft.net>
56998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
56999         long-double compat symbols.
57000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
57001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
57002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
57003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
57004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
57005         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
57006         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
57007         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
57008         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
57009         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
57010         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
57011         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
57012         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
57014 2012-04-25  David S. Miller  <davem@davemloft.net>
57016         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
57017         HWCAP_* values only after the memory barriers have been defined.
57018         (atomic_full_barrier): Define.
57019         (atomic_read_barrier): Define.
57020         (atomic_write_barrier): Define.
57022 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
57024         * shlib-versions: Add libgcc_s version information.
57025         * sysdeps/generic/libgcc_s.h: Remove.
57026         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
57027         libgcc_s.h.
57028         * sysdeps/gnu/unwind-resume.c: Likewise.
57029         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
57031 2012-04-25  David S. Miller  <davem@davemloft.net>
57033         * sysdeps/unix/sparc/brk.S: Delete.
57034         * sysdeps/unix/sparc/dl-brk.S: Delete.
57035         * sysdeps/unix/sparc/pipe.S: Delete.
57036         * sysdeps/unix/sparc/sysdep.S: Delete.
57037         * sysdeps/unix/sparc/sysdep.h: Delete.
57038         * sysdeps/unix/sparc/vfork.S: Delete.
57039         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
57040         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
57041         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
57042         (ret_ERRVAL, r0, r1, MOVE): Define.
57043         (JUMPTARGET): Remove.
57044         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
57045         sysdeps/unix/sparc/sysdep.h
57046         (ENTRY, END): Remove.
57047         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57049 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
57051         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
57052         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
57053         -DIS_IN_build.
57055         * timezone/README: Update upstream location and email address for
57056         tzcode and tzdata.
57057         * timezone/zdump.c: Update from tzcode 2012b.
57058         * timezone/zic.c: Likewise.
57060         * configure.in (libc_cv_as_needed): Remove test.
57061         * configure: Regenerated.
57062         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
57063         conditional definition.
57064         [$(have-as-needed) != yes] (no-as-needed): Likewise.
57065         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
57066         * config.make.in (have-as-needed): Remove variable.
57068 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
57069             Paul Pluzhnikov  <ppluzhnikov@google.com>
57071         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
57072         strings correctly.
57074 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
57076         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
57077         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
57078         * sysdeps/sh/strlen.S: Likewise.
57080 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
57082         * sysdeps/unix/fork.S: Remove file.
57083         * sysdeps/unix/i386/fork.S: Likewise.
57084         * sysdeps/unix/sparc/fork.S: Likewise.
57086         * sysdeps/unix/system.c: Remove file.
57087         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
57089         * sysdeps/unix/getegid.S: Remove file.
57090         * sysdeps/unix/geteuid.S: Likewise.
57092 2012-04-24  Roland McGrath  <roland@hack.frob.com>
57094         * scripts/check-localplt.awk: New file.
57095         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
57096         of diff.
57097         * scripts/data/localplt-generic.data: Add a comment.
57099         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
57100         NODE when __dir_mkfile failed.
57101         * sysdeps/mach/hurd/symlinkat.c: Likewise.
57102         Reported by Ludovic Courtès <ludo@gnu.org>.
57104 2012-04-24  Andreas Jaeger  <aj@suse.de>
57106         * Makerules (common-clean): Also remove gen-as-const-headers
57107         files.
57109 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
57111         * Makerules (native-compile): Do not change working directory for
57112         build.  Use $(OUTPUT_OPTION) in command.
57113         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
57115 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57117         [BZ #13886]
57118         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
57119         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
57120         * math/libm-test.inc (floor_test): Add more tests.
57121         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
57123 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
57125         * sysdeps/unix/getdents.c: Remove file.
57126         * sysdeps/unix/sysv/getdents.c: Likewise.
57127         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
57129         * sysdeps/unix/syscalls.list (madvise): Add syscall from
57130         sysdeps/unix/mman/syscalls.list.
57131         (mmap): Likewise.
57132         (mprotect): Likewise.
57133         (msync): Likewise.
57134         (munmap): Likewise.
57135         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
57136         * sysdeps/unix/mman/syscalls.list: Remove.
57137         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
57139         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
57140         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
57141         * configure: Regenerated.
57142         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
57143         $(libgcc_s_suffix).
57144         * config.make.in (libgcc_s_suffix): Remove variable.
57146 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
57148         * sysdeps/unix/sysv/gethostname.c: Move to ...
57149         * sysdeps/posix/gethostname.c: ... here.
57151         * sysdeps/unix/execve.S: Remove file.
57153         * sysdeps/unix/_exit.S: Remove file.
57155 2012-04-23  Andreas Jaeger  <aj@suse.de>
57157         [BZ #13739]
57158         * manual/Makefile: Remove make dist support, there's no
57159         need for a stand-alone documentation tar ball.
57160         (TEXI2DVI): Define always, it's not in Makeconfig.
57161         (dist): Removed.
57162         (tar-it): Removed.
57163         (edition): Removed.
57164         (glibc-doc-$(edition).tar): Removed
57165         (%.Z): Removed.
57166         (%.gz): Removed.
57167         (%.uu): Removed.
57168         (ETAGS): Remove, it's in Makeconfig.
57169         (move-if-change): Remove, it's in Makeconfig.
57171 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
57173         [BZ #13970]
57174         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
57175         (strtod, strtof, strtold, strtol, strtoul, strtoq)
57176         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
57177         (strtod_l, strtof_l, strtold_l): Remove __wur.
57178         It is not necessarily an error to ignore strtol's return value.
57179         One can reliably look at the stored endptr to decide whether
57180         the number had valid syntax.
57182 2012-04-21  Andreas Jaeger  <aj@suse.de>
57184         [BZ #13739]
57185         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
57187 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
57189         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
57190         * sysdeps/unix/sysv/Versions: Remove file.
57192 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
57194         [BZ #13927]
57195         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57197 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
57199         [BZ #7064]
57200         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
57201         version from __vm86.
57203 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
57205         * sysdeps/unix/common/lxstat.c: Remove file.
57206         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
57208         * sysdeps/unix/sysv/Makefile: Remove file.
57210         * sysdeps/unix/sysv/direct.h: Remove file.
57212         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
57213         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
57214         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
57215         * sysdeps/unix/sysv/bits/signum.h: Likewise.
57216         * sysdeps/unix/sysv/bits/stat.h: Likewise.
57217         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
57218         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
57220         * sysdeps/unix/sysv/setrlimit.c: Remove file.
57222         * sysdeps/unix/xmknod.c: Remove file.
57223         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
57225         * sysdeps/unix/sysv/settimeofday.c: Remove file.
57227         * sysdeps/unix/sysv/i386/time.S: Remove file.
57229         * sysdeps/unix/fxstat.c: Remove file.
57230         * sysdeps/unix/xstat.c: Likewise.
57231         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
57233         * sysdeps/unix/sysv/sigaction.c: Remove file.
57235         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
57236         (sysdep_headers): Remove variable.
57237         [termio.h not in sysdep_headers] (generated): Likewise.
57238         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
57239         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
57240         * sysdeps/unix/sysv/tcdrain.c: Likewise.
57241         * sysdeps/unix/sysv/tcflow.c: Likewise.
57242         * sysdeps/unix/sysv/tcflush.c: Likewise.
57243         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
57244         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
57245         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
57246         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
57247         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
57249         * sysdeps/unix/siglist.c: Remove file.
57251         * sysdeps/unix/getppid.S: Remove file.
57253         * sysdeps/unix/mkdir.c: Remove file.
57254         * sysdeps/unix/rmdir.c: Likewise.
57256 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
57258         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
57259         ERR_MAX value.
57260         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
57261         errlist-compat value.
57263 2012-04-18  David S. Miller  <davem@davemloft.net>
57265         * sysdeps/generic/memcopy.h (reg_char): Delete.
57266         * debug/strcat_chk.c: Use char, not reg_char.
57267         * debug/strcpy_chk.c: Likewise.
57268         * debug/strncat_chk.c: Likewise.
57269         * debug/strncpy_chk.c: Likewise.
57270         * string/memchr.c: Likewise.
57271         * string/memrchr.c: Likewise.
57272         * string/rawmemchr.c: Likewise.
57273         * string/strcat.c: Likewise.
57274         * string/strchr.c: Likewise.
57275         * string/strchrnul.c: Likewise.
57276         * string/strcmp.c: Likewise.
57277         * string/strcpy.c: Likewise.
57278         * string/strncat.c: Likewise.
57279         * string/strncmp.c: Likewise.
57280         * string/strncpy.c: Likewise.
57282 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
57284         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
57285         __builtin_memcopy is called when src and dest ranges are known to not
57286         overlap.
57288 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
57290         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
57291         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
57292         fwd_align_merge macro call.
57293         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
57294         bwd_align_merge macro call.
57295         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
57297 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
57299         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
57300         bwd_align_merge macros.
57301         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
57302         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
57303         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
57305 2012-04-18  David S. Miller  <davem@davemloft.net>
57307         * sysdeps/sparc/sparc64/memcopy.h: Delete.
57309 2012-04-18  Andreas Jaeger  <aj@suse.de>
57311         [BZ# 6794]
57312         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
57313         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
57314         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
57316         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
57317         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
57318         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
57320         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
57321         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
57322         Adjust for changed ldbl-128 files.
57324         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
57325         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
57326         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
57328 2012-04-17  David S. Miller  <davem@davemloft.net>
57330         * sysdeps/sparc/sparc32/memcopy.h: Delete.
57332 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
57334         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
57335         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
57336         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
57337         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
57338         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
57339         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
57341 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57343         [BZ #6794]
57344         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
57345         * math/libm-test.inc: Add ilogb errno and exception tests.
57346         * math/w_ilogb.c: New file: ilogb wrapper.
57347         * math/w_ilogbf.c: New file: ilogbf wrapper.
57348         * math/w_ilogbl.c: New file: ilogbl wrapper.
57349         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
57350         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
57351         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
57352         exception being thrown with 0.0 as argument.
57353         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
57354         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
57355         exception being thrown with 0.0 as argument.
57356         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
57357         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
57358         exception being thrown with 0.0 as argument.
57359         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
57360         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
57361         exception being thrown with 0.0 as argument.
57362         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
57363         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
57364         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
57365         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
57366         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
57367         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
57368         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
57369         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
57370         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
57372 2012-04-17  Petr Baudis  <pasky@ucw.cz>
57374         * include/sys/uio.h: Change __vector to __iovec to avoid clash
57375         with altivec.
57377 2012-04-16  Marek Polacek  <polacek@redhat.com>
57379         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
57381 2012-04-16  Marek Polacek  <polacek@redhat.com>
57383         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
57384         operands of fdivp instruction.
57386 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
57388         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
57389         * elf/tst-auditmod3b.c: Likewise.
57390         * elf/tst-auditmod4b.c: Likewise.
57391         * elf/tst-auditmod5b.c: Likewise.
57392         * elf/tst-auditmod6b.c: Likewise.
57393         * elf/tst-auditmod6c.c: Likewise.
57394         * elf/tst-auditmod7b.c: Likewise.
57395         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
57396         * sysdeps/x86_64/preconfigure.in: Likewise.
57397         * sysdeps/x86_64/preconfigure: Regenerated.
57399 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
57401         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
57402         __ILP32__.
57404 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
57406         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57407         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
57409 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
57411         [BZ #13973]
57412         * locale/iso-639.def: Fix gl language name. Spotted by
57413         Yaron Shahrabani.
57415 2012-04-12  Roland McGrath  <roland@hack.frob.com>
57417         [BZ #2074]
57418         * libio/libio.h (__io_write_fn): Update comment.
57420 2012-04-12  Petr Baudis  <pasky@ucw.cz>
57422         [BZ #2074]
57423         * stdio.texi (Hook Functions): The user provided writer function
57424         is not allowed to return -1.
57426 2012-04-11  David S. Miller  <davem@davemloft.net>
57428         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57430 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
57432         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
57433         Add a leading slash to rtkaio.
57435 2012-04-11  Jim Meyering  <meyering@redhat.com>
57437         [BZ #11959]
57438         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
57439         It is not necessarily an error to ignore fwrite's return
57440         value.  One can reliably use ferror to test for errors after
57441         the fact.
57443 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
57445         * bits/types.h (__snseconds_t): New type.
57446         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
57448         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
57449         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57450         (__SNSECONDS_T_TYPE): Likewise.
57451         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57452         (__SNSECONDS_T_TYPE): Likewise.
57453         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57454         (__SNSECONDS_T_TYPE): Likewise.
57456 2012-04-10  Andreas Jaeger  <aj@suse.de>
57458         [BZ #2636]
57459         * manual/time.texi (Processor Time): Return type of times is
57460         elapsed real time since an arbitrary point in the past.
57461         (CPU Time): Move CLK_TCK from here...
57462         (Processor Time): ...to here.  Correct description.
57463         * manual/conf.texi (Constants for Sysconf): Correct description of
57464         _SC_CLK_TCK.
57466 2012-04-10  David S. Miller  <davem@davemloft.net>
57468         [BZ #13967]
57469         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
57470         where the is a gap between DT_REL(A) and DT_JMPREL.
57472 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
57474         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
57475         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
57476         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
57478 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
57480         * elf/dl-support.c (_dl_inhibit_cache): New variable.
57481         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
57482         (dl_main): Handle --inhibit-cache.
57483         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
57484         _dl_inhibit_cache.
57485         * elf/dl-load.c (_dl_map_object): Use it.
57486         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
57488 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
57490         [BZ #13872]
57491         * sysdeps/i386/fpu/e_powl.S (p78): New object.
57492         (__ieee754_powl): Saturate large exponents rather than testing for
57493         overflow of y*log2(x).
57494         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57495         * math/libm-test.inc (pow_test): Do not permit spurious overflow
57496         exceptions.
57498         [BZ #11521]
57499         * math/s_ctan.c: Include <float.h>.
57500         (__ctan): Avoid internal overflow or cancellation in calculating
57501         denominator.
57502         * math/s_ctanf.c: Likewise.
57503         * math/s_ctanl.c: Likewise.
57504         * math/s_ctanh.c: Likewise.
57505         * math/s_ctanhf.c: Likewise.
57506         * math/s_ctanhl.c: Likewise.
57507         * math/libm-test.inc (ctan_test): Add more tests.
57508         (ctanh_test): Likewise.
57509         * sysdeps/i386/fpu/libm-test-ulps: Update.
57510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57512 2012-04-09  Andreas Jaeger  <aj@suse.de>
57514         [BZ #6894]
57515         * manual/filesys.texi (Directory Entries): Mention that d_namlen
57516         is an optional BSD extension.
57518         [BZ #10254]
57519         * manual/stdio.texi (Opening Streams): Document additional fopen
57520         parameters.
57522 2012-04-09  Roland McGrath  <roland@hack.frob.com>
57524         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
57525         %eax without telling the compiler.
57527 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
57529         [BZ # 13963]
57530         * manual/install.texi: Use sourceware.org.
57532 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
57534         [BZ #13873]
57535         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
57536         (__ieee754_pow): Generate overflow and underflow using huge*huge
57537         and tiny*tiny rather than just returning constant infinity or zero
57538         for large exponents.
57539         * math/libm-test.inc (pow_test): Require overflow exceptions for
57540         applicable cases of large exponents.
57542         [BZ #706]
57543         * sysdeps/i386/fpu/e_pow.S (p10): New object.
57544         (__ieee754_pow): Use iterative multiplication algorithm only for
57545         integer exponents with absolute value below 1024.  Check for odd
57546         integer exponents when using algorithm for real exponents.
57547         * math/libm-test.inc (pow_test): Add more tests.
57548         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57550 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
57552         [BZ #13705]
57553         * math/libm-test.inc (exp_test): Do not allow overflow exception
57554         on underflow test.
57556 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
57558         [BZ #13705]
57559         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
57560         instead of __kernel_standard_f.
57562 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
57564         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
57565         * sysdeps/x86_64/memset_chk.S: Likewise.
57567 2012-04-08  Andreas Jaeger  <aj@suse.de>
57569         [BZ #10153]
57570         * manual/startup.texi (Environment Access): Describe return value
57571         for putenv and setenv.
57573         [BZ #6895]
57574         * manual/filesys.texi (Directory Entries): Add description for
57575         DT_LNK.
57577         [BZ #6890]
57578         * manual/filesys.texi (Directory Entries): Clarify that it's file
57579         system not operating system in the description of DT_UNKNOWN.
57581         [BZ #6578]
57582         * manual/syslog.texi (closelog): Fix reference, it's openlog.
57584 2012-04-08  Stephen Compall  <s11@member.fsf.org>
57586         [BZ #6649]
57587         * manual/llio.texi (Opening and Closing Files): Add cross
57588         reference to explain mode argument.
57590 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
57592         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
57593         * sysdeps/x86_64/memset_chk.S: Likewise.
57595 2012-04-07  David S. Miller  <davem@davemloft.net>
57597         * elf/elf.h (R_SPARC_WDISP10): Define.
57598         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
57599         R_SPARC_SIZE32.
57600         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
57601         R_SPARC_SIZE64 and R_SPARC_H34.
57603 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
57605         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
57606         conditions and remove no longer applicable assertion.
57608 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
57610         * bits/byteswap.h: Include <features.h>.
57611         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
57612         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
57614 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
57616         * bits/byteswap.h (__bswap_16): Removed.
57617         Include <bits/byteswap-16.h> to get __bswap_16.
57618         * sysdeps/i386/bits/byteswap.h: Likewise.
57619         * sysdeps/s390/bits/byteswap.h: Likewise.
57620         * sysdeps/x86_64/bits/byteswap.h: Likewise.
57621         * bits/byteswap-16.h: New file.
57622         * sysdeps/i386/bits/byteswap-16.h: Likewise.
57623         * sysdeps/s390/bits/byteswap-16.h: Likewise.
57624         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
57625         * string/Makefile (headers): Add bits/byteswap-16.h.
57627 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
57629         [BZ #13895]
57630         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
57631         extra indirection.
57632         * nss/Makefile (tests-static, tests): Add tst-nss-static.
57633         * nss/tst-nss-static.c: New.
57635 2012-04-06  Robert Millan  <rmh@gnu.org>
57637         [BZ #6486]
57638         * manual/llio.texi (File Position Primitive): lseek
57639         refers to WHENCE when it really means OFFSET.
57641 2012-04-06  Andreas Jaeger  <aj@suse.de>
57643         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
57644         strncmp declarations.
57646         * abilist/libc.abilist: Add __poll and __ppoll.
57648 2012-04-05  David S. Miller  <davem@davemloft.net>
57650         * scripts/check-local-headers.sh: Accept a host triplet in the
57651         path matched by the exclude regexp.
57653         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
57654         definition.
57655         * sysdeps/powerpc/powerpc32/dl-machine.h
57656         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
57657         * sysdeps/s390/s390-32/dl-machine.h
57658         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
57659         * sysdeps/sparc/sparc32/dl-machine.h
57660         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
57661         * sysdeps/sparc/sparc64/dl-machine.h
57662         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
57664         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
57665         lazy binding.
57666         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
57667         undefined symbol errors.
57669         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
57670         DT_NEEDED entries.
57672 2012-04-05  Michael Matz  <matz@suse.de>
57674         [BZ #13592]
57675         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
57677 2012-04-05  Andreas Jaeger  <aj@suse.de>
57679         [BZ #13908]
57680         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
57681         comment.
57683 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
57685         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
57686         which ROUND is no valid rounding mode.
57688 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
57690         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
57691         read again.
57692         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
57694 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
57696         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
57697         an exception using FPU order intentionally.
57699 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
57701         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
57702         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
57703         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
57704         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
57706 2012-04-05  Simon Josefsson  <simon@josefsson.org>
57708         [BZ #12340]
57709         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
57710         EINVAL when BUFLEN is too smal.
57712 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
57714         [BZ #13553]
57715         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
57716         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
57718 2012-04-03  Andreas Jaeger  <aj@suse.de>
57720         [BZ #13938]
57721         * manual/setjmp.texi (System V contexts): Fix sentence.
57723         [BZ #13926]
57724         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
57725         New macro for this case.
57726         [!__GNUC__] (__bswap_64): New inline function for this case.
57727         * sysdeps/x86_64/bits/byteswap.h: Likewise.
57728         * bits/byteswap.h: Likewise.
57729         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
57730         ull, guard with __GLIBC_HAVE_LONG_LONG.
57732         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
57733         __GLIBC_HAVE_LONG_LONG.
57735         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
57736         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
57738 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
57740         [BZ #13691]
57741         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
57742         inptr and inend, rather than using last_ch.
57744 2012-04-02  David S. Miller  <davem@davemloft.net>
57746         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
57747         * stdio-common/printf-parse.h (read_int): Change return type to
57748         'int', return -1 on INT_MAX overflow.
57749         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
57750         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
57751         overflows INT_MAX.  Check for overflow of in-format-string precision
57752         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
57753         SIZE_MAX not INT_MAX for integer overflow test.
57754         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
57755         skip the construct in the format string but do not record anything.
57756         * stdio-common/bug22.c: Adjust to test both width/prevision
57757         INT_MAX overflow as well as total length INT_MAX overflow.  Check
57758         explicitly for proper errno values.
57760 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
57762         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
57763         CHAR_MAX.
57764         * string/test-strcmp.c [! WIDE]: Likewise.
57765         * time/tst-mktime2.c: Likewise for INT_MAX.
57766         * string/test-string.h: #include <sys/param.h> for MIN.
57768         * csu/init-first.c (__libc_init_first): Call __ctype_init.
57769         * sysdeps/i386/init-first.c (init): Likewise.
57770         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
57771         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
57772         * sysdeps/sh/init-first.c (init): Likewise.
57774 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
57776         * po/ru.po: Update from translation team.
57777         * po/vi.po: Likewise.
57779 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
57781         * resolv/nss_dns/dns-host.c: Merge copyright years.
57783 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57785         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
57786         Optimize memcpy with prefetch if
57787         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
57788         src, dst pointers have unequal 16 byte alignments.
57790 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
57792         [BZ #13928]
57793         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
57794         from a CNAME entry and return the minimum ttl for the query.
57795         (gaih_getanswer_slice): Likewise.
57797 2012-03-30  Jeff Law  <law@redhat.com>
57799         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
57800         due to long keys.
57801         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
57802         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
57804         * resolv/nss_dns/dns-host.c: Update copyright year.
57806 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
57808         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
57809         requests to save a system call.  Fix check that all bytes are sent.
57811         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
57812         comments for sendmmsg.
57814 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57816         [BZ #13691]
57817         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
57818         with only 1 character between 0x0041 and 0x01b0.
57819         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
57820         * wcsmbs/tst-mbsnrtowcs.c: New file.
57822 2012-03-29  David S. Miller  <davem@davemloft.net>
57824         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
57825         small copies by hand.
57827 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57829         [BZ #13761]
57830         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
57831         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
57832         group memberships.
57834 2012-03-28  David S. Miller  <davem@davemloft.net>
57836         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
57837         that branches into memcpy.
57838         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
57839         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
57840         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
57841         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
57842         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
57843         bits.
57844         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
57845         implementation too.
57846         * sysdeps/sparc/mempcpy.S: New file.
57848         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
57849         the IFUNC routine in the libc case.
57850         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
57852         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
57853         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
57854         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
57855         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
57856         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
57857         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
57858         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
57859         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
57861         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
57862         loop to 256 bytes instead of 64 bytes and fix test signedness.
57864         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
57865         * sysdeps/sparc/sparc32/Makefile: rather than here...
57866         * sysdeps/sparc/sparc64/Makefile: and here.
57868 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
57870         * malloc/mallocbug.c: Avoid warnings about unused variables.
57872 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
57874         [BZ #13760]
57875         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
57876         in the right place. Discard and retry query if response is
57877         larger than input buffer size.
57879 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
57881         [BZ #369]
57882         [BZ #2678]
57883         [BZ #3866]
57884         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
57885         x for large integer exponent.
57886         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
57887         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
57888         sign of result as needed afterwards.
57889         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
57890         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
57891         result for underflowing pow the same as for overflow.
57892         (__kernel_standard_l): Handle powl overflow and underflow here
57893         rather than calling __kernel_standard.
57894         * math/libm-test.inc (pow_test): Add more tests.
57896         [BZ #3868]
57897         [BZ #13879]
57898         [BZ #13910]
57899         [BZ #13911]
57900         [BZ #13912]
57901         [BZ #13913]
57902         [BZ #13915]
57903         [BZ #13916]
57904         [BZ #13917]
57905         [BZ #13918]
57906         [BZ #13919]
57907         [BZ #13920]
57908         [BZ #13921]
57909         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
57910         * sysdeps/ieee754/k_standard.c: Include <float.h>.
57911         (__kernel_standard_l): New function.
57912         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
57913         __kernel_standard.
57914         * math/w_acosl.c (__acosl): Likewise.
57915         * math/w_asinl.c (__asinl): Likewise.
57916         * math/w_atan2l.c (__atan2l): Likewise.
57917         * math/w_atanhl.c (__atanhl): Likewise.
57918         * math/w_coshl.c (__coshl): Likewise.
57919         * math/w_exp10l.c (__exp10l): Likewise.
57920         * math/w_exp2l.c (__exp2l): Likewise.
57921         * math/w_fmodl.c (__fmodl): Likewise.
57922         * math/w_hypotl.c (__hypotl): Likewise.
57923         * math/w_j0l.c (__j0l, __y0l): Likewise.
57924         * math/w_j1l.c (__j1l, __y1l): Likewise.
57925         * math/w_jnl.c (__jnl, __ynl): Likewise.
57926         * math/w_lgammal.c (__lgammal): Likewise.
57927         * math/w_log10l.c (__log10l): Likewise.
57928         * math/w_log2l.c (__log2l): Likewise.
57929         * math/w_logl.c (__logl): Likewise.
57930         * math/w_powl.c (__powl): Likewise.
57931         * math/w_remainderl.c (__remainderl): Likewise.
57932         * math/w_scalbl.c (sysv_scalbl): Likewise.
57933         * math/w_sinhl.c (__sinhl): Likewise.
57934         * math/w_sqrtl.c (__sqrtl): Likewise.
57935         * math/w_tgammal.c (__tgammal): Likewise.
57936         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
57937         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
57938         * math/libm-test.inc (acos_test): Add more tests.
57939         (acosh_test): Likewise.
57940         (asin_test): Likewise.
57941         (atanh_test): Likewise.
57942         (exp_test): Likewise.
57943         (exp10_test): Likewise.
57944         (exp2_test): Likewise.
57945         (expm1_test): Likewise.
57946         (lgamma_test): Likewise.
57947         (log_test): Likewise.
57948         (log10_test): Likewise.
57949         (log1p_test): Likewise.
57950         (log2_test): Likewise.
57951         (pow_test): Do not allow some spurious overflow exceptions.
57952         (sqrt_test): Add more tests.
57953         (tgamma_test): Likewise.
57954         (y0_test): Likewise.
57955         (y1_test): Likewise.
57956         (yn_test): Likewise.
57958 2012-03-27  Anton Blanchard  <anton@samba.org>
57960         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
57961         MAP_HUGETLB.
57962         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
57963         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
57964         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
57966 2012-03-27  David S. Miller  <davem@davemloft.net>
57968         * conform/Makefile: Run run-conformtest.sh using $(BASH).
57970         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
57971         have-as-vis3 check.
57973 2012-03-27  Andreas Jaeger  <aj@suse.de>
57975         * sysdeps/x86_64/elf/configure.in: Moved to ...
57976         * sysdeps/x86_64/configure.in: ... here.
57977         * sysdeps/x86_64/elf/start.S: Moved to ...
57978         * sysdeps/x86_64/start.S: ... here.
57979         * sysdeps/x86_64/elf/configure: Delete.
57981         * sysdeps/x86_64/configure.in: Merge contents from
57982         sysdeps/i386/configure.in (without i686 check).
57984         * sysdeps/i386/elf/Versions: Merge into ...
57985         * sysdeps/i386/Versions: ... this.
57986         * sysdeps/i386/elf/Versions: Delete file.
57987         * sysdeps/i386/elf/start.S: Moved to ...
57988         * sysdeps/i386/start.S: ...here.
57989         * sysdeps/i386/elf/configure.in: Merge into...
57990         * sysdeps/i386/configure.in: ...here.
57991         * sysdeps/i386/elf/configure.in: Delete file.
57992         * sysdeps/i386/elf/configure: Delete file.
57994         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
57995         * debug/backtracesyms.c: ... here.
57996         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
57997         * debug/backtracesymsfd.c: ... here.
57998         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
57999         * sysdeps/generic/ifunc-sel.h: ... here.
58001         * sysdeps/unix/i386/start.c: Delete file.
58002         * sysdeps/unix/sparc/start.c: Delete file.
58003         * sysdeps/unix/start.c: Delete file.
58005         * sysdeps/sh/elf/configure.in: Moved to ...
58006         * sysdeps/sh/configure.in: ... here.
58007         * sysdeps/sh/elf/start.S: Moved to ...
58008         * sysdeps/sh/start.S: ... here.
58009         * sysdeps/sh/elf/configure: Delete file.
58011         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
58012         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
58013         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
58014         * sysdeps/powerpc/powerpc64/entry.h: ... here.
58015         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
58016         * sysdeps/powerpc/powerpc64/start.S: here.
58017         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
58018         * sysdeps/powerpc/powerpc64/Makefile: ... this.
58019         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
58020         * sysdeps/powerpc/powerpc64/configure.in: ... this.
58021         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
58023         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
58024         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
58025         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
58026         * sysdeps/powerpc/powerpc32/start.S: ... here.
58027         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
58028         * sysdeps/powerpc/powerpc32/configure.in: ... this.
58029         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
58031         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
58032         * sysdeps/powerpc/ifunc-sel.h: ... here.
58033         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
58034         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
58036         * sysdeps/sparc/elf/configure.in: Moved to ...
58037         * sysdeps/sparc/configure.in: ... here.
58038         * sysdeps/sparc/elf/configure: Delete file.
58039         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
58040         * sysdeps/sparc/sparc32/start.S: ... here.
58041         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
58042         * sysdeps/sparc/sparc64/start.S: ... here.
58043         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
58044         * sysdeps/sparc/sparc32/Makefile: ... this.
58045         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
58046         * sysdeps/sparc/sparc64/Makefile: ... this.
58048         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
58049         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
58050         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
58051         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
58052         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
58053         * sysdeps/s390/s390-32/setjmp.S: ... here.
58054         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
58055         * sysdeps/s390/s390-32/configure.in: ... here.
58056         * sysdeps/s390/s390-32/elf/configure: Delete file.
58057         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
58058         * sysdeps/s390/s390-32/start.S: ... here.
58060         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
58061         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
58062         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
58063         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
58064         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
58065         * sysdeps/s390/s390-64/setjmp.S: ... here.
58066         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
58067         * sysdeps/s390/s390-64/configure.in: ... here
58068         * sysdeps/s390/s390-64/elf/configure: Delete file.
58069         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
58070         * sysdeps/s390/s390-64/start.S: ... here.
58071         * sysdeps/s390/s390-64/elf/configure: Delete.
58073         * configure.in: Remove support for elf directories in sysdeps.
58075         * configure: Regenerated.
58076         * sysdeps/i386/configure: Regenerated.
58077         * sysdeps/powerpc/powerpc32/configure: Regenerated.
58078         * sysdeps/powerpc/powerpc64/configure: Regenerated.
58079         * sysdeps/s390/s390-32/configure: Regenerated.
58080         * sysdeps/s390/s390-64/configure: Regenerated.
58081         * sysdeps/sh/configure: Regenerated.
58082         * sysdeps/sparc/configure: Regenerated.
58083         * sysdeps/x86_64/configure: Regenerated.
58085 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
58087         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58089         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
58090         denormal result into account.
58092 2012-03-25  Roland McGrath  <roland@hack.frob.com>
58094         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
58095         Reported by Allan McRae <allan@archlinux.org>.
58097 2012-03-23  Jeff Law  <law@redhat.com>
58099         * nss/getnssent.c (__nss_getent): Fix typo.
58101 2012-03-23  David S. Miller  <davem@davemloft.net>
58103         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58105 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
58107         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
58108         to pad to uint64_t for each field.
58109         (dl_tls_index): Replace unsigned long with uint64_t.
58111 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
58112         Paul Pluzhnikov  <ppluzhnikov@google.com>
58114         [BZ #6528]
58115         * grp/Makefile (otherlibs): Don't set it.
58116         * inet/Makefile (otherlibs): Likewise.
58117         * login/Makefile (otherlibs): Likewise.
58118         * nscd/Makefile (otherlibs): Likewise.
58119         * posix/Makefile (otherlibs): Likewise.
58120         * pwd/Makefile (otherlibs): Likewise.
58121         * rt/Makefile (otherlibs): Likewise.
58122         * sunrpc/Makefile (otherlibs): Likewise.
58123         * nss/Makefile (otherlibs): Likewise.
58124         Add libnss_files to routines and static-only-routines.
58125         ($(objpfx)getent): Remove rule.
58126         * resolv/Makefile: Add libnss_dns and libresolv to routines and
58127         static-only-routines.
58129 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
58131         [BZ #13892]
58132         * math/s_cexp.c: Include <float.h>.
58133         (__cexp): Handle exp result overflowing not necessarily
58134         overflowing both real and imaginary parts of result.
58135         * math/s_cexpf.c: Likewise.
58136         * math/s_cexpl.c: Likewise.
58137         * math/libm-test.inc (cexp_test): Add more tests.
58138         * sysdeps/i386/fpu/libm-test-ulps: Update.
58139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58141 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
58143         * include/link.h (ELFW): New macro.
58144         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
58145         Replace ELF64_R_TYPE with ELFW(R_TYPE).
58147 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
58149         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
58150         with uint64_t.
58152 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
58154         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
58155         declaration.
58156         (struct La_x32_retval): Likewise.
58158 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
58160         * sysdeps/x86_64/preconfigure.in: New file.
58161         * sysdeps/x86_64/preconfigure: New generated file.
58163 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
58165         [BZ #13824]
58166         * math/e_exp2l.c: Include <float.h>.
58167         (__ieee754_exp2l): Handle overflow and underflow cases
58168         separately.  Only pass fractional part of argument to
58169         __ieee754_expl.
58170         * math/libm-test.inc (exp2_test): Add more tests.
58172         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
58173         negating x to take absolute value.
58174         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
58175         Likewise.
58176         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
58177         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
58178         Likewise.
58179         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
58180         computing low part if x was negated.
58181         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
58183 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
58185         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
58186         la_x32_gnu_pltexit.
58187         (pltexit): Cast int_retval to ptrdiff_t.
58188         * elf/tst-auditmod3b.c: Likewise.
58189         * elf/tst-auditmod4b.c: Likewise.
58190         * elf/tst-auditmod5b.c: Likewise.
58191         * elf/tst-auditmod6b.c: Likewise.
58192         * elf/tst-auditmod6c.c: Likewise.
58193         * elf/tst-auditmod7b.c: Likewise.
58195         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
58196         and x32_gnu_pltexit.
58198         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
58199         __ELF_NATIVE_CLASS.
58200         (La_x32_regs): New macro.
58201         (La_x32_retval): Likewise.
58202         (la_x32_gnu_pltenter): New function prototype.
58203         (la_x32_gnu_pltexit): Likewise.
58205 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
58207         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
58208         exponent.
58210         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58212         * configure.in (libc_cv_cc_nofma): Check for option to disable
58213         generation of FMA instructions.
58214         * configure: Regenerate.
58215         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
58216         * sysdeps/ieee754/dbl-64/Makefile: New file.
58217         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
58218         Remove brandred-fma4.
58219         (CFLAGS-brandred-fma4.c): Remove.
58220         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
58221         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
58222         define.
58223         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
58224         define.
58226 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
58228         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
58229         LLONG_MAX != LONG_MAX.
58230         (_itoa_word): Use _ITOA_WORD_TYPE on value.
58231         (_fitoa_word): Likewise.
58232         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
58233         LLONG_MAX != LONG_MAX.
58234         * stdio-common/_itowa.h: Include <_itoa.h>.
58235         (_itowa_word): Use _ITOA_WORD_TYPE on value.
58236         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
58237         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
58238         only if not defined.
58239         (_ITOA_WORD_TYPE): Likewise.
58240         (_itoa_word): Use _ITOA_WORD_TYPE on value.
58241         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
58243 2012-03-21  David S. Miller  <davem@davemloft.net>
58245         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58247 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
58249         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
58250         of x86_64 when setting libc_cv_slibdir, libdir and
58251         libc_cv_localedir.
58252         * sysdeps/unix/sysv/linux/configure: Regenerated.
58254 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
58256         * manual/lang.texi (Old Varargs): Remove section.
58257         (How Variadic): Update menu.
58258         (va_start): Do not mention varargs.h.
58260 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
58261             Joseph Myers  <joseph@codesourcery.com>
58263         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
58264         link test.
58265         * configure: Regenerated.
58267 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
58269         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
58270         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
58271         conformtest.pl
58273 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
58275         * NOTES: Remove.
58276         * Makefile (files-for-dist): Remove NOTES.
58277         (NOTES): Remove rule.
58278         * README: Don't refer to NOTES.
58279         * manual/creature.texi: Don't include macros.texi.
58280         * manual/intro.texi (creature.texi): Remove comment referring to
58281         NOTES.
58283         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
58284         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
58285         * configure: Regenerated.
58286         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
58287         LIBC_TRY_CC_OPTION.
58288         (libc_cv_as_i686): Likewise.
58289         (libc_cv_cc_avx): Likewise.
58290         (libc_cv_cc_sse2avx): Likewise.
58291         (libc_cv_cc_fma4): Likewise.
58292         (libc_cv_cc_novzeroupper): Likewise.
58293         * sysdeps/i386/configure: Regenerated.
58295         [BZ #13883]
58296         * sysdeps/i386/fpu/s_cexp.S: Remove.
58297         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
58298         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
58299         * math/libm-test.inc (cexp_test): Add more tests.
58300         * sysdeps/i386/fpu/libm-test-ulps: Update.
58301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58303 2012-03-21  Allan McRae  <allan@archlinux.org>
58305         * timezone/Makefile: Do not install iso3166.tab and zone.tab
58307 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
58309         [BZ #13871]
58310         * math/w_exp2.c: Do not include <float.h>.
58311         (o_threshold, u_threshold): Remove.
58312         (__exp2): Calculate result before checking finiteness and calling
58313         __kernel_standard.
58314         * math/w_exp2f.c: Likewise.
58315         * math/w_exp2l.c: Likewise.
58316         * math/libm-test.inc (exp2_test): Require overflow exception for
58317         1e6 input.
58319         [BZ #3866]
58320         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
58321         range of signed 64-bit integers before using fistpll.  Remove
58322         checks for whether integers fit in mantissa bits.
58323         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
58324         the range of signed 32-bit integers before using fistpl.  Remove
58325         checks for whether integers fit in mantissa bits.
58326         * sysdeps/i386/fpu/e_powl.S (p64): New object.
58327         (__ieee754_powl): Test for y outside the range of signed 64-bit
58328         integers before using fistpll.  Reduce 64-bit values to 63-bit
58329         ones as needed.
58330         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
58331         divide-by-zero is raised for zero to large negative powers.
58332         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
58333         (__ieee754_powl): Test for y outside the range of signed 64-bit
58334         integers before using fistpll.  Reduce 64-bit values to 63-bit
58335         ones as needed.
58336         * math/libm-test.inc (pow_test): Add more tests.
58338 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
58340         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
58341         <stdio-common/_itoa.h>.
58342         * debug/segfault.c: Likewise.
58343         * elf/dl-cache.c: Likewise.
58344         * elf/dl-minimal.c: Likewise.
58345         * elf/dl-misc.c: Likewise.
58346         * elf/dl-sysdep.c: Likewise.
58347         * elf/dl-version.c: Likewise.
58348         * elf/rtld.c: Likewise.
58349         * hurd/hurdsock.c: Likewise.
58350         * hurd/lookup-retry.c: Likewise.
58351         * malloc/malloc.c: Likewise.
58352         * malloc/mtrace.c: Likewise.
58353         * nscd/nscd_getgr_r.c: Likewise.
58354         * nscd/nscd_getpw_r.c: Likewise.
58355         * nscd/nscd_getserv_r.c: Likewise.
58356         * posix/getopt_init.c: Likewise.
58357         * posix/wordexp.c: Likewise.
58358         * stdio-common/_itoa.c: Likewise.
58359         * stdio-common/printf_fphex.c: Likewise.
58360         * stdio-common/vfprintf.c: Likewise.
58361         * string/_strerror.c: Likewise.
58362         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
58363         * sysdeps/i386/i686/hp-timing.h: Likewise.
58364         * sysdeps/mach/_strerror.c: Likewise.
58365         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
58366         * sysdeps/mach/hurd/sethostid.c: Likewise.
58367         * sysdeps/mach/hurd/xmknodat.c: Likewise.
58368         * sysdeps/mach/xpg-strerror.c: Likewise.
58369         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
58370         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
58371         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
58372         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
58373         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
58374         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
58375         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
58376         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
58377         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
58378         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
58379         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
58380         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
58381         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
58382         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
58383         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
58384         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
58385         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
58386         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
58387         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
58388         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
58389         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
58391         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
58393         * stdio-common/_itoa.h: Moved to ...
58394         * sysdeps/generic/_itoa.h: Here.
58396         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
58398         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
58399         instead of "_itoa.h" and "_itowa.h".
58400         * stdio-common/vfprintf.: Likewise.
58402 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
58404         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
58405         <bits/wordsize.h>.
58406         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
58407         (__signbit): Likwise.
58408         (llrintf): Likwise.
58409         (llrint): Likwise.
58411 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
58413         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
58414         __WORDSIZE != 64.
58416 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
58418         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
58419         OVERFLOW_EXCEPTION_OK.
58420         * math/libm-test.inc ("Philosophy"): Update comment about
58421         exception testing.
58422         (OVERFLOW_EXCEPTION): Define.
58423         (OVERFLOW_EXCEPTION_OK): Likewise.
58424         (INVALID_EXCEPTION_OK): Renumber.
58425         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
58426         (IGNORE_ZERO_INF_SIGN): Likewise.
58427         (test_exceptions): Handle FE_OVERFLOW.
58428         (exp10_test): Expect overflow exceptions.
58429         (exp2_test): Likewise.
58430         (expm1_test): Likewise.
58431         (nextafter_test): Likewise.
58432         (pow_test): Likewise.
58433         (scalbn_test): Likewise.
58434         (scalbln_test): Likewise.
58436 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
58438         * sysdeps/x86_64/bits/atomic.h
58439         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
58440         64bit integer.
58441         (atomic_exchange_acq): Likewise.
58442         (__arch_exchange_and_add_body): Likewise.
58443         (__arch_add_body): Likewise.
58444         (atomic_add_negative): Likewise.
58445         (atomic_add_zero): Likewise.
58447 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
58449         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
58450         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
58452 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
58454         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
58455         Check __x86_64__ instead of __WORDSIZE.
58457 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
58459         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
58461 2012-03-19  David S. Miller  <davem@davemloft.net>
58463         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58465         * sysdeps/sparc/fpu/fenv_private.h: New file.
58466         * sysdeps/sparc/fpu/math_private.h: Use it.
58467         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
58468         Remove.
58469         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
58470         (libc_feholdexcept_setroundl): Remove.
58471         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
58472         Remove.
58473         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
58474         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
58476 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
58478         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
58479         int64_t instead of long int.
58480         (INSERT_WORDS64): Likwise.
58482 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
58484         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
58485         _Unwind_GetCFA return to _Unwind_Ptr first.
58487 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
58489         [BZ #13629]
58490         * math/s_clog.c: Include <float.h>.
58491         (__clog): Scale large or subnormal inputs.
58492         * math/s_clogf.c: Likewise.
58493         * math/s_clogl.c: Likewise.
58494         * math/s_clog10.c: Include <float.h>.
58495         (M_LOG10_2): Define.
58496         (__clog10): Scale large or subnormal inputs.
58497         * math/s_clog10f.c: Likewise.
58498         * math/s_clog10l.c: Likewise.
58499         * math/libm-test.inc (clog_test): Add more tests.
58500         (clog10_test): Likewise.
58501         * sysdeps/i386/fpu/libm-test-ulps: Update.
58502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58504         [BZ #11451]
58505         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
58506         x and y.
58507         * math/libm-test.inc (atan2_test): Add another test.
58509         * Makerules (common-objdir-compile): Remove.
58510         * sysdeps/unix/Makefile (config-generated): Do not add
58511         $(unix-generated) to variable.
58512         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
58513         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
58514         Remove rule.
58515         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
58516         Likewise.
58517         [generic bits/local_lim.h] (before-compile): Do not append to
58518         variable.
58519         [generic bits/local_lim.h] (common-generated): Likewise.
58520         [generic sys/param.h] (before-compile): Do not append to variable.
58521         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
58522         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
58523         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
58524         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
58525         include.
58526         [generic sys/param.h] (sys/param.h-includes): Remove variable.
58527         [generic sys/param.h] (sys/param.h-includes): Remove rule.
58528         [generic sys/param.h] ($(addprefix
58529         $(common-objpfx),$(sys/param.h-includes))): Likewise.
58530         [generic sys/param.h] (common-generated): Do not append to
58531         variable.
58532         [generic sys/param.h] (sysdep_headers): Likewise.
58533         [generic bits/errno.h] (before-compile): Do not append to
58534         variable.
58535         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
58536         rule.
58537         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
58538         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
58539         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
58540         [generic bits/errno.h] (common-generated): Do not append to
58541         variable.
58542         [generic bits/ioctls.h] (before-compile): Do not append to
58543         variable.
58544         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
58545         rule.
58546         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
58547         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
58548         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
58549         rule.
58550         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
58551         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
58552         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
58553         [generic bits/ioctls.h] (common-generated): Do not append to
58554         variable.
58555         [generic sys/syscall.h] (syscall.h): Remove variable.
58556         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
58557         rule.
58558         [generic sys/syscall.h] (before-compile): Do not append to
58559         variable.
58560         [generic sys/syscall.h] (common-generated): Likewise.
58561         * sysdeps/unix/errnos-tmpl.c: Remove file.
58562         * sysdeps/unix/errnos.awk: Likewise.
58563         * sysdeps/unix/ioctls-tmpl.c: Likewise.
58564         * sysdeps/unix/ioctls.awk: Likewise.
58565         * sysdeps/unix/mk-local_lim.c: Likewise.
58566         * sysdeps/unix/snarf-ioctls: Likewise.
58568 2012-03-19  Richard Henderson  <rth@twiddle.net>
58570         * sysdeps/i386/fpu/fenv_private.h: New file.
58571         * sysdeps/i386/fpu/math_private.h: Use it.
58572         (math_opt_barrier, math_force_eval): Remove.
58573         (libc_feholdexcept_setround_53bit): Remove.
58574         (libc_feupdateenv_53bit): Remove.
58575         * sysdeps/x86_64/fpu/math_private.h: Likewise.
58576         (math_opt_barrier, math_force_eval): Remove.
58577         (libc_feholdexcept): Remove.
58578         (libc_feholdexcept_setround): Remove.
58579         (libc_fetestexcept, libc_fesetenv): Remove.
58580         (libc_feupdateenv_test): Remove.
58581         (libc_feupdateenv, libc_feholdsetround): Remove.
58582         (libc_feresetround): Remove.
58584         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
58585         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
58587         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
58588         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
58589         (libc_feupdateenv_testl): New.
58590         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
58591         (libc_feupdateenv_testf): New.
58592         (libc_feupdateenv): Use libc_feupdateenv_test.
58593         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
58594         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
58596         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
58597         (libc_feholdsetroundf, libc_feholdsetroundl): New.
58598         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
58599         (libc_feresetround_noex): New.
58600         (libc_feresetround_noexf): New.
58601         (libc_feresetround_noexl): New.
58602         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
58603         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
58604         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
58605         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
58606         SET_RESTORE_ROUND.
58607         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
58608         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
58609         (__cos): Likewise.
58610         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
58611         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
58612         SET_RESTORE_ROUND_NOEX.
58613         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
58614         SET_RESTORE_ROUND_NOEXF.
58615         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
58616         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
58617         (libc_feholdsetroundf): New.
58618         (libc_feresetround, libc_feresetroundf): New.
58620         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
58621         (libc_feholdexcept_setround_53bit): Convert from macro to function.
58622         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
58624         * sysdeps/generic/math_private.h: Include <fenv.h>.
58625         (default_libc_feholdexcept): New.
58626         (default_libc_feholdexcept_setround): New.
58627         (default_libc_fesetenv, default_libc_feupdateenv): New.
58628         (libc_feholdexcept): Only define if undefined.
58629         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
58630         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
58631         (libc_feholdexcept_setroundl): Likewise.
58632         (libc_feholdexcept_setround_53bit): Likewise.
58633         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
58634         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
58635         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
58636         (libc_feupdateenv_53bit): Likewise.
58637         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
58638         (libc_feholdexcept): Convert from macro to inline function.
58639         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
58640         (libc_fesetenv, libc_feupdateenv): Likewise.
58642         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
58643         not previously defined.
58644         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
58645         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
58646         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
58647         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
58648         * sysdeps/ieee754/flt-32/math_private.h: New file.
58649         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
58650         math_private.h below SET_FLOAT_WORD.
58651         (__isnan, __isinf_ns, __finite): Remove.
58652         (__isnanf, __isinf_nsf, __finitef): Remove.
58654 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
58656         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58658 2012-03-17  David S. Miller  <davem@davemloft.net>
58660         [BZ #6471]
58661         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
58662         for 2.16.
58664 2012-03-16  David S. Miller  <davem@davemloft.net>
58666         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
58667         warnings.
58669         [BZ #6471]
58670         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
58671         properly.
58672         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
58673         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
58674         sysdep_routines when subdir is sysvipc.
58675         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
58676         __getshmlba helper.
58678         * sysdeps/sparc/fpu/libm-test/ulps: Update.
58680 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
58682         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
58683         [__LP64__].
58685 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
58687         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
58688         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
58689         (__lround): Renamed to ...
58690         (__llround): This.  Replace long int with long long int.
58691         Define lround functions as aliases of llround functions.
58692         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
58694 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
58696         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
58697         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
58698         adresses to uintptr_t.  Replace "long int" and "unsigned long
58699         int" with "greg_t" on va_arg.
58701 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
58703         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
58704         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
58706         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
58707         Move e_machine check before EI_CLASS check.  Handle x32
58708         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
58709         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
58710         SKIP_EM_IA_64 and include
58711         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
58713         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
58714         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
58715         (add_system_dir): New macro.
58717         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
58718         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
58720 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
58722         [BZ #2551]
58723         [BZ #2552]
58724         [BZ #2553]
58725         [BZ #2554]
58726         [BZ #2562]
58727         [BZ #2563]
58728         [BZ #2565]
58729         [BZ #2566]
58730         [BZ #2576]
58731         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
58732         (y0): Likewise.
58733         * math/w_j0f.c (j0f): Likewise.
58734         (y0f): Likewise.
58735         * math/w_j0l.c (__j0l): Likewise.
58736         (__y0l): Likewise.
58737         * math/w_j1.c (j1): Likewise.
58738         (y1): Likewise.
58739         * math/w_j1f.c (j1f): Likewise.
58740         (y1f): Likewise.
58741         * math/w_j1l.c (__j1l): Likewise.
58742         (__y1l): Likewise.
58743         * math/w_jn.c (jn): Likewise.
58744         (yn): Likewise.
58745         * math/w_jnf.c (jnf): Likewise.
58746         (ynf): Likewise.
58747         * math/w_jnl.c (__jnl): Likewise.
58748         (__ynl): Likewise.
58749         * math/libm-test.inc (j0_test): Add more tests.
58750         (j1_test): Likewise.
58751         (jn_test): Likewise.  Add trailing semicolon to existing test.
58752         (y0_test): Likewise.
58753         (y1_test): Likewise.
58754         * sysdeps/i386/fpu/libm-test-ulps: Update.
58755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58757         [BZ #13851]
58758         [BZ #13854]
58759         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
58760         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
58761         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
58762         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
58763         (__tanl): Set errno for infinite argument.
58764         * sysdeps/i386/fpu/mptan.c: Remove.
58765         * sysdeps/i386/fpu/s_tan.S: Likewise.
58766         * sysdeps/i386/fpu/s_tanl.S: Likewise.
58767         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
58768         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
58769         * math/libm-test.inc (tan_test): Add more tests and enable more
58770         tests for double and long double.
58771         * sysdeps/i386/fpu/libm-test-ulps: Update.
58772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58774 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
58776         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
58777         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
58779 2012-03-16  Roland McGrath  <roland@hack.frob.com>
58781         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
58782         * configure.in: Use it for both main tree and add-ons.
58783         * configure: Regenerated.
58785 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
58787         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
58789 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
58791         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
58792         in comment.
58794         [BZ #13851]
58795         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
58796         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
58797         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
58798         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
58799         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
58800         infinite argument.
58801         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
58802         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
58803         != 0 for prec == 2.
58804         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
58805         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
58806         * sysdeps/i386/fpu/s_cosl.S: Likewise.
58807         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
58808         * sysdeps/i386/fpu/s_sinl.S: Likewise.
58809         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
58810         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
58811         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
58812         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
58813         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
58814         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
58815         * math/libm-test.inc (cos_test): Add more tests and enable more
58816         tests for long double.
58817         (sin_test): Likewise.
58818         (sincos_test): Likewise.
58819         * sysdeps/i386/fpu/libm-test-ulps: Update.
58820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58822 2012-03-16  David S. Miller  <davem@davemloft.net>
58824         * sysdeps/sparc/fpu/math_private.h: New file.
58826 2012-03-15  David S. Miller  <davem@davemloft.net>
58828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
58829         file.
58830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
58831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
58832         file.
58833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
58834         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
58835         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
58836         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
58837         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
58838         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
58839         sysdep routines.
58840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
58842         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
58843         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
58845         * sysdeps/sparc/sparc-ifunc.h: New file.
58846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
58847         sparc-ifunc.h
58848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
58849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
58850         Likewise.
58851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
58852         Likewise.
58853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
58854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
58855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
58856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
58857         Likewise.
58858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
58859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
58860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
58861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
58862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
58863         Likewise.
58864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
58865         Likewise.
58866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
58867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
58868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
58869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
58870         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
58871         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
58872         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
58873         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
58874         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
58875         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
58876         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
58877         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
58878         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
58879         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
58880         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
58881         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
58882         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
58883         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
58884         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
58885         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
58886         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
58887         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
58888         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
58889         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
58891 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
58893         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
58894         scaling.
58895         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58897 2012-03-15  Andreas Jaeger  <aj@suse.de>
58899         [BZ #13852]
58900         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
58901         ieee754/flt-32 implementation for sin, cos and sincos.
58902         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
58903         * sysdeps/i386/fpu/s_cosf.S: Likewise.
58904         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
58905         * sysdeps/i386/fpu/s_sinf.S: Likewise.
58906         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
58907         ieee754/flt-32 implementation for tan.
58909         * math/libm-test.inc (cos_test): Enable some large input tests for
58910         float as well
58911         (sin_test): Likewise.
58912         (sincos_test): Likewise.
58913         (tan_test): Add tests for large input.
58915         * sysdeps/i386/fpu/libm-test-ulps: Update.
58917 2012-03-15  Andreas Jaeger  <aj@suse.de>
58919         [BZ #13658]
58920         * math/libm-test.inc (cos_test): Add more test cases.
58921         (sin_test): Likewise.
58922         (sincos_test): Likewise.
58924 2012-03-15  Andreas Jaeger  <aj@suse.de>
58926         [BZ #13837]
58927         * math/libm-test.inc (cos_test): Add a test case for large input
58928         value.
58929         (sin_test): Likewise.
58930         (sincos_test): Likewise.
58932 2012-03-15  Andreas Jaeger  <aj@suse.de>
58933             Joseph Myers  <joseph@codesourcery.com>
58935         [BZ #13658]
58936         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
58937         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
58938         * sysdeps/i386/fpu/branred.c: Likewise.
58939         * sysdeps/i386/fpu/dosincos.c: Likewise.
58940         * sysdeps/i386/fpu/mpa.c: Likewise.
58941         * sysdeps/i386/fpu/s_cos.S: Likewise.
58942         * sysdeps/i386/fpu/s_sin.S: Likewise.
58943         * sysdeps/i386/fpu/s_sincos.S: Likewise.
58944         * sysdeps/i386/fpu/sincos32.c: Likewise.
58946         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
58947         Define.
58948         (libc_feupdateenv_53bit): Define.
58949         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
58950         Define.
58951         (libc_feupdateenv_53bit): Define.
58953         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
58954         53 bit (without extend i386 double precision).
58956         * math/libm-test.inc (sincos_test): Add tests for large input.
58957         (sin): Likewise.
58958         (cos): Likewise.
58960         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
58962 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
58964         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58966 2012-03-15  David S. Miller  <davem@davemloft.net>
58968         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
58969         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
58970         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
58971         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
58972         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
58973         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
58974         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
58975         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
58976         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
58977         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
58978         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
58979         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
58980         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
58981         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
58982         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
58983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
58984         file.
58985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
58986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
58987         file.
58988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
58989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
58990         file.
58991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
58992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
58993         file.
58994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
58995         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
58996         fmin/fmax sysdep routines.
58997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
58999 2012-03-14  David S. Miller  <davem@davemloft.net>
59001         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
59002         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
59003         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
59004         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
59005         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
59006         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
59007         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
59008         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
59009         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
59010         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
59011         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
59012         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
59013         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
59014         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
59015         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
59016         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
59017         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
59018         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
59019         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
59020         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
59021         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
59022         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
59023         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
59024         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
59025         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
59026         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
59027         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
59028         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
59029         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
59030         routines.
59031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
59032         file.
59033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
59034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
59035         file.
59036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
59037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
59038         file.
59039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
59040         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
59041         file.
59042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
59043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
59044         file.
59045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
59046         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
59047         file.
59048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
59049         file.
59050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
59051         file.
59052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
59053         file.
59054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
59055         New file.
59056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
59057         file.
59058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
59059         file.
59060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
59061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
59062         file.
59063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
59064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
59065         file.
59066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
59067         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
59068         file.
59069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
59070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
59071         VIS3 routines.
59073         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
59074         New file.
59076         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59078         * sysdeps/sparc/configure.in: New file.
59079         * sysdeps/sparc/configure: Generate.
59080         * configure.in (libc_cv_sparc_as_vis3): Substitute.
59081         * configure: Regenerate.
59082         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
59083         * config.make.in (have-as-vis3): New.
59084         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
59085         available use -Av9d instead of -Av9a.
59086         * sysdeps/sparc/sparc64/Makefile: Likewise.
59087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
59088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
59089         New file.
59090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
59091         file.
59092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
59093         New file.
59094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
59095         file.
59096         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
59097         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
59098         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
59099         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
59100         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
59102         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
59103         fzeros/fnegs to load 0x80000000 into a float register instead of
59104         using the stack.
59105         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
59107 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
59109         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59110         bits/syscall.h.
59111         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
59112         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
59113         ($(inst_includedir)/bits/syscall.h): Remove rule.
59114         ($(objpfx)bits/syscall.d): Include instead of
59115         $(objpfx)syscall-list.d.
59116         (generated): Change syscall-list.h and syscall-list.d to
59117         bits/syscall.h and bits/syscall.d.
59119 2012-03-14  Roland McGrath  <roland@hack.frob.com>
59121         [BZ #13846]
59122         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
59124 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
59126         [BZ #13841]
59127         * math/s_csqrt.c: Include <float.h>.
59128         (__csqrt): Scale large or subnormal inputs.
59129         * math/s_csqrtf.c: Likewise.
59130         * math/s_csqrtl.c: Likewise.
59131         * math/libm-test.inc (csqrt_test): Add more tests.
59132         * sysdeps/i386/fpu/libm-test-ulps: Update.
59133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59135         [BZ #13840]
59136         * math/libm-test.inc (hypot_test): Add more tests.
59138 2012-03-13  David S. Miller  <davem@davemloft.net>
59140         [BZ #13840]
59141         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
59142         double-precision for the calculation instead of scaling.
59144 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
59146         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
59147         manipulate bits before adding and subtracting TWO52[sx].
59148         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
59149         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
59150         Likewise.
59151         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
59153 2012-03-13  David S. Miller  <davem@davemloft.net>
59155         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
59156         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
59157         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
59158         rtld-global-offsets.h
59159         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
59161         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
59162         large parameters.
59164         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
59166         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
59167         'err' in the ifdef scope in which it is actually used.
59169         * nss/nss_db/db-init.c: Include string.h
59171 2012-03-12  David S. Miller  <davem@davemloft.net>
59173         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
59174         masking out of the most significant byte of random value used.
59175         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59176         Fix coding style in previous change.
59178         * sysdeps/unix/sysv/linux/kernel-features.h
59179         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
59180         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
59181         expression.
59182         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
59183         later.
59185 2012-03-11  David S. Miller  <davem@davemloft.net>
59187         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
59188         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
59189         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
59190         for 'resultvar' otherwise things get truncated on 64-bit.
59192         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59193         Fix masking out of the most significant byte of random value used.
59195         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59197 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
59199         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59201 2012-03-09  David S. Miller  <davem@davemloft.net>
59203         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
59204         variables with appropriate CPP guards.
59205         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
59206         from the frame pointer, not the stack pointer.  Correct layout
59207         comments.  Fix test on resulting framesize and the management of
59208         the outregs buffer for pltexit.  Preserve floating point return
59209         values across _dl_call_pltexit call.
59210         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
59211         framesize and the management of the outregs buffer for pltexit.
59212         Preserve floating point return values across _dl_call_pltexit
59213         call.
59214         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
59215         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
59216         (la_sparc64_gnu_pltexit): New functions.
59217         (print_exit): Fix format string for return register value.
59219 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
59221         * sunrpc/Makefile (others): Add rpcgen.
59222         ($(objpfx)rpcgen): Remove special build rule and dependency on
59223         libc.
59224         * sunrpc/rpcgen.c: New file.
59226 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
59228         [BZ #13673]
59229         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
59230         * stdio-common/bug-vfprintf-nargs.c: Likewise.
59231         * sysdeps/i386/crti.S: Likewise.
59232         * sysdeps/i386/crtn.S: Likewise.
59233         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
59234         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
59235         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
59236         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
59237         * sysdeps/sh/crti.S: Likewise.
59238         * sysdeps/sh/crtn.S: Likewise.
59239         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
59241         [BZ #13673]
59242         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
59243         with URL.
59244         * locale/programs/locfile-kw.gperf: Likewise.
59245         * locale/programs/charmap-kw.h: Regenerated.
59246         * locale/programs/locfile-kw.h: Likewise.
59248         [BZ #13673]
59249         * intl/plural.y: Replace FSF snail mail address with URL.
59250         * intl/plural.c: Regenerated.
59252 2012-03-09  Richard Henderson  <rth@twiddle.net>
59254         * include/math_private.h: Remove file.
59255         * math/math_private.h: Move file ...
59256         * sysdeps/generic/math_private.h: ... here.
59258         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
59259         * sysdeps/powerpc/fpu/math_private.h: Likewise.
59260         * sysdeps/x86_64/fpu/math_private.h: Likewise.
59262         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
59263         and <math_private.h>.
59264         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
59265         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
59266         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
59267         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
59268         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
59269         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
59270         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
59271         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59272         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
59273         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
59274         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59275         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
59276         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
59277         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59278         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
59279         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
59280         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
59281         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
59282         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
59283         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
59284         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59285         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
59286         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
59287         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59288         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
59289         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
59290         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
59291         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
59292         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59293         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
59294         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
59295         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59296         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
59297         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
59298         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
59299         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
59300         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
59301         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
59302         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
59303         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
59304         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
59305         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
59306         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
59307         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
59308         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
59309         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
59310         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
59311         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
59312         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
59313         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
59314         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
59315         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
59316         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
59317         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
59318         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
59319         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
59320         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
59321         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
59322         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
59323         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
59324         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
59325         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
59326         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59327         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
59328         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
59329         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
59330         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
59331         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
59332         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
59333         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
59334         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
59335         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
59336         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
59337         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
59338         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
59339         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
59340         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
59341         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
59342         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
59343         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
59344         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
59345         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
59346         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
59347         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
59348         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
59349         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
59350         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
59351         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
59352         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
59353         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
59354         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
59355         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
59356         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
59357         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
59358         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
59359         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
59360         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
59361         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
59362         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
59363         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
59364         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
59365         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
59366         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
59367         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
59368         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
59369         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
59370         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
59371         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
59372         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
59373         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
59374         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
59375         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
59376         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
59377         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
59378         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
59379         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
59380         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
59381         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
59382         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
59383         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
59384         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
59385         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
59386         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
59387         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
59388         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
59389         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
59390         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
59391         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
59392         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
59393         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
59394         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
59395         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
59396         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
59397         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
59398         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
59399         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
59400         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
59401         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
59402         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
59403         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
59404         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
59405         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
59406         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
59407         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
59408         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
59409         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
59410         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
59411         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
59412         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
59413         * sysdeps/ieee754/k_standard.c: Likewise.
59414         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
59415         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
59416         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
59417         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
59418         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
59419         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
59420         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
59421         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
59422         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
59423         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
59424         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
59425         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
59426         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
59427         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
59428         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
59429         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
59430         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
59431         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
59432         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
59433         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
59434         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
59435         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
59436         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
59437         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
59438         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
59439         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
59440         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
59441         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
59442         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
59443         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
59444         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
59445         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
59446         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
59447         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
59448         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
59449         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
59450         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
59451         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
59452         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
59453         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
59454         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
59455         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
59456         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
59457         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
59458         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
59459         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
59460         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
59461         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
59462         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
59463         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
59464         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
59465         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
59466         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
59467         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
59468         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
59469         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
59470         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
59471         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
59472         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
59473         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
59474         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
59475         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
59476         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
59477         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
59478         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
59479         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
59480         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
59481         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
59482         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
59483         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
59484         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
59485         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
59486         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
59487         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
59488         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
59489         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
59490         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
59491         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
59492         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
59493         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
59494         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
59495         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
59496         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
59497         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
59498         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
59499         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
59500         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
59501         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
59502         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
59503         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
59504         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
59505         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
59506         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
59507         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
59508         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
59509         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
59510         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
59511         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
59512         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
59513         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
59514         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
59515         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
59516         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
59517         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
59518         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
59519         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
59520         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
59521         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
59522         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
59523         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
59524         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
59525         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
59526         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
59527         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
59528         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
59529         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
59530         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
59531         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
59532         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
59533         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
59534         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
59535         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
59536         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
59537         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
59538         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
59539         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
59540         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
59541         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
59542         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
59543         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
59544         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
59545         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
59546         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
59547         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
59548         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
59549         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
59550         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
59551         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
59552         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
59553         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
59554         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
59555         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
59556         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
59557         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
59558         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
59559         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
59560         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
59561         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
59562         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
59563         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
59564         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
59565         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
59566         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
59567         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
59568         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
59569         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
59570         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
59571         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
59572         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
59573         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
59574         * sysdeps/ieee754/s_lib_version.c: Likewise.
59575         * sysdeps/ieee754/s_matherr.c: Likewise.
59576         * sysdeps/ieee754/s_signgam.c: Likewise.
59577         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
59578         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
59579         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
59580         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
59581         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
59582         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
59583         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
59584         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
59585         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
59586         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
59587         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
59588         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
59589         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
59590         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
59591         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
59592         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
59593         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
59594         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
59595         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
59596         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
59597         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
59599 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
59601         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
59602         * sunrpc/rpc_main.c: Likewise.
59603         * sunrpc/rpc_svcout.c: Likewise.
59605 2012-03-09  David S. Miller  <davem@davemloft.net>
59607         * include/math_private.h: New file.
59609 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
59611         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
59612         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
59613         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
59614         from <bits/socket_type.h>.
59615         (enum __socket_type): Don't define here.
59616         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
59617         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59618         bits/socket_type.h.
59620         [BZ #13566]
59621         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
59622         checking __USE_GNU.
59624         * Makerules ($(inst_includedir)/%.h): New rule.
59625         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
59626         (install-others): Remove variable setting.
59627         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
59629 2012-03-08  Richard Henderson  <rth@twiddle.net>
59631         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
59632         from macro to inline function; merge with the
59633         !__LIBC_INTERNAL_MATH_INLINES version.
59634         (__ieee754_sqrtf): Likewise.
59636         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
59637         to inline function.
59638         (__rintf, __floor, __floorf): Likewise.
59640         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
59641         macro to inline function.
59642         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
59644         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
59645         not <math/math_private.h>.
59647 2012-03-08  David S. Miller  <davem@davemloft.net>
59649         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
59650         copyright year.
59651         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
59653 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
59655         * resolv/gai_misc.c (handle_requests): Fix struct timespec
59656         normalization.
59657         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
59658         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
59660 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
59662         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
59663         be defined individually, they must be defined as a block.  Define
59664         S for printing a string instead of hidint the different by using a
59665         macro for adding the 'l'.
59666         * stdio-common/tst-fphex-wide.c: Adjust.
59668 2012-03-07  Marek Polacek  <polacek@redhat.com>
59670         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
59672 2012-03-08  Marek Polacek  <polacek@redhat.com>
59674         [BZ #13806]
59675         * stdio-common/Makefile (tests): Add tst-fphex-wide.
59676         * stdio-common/tst-fphex.c: Define a few macros to make the
59677         test reusable.  Use them.
59678         * stdio-common/tst-fphex-wide.c: New file.
59680 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
59682         [BZ #6911]
59683         * manual/macros.texi (gnusystems): New macro.
59684         (nongnusystems): Likewise.
59685         (gnulinuxhurdsystems): Likewise.
59686         (gnuhurdsystems): Likewise..
59687         (gnulinuxsystems): Likewise.
59688         * manual/charset.texi: Use new macros or @theglibc{} to refer to
59689         variants of the GNU system, not "GNU system".
59690         * manual/conf.texi: Likewise.
59691         * manual/errno.texi: Likewise.  Update example of errno macro
59692         expansion.
59693         * manual/filesys.texi: Likewise.
59694         (getumask): Document as specific to GNU/Hurd.
59695         * manual/install.texi: Likewise.  Reword some references to
59696         GNU/Linux.
59697         * manual/intro.texi: Likewise.
59698         * manual/io.texi: Likewise.
59699         (File Name Portability): Detail which constraints are inapplicable
59700         to all GNU systems and which are only inapplicable to GNU/Hurd.
59701         * manual/job.texi: Likewise.
59702         * manual/llio.texi: Likewise.
59703         (O_NOCTTY): Document as present on GNU/Linux.
59704         * manual/maint.texi: Likewise.
59705         * manual/memory.texi: Likewise.
59706         * manual/pattern.texi: Likewise.
59707         * manual/pipe.texi: Likewise.
59708         * manual/process.texi: Likewise.
59709         * manual/resource.texi: Likewise.
59710         (RUSAGE_CHILDREN): Remove statement about specifying a particular
59711         child on GNU/Hurd.
59712         * manual/setjmp.texi: Likewise.
59713         * manual/signal.texi: Likewise.
59714         * manual/startup.texi: Likewise.
59715         * manual/stdio.texi: Likewise.
59716         * manual/terminal.texi: Likewise.
59717         (ONLCR): Document as POSIX.
59718         (OXTABS): Document availability on GNU/Linux as XTABS.
59719         (ONOEOT): Document availability separately from other bits.
59720         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
59721         * manual/time.texi: Likewise.
59722         * manual/users.texi: Likewise.
59723         * INSTALL: Regenerated.
59724         * sysdeps/gnu/errlist.c: Regenerated.
59726         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
59727         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
59728         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
59729         puts.
59730         * configure: Regenerated.
59732 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
59734         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
59735         default includes instead of AC_HEADER_CHECK.
59736         * sysdeps/i386/configure: Regenerated.
59738         [BZ #10716]
59739         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
59740         * math/s_cacoshf.c (__cacoshf): Likewise.
59741         * math/s_cacoshl.c (__cacoshl): Likewise.
59742         * math/s_casinh.c (__casinh): Set signs of result from argument.
59743         * math/s_casinhf.c (__casinhf): Likewise.
59744         * math/s_casinhl.c (__casinhl): Likewise.
59745         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
59746         (casinh_test): Add more tests.
59747         * sysdeps/i386/fpu/libm-test-ulps: Update.
59748         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59750 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
59752         * po/zh_TW.po: Update from translation team.
59754         * login/Makefile (distribute): Remove variable.
59755         * catgets/Makefile: Likewise.
59756         * mach/Makefile: Likewise.
59757         * malloc/Makefile: Likewise.
59758         * misc/Makefile: Likewise.
59759         * iconv/Makefile: Likewise.
59760         * nscd/Makefile: Likewise.
59761         * hurd/Makefile: Likewise.
59762         * manual/Makefile: Likewise.
59763         * locale/Makefile: Likewise.
59764         * intl/Makefile: Likewise.
59765         * conform/Makefile: Likewise.
59766         * nss/Makefile: Likewise.
59767         * time/Makefile: Likewise.
59768         * soft-fp/Makefile: Likewise.
59769         * dirent/Makefile: Likewise.
59770         * gmon/Makefile: Likewise.
59771         * po/Makefile: Likewise.
59772         * rt/Makefile: Likewise.
59773         * socket/Makefile: Likewise.
59774         * math/Makefile: Likewise.
59775         * signal/Makefile: Likewise.
59776         * debug/Makefile: Likewise.
59777         * elf/Makefile: Likewise.
59778         * timezone/Makefile: Likewise.
59779         * stdlib/Makefile: Likewise.
59780         * iconvdata/Makefile: Likewise.
59781         * sunrpc/Makefile: Likewise.
59782         * io/Makefile: Likewise.
59783         * argp/Makefile: Likewise.
59784         * inet/Makefile: Likewise.
59785         * hesiod/Makefile: Likewise.
59786         * grp/Makefile: Likewise.
59787         * csu/Makefile: Likewise.
59788         * wctype/Makefile: Likewise.
59789         * crypt/Makefile: Likewise.
59790         * libio/Makefile: Likewise.
59791         * string/Makefile: Likewise.
59792         * nis/Makefile: Likewise.
59793         * resolv/Makefile: Likewise.
59794         * stdio-common/Makefile: Likewise.
59795         * wcsmbs/Makefile: Likewise.
59796         * dlfcn/Makefile: Likewise.
59797         * posix/Makefile: Likewise.
59799         [BZ #6959]
59800         * timezone/Makefile: Don't install timezone files, just the programs
59801         and scripts.
59803 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
59805         * nss/databases.def: Add missing gshadow entry.
59807         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
59809 2012-03-06  Marek Polacek  <polacek@redhat.com>
59811         [BZ #13726]
59812         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
59813         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
59814         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
59815         * stdio-common/tst-long-dbl-fphex.c: New file.
59817 2012-03-06  David S. Miller  <davem@davemloft.net>
59819         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59820         (set_obp_int): New function.
59821         (get_obp_int): New function.
59822         (__get_clockfreq_via_dev_openprom): Likewise.
59823         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
59824         Avoid unused variable warnings on 'val' and use builtin_expect.
59825         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
59826         __builtin_expect.
59827         (INLINE_CLONE_SYSCALL): Likewise.
59829 2012-03-05  David S. Miller  <davem@davemloft.net>
59831         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59833 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
59835         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59837         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
59838         only for |x| >= 40.
59839         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
59841 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
59843         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
59844         Replace gettimeofday with __vdso_gettimeofday.
59846         * sysdeps/unix/sysv/linux/x86_64/init-first.c
59847         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
59848         __vdso_clock_gettime and __vdso_getcpu.
59850         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
59851         time with __vdso_time.
59853 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
59855         * manual/lang.texi (size_t): Note types to which size_t may be
59856         equivalent with the GNU C Library, but do not describe when
59857         differences between them are significant.
59859 2012-03-05  Andreas Jaeger  <aj@suse.de>
59861         * sysdeps/i386/fpu/libm-test-ulps: Update.
59863 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
59865         [BZ #3976]
59866         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
59867         (__ieee754_pow): Save and restore rounding mode and use
59868         round-to-nearest for main computations.
59869         * math/libm-test.inc (pow_test_tonearest): New function.
59870         (pow_test_towardzero): Likewise.
59871         (pow_test_downward): Likewise.
59872         (pow_test_upward): Likewise.
59873         (main): Call the new functions.
59874         * sysdeps/i386/fpu/libm-test-ulps: Update.
59875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59877         [BZ #3976]
59878         * math/libm-test.inc (cosh_test_tonearest): New function.
59879         (cosh_test_towardzero): Likewise.
59880         (cosh_test_downward): Likewise.
59881         (cosh_test_upward): Likewise.
59882         (sinh_test_tonearest): Likewise.
59883         (sinh_test_towardzero): Likewise.
59884         (sinh_test_downward): Likewise.
59885         (sinh_test_upward): Likewise.
59886         (main): Call the new functions.
59887         * sysdeps/i386/fpu/libm-test-ulps: Update.
59888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59890 2012-03-05  Tom de Vries  <tom@codesourcery.com>
59892         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
59893         default stack guard is set in last bytes.
59894         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
59896 2012-03-05  Kees Cook  <keescook@chromium.org>
59898         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
59900         [BZ #13656]
59901         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
59902         possibly allocate from heap instead of stack.
59903         * stdio-common/bug-vfprintf-nargs.c: New file.
59904         * stdio-common/Makefile (tests): Add nargs overflow test.
59906 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
59908         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59910 2012-03-03  Marek Polacek  <polacek@redhat.com>
59912         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
59913         * math/math_private.h: Likewise.
59914         * stdlib/tst-strtod.c: Likewise.
59915         * sysdeps/i386/i486/bits/atomic.h: Likewise.
59916         * sysdeps/x86_64/bits/atomic.h: Likewise.
59918 2012-03-02  David S. Miller  <davem@davemloft.net>
59920         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
59921         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
59922         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
59923         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
59924         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
59925         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
59926         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
59927         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
59929 2012-03-02  Roland McGrath  <roland@hack.frob.com>
59931         [BZ #13792]
59932         * manual/examples/README: New file, says the example source files
59933         can be used under GPL>=2.
59934         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
59935         line containing just "*/".
59936         * manual/examples/add.c: Add copyright header (GPL>=2).
59937         * manual/examples/argp-ex1.c: Likewise.
59938         * manual/examples/argp-ex2.c: Likewise.
59939         * manual/examples/argp-ex3.c: Likewise.
59940         * manual/examples/argp-ex4.c: Likewise.
59941         * manual/examples/atexit.c: Likewise.
59942         * manual/examples/db.c: Likewise.
59943         * manual/examples/dir.c: Likewise.
59944         * manual/examples/dir2.c: Likewise.
59945         * manual/examples/execinfo.c: Likewise.
59946         * manual/examples/filecli.c: Likewise.
59947         * manual/examples/filesrv.c: Likewise.
59948         * manual/examples/fmtmsgexpl.c: Likewise.
59949         * manual/examples/genpass.c: Likewise.
59950         * manual/examples/inetcli.c: Likewise.
59951         * manual/examples/inetsrv.c: Likewise.
59952         * manual/examples/isockad.c: Likewise.
59953         * manual/examples/longopt.c: Likewise.
59954         * manual/examples/memopen.c: Likewise.
59955         * manual/examples/memstrm.c: Likewise.
59956         * manual/examples/mkfsock.c: Likewise.
59957         * manual/examples/mkisock.c: Likewise.
59958         * manual/examples/mygetpass.c: Likewise.
59959         * manual/examples/pipe.c: Likewise.
59960         * manual/examples/popen.c: Likewise.
59961         * manual/examples/rprintf.c: Likewise.
59962         * manual/examples/search.c: Likewise.
59963         * manual/examples/select.c: Likewise.
59964         * manual/examples/setjmp.c: Likewise.
59965         * manual/examples/sigh1.c: Likewise.
59966         * manual/examples/sigusr.c: Likewise.
59967         * manual/examples/stpcpy.c: Likewise.
59968         * manual/examples/strdupa.c: Likewise.
59969         * manual/examples/strftim.c: Likewise.
59970         * manual/examples/strncat.c: Likewise.
59971         * manual/examples/subopt.c: Likewise.
59972         * manual/examples/swapcontext.c: Likewise.
59973         * manual/examples/termios.c: Likewise.
59974         * manual/examples/testopt.c: Likewise.
59975         * manual/examples/testpass.c: Likewise.
59976         * manual/examples/timeval_subtract.c: Likewise.
59978         [BZ #13792]
59979         * manual/time.texi (Elapsed Time): Move timeval_subtract example
59980         function to ...
59981         * manual/timeval_subtract.c.texi: ... here, new file.
59983 2012-03-02  David S. Miller  <davem@davemloft.net>
59985         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
59987 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
59989         [BZ #3976]
59990         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
59991         (__sin): Save and restore rounding mode and use round-to-nearest
59992         for all computations.
59993         (__cos): Save and restore rounding mode and use round-to-nearest
59994         for all computations.
59995         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
59996         <fenv.h>.
59997         (tan): Save and restore rounding mode and use round-to-nearest for
59998         all computations.
59999         * math/libm-test.inc (cos_test_tonearest): New function.
60000         (cos_test_towardzero): Likewise.
60001         (cos_test_downward): Likewise.
60002         (cos_test_upward): Likewise.
60003         (sin_test_tonearest): Likewise.
60004         (sin_test_towardzero): Likewise.
60005         (sin_test_downward): Likewise.
60006         (sin_test_upward): Likewise.
60007         (tan_test_tonearest): Likewise.
60008         (tan_test_towardzero): Likewise.
60009         (tan_test_downward): Likewise.
60010         (tan_test_upward): Likewise.
60011         (main): Call the new functions.
60012         * sysdeps/i386/fpu/libm-test-ulps: Update.
60013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60015         [BZ #10135]
60016         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
60017         small n, then large n, before computing and testing k+n.
60018         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
60019         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
60020         Likewise.
60021         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
60022         Likewise.
60023         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
60024         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
60025         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
60026         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
60027         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
60028         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
60029         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
60030         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
60031         * math/libm-test.inc (scalbn_test): Add more tests.
60032         (scalbln_test): Likewise.
60034         * manual/filesys.texi (mode_t): Describe constraints on size and
60035         signedness, not exact equivalence to a particular type.
60036         (ino_t): Likewise.
60037         (ino64_t): Likewise.
60038         (dev_t): Likewise.
60039         (nlink_t): Likewise.
60040         (blkcnt_t): Likewise.
60041         (blkcnt64_t): Likewise.
60042         * manual/llio.texi (off_t): Likewise.
60044         [BZ #3976]
60045         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
60046         (__ieee754_exp): Save and restore rounding mode and use
60047         round-to-nearest for all computations.
60048         * math/libm-test.inc (exp_test_tonearest): New function.
60049         (exp_test_towardzero): Likewise.
60050         (exp_test_downward): Likewise.
60051         (exp_test_upward): Likewise.
60052         (main): Call the new functions.
60053         * sysdeps/i386/fpu/libm-test-ulps: Update.
60054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60056 2012-03-01  Chris Demetriou  <cgd@google.com>
60058         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
60059         have predictable order.
60061 2012-03-01  David S. Miller  <davem@davemloft.net>
60063         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
60065         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
60066         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
60067         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
60068         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
60070         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
60071         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
60072         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
60073         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
60074         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
60075         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
60076         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
60077         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
60078         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
60080         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60082         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
60083         * sysdeps/sparc/fpu/libm-test-ulps: to here.
60084         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
60086         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
60087         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
60088         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
60089         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
60090         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
60091         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
60092         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
60093         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
60094         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
60095         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
60096         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
60097         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
60098         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
60099         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
60100         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
60101         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
60102         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
60103         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
60104         * sysdeps/sparc/elf/configure: Regenerated.
60106 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
60108         * configure.in (AS, LD): Require binutils 2.20 or later.
60109         * configure: Regenerated.
60110         * manual/install.texi (Tools for Compilation): Give binutils 2.20
60111         as required minimum version.
60112         * INSTALL: Regenerated.
60114         [BZ #2541]
60115         [BZ #4108]
60116         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
60117         before squaring exponent.
60118         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
60119         bottom long double and 27 bits of top long double before squaring
60120         exponent.
60121         * math/libm-test.inc (erfc_test): Add more tests.
60122         * sysdeps/i386/fpu/libm-test-ulps: Update.
60123         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
60124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60126 2012-03-01  Kai Tietz  <ktietz@redhat.com>
60128         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
60129         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
60130         containing bit-fields.
60131         * soft-fp/extended.h (_FP_UNION_E): Likewise.
60132         * soft-fp/single.h (_FP_UNION_S): Likewise.
60133         * soft-fp/double.h (_FP_UNION_D): Likewise.
60135 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
60137         [BZ #13786]
60138         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
60139         not include ../strcmp.S.
60140         [USE_AS_STRNCASECMP_L]: Likewise.
60141         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
60142         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
60143         * sysdeps/i386/i686/multiarch/strncase_l-c.c
60144         (__strncasecmp_l_ia32): Define as alias to
60145         __strncasecmp_l_nonascii.
60147         [BZ #5794]
60148         * math/libm-test.inc (expm1_test): Add test for bug 5794.
60149         * sysdeps/i386/fpu/libm-test-ulps: Update.
60150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60152         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
60153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60155 2012-02-29  Jeff Law  <law@redhat.com>
60157         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
60158         out of bounds read.
60160 2012-02-29  Marek Polacek  <polacek@redhat.com>
60162         [BZ #13706]
60163         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
60164         * elf/Makefile: Add rules to run tst-unused-dep.out.
60166 2012-02-28  David S. Miller  <davem@davemloft.net>
60168         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
60169         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
60170         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
60171         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
60172         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
60173         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
60175 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
60177         * math/libm-test.inc (llround_test): Move one test from
60178         lround_test.  Use TEST_f_L in moved test.
60179         (lround_test): Move misplaced test to llround_test.  Add testcase
60180         from bug 2561.
60182 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
60184         * sysdeps/x86_64/fpu/e_expf.S: New file.
60185         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
60187 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
60189         [BZ #13637]
60190         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
60191         of remain_len that may cause incomplete multi-byte character and
60192         false match.
60193         * posix/bug-regex33.c: New file.
60194         * posix/Makefile (tests): Add bug-regex33.
60196 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
60198         * manual/macros.texi: New file.
60199         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
60200         * manual/libc.texinfo: Include macros.texi.
60201         * manual/creatute.texi: Likewise.
60202         * manual/install.texi: Likewise.
60203         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
60204         @glibcadj{} in references to the GNU C Library.
60205         * manual/charset.texi: Likewise.
60206         * manual/conf.texi: Likewise.
60207         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
60208         when not using those macros.
60209         * manual/creature.texi: Likewise.
60210         * manual/crypt.texi: Likewise.
60211         * manual/errno.texi: Likewise.
60212         * manual/filesys.texi: Likewise.
60213         * manual/header.texi: Likewise.
60214         * manual/install.texi: Likewise.
60215         * manual/intro.texi: Likewise.
60216         * manual/io.texi: Likewise.
60217         * manual/job.texi: Likewise.
60218         * manual/lang.texi: Likewise.
60219         * manual/libc.texiinfo: Likewise.
60220         * manual/llio.texi: Likewise.
60221         * manual/locale.texi: Likewise.
60222         * manual/maint.texi: Likewise.
60223         * manual/math.texi: Likewise.
60224         * manual/memory.texi: Likewise.
60225         * manual/message.texi: Likewise.
60226         * manual/nss.texi: Likewise.
60227         * manual/pattern.texi: Likewise.
60228         * manual/process.texi: Likewise.
60229         * manual/resource.texi: Likewise.
60230         * manual/search.texi: Likewise.
60231         * manual/setjmp.texi: Likewise.
60232         * manual/signal.texi: Likewise.
60233         * manual/socket.texi: Likewise.
60234         * manual/startup.texi: Likewise.
60235         * manual/stdio.texi: Likewise.
60236         * manual/string.texi: Likewise.
60237         * manual/sysinfo.texi: Likewise.
60238         * manual/syslog.texi: Likewise.
60239         * manual/terminal.texi: Likewise.
60240         * manual/time.texi: Likewise.
60241         * manual/users.texi: Likewise.
60242         * INSTALL: Regenerated.
60243         * NOTES: Regenerated.
60244         * sysdeps/gnu/errlist.c: Regenerated.
60246 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
60248         * include/dirent.h: Include <dirstream.h> before
60249         <dirent/dirent.h>.
60251 2012-02-28  David S. Miller  <davem@davemloft.net>
60253         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
60254         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
60255         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
60256         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
60258 2012-02-27  David S. Miller  <davem@davemloft.net>
60260         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
60261         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
60262         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
60263         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
60265         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
60266         frame pointer instead of stack pointer relative arg slot.
60267         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
60268         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
60269         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
60271 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
60273         [BZ #3992]
60274         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
60276 2012-02-27  David S. Miller  <davem@davemloft.net>
60278         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
60279         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
60280         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
60281         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
60282         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
60283         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
60284         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
60285         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
60287 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
60289         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
60290         later.  Allow versions 5-9.
60291         * configure: Regenerated.
60292         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
60293         required minimum version and 4.6 as recommended version.  Do not
60294         mention bugs in GCC 2.7 and 2.8.
60295         * INSTALL: Regenerated.
60297 2012-02-27  David S. Miller  <davem@davemloft.net>
60299         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
60300         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
60301         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
60302         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
60303         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
60304         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
60305         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
60306         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
60308         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
60309         manipulate bits before adding and subtracting TWO112[sx].
60310         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
60312 2012-02-27  Roland McGrath  <roland@hack.frob.com>
60314         [BZ #13775]
60315         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
60316         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
60317         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
60318         being in POSIX, because they are in 1003.1-2008.
60320         * rt/tst-aio.c: Include <fcntl.h>.
60321         * rt/tst-aio7.c: Likewise.
60322         * rt/tst-aio64.c: Likewise.
60324         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
60326 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
60328         * manual/install.texi (--with-headers): Describe headers as
60329         interface headers, not private headers.
60330         (Specific advice for GNU/Linux systems): Describe use of headers
60331         from "make headers_install", not private headers from older
60332         kernels.
60333         * INSTALL: Regenerated.
60334         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
60335         Change to 2.6.19.
60336         * sysdeps/unix/sysv/linux/configure: Regenerated.
60338         * manual/llio.texi (fclean): Remove documentation.
60340         * manual/Makefile (libc-texi-generated): New variable.  Include
60341         version.texi.
60342         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
60343         $(libc-texi-generated), not duplicated list of files.
60344         (version.texi, stamp-version): New rules.
60345         (realclean): Remove $(libc-texi-generated), not individual files
60346         from that list.  Do not remove dir-add.texinfo.
60347         * manual/libc.texinfo: Comment out uses of edition numbers and
60348         references to printed manual.  Remove last-updated dates.
60349         (EDITION): Comment out.
60350         (ISBN): Likewise.
60351         (VERSION, UPDATED): Remove.
60352         (version.texi): Include.
60354 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
60356         * sysdeps/posix/spawni.c: Include <signal.h>.
60357         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
60358         * sysdeps/pthread/aio_fsync.c: Likewise.
60360 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
60362         * conform/Makefile (tests): Run only when not cross-compiling and
60363         when fast-check is not defined.
60365         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
60366         * conform/data/limits.h-data: Fixes for POSIX2008.
60367         * conform/run-conformtest.sh: Run all tests.
60368         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
60369         headers.
60370         * include/bits/dlfcn.h: Likewise.
60371         * include/langinfo.h: Likewise.
60372         * include/monetary.h: Likewise.
60373         * include/sys/poll.h: Likewise.
60375         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
60376         for __USE_GNU.
60377         * posix/spawn.h: Define __need_sigset_t.
60378         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
60379         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
60380         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
60381         to get sigevent_t only.
60382         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
60383         only for __USE_GNU.
60384         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60385         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
60386         process_vm_writev only for __USE_GNU.
60387         * termios/termios.h: Declare tcgetsid also for POSIX2008.
60389         * conform/Makefile: For now ignore errors from run-conformtest.
60390         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
60391         POSIX to avoid namespace pollution.  Don't prepend headers.
60392         * conform/data/aio.h-data: Fixes for POSIX testing.
60393         * conform/data/fcntl.h-data: Likewise.
60394         * conform/data/glob.h-data: Likewise.
60395         * conform/data/grp.h-data: Likewise.
60396         * conform/data/pthread.h-data: Likewise.
60397         * conform/data/pwd.h-data: Likewise.
60398         * conform/data/signal.h-data: Likewise.
60399         * conform/data/spawn.h-data: Likewise.
60400         * conform/data/stdio.h-data: Likewise.
60401         * conform/data/stdlib.h-data: Likewise.
60402         * conform/data/stropts.h-data: Likewise.
60403         * conform/data/sys/mman.h-data: Likewise.
60404         * conform/data/sys/stat.h-data: Likewise.
60405         * conform/data/sys/types.h-data: Likewise.
60406         * conform/data/sys/wait.h-data: Likewise.
60407         * conform/data/time.h-data: Likewise.
60408         * conform/data/unistd.h-data: Likewise.
60409         * conform/data/utime.h-data: Likewise.
60411         * io/sys/stat.h: fchmod was always in POSIX.
60412         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
60413         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
60414         * rt/aio.h: Define __need_timespec before including <time.h>.
60415         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
60416         struct.  Add forward declaration of pthread_attr_t and use it in
60417         sigevent.
60418         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
60419         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
60420         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
60421         always remove CLK_TCK definition.
60423 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
60425         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
60427 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
60429         * conform/run-conformtest.sh: New file.
60430         * conform/Makefile: Run run-conformtest for tests.
60431         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
60432         support.
60434         * conform/data/uchar.h-data: New file.
60435         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
60436         * conform/data/arpa/inet.h-data: Likewise.
60437         * conform/data/assert.h-data: Likewise.
60438         * conform/data/complex.h-data: Likewise.
60439         * conform/data/cpio.h-data: Likewise.
60440         * conform/data/ctype.h-data: Likewise.
60441         * conform/data/dirent.h-data: Likewise.
60442         * conform/data/dlfcn.h-data: Likewise.
60443         * conform/data/errno.h-data: Likewise.
60444         * conform/data/fcntl.h-data: Likewise.
60445         * conform/data/float.h-data: Likewise.
60446         * conform/data/fmtmsg.h-data: Likewise.
60447         * conform/data/fnmatch.h-data: Likewise.
60448         * conform/data/ftw.h-data: Likewise.
60449         * conform/data/glob.h-data: Likewise.
60450         * conform/data/grp.h-data: Likewise.
60451         * conform/data/iconv.h-data: Likewise.
60452         * conform/data/inttypes.h-data: Likewise.
60453         * conform/data/langinfo.h-data: Likewise.
60454         * conform/data/libgen.h-data: Likewise.
60455         * conform/data/limits.h-data: Likewise.
60456         * conform/data/locale.h-data: Likewise.
60457         * conform/data/math.h-data: Likewise.
60458         * conform/data/monetary.h-data: Likewise.
60459         * conform/data/mqueue.h-data: Likewise.
60460         * conform/data/ndbm.h-data: Likewise.
60461         * conform/data/net/if.h-data: Likewise.
60462         * conform/data/netdb.h-data: Likewise.
60463         * conform/data/netinet/in.h-data: Likewise.
60464         * conform/data/nl_types.h-data: Likewise.
60465         * conform/data/poll.h-data: Likewise.
60466         * conform/data/pthread.h-data: Likewise.
60467         * conform/data/pwd.h-data: Likewise.
60468         * conform/data/regex.h-data: Likewise.
60469         * conform/data/sched.h-data: Likewise.
60470         * conform/data/search.h-data: Likewise.
60471         * conform/data/semaphore.h-data: Likewise.
60472         * conform/data/setjmp.h-data: Likewise.
60473         * conform/data/signal.h-data: Likewise.
60474         * conform/data/spawn.h-data: Likewise.
60475         * conform/data/stdarg.h-data: Likewise.
60476         * conform/data/stdio.h-data: Likewise.
60477         * conform/data/stdlib.h-data: Likewise.
60478         * conform/data/string.h-data: Likewise.
60479         * conform/data/strings.h-data: Likewise.
60480         * conform/data/stropts.h-data: Likewise.
60481         * conform/data/sys/ipc.h-data: Likewise.
60482         * conform/data/sys/mman.h-data: Likewise.
60483         * conform/data/sys/msg.h-data: Likewise.
60484         * conform/data/sys/resource.h-data: Likewise.
60485         * conform/data/sys/select.h-data: Likewise.
60486         * conform/data/sys/sem.h-data: Likewise.
60487         * conform/data/sys/shm.h-data: Likewise.
60488         * conform/data/sys/socket.h-data: Likewise.
60489         * conform/data/sys/stat.h-data: Likewise.
60490         * conform/data/sys/statvfs.h-data: Likewise.
60491         * conform/data/sys/time.h-data: Likewise.
60492         * conform/data/sys/timeb.h-data: Likewise.
60493         * conform/data/sys/times.h-data: Likewise.
60494         * conform/data/sys/types.h-data: Likewise.
60495         * conform/data/sys/uio.h-data: Likewise.
60496         * conform/data/sys/un.h-data: Likewise.
60497         * conform/data/sys/utsname.h-data: Likewise.
60498         * conform/data/sys/wait.h-data: Likewise.
60499         * conform/data/syslog.h-data: Likewise.
60500         * conform/data/tar.h-data: Likewise.
60501         * conform/data/termios.h-data: Likewise.
60502         * conform/data/utime.h-data: Likewise.
60503         * conform/data/utmpx.h-data: Likewise.
60504         * conform/data/varargs.h-data: Likewise.
60505         * conform/data/wchar.h-data: Likewise.
60506         * conform/data/wctype.h-data: Likewise.
60507         * conform/data/wordexp.h-data: Likewise.
60509         * include/stropts.h: New file.
60510         * include/uchar.h: New file.
60511         * include/aio.h: Changes to allow conformtest.pl to use the headers.
60512         * include/assert.h: Likewise.
60513         * include/ctype.h: Likewise.
60514         * include/dirent.h: Likewise.
60515         * include/dlfcn.h: Likewise.
60516         * include/fcntl.h: Likewise.
60517         * include/fnmatch.h: Likewise.
60518         * include/glob.h: Likewise.
60519         * include/grp.h: Likewise.
60520         * include/libio.h: Likewise.
60521         * include/locale.h: Likewise.
60522         * include/math.h: Likewise.
60523         * include/net/if.h: Likewise.
60524         * include/netdb.h: Likewise.
60525         * include/netinet/in.h: Likewise.
60526         * include/pthread.h: Likewise.
60527         * include/pwd.h: Likewise.
60528         * include/regex.h: Likewise.
60529         * include/sched.h: Likewise.
60530         * include/search.h: Likewise.
60531         * include/setjmp.h: Likewise.
60532         * include/signal.h: Likewise.
60533         * include/stdio.h: Likewise.
60534         * include/stdlib.h: Likewise.
60535         * include/string.h: Likewise.
60536         * include/sys/cdefs.h: Likewise.
60537         * include/sys/mman.h: Likewise.
60538         * include/sys/msg.h: Likewise.
60539         * include/sys/resource.h: Likewise.
60540         * include/sys/select.h: Likewise.
60541         * include/sys/socket.h: Likewise.
60542         * include/sys/stat.h: Likewise.
60543         * include/sys/statvfs.h: Likewise.
60544         * include/sys/time.h: Likewise.
60545         * include/sys/times.h: Likewise.
60546         * include/sys/uio.h: Likewise.
60547         * include/sys/utsname.h: Likewise.
60548         * include/sys/wait.h: Likewise.
60549         * include/termios.h: Likewise.
60550         * include/time.h: Likewise.
60551         * include/ulimit.h: Likewise.
60552         * include/unistd.h: Likewise.
60553         * include/utime.h: Likewise.
60554         * include/wchar.h: Likewise.
60555         * include/wctype.h: Likewise.
60556         * include/wordexp.h: Likewise.
60558         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
60560         * time/time.h: TIME_UTC must be a macro.
60561         Make timespec_get available for ISO C11 only as well.
60563 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
60565         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
60566         Reported by Peng Haitao <penght@cn.fujitsu.com>.
60568 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
60570         * configure.in: Use -o not -a in test for unsupported multi-arch.
60572 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
60574         * manual/texinfo.tex: Update to version 2012-01-19.16.
60576 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
60578         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
60580 2012-02-24  Roland McGrath  <roland@hack.frob.com>
60582         [BZ #13738]
60583         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
60584         * manual/fdl-1.3.texi: New file.
60585         * manual/fdl-1.1.texi: File removed.
60587         [BZ #13738]
60588         * manual/libc.texinfo (FDL_VERSION): New @set.
60589         Use it for mention of FDL in cover text.
60590         (Documentation License): Use it in @include file name.
60592 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
60593             Roland McGrath  <roland@hack.frob.com>
60595         [BZ #5461]
60596         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
60597         (not LONG_LONG_MAX and LONG_LONG_MIN.
60598         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
60599         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
60600         name.
60601         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
60603 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
60605         [BZ #2547]
60606         [BZ #11365]
60607         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
60608         manipulate bits before adding and subtracting TWO23[sx].
60609         * math/libm-test.inc (nearbyint_test): Add more tests.
60611 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
60613         [BZ #2548]
60614         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
60615         bits before adding and subtracting TWO23[sx].
60616         * math/libm-test.inc (rint_test): Add more tests.
60617         (rint_test_tonearest): Likewise.
60618         (rint_test_towardzero): Likewise.
60619         (rint_test_downward): Likewise.
60620         (rint_test_upward: Likewise.
60622 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
60624         [BZ #10110]
60625         * include/stdc-predef.h: New file.  Extracted from features.h.
60626         * include/features.h: Include stdc-predef.h.
60627         * Makefile (headers): Add stdc-predef.h.
60628         * CONFORMANCE (Compiler limitations): Update.
60630 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
60632         * manual/libc.texinfo (VERSION, UPDATED): Revert.
60634 2012-02-21  David S. Miller  <davem@davemloft.net>
60636         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
60637         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
60639 2012-02-20  David S. Miller  <davem@davemloft.net>
60641         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
60642         using a normal save/restore sequence, rather than allocating a
60643         dummy stack frame just to store a frame pointer and restore.
60644         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
60646 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
60648         * manual/install.texi: Fix stray word in line-wrapped comment.
60650 2012-02-20  David S. Miller  <davem@davemloft.net>
60652         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
60653         both binutils and gcc support GOTDATA.
60655         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
60656         "rd %pc" in the PIC register setup sequences.
60658         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
60659         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
60660         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
60661         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
60662         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
60663         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
60664         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
60665         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
60666         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
60667         (SYSCALL_ERROR_HANDLER): Likewise.
60668         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
60669         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
60670         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
60671         (SYSCALL_ERROR_HANDLER): Likewise.
60673         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
60674         (HAVE_GCC_GOTDATA): New.
60675         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
60676         relocation support in both binutils and gcc.
60677         * sysdeps/sparc/elf/configure: Regenerate.
60679         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
60680         * sysdeps/sparc/sparc32/elf/configure: Delete.
60681         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
60682         * sysdeps/sparc/sparc64/elf/configure: Delete.
60683         * sysdeps/sparc/elf/configure.in: New file.
60684         * sysdeps/sparc/elf/configure: Generate.
60686         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
60687         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
60688         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
60689         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
60690         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
60692 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
60694         * manual/install.texi: Do not mention specific glibc version
60695         numbers.
60696         * manual/libc.texinfo (VERSION, UPDATED): Update.
60697         (@copying): Use @copyright{} and range of years.
60699 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
60701         [BZ #13695]
60702         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
60703         [crti.S not in sysdirs] (generated): Do not append.
60704         [crti.S not in sysdirs] (omit-deps): Likewise.
60705         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
60706         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
60707         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
60708         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
60709         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
60710         Likewise.
60711         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
60712         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
60713         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
60714         * csu/defs.awk: Remove file.
60715         * sysdeps/generic/initfini.c: Likewise.
60716         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
60717         variable.
60718         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
60719         Likewise.
60721 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
60723         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
60724         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
60725         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
60726         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
60727         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
60728         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
60729         <bits/epoll.h>.
60730         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
60731         (__EPOLL_PACKED): Define to empty if not defined by
60732         <bits/epoll.h>.
60733         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
60734         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60735         bits/epoll.h.
60737 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
60739         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
60740         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
60741         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
60742         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
60743         <bits/timerfd.h>.
60744         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
60745         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60746         bits/timerfd.h.
60748 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
60750         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
60751         in C locale.
60752         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
60753         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
60754         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
60755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60757 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
60759         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60760         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
60762 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
60764         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
60765         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
60766         defined.
60767         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
60768         Likewise.
60769         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
60770         entry for 2.16.
60772 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
60774         * math/w_acos.c: Use non-signaling floating-point comparisons.
60775         * math/w_acosf.c: Likewise.
60776         * math/w_acosh.c: Likewise.
60777         * math/w_acoshf.c: Likewise.
60778         * math/w_acoshl.c: Likewise.
60779         * math/w_acosl.c: Likewise.
60780         * math/w_asin.c: Likewise.
60781         * math/w_asinf.c: Likewise.
60782         * math/w_asinl.c: Likewise.
60783         * math/w_atanh.c: Likewise.
60784         * math/w_atanhf.c: Likewise.
60785         * math/w_atanhl.c: Likewise.
60786         * math/w_exp2.c: Likewise.
60787         * math/w_exp2f.c: Likewise.
60788         * math/w_exp2l.c: Likewise.
60789         * math/w_j0.c: Likewise.
60790         * math/w_j0f.c: Likewise.
60791         * math/w_j0l.c: Likewise.
60792         * math/w_j1.c: Likewise.
60793         * math/w_j1f.c: Likewise.
60794         * math/w_j1l.c: Likewise.
60795         * math/w_jn.c: Likewise.
60796         * math/w_jnf.c: Likewise.
60797         * math/w_log.c: Likewise.
60798         * math/w_log10.c: Likewise.
60799         * math/w_log10f.c: Likewise.
60800         * math/w_log10l.c: Likewise.
60801         * math/w_log2.c: Likewise.
60802         * math/w_log2f.c: Likewise.
60803         * math/w_log2l.c: Likewise.
60804         * math/w_logf.c: Likewise.
60805         * math/w_logl.c: Likewise.
60806         * math/w_sqrt.c: Likewise.
60807         * math/w_sqrtf.c: Likewise.
60808         * math/w_sqrtl.c: Likewise.
60809         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
60810         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
60811         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
60812         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
60813         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
60815 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
60817         [BZ #9739]
60818         * manual/string.texi (strnlen): Use correct parameter name in
60819         equivalent expression.
60821 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
60823         [BZ #11174]
60824         * manual/users.texi (seteuid): Consistently use neweuid for
60825         argument name.
60827 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
60829         [BZ #13704]
60830         * manual/nss.texi (Services in the NSS configuration): Correct
60831         list of services in example configuration file.
60833 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
60835         [BZ #11322]
60836         * manual/arith.texi: Remove statements about negative zero
60837         behaving identically to zero.
60839 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
60841         [BZ #5993]
60842         * manual/install.texi: Do not document upgrading from libc5.
60844 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
60846         [BZ #4596]
60847         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
60849 2012-02-18  David S. Miller  <davem@davemloft.net>
60851         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
60852         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
60853         %o7 across the call.
60854         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
60855         instead.
60856         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
60857         SETUP_PIC_REG_LEAF.
60858         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
60859         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
60860         * sysdeps/sparc/crtn.S: Likewise.
60862 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
60864         * aout/Makefile: Remove.
60866 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
60868         [BZ #13058]
60869         * manual/examples/argp-ex1.c (main): Format definition in GNU
60870         style.
60871         * manual/examples/argp-ex2.c (main): Likewise.
60872         * manual/examples/argp-ex3.c (main): Likewise.
60873         * manual/examples/argp-ex4.c (main): Likewise.
60874         * manual/examples/longopt.c (main): Use new-style prototype
60875         definition.
60876         * manual/examples/strncat.c (main): Specify return type and use
60877         (void) for arguments.
60878         * manual/examples/subopt.c (main): Use char **argv argument.
60880 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
60882         [BZ #5077]
60883         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
60884         rounding modes.
60886 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
60888         [BZ #6907]
60889         * manual/string.texi (strchr): Change when strchrnul is
60890         recommended.
60892 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
60894         [BZ #174]
60895         * manual/locale.texi (setlocale): Document LOCPATH.
60897 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
60899         [BZ #10210]
60900         * manual/process.texi (execle): Move @dots{} before last argument.
60902 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
60904         [BZ #12047]
60905         * manual/charset.texi (Generic Charset Conversion): Fix typo
60906         (LC_TYPE -> LC_CTYPE).
60908 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
60910         [BZ #5805]
60911         * manual/arith.texi (scalbn): Use @var{} on parameter names.
60912         (scalbnf): Likewise.
60913         (scalbnl): Likewise.
60914         (scalbln): Likewise.
60915         (scalblnf): Likewise.
60916         (scalblnl): Likewise.
60917         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
60918         (vwarnx): Likewise.
60919         (verr): Likewise.
60920         (verrx): Likewise.
60921         * manual/filesys.texi (telldir): Use braces around return type.
60922         * manual/llio.texi (mmap): Add space after comma.
60923         (mmap64): Likewise.
60924         * manual/math.texi (jn): Use @var{} on parameter names.
60925         (jnf): Likewise.
60926         (jnl): Likewise.
60927         (yn): Likewise.
60928         (ynf): Likewise.
60929         (ynl): Likewise.
60930         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
60931         line.
60932         * manual/resource.texi (ulimit): Use @dots{} instead of literal
60933         "...".
60934         (sched_get_priority_min): Remove semicolon on @deftypefun line.
60935         (sched_get_priority_max): Likewise.
60936         * manual/signal.texi (sigvec): Add space after comma.
60937         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
60938         names.
60939         (if_indextoname): Likewise.
60940         (if_freenameindex): Likewise.
60941         (sendto): Use ',' instead of '.' in prototype.
60942         * manual/startup.texi (syscall): Use @dots{} instead of literal
60943         "...".
60944         * manual/stdio.texi (__fpending): Separate initial words of
60945         paragraph from @deftypefun line.
60946         * manual/syslog.texi (syslog): Use @dots{} instead of literal
60947         "...".
60948         (vsyslog): Use @var{} on parameter names.
60949         * manual/terminal.texi (stty): Use @var{} on parameter names.
60950         * manual/users.texi (getutmp): Use @var{} on parameter names.
60951         (getutmpx): Likewise.
60953 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
60955         [BZ #6884]
60956         * manual/stdio.texi (fopen): Fix typos in description of
60957         ",ccs=STRING".
60959 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
60961         [BZ #4026]
60962         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
60963         get clock_id definition.
60965 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
60967         [BZ #4822]
60968         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
60969         (madvise): Cast every argument to void on its own.
60971 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
60973         [BZ #9902]
60974         * manual/startup.texi (Exit Status): Fix typo.
60976 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
60978         [BZ #10140]
60979         * manual/examples/argp-ex1.c: Include <stdlib.h>.
60980         * manual/examples/argp-ex2.c: Likewise.
60981         * manual/examples/argp-ex3.c: Likewise.
60983 2012-02-16  Richard Henderson  <rth@redhat.com>
60985         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
60986         * sysdeps/s390/s390-32/initfini.c: Remove.
60987         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
60988         * sysdeps/s390/s390-64/initfini.c: Remove.
60990 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60992         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
60993         compiler output for sysdeps/generic/initfini.c.
60994         * sysdeps/sh/elf/initfini.c: Remove file.
60996 2012-02-16  David S. Miller  <davem@davemloft.net>
60998         [BZ #11494]
60999         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
61001         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
61002         * sysdeps/sparc/crti.S: New file.
61003         * sysdeps/sparc/crtn.S: New file.
61004         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
61005         * sysdeps/sparc/sparc64/Makefile: Likewise.
61007 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
61009         [BZ #3335]
61010         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
61012 2012-02-15  Roland McGrath  <roland@hack.frob.com>
61014         [BZ #4822]
61015         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
61017         * mach/devstream.c (cookie_io_functions_t): Macro removed.
61018         (write, read, close): Likewise.
61019         Patch by Aurelien Jarno <aurelien@aurel32.net>.
61021 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
61023         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
61024         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
61025         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
61026         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
61027         <bits/signalfd.h>.
61028         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
61029         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61030         bits/signalfd.h.
61032 2012-02-14  Marek Polacek  <polacek@redhat.com>
61034         * sysdeps/x86_64/crti.S: New file.
61035         * sysdeps/x86_64/crtn.S: New file.
61036         * sysdeps/x86_64/elf/initfini.c: Remove file.
61038 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
61040         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
61041         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
61042         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
61043         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
61044         <bits/inotify.h>.
61045         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
61046         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61047         bits/inotify.h.
61049 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
61051         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
61052         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
61053         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
61054         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
61055         <bits/eventfd.h>.
61056         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
61057         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61058         bits/eventfd.h.
61060 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
61062         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
61063         __feraiseexcept instead of feraiseexcept.
61065         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
61066         nanosleep invocations.
61067         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
61068         strings, and add error checking for a nanosleep invocations.
61070 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
61072         Replace FSF snail mail address with URLs, as per GNU coding standards.
61073         Most of the snail mail addresses were wrong anyway, and omitting
61074         them makes the source code easier to maintain.  Almost all of the
61075         changes are to license notices and to locale LC_IDENTIFICATION
61076         addresses, except for this one:
61077         * manual/libc.texinfo: In "Published by", give the FSF's URL,
61078         not its snail mail address.
61080 2012-02-09  Richard Henderson  <rth@twiddle.net>
61082         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
61083         of kernel-features.h.
61085         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
61087 2012-02-08  Marek Polacek  <polacek@redhat.com>
61089         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
61090         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
61091         * sysdeps/gnu/_G_config.h: Likewise.
61092         * sysdeps/generic/_G_config.h: Likewise.
61094 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
61096         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
61097         tests.
61098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61100         * sysdeps/powerpc/powerpc32/crti.S: New file.
61101         * sysdeps/powerpc/powerpc32/crtn.S: New file.
61102         * sysdeps/powerpc/powerpc64/crti.S: New file.
61103         * sysdeps/powerpc/powerpc64/crtn.S: New file.
61105         * Makeconfig (have-initfini): Don't set.
61106         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
61107         * configure.in (nopic_initfini): Don't substitute.
61108         * config.h.in (HAVE_INITFINI): Don't #undef.
61109         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
61110         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
61112 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
61114         Support crti.S and crtn.S provided directly by architectures.
61115         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
61116         [crti.S in sysdirs] (omit-deps): Likewise.
61117         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
61118         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
61119         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
61120         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
61121         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
61122         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
61123         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
61124         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
61125         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
61126         compiler output for sysdeps/generic/initfini.c.
61127         * sysdeps/i386/elf/Makefile: Remove file.
61128         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
61130 2012-02-07  Marek Polacek  <polacek@redhat.com>
61132         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
61133         * sysdeps/gnu/_G_config.h: Likewise.
61134         * sysdeps/mach/hurd/_G_config.h: Likewise.
61136 2012-02-07  Marek Polacek  <polacek@redhat.com>
61138         * math/Makefile (tests): Add tst-CMPLX2.
61139         * math/tst-CMPLX2.c: New file.
61141 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
61143         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
61145         * math/libm-test.inc (jn_test): Add missing L suffix.
61147 2012-02-06  Marek Polacek  <polacek@redhat.com>
61149         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
61150         * sysdeps/i386/fpu/e_powf.S: Likewise.
61151         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
61152         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
61153         * sysdeps/i386/fpu/e_acosh.S: Likewise.
61154         * sysdeps/i386/fpu/e_pow.S: Likewise.
61155         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
61156         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
61157         * sysdeps/i386/fpu/s_expm1.S: Likewise.
61158         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
61159         * sysdeps/i386/fpu/e_log2.S: Likewise.
61160         * sysdeps/i386/fpu/e_log2l.S: Likewise.
61161         * sysdeps/i386/fpu/e_scalb.S: Likewise.
61162         * sysdeps/i386/fpu/e_powl.S: Likewise.
61163         * sysdeps/i386/fpu/s_log1p.S: Likewise.
61164         * sysdeps/i386/fpu/e_log10f.S: Likewise.
61165         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
61166         * sysdeps/i386/fpu/e_logl.S: Likewise.
61167         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
61168         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
61169         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
61170         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
61171         * sysdeps/i386/fpu/e_log2f.S: Likewise.
61172         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
61173         * sysdeps/i386/fpu/e_log.S: Likewise.
61174         * sysdeps/i386/fpu/s_cexp.S: Likewise.
61175         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
61176         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
61177         * sysdeps/i386/fpu/e_logf.S: Likewise.
61178         * sysdeps/i386/fpu/e_log10l.S: Likewise.
61179         * sysdeps/i386/fpu/e_atanh.S: Likewise.
61180         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
61181         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
61182         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
61183         * sysdeps/i386/fpu/e_log10.S: Likewise.
61184         * sysdeps/i386/fpu/s_frexp.S: Likewise.
61185         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
61186         * sysdeps/i386/fpu/s_asinh.S: Likewise.
61187         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
61188         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
61189         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
61190         * sysdeps/i386/asm-syntax.h: Likewise.
61191         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
61192         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
61193         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
61194         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
61195         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
61196         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
61197         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
61198         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
61199         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
61200         * sysdeps/powerpc/sysdep.h: Likewise.
61201         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
61202         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
61204 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
61206         [BZ #411]
61207         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
61209 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
61211         * sysdeps/i386/sysdep.h: Include <features.h>.
61212         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
61213         version.
61215 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
61217         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
61218         Define.
61219         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
61220         LOAD_PIC_REG_STR.
61222 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
61224         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
61225         (SETUP_PIC_REG): Use GET_PC_THUNK.
61226         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
61227         macro.
61229 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
61231         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
61232         for non-PIC compilation.
61233         (SETUP_PIC_REG): Add .p2align directive.
61234         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
61235         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
61236         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
61237         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
61238         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
61239         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
61240         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
61241         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
61242         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
61243         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
61244         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
61245         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
61246         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
61247         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
61248         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
61249         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
61250         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
61251         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
61252         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
61253         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
61254         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
61255         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
61256         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
61257         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
61258         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
61259         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
61260         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
61261         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
61262         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
61263         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
61264         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
61265         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
61266         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
61267         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
61268         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
61269         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
61270         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
61271         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
61272         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
61273         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
61274         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
61276 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
61278         * math/tst-CMPLX.c: Include <stdio.h>.
61280 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
61282         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
61283         float.
61284         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
61285         * sysdeps/sparc/bits/mathdef.h: Likewise.
61287 2012-01-31  Marek Polacek  <polacek@redhat.com>
61289         * libio/libio.h: Don't define _PARAMS.
61290         * locale/programs/config.h: Don't define PARAMS.
61291         * stdlib/strtol_l.c: Likewise.
61292         (__strtol_l): Remove PARAMS from the prototype.
61294 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
61296         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
61297         names.  Just use the correct names.  Remove unnecessary wrapper
61298         functions.
61299         * malloc/arena.c: Likewise.
61300         * malloc/hooks.c: Likewise.
61302         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
61303         ARENA_TEST says not to.  Simplify test for creation of a new arena.
61304         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
61306 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
61308         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
61309         into tail calls.
61310         (update_get_addr): New function.
61311         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
61312         GET_ADDR_MODULE parameter.
61314 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
61316         * crypt/cert.c: Remove __STDC__ conditionals.
61317         * crypt/crypt-entry.c: Likewise.
61318         * crypt/crypt_util.c: Likewise.
61319         * libio/filedoalloc.c: Likewise.
61320         * libio/fileops.c: Likewise.
61321         * libio/genops.c: Likewise.
61322         * libio/iofclose.c: Likewise.
61323         * libio/iofdopen.c: Likewise.
61324         * libio/iofopen.c: Likewise.
61325         * libio/iofopen64.c: Likewise.
61326         * libio/iogetdelim.c: Likewise.
61327         * libio/iopopen.c: Likewise.
61328         * libio/obprintf.c: Likewise.
61329         * libio/oldfileops.c: Likewise.
61330         * libio/oldiofclose.c: Likewise.
61331         * libio/oldiofdopen.c: Likewise.
61332         * libio/oldiofopen.c: Likewise.
61333         * libio/oldiopopen.c: Likewise.
61334         * libio/wfiledoalloc.c: Likewise.
61335         * libio/wgenops.c: Likewise.
61336         * locale/programs/xmalloc.c: Likewise.
61337         * misc/syslog.c: Likewise.
61338         * stdio-common/xbug.c: Likewise.
61339         * string/memchr.c: Likewise.
61340         * string/memcmp.c: Likewise.
61341         * string/memrchr.c: Likewise.
61342         * string/rawmemchr.c: Likewise.
61343         * sysdeps/posix/getcwd.c: Likewise.
61344         * time/strftime_l.c: Likewise.
61346 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
61348         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
61349         * config.make.in (config-cflags-sse2avx): Define.
61350         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
61351         Fix typo.
61353 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
61355         * scripts/config.guess: Update from upstream config git repository.
61356         * scripts/config.sub: Likewise.
61358 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
61360         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
61361         (EM_NUM): Update.
61362         (R_TILEPRO_*, R_TILEGX_*): New macros.
61364         * scripts/firstversions.awk: Fix bug in version range handling.
61366         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
61368         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
61370         * include/sys/epoll.h: New file.
61371         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
61372         libc_hidden_def.
61374 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
61376         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
61377         Avoid unnecessary __WORDSIZE == 64 test.
61378         (fmaxf): Use VEX format if possible.
61379         (fmax): Likewise.
61380         (fminf): Likewise.
61381         (fmin): Likewise.
61383         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
61384         * math/math_private.h: Remove libc_fegetround* and
61385         libc_fesetround*.
61386         * sysdeps/i386/configure.in: Check for -msse2avx.
61387         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
61388         also if SSE2AVX is defined.
61389         Remove libc_fegetround* and libc_fesetround*.
61390         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
61391         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
61392         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
61393         of HAS_YMM_USABLE.
61394         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
61395         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
61396         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
61397         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
61398         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
61400         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
61402 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61404         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
61405         size is not set.
61406         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
61408 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
61410         [BZ #13618]
61411         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
61412         relocation.
61413         * Makeconfig (libm): Define.
61414         * elf/Makefile: Add rules to build and run tst-relsort1.
61415         * elf/tst-relsort1.c: New file.
61416         * elf/tst-relsort1mod1.c: New file.
61417         * elf/tst-relsort1mod2.c: New file.
61419 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
61421         * math/s_ldexp.c: Remove __STDC__ conditionals.
61422         * math/s_ldexpf.c: Likewise.
61423         * math/s_ldexpl.c: Likewise.
61424         * math/s_nextafter.c: Likewise.
61425         * math/s_nexttowardf.c: Likewise.
61426         * math/s_significand.c: Likewise.
61427         * math/s_significandf.c: Likewise.
61428         * math/s_significandl.c: Likewise.
61429         * math/w_jnl.c: Likewise.
61430         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
61431         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
61432         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
61433         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
61434         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
61435         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
61436         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
61437         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
61438         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
61439         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
61440         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
61441         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
61442         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
61443         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
61444         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
61445         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
61446         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
61447         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
61448         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
61449         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
61450         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
61451         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
61452         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
61453         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
61454         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
61455         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
61456         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
61457         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
61458         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
61459         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
61460         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
61461         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
61462         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
61463         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
61464         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
61465         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
61466         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
61467         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
61468         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
61469         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
61470         * sysdeps/ieee754/k_standard.c: Likewise.
61471         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
61472         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
61473         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
61474         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
61475         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
61476         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
61477         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
61478         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
61479         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
61480         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
61481         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
61482         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
61483         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
61484         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
61485         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
61486         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
61487         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
61488         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
61489         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
61490         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
61491         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
61492         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
61493         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
61494         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
61495         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
61496         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
61497         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
61498         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
61499         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
61500         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
61501         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
61502         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
61503         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
61504         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
61505         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
61506         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
61507         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
61508         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
61509         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
61510         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
61511         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
61512         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
61513         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
61514         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
61515         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
61516         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
61517         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
61518         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
61519         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
61520         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
61521         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
61522         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
61523         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
61524         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
61525         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
61526         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
61527         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
61528         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
61529         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
61530         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
61531         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
61532         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
61533         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
61534         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
61535         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
61536         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
61537         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
61538         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
61539         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
61540         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
61541         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
61542         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
61543         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
61544         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
61545         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
61546         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
61547         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
61548         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
61549         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
61550         * sysdeps/ieee754/s_matherr.c: Likewise.
61551         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
61552         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
61553         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
61554         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
61556 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
61558         * crypt/md5.h: Remove __STDC__ conditionals.
61559         * libio/libioP.h: Likewise.
61560         * locale/programs/config.h: Likewise.
61561         * sysdeps/generic/sysdep.h: Likewise.
61562         * sysdeps/i386/asm-syntax.h: Likewise.
61563         * sysdeps/s390/asm-syntax.h: Likewise.
61564         * sysdeps/unix/sysdep.h: Likewise.
61565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
61566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
61568 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
61570         * libio/libio.h: Remove __STDC__ conditionals.
61571         * malloc/obstack.h: Likewise.
61572         * math/complex.h: Likewise.
61573         * math/math.h: Likewise.
61574         * sysdeps/generic/_G_config.h: Likewise.
61575         * sysdeps/gnu/_G_config.h: Likewise.
61576         * sysdeps/mach/hurd/_G_config.h: Likewise.
61577         * sysdeps/powerpc/bits/mathdef.h: Likewise.
61578         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
61579         * sysdeps/sparc/bits/mathdef.h: Likewise.
61581 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
61583         [BZ #13583]
61584         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
61585         Clean up HAS_* macros.
61586         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
61587         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
61588         possible.
61589         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
61590         HAS_AVX.
61591         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
61592         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
61593         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
61594         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
61595         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
61597 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
61599         * elf/tst-unique3.cc (gets): Remove declaration.
61600         * elf/tst-unique3lib.cc (gets): Likewise.
61601         * elf/tst-unique3lib2.cc (gets): Likewise.
61602         * elf/tst-unique4.cc (gets): Likewise.
61604 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
61606         * include/stdio.h: Add C++ protection.  Add gets declarations and
61607         definitions.
61608         * debug/tst-chk1.c: Don't declare gets here.
61609         * stdio-common/tst-gets.c: Likewise.
61611 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
61613         * posix/glob: Remove directory.
61615 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
61617         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
61619 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
61621         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
61622         of the non-standard EPFNOSUPPORT.
61624 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61626         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
61627         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
61628         ANYWHERE set to 1 only on KERN_NO_SPACE error.
61630 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
61632         * wcsmbs/uchar.h: Test __STDC_VERSION__.
61634 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
61636         * nscd/aicache.c (addhstaiX): Do not cache negative results of
61637         transient errors.
61638         * nscd/grpcache.c (cache_addgr): Likewise.
61639         * nscd/hstcache.c (cache_addhst): Likewise.
61640         * nscd/initgrcache.c (addinitgroupsX): Likewise.
61641         * nscd/pwdcache.c (cache_addpw): Likewise.
61642         * nscd/servicescache.c (cache_addserv): Likewise.
61644 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
61646         * malloc/malloc.c: Various cleanups.
61647         * malloc/hooks.c: Likewise.
61649         * stdlib/Makefile (tests): Add bug-fmtmsg1.
61650         * stdlib/bug-fmtmsg1.c: New file.
61652         * stdlib/fmtmsg.c (init): Add missing unlock.
61653         Patch by Peng Haitao <penght@cn.fujitsu.com>.
61655 2012-01-12  Marek Polacek  <polacek@redhat.com>
61657         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
61658         and _GNU_SOURCE.
61660 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
61662         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
61663         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
61664         macro to ensure uniqueness of label name.
61665         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
61666         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
61668 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
61670         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
61672         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
61673         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
61674         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
61675         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
61677 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
61679         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
61681         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
61682         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
61683         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
61685         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
61687         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
61688         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
61689         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
61690         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
61692         * math/bits/math-finite.h: Add ldexp support.
61694 2012-01-10  Marek Polacek  <polacek@redhat.com>
61696         * locale/programs/localedef.h (show_archive_content): Add noreturn
61697         attribute.
61699 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
61701         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
61703 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
61705         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
61707         * io/Makefile (headers): Add bits/poll2.h.
61709 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
61711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
61712         typo #include statement.
61714 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
61716         * include/sys/cdefs.h: Define __attribute_alloc_size.
61717         * catgets/gencat.c: Add alloc_size attribute and apply consistently
61718         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
61719         * elf/pldd.c: Likewise.
61720         * iconv/iconv_charmap.c: Likewise.
61721         * iconv/iconvconfig.c: Likewise.
61722         * iconv/strtab.c: Likewise.
61723         * locale/programs/locale.c: Likewise.
61724         * locale/programs/localedef.h: Likewise.
61725         * locale/programs/simple-hash.c: Likewise.
61726         * nscd/nscd.h: Likewise.
61727         * nss/makedb.c: Likewise.
61728         * sysdeps/generic/ldconfig.h: Likewise.
61729         * locale/programs/localedef.c: Remove xmalloc prototype.
61730         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
61732 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
61734         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
61735         appropriate.
61737 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
61739         * math/Makefile (tests): Add tst-CMPLX.
61740         * math/tst-CMPLX.c: New file.
61742         * math/complex.h (CMPLXL): Fix typo.
61744         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
61745         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
61746         GLIBC_2.16.
61747         * debug/tst-chk1.c: Add poll and ppoll tests.
61748         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
61749         * include/sys/poll.h: Add hidden proto for ppoll.
61750         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
61751         * sysdeps/mach/hurd/ppoll.c: Likewise.
61752         * io/ppoll.c: Likewise.
61753         * debug/poll_chk.c: New file.
61754         * debug/ppoll_chk.c: New file.
61755         * include/bits/poll2.h: New file.
61756         * io/bits/poll2.h: New file.
61758         [BZ #1350]
61759         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
61761         * configure.in: static is always set to yes.  Remove.
61762         * config.make.in: Don't set build-static.
61763         * Makeconfig: Remove use of build-static.
61764         * dlfcn/Makefile: Likewise.
61765         * elf/Makefile: Likewise.
61766         * math/Makefile: Likewise.
61767         * misc/Makefile: Likewise.
61768         * nptl/Makefile: Likewise.
61769         * sysdeps/mach/hurd/Makefile: Likewise.
61771         * configure.in: PWD_P is not used anymore.
61772         * config.make.in: Remove PWD_P entry.
61774         * configure.in: Remove last remnants of RANLIB.
61775         No need to check for signed size_t anymore.
61776         Don't set libc_commonpagesize and libc_relro_required here for Alpha
61777         and IA-64.
61778         Remove __builtin_expect test because we require at least gcc 3.4.
61779         * aclocal.m4: Likewise.
61781         * wcsmbs/mbrtoc16.c: Implement using towc function.
61782         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
61783         * wcsmbs/wcsmbsload.c: Likewise.
61784         * iconv/gconv_simple.c: Likewise.
61785         * iconv/gconv_int.h: Likewise.
61786         * iconv/gconv_builtin.h: Likewise.
61787         * iconv/iconv_prog.c: Remove CHAR16 handling.
61789         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
61791         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
61793         * configure.in: Remove --with-elf and --enable-bounded options.
61794         Dont set base_machine for ia64.  More non-ELF conditions removed.
61795         Remove testing and setting of leading underscore information.
61796         * config.make.in (build-bounded): Set to no.
61797         * config.h.in: Remove NO_UNDERSCORES entry.
61798         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
61799         them.
61800         * csu/start.c: Remove !NO_UNDERSCORE code.
61801         * locale/localeinfo.h: Likewise.
61802         * sysdeps/generic/machine-gmon.h: Likewise.
61803         * sysdeps/generic/sysdep.h: Likewise.
61804         * sysdeps/i386/sysdep.h: Likewise.
61805         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
61806         * sysdeps/mach/sysdep.h: Likewise.
61807         * sysdeps/s390/s390-32/sysdep.h: Likewise.
61808         * sysdeps/s390/s390-64/sysdep.h: Likewise.
61809         * sysdeps/sh/sysdep.h: Likewise.
61810         * sysdeps/sparc/sparc32/alloca.S: Likewise.
61811         * sysdeps/unix/i386/sysdep.S: Likewise.
61812         * sysdeps/unix/sparc/start.c: Likewise.
61813         * sysdeps/unix/sparc/sysdep.S: Likewise.
61814         * sysdeps/unix/sparc/sysdep.h: Likewise.
61815         * sysdeps/unix/start.c: Likewise.
61816         * sysdeps/unix/x86_64/sysdep.S: Likewise.
61817         * sysdeps/x86_64/sysdep.h: Likewise.
61819 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
61821         [BZ #13553]
61822         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
61823         for non-gcc.
61824         * argp/argp-fmtstream.h: Use const instead __const.
61825         * argp/argp.h: Likewise.
61826         * assert/assert.h: Likewise.
61827         * bits/fenv.h: Likewise.
61828         * bits/sched.h: Likewise.
61829         * bits/sigset.h: Likewise.
61830         * bits/sigthread.h: Likewise.
61831         * catgets/nl_types.h: Likewise.
61832         * conform/data/pthread.h-data: Likewise.
61833         * crypt/crypt-private.h: Likewise.
61834         * crypt/crypt.h: Likewise.
61835         * crypt/crypt_util.c: Likewise.
61836         * ctype/ctype.h: Likewise.
61837         * debug/execinfo.h: Likewise.
61838         * debug/mbsnrtowcs_chk.c: Likewise.
61839         * debug/mbsrtowcs_chk.c: Likewise.
61840         * debug/wcsnrtombs_chk.c: Likewise.
61841         * debug/wcsrtombs_chk.c: Likewise.
61842         * debug/wcstombs_chk.c: Likewise.
61843         * dirent/dirent.h: Likewise.
61844         * dlfcn/dlfcn.h: Likewise.
61845         * elf/neededtest4.c: Likewise.
61846         * grp/grp.h: Likewise.
61847         * gshadow/gshadow.h: Likewise.
61848         * iconv/gconv.h: Likewise.
61849         * iconv/gconv_int.h: Likewise.
61850         * iconv/gconv_simple.c: Likewise.
61851         * iconv/iconv.h: Likewise.
61852         * iconv/loop.c: Likewise.
61853         * iconv/skeleton.c: Likewise.
61854         * include/aio.h: Likewise.
61855         * include/aliases.h: Likewise.
61856         * include/argz.h: Likewise.
61857         * include/arpa/inet.h: Likewise.
61858         * include/assert.h: Likewise.
61859         * include/dirent.h: Likewise.
61860         * include/dlfcn.h: Likewise.
61861         * include/execinfo.h: Likewise.
61862         * include/fcntl.h: Likewise.
61863         * include/fenv.h: Likewise.
61864         * include/glob.h: Likewise.
61865         * include/grp.h: Likewise.
61866         * include/libintl.h: Likewise.
61867         * include/mntent.h: Likewise.
61868         * include/netdb.h: Likewise.
61869         * include/pwd.h: Likewise.
61870         * include/rpc/netdb.h: Likewise.
61871         * include/sched.h: Likewise.
61872         * include/search.h: Likewise.
61873         * include/shadow.h: Likewise.
61874         * include/signal.h: Likewise.
61875         * include/stdio.h: Likewise.
61876         * include/stdlib.h: Likewise.
61877         * include/string.h: Likewise.
61878         * include/sys/socket.h: Likewise.
61879         * include/sys/stat.h: Likewise.
61880         * include/sys/statfs.h: Likewise.
61881         * include/sys/statvfs.h: Likewise.
61882         * include/sys/syslog.h: Likewise.
61883         * include/sys/time.h: Likewise.
61884         * include/sys/uio.h: Likewise.
61885         * include/time.h: Likewise.
61886         * include/unistd.h: Likewise.
61887         * include/utmp.h: Likewise.
61888         * include/wchar.h: Likewise.
61889         * include/wctype.h: Likewise.
61890         * inet/aliases.h: Likewise.
61891         * inet/arpa/inet.h: Likewise.
61892         * inet/netinet/ether.h: Likewise.
61893         * inet/netinet/in.h: Likewise.
61894         * intl/libintl.h: Likewise.
61895         * io/bits/fcntl2.h: Likewise.
61896         * io/fcntl.h: Likewise.
61897         * io/ftw.h: Likewise.
61898         * io/sys/poll.h: Likewise.
61899         * io/sys/stat.h: Likewise.
61900         * io/sys/statfs.h: Likewise.
61901         * io/sys/statvfs.h: Likewise.
61902         * io/utime.h: Likewise.
61903         * libio/bits/stdio.h: Likewise.
61904         * libio/bits/stdio2.h: Likewise.
61905         * libio/libio.h: Likewise.
61906         * libio/libioP.h: Likewise.
61907         * libio/stdio.h: Likewise.
61908         * locale/lc-ctype.c: Likewise.
61909         * locale/locale.h: Likewise.
61910         * login/utmp.h: Likewise.
61911         * malloc/arena.c: Likewise.
61912         * malloc/malloc.c: Likewise.
61913         * malloc/malloc.h: Likewise.
61914         * malloc/mcheck.c: Likewise.
61915         * malloc/mtrace.c: Likewise.
61916         * math/bits/mathcalls.h: Likewise.
61917         * math/fenv.h: Likewise.
61918         * math/math_private.h: Likewise.
61919         * misc/bits/error.h: Likewise.
61920         * misc/bits/syslog.h: Likewise.
61921         * misc/err.h: Likewise.
61922         * misc/error.h: Likewise.
61923         * misc/fstab.h: Likewise.
61924         * misc/mntent.h: Likewise.
61925         * misc/regexp.h: Likewise.
61926         * misc/search.h: Likewise.
61927         * misc/sgtty.h: Likewise.
61928         * misc/sys/mman.h: Likewise.
61929         * misc/sys/syslog.h: Likewise.
61930         * misc/sys/uio.h: Likewise.
61931         * misc/sys/xattr.h: Likewise.
61932         * misc/ttyent.h: Likewise.
61933         * nis/rpcsvc/ypclnt.h: Likewise.
61934         * nss/nss.h: Likewise.
61935         * posix/bits/unistd.h: Likewise.
61936         * posix/fnmatch.h: Likewise.
61937         * posix/glob.h: Likewise.
61938         * posix/sched.h: Likewise.
61939         * posix/spawn.h: Likewise.
61940         * posix/sys/wait.h: Likewise.
61941         * posix/unistd.h: Likewise.
61942         * posix/wordexp.h: Likewise.
61943         * pwd/pwd.h: Likewise.
61944         * resolv/netdb.h: Likewise.
61945         * resource/sys/resource.h: Likewise.
61946         * rt/aio.h: Likewise.
61947         * rt/bits/mqueue2.h: Likewise.
61948         * rt/mqueue.h: Likewise.
61949         * shadow/shadow.h: Likewise.
61950         * signal/signal.h: Likewise.
61951         * socket/send.c: Likewise.
61952         * socket/sendto.c: Likewise.
61953         * socket/sys/socket.h: Likewise.
61954         * stdio-common/printf.h: Likewise.
61955         * stdlib/bits/stdlib.h: Likewise.
61956         * stdlib/fmtmsg.h: Likewise.
61957         * stdlib/monetary.h: Likewise.
61958         * stdlib/stdlib.h: Likewise.
61959         * stdlib/ucontext.h: Likewise.
61960         * streams/stropts.h: Likewise.
61961         * string/argz.h: Likewise.
61962         * string/bits/string2.h: Likewise.
61963         * string/string.h: Likewise.
61964         * string/strings.h: Likewise.
61965         * sunrpc/rpc/auth.h: Likewise.
61966         * sunrpc/rpc/auth_des.h: Likewise.
61967         * sunrpc/rpc/clnt.h: Likewise.
61968         * sunrpc/rpc/netdb.h: Likewise.
61969         * sunrpc/rpc/pmap_clnt.h: Likewise.
61970         * sunrpc/rpc/xdr.h: Likewise.
61971         * sysdeps/generic/inttypes.h: Likewise.
61972         * sysdeps/generic/net/if.h: Likewise.
61973         * sysdeps/generic/sys/swap.h: Likewise.
61974         * sysdeps/gnu/net/if.h: Likewise.
61975         * sysdeps/gnu/utmpx.h: Likewise.
61976         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
61977         * sysdeps/i386/i486/bits/string.h: Likewise.
61978         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
61979         * sysdeps/s390/bits/string.h: Likewise.
61980         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
61981         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
61982         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
61983         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
61984         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
61985         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
61986         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
61987         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
61988         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
61989         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
61990         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
61991         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
61992         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
61993         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
61994         * sysdeps/unix/sysv/linux/readv.c: Likewise.
61995         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
61996         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
61997         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
61998         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
61999         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
62000         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
62001         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
62002         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
62003         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
62004         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
62005         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
62006         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
62007         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
62008         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
62009         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
62010         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
62011         * sysvipc/sys/ipc.h: Likewise.
62012         * sysvipc/sys/msg.h: Likewise.
62013         * sysvipc/sys/sem.h: Likewise.
62014         * sysvipc/sys/shm.h: Likewise.
62015         * termios/termios.h: Likewise.
62016         * time/sys/time.h: Likewise.
62017         * time/time.h: Likewise.
62018         * wcsmbs/bits/wchar2.h: Likewise.
62019         * wcsmbs/uchar.h: Likewise.
62020         * wcsmbs/wchar.h: Likewise.
62021         * wctype/wctype.h: Likewise.
62023         [BZ #13551]
62024         * Makeconfig: Remove all but ELF support including AIX support.
62025         * Makerules: Likewise.
62026         * config.h.in: Likewise.
62027         * config.make.in: Likewise.
62028         * configure: Likewise.
62029         * configure.in: Likewise.
62030         * csu/Makefile: Likewise.
62031         * csu/version.c: Likewise.
62032         * debug/Makefile: Likewise.
62033         * dlfcn/Makefile: Likewise.
62034         * elf/Makefile: Likewise.
62035         * extra-lib.mk: Likewise.
62036         * iconv/Makefile: Likewise.
62037         * include/libc-symbols.h: Likewise.
62038         * include/shlib-compat.h: Likewise.
62039         * resolv/Makefile: Likewise.
62040         * resolv/res_libc.c: Likewise.
62041         * rt/Makefile: Likewise.
62042         * sysdeps/i386/asm-syntax.h: Likewise.
62043         * sysdeps/i386/sysdep.h: Likewise.
62044         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
62045         * sysdeps/mach/sysdep.h: Likewise.
62046         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
62047         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
62048         * sysdeps/s390/asm-syntax.h: Likewise.
62049         * sysdeps/s390/s390-32/sysdep.h: Likewise.
62050         * sysdeps/s390/s390-64/sysdep.h: Likewise.
62051         * sysdeps/sh/sysdep.h: Likewise.
62052         * sysdeps/unix/sparc/sysdep.h: Likewise.
62053         * sysdeps/wordsize-32/divdi3.c: Likewise.
62054         * sysdeps/x86_64/sysdep.h: Likewise.
62056         * argp/Versions: Remove _argp_unlock_xxx.
62058         [BZ #13559]
62059         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
62060         * abilist/libBrokenLocale.abilist: Likewise.
62061         * abilist/libanl.abilist: Likewise.
62062         * abilist/libc.abilist: Likewise.
62063         * abilist/libcrypt.abilist: Likewise.
62064         * abilist/libdl.abilist: Likewise.
62065         * abilist/libm.abilist: Likewise.
62066         * abilist/libnsl.abilist: Likewise.
62067         * abilist/libpthread.abilist: Likewise.
62068         * abilist/libresolv.abilist: Likewise.
62069         * abilist/librt.abilist: Likewise.
62070         * abilist/libthread_db.abilist: Likewise.
62071         * abilist/libutil.abilist: Likewise.
62072         * abilist/libnss_db.abilist: New file.
62074         * scripts/abilist.awk: Add support for indirect functions.
62076         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
62078         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
62080         * shlib-versions: Remove entries for ports architectures.
62082         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
62083         files in ports.
62084         * elf/stackguard-macros.h: Remove support for IA-64.
62085         * elf/tst-auditmod1.c: Likewise.
62086         * sysdeps/generic/ldsodefs.h: Likewise.
62088         * sysdeps/unix/sysv/linux/configure.in: Ports should define
62089         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
62090         configure files.
62092         [BZ #13552]
62093         * configure.in: Remove --enable-omitfp support.
62094         * FAQ.in: Adjust.
62095         * config.make.in: Likewise.
62096         * Makeconfig: Likewise.
62097         * manual/install.texi: Likewise.
62099         In case anyone cares, the IA-64 architecture could move to ports.
62100         * sysdeps/ia64/*: Removed.
62101         * sysdeps/unix/sysv/linux/ia64/*: Removed.
62102         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
62104         [BZ #13555]
62105         * configure.in: Remove entries for unsupported architectures.
62107         [BZ #13533]
62108         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
62109         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
62110         routines.
62111         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
62112         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
62113         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
62114         fall back to using wcrtomb.
62115         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
62116         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
62117         renaming.
62118         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
62119         * wcsmbs/tst-c16c32-1.c: New file.
62121         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
62122         local variable.
62124         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
62126         * elf/tst-unique3.cc: Add explicit declaration of gets.
62127         * elf/tst-unique3lib.cc: Likewise.
62128         * elf/tst-unique3lib2.cc: Likewise.
62129         * elf/tst-unique4.cc: Likewise.
62131         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
62133 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
62135         [BZ #13566]
62136         * assert/assert.h (static_assert): Don't define for C++.
62137         * libio/stdio.h (gets): Do declare for C++ <= C++11.
62138         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
62140 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
62142         * iconv/loop.c (single loop): Fix assertion in storing of
62143         remaining bytes.
62145         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
62147 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
62149         * posix/getconf.c: Update copyright year.
62150         * nss/getent.c: Likewise.
62151         * nss/makedb.c: Likewise.
62152         * iconv/iconvconfig.c: Likewise.
62153         * iconv/iconv_prog.c: Likewise.
62154         * elf/ldconfig.c: Likewise.
62155         * elf/pldd.c: Likewise.
62156         * elf/sotruss.ksh: Likewise.
62157         * catgets/gencat.c: Likewise.
62158         * csu/version.c: Likewise.
62159         * elf/ldd.bash.in: Likewise.
62160         * elf/sprof.c (print_version): Likewise.
62161         * locale/programs/locale.c: Likewise.
62162         * locale/programs/localedef.c: Likewise.
62163         * login/programs/pt_chown.c: Likewise.
62164         * nscd/nscd.c (print_version): Likewise.
62165         * debug/xtrace.sh: Likewise.
62166         * malloc/memusage.sh: Likewise.
62167         * malloc/mtrace.pl: Likewise.
62168         * debug/catchsegv.sh: Likewise.
62170 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
62172         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
62173         pure attribute.
62175 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
62177         [BZ #13533]
62178         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
62179         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
62180         transformations.
62181         * iconv/gconv_int.h: Likewise.
62182         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
62183         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
62184         from libc for GLIBC_2.16.
62185         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
62186         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
62187         * wcsmbs/uchar.h: Really define mbstate_t.
62188         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
62189         * wcsmbs/c16rtomb.c: New file.
62190         * wcsmbs/mbrtoc16.c: New file.
62191         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
62192         for C/POSIX locale.
62193         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
62194         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
62196         * wcsmbs/wchar.h: Add missing __restrict.
62198 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
62200         [BZ #13532]
62201         * time/Makefile (routines): Add timespec_get.
62202         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
62203         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
62204         timespec for ISO C11.
62205         * time/timespec_get.c: New file.
62206         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
62207         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
62209         [BZ #13531]
62210         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
62211         * stdlib/stdlib.h: Declare aligned_alloc.
62212         * Versions.def: Add GLIBC_2.16 for libc.
62213         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
62215         [BZ 13527]
62216         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
62217         ISO C11.
62219         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
62220         code.
62222         [BZ #13528]
62223         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
62225         [BZ #13529]
62226         * assert/assert.h (static_assert): Define.
62228         * version.h: Update for 2.16 development version.
62230         [BZ #13526]
62231         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
62232         _ISOC11_SOURCE.
62234         * version.h (RELEASE): Bump for 2.15 release.
62235         * include/features.h (__GLIBC_MINOR__): Bump to 15.
62237         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
62238         Patch by Marek Polacek <mpolacek@redhat.com>.
62240         * bits/byteswap.h: Protect long long constants with __extension__.
62241         * sysdeps/i386/bits/byteswap.h: Likewise.
62242         * sysdeps/ia64/bits/byteswap.h: Likewise.
62243         * sysdeps/s390/bits/byteswap.h: Likewise.
62244         * sysdeps/x86_64/bits/byteswap.h: Likewise.
62246 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62248         [BZ #13540]
62249         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
62250         destination buffer.
62251         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
62253 2011-12-23  Marek Polacek  <polacek@redhat.com>
62255         * elf/dl-addr.c (determine_info): Add inline keyword.
62256         * elf/tst-auditmod4b.c (check_avx): Likewise.
62257         * elf/tst-auditmod6b.c (check_avx): Likewise.
62258         * elf/tst-auditmod6c.c (check_avx): Likewise.
62259         * elf/tst-auditmod7b.c (check_avx): Likewise.
62261 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
62263         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
62264         !__SSE_MATH__.
62266 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62268         [BZ #13540]
62269         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
62270         processing for last bytes.
62272 2011-08-06  Bruno Haible  <bruno@clisp.org>
62274         [BZ #13061]
62275         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
62276         U+0385, not to U+1FEE.
62278         [BZ #13062]
62279         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
62280         entry for U+00A5 U+0301.
62282 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
62284         [BZ #13166]
62285         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
62286         buffer for the output is too small.
62288         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
62289         optimization.
62291         [BZ #13185]
62292         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
62293         SSE flags if possible.
62295 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62297         [BZ #13540]
62298         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
62299         processing for last bytes.
62301 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
62303         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
62304         (syscall-list-default-options, syscall-list-default-condition)
62305         (syscall-list-includes): Define.
62306         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
62307         list of ABIs and options and #if conditions for each ABI.  Do not
62308         handle common syscalls between ABIs specially.
62309         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
62310         Remove.
62311         (syscall-list-variants, syscall-list-32bit-options)
62312         (syscall-list-32bit-condition, syscall-list-64bit-options)
62313         (syscall-list-64bit-condition): Define.
62314         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
62315         (syscall-list-variants, syscall-list-32bit-options)
62316         (syscall-list-32bit-condition, syscall-list-64bit-options)
62317         (syscall-list-64bit-condition): Define.
62318         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
62319         Remove.
62320         (syscall-list-variants, syscall-list-32bit-options)
62321         (syscall-list-32bit-condition, syscall-list-64bit-options)
62322         (syscall-list-64bit-condition): Define.
62323         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
62324         Remove.
62325         (syscall-list-variants, syscall-list-32bit-options)
62326         (syscall-list-32bit-condition, syscall-list-64bit-options)
62327         (syscall-list-64bit-condition): Define.
62329 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
62331         * locale/iso-639.def: Add brx entry.
62333         [BZ #13328]
62334         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
62335         Proposed by Mariusz_Cukr <marcukr@op.pl>.
62337         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
62338         __feraiseexcept_renamed.
62340 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
62342         [BZ #13538]
62343         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
62344         EPOLLET with unsigned values.
62345         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
62346         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
62348         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
62349         to large cancellation.
62350         * math/s_cacoshf.c: Likewise.
62351         * math/s_cacoshl.c: Likewise.
62353 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
62355         [BZ #13305]
62356         [BZ #12786]
62357         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
62358         * math/s_cacoshf.c: Likewise.
62359         * math/s_cacoshl.c: Likewise.
62361 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
62363         [BZ #13439]
62364         * iconv/gconv.h: Define __GCONV_SWAP.
62365         * iconvdata/unicode.c: The swap bit must be stored in __flags.
62366         * iconvdata/utf-16.c: Likewise.
62367         * iconvdata/utf-32.c: Likewise.
62369 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
62371         [BZ #13524]
62372         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
62373         numerator after shifting it by one limb.
62375 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
62377         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
62378         under [__USE_EXTERN_INLINES].
62380 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
62382         [BZ #13446]
62383         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
62385 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62387         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
62388         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
62389         optimized code.
62390         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
62391         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
62392         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
62393         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
62394         for strncasecmp/strncasecmp_l compilation.
62395         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
62396         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
62398 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
62400         [BZ #13484]
62401         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
62402         of __asm__.
62404 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
62406         [BZ #13506]
62407         * time/tzfile.c (__tzfile_read): Check values from file header.
62409 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
62411         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
62412         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
62413         * powerpc/powerpc32/dl-start.S: Likewise.
62414         * powerpc/powerpc32/elf/start.S: Likewise.
62415         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
62416         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
62417         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
62418         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
62419         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
62420         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
62421         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
62422         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
62423         * powerpc/powerpc32/fpu/s_round.S: Likewise.
62424         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
62425         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
62426         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
62427         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
62428         * powerpc/powerpc32/memset.S: Likewise.
62429         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
62430         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
62431         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
62432         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
62433         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
62434         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
62435         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
62436         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
62437         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
62438         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
62439         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
62440         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
62441         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
62443 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62445         * math/libm-test.inc: Added more nearbyint tests.
62446         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
62447         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
62448         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
62449         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
62451 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
62453         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
62454         FD_CLOEXEC.
62456 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62458         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
62459         Add wcscpy-ssse3 wcscpy-c.
62460         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
62461         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
62462         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
62463         * sysdeps/x86_64/wcschr.S: New file.
62464         * sysdeps/x86_64/wcsrchr.S: New file.
62465         * string/test-strcmp.c: Remove checking of wcscmp function for
62466         wrong alignments.
62467         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
62468         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
62469         wcsrchr-sse2 wcsrchr-c.
62470         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
62471         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
62472         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
62473         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
62474         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
62475         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
62476         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
62477         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
62478         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
62479         * wcsmbc/wcschr.c (WCSCHR): New macro.
62481 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62483         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
62484         * wcsmbs/test-wcsrchr.c: New file.
62485         * string/test-strrchr.c: Add wcsrchr support.
62486         (WIDE): New macro.
62487         * wcsmbs/test-wcscpy.c: New file.
62488         * string/test-strcpy.c: Add wcscpy support.
62489         (WIDE): New macro.
62491 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
62493         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
62494         the inner loop.
62496 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
62498         [BZ #13472]
62499         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
62501 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
62503         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
62504         Minor optimizations.
62506         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
62507         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
62508         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
62510 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
62512         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
62513         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
62514         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
62515         for gcc to avoid warnings.
62516         * inet/Makefile (tests): Add tst-checks.
62517         * inet/tst-checks.c: New file.
62519         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
62520         warning.
62522         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
62523         __wmemcmp_sse2.
62525         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
62526         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
62528         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
62530 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
62532         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
62533         problem.
62535         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
62537 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
62539         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
62540         conditional on GCC version.
62541         (__arch_compare_and_exchange_val_8_acq)
62542         (__arch_compare_and_exchange_val_16_acq)
62543         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
62544         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
62545         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
62547 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
62549         * sysdeps/sh/backtrace.c: New file.
62551 2011-12-02  Andreas Schwab  <schwab@redhat.com>
62553         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
62554         parenthesis.
62556 2011-12-01  Andreas Schwab  <schwab@redhat.com>
62558         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
62559         falling back to utime.
62561 2011-11-30  Andreas Schwab  <schwab@redhat.com>
62563         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
62564         expectations for float.
62566 2011-11-29  Andreas Schwab  <schwab@redhat.com>
62568         * locale/weight.h (findidx): Add parameter len.
62569         * locale/weightwc.h (findidx): Likewise.
62570         * posix/fnmatch_loop.c (FCT): Adjust caller.
62571         * posix/regcomp.c (build_equiv_class): Likewise.
62572         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
62573         * posix/regexec.c (check_node_accept_bytes): Likewise.
62574         * string/strcoll_l.c (STRCOLL): Likewise.
62575         * string/strxfrm_l.c (STRXFRM): Likewise.
62577 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
62579         * Makefile.in: Remove CVSOPT handling.
62580         * configure.in: Remove use of AC_REVISION.
62581         * iconvdata/Makefile (distribute): No need to filter out CVS.
62582         * scripts/list-sources.sh: Remove CVS, subversion and monotone
62583         handling.
62585 2011-11-16  Andreas Schwab  <schwab@redhat.com>
62587         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
62588         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
62589         [USE_AS_STRNCASECMP_L]: Likewise.
62590         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
62591         NO_TLS_DIRECT_SEG_REFS.
62592         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
62593         Fix argument offsets for non-PIC.
62594         [USE_AS_STRNCASECMP_L]: Likewise.
62595         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
62596         NO_TLS_DIRECT_SEG_REFS.
62598 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
62600         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
62601         O_CLOEXEC.
62602         * locale/loadlocale.c (_nl_load_locale): Likewise.
62604 2011-11-15  Andreas Schwab  <schwab@redhat.com>
62606         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
62607         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
62608         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
62609         (SYSCALL_GETTIME): Set errno on error.
62611         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
62612         count references to noai6ai_cached.
62614 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
62616         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
62618         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
62619         FD_CLOEXEC for /proc/self/maps.
62621         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
62622         FD_CLOEXEC for /proc/meminfo.
62624         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
62625         gai.conf.
62627         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
62628         FD_CLOEXEC for given file.
62630         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
62632         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
62633         FD_CLOEXEC for /etc/hosts.
62634         (_gethtent): Likewise.
62636         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
62638         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
62639         cancellation and set FD_CLOEXEC for /etc/netgroup.
62641         * nss/nss_files/files-key.c (search): Don't allow cancellation when
62642         reading /etc/publickey.
62644         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
62645         allow cancellation when reading /etc/group.
62647         * nss/nss_files/files-alias.c (internal_setent): Don't allow
62648         cancellation.
62649         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
62651         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
62652         when using data file.
62654         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
62656         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
62657         (write_nis_obj): Use "c" and "e" in fopen.
62659         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
62661         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
62663         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
62665         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
62667         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
62668         locale.alias.
62670         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
62672         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
62674         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
62676         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
62677         file parsing and set FD_CLOEXEC.
62679 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
62681         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
62683 2011-11-14  Andreas Schwab  <schwab@redhat.com>
62685         * malloc/arena.c (arena_get2): Don't call reused_arena when
62686         _int_new_arena failed.
62688 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
62690         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
62691         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
62692         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
62693         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
62694         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
62695         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
62696         to compile strcasecmp and strncasecmp.
62697         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
62698         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
62700         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
62702 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
62704         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
62705         locale-defines.sym to gen-as-const-headers.
62706         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
62707         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
62708         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
62709         to compile strcasecmp and strncasecmp.
62710         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
62711         strcasecmp_l and strncasecmp_l.
62712         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
62713         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
62714         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
62715         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
62716         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
62717         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
62718         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
62719         * sysdeps/i386/i686/multiarch/strncase.S: New file.
62720         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
62721         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
62722         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
62724 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
62726         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
62727         result of SYSDEP_GETTIME_CPU to retval.
62728         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
62729         parameter list to macro.  Remove trailing semicolon.  Adjust users.
62731         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
62732         variable.
62734         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
62735         mantissa words.
62736         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
62738         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
62739         from unused variable.
62741         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
62742         DWARF definitions.
62743         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
62744         for assembling.
62746         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
62747         over namespaces.
62749         * sunrpc/rpc_prot.c (rejected): Fix case value.
62751         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
62752         unsigned long long int to avoid warnings in shift.
62754         * posix/regex_internal.c (re_string_reconstruct): Actually use result
62755         of use of trans.
62756         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
62757         variable tmp.
62759         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
62760         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
62761         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
62763         * nis/nis_table.c (nis_list): Use variable of correct type for
62764         result of __follow_path call.
62766 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62768         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
62769         of math functions ceil, trunc, floor, round, and sqrt, when
62770         avaliable on the platform.
62771         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
62772         name clash.
62773         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
62774         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
62775         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
62777 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
62779         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
62780         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
62782 2011-11-11  Roland McGrath  <roland@hack.frob.com>
62784         * include/unistd.h: Fix __readlink return type.
62785         Reported by Chris Metcalf <cmetcalf@tilera.com>.
62787 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
62789         * stdlib/ucontext.h: Undo last change for makecontext.
62791 2011-11-11  Andreas Schwab  <schwab@redhat.com>
62793         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
62795         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
62796         * setjmp/setjmp.h: Mark functions as non-leaf.
62797         * setjmp/bits/setjmp2.h: Likewise.
62798         * stdlib/ucontext.h: Likewise.
62800 2011-11-10  Andreas Schwab  <schwab@redhat.com>
62802         * malloc/arena.c (_int_new_arena): Don't increment narenas.
62803         (reused_arena): Don't check arena limit.
62804         (arena_get2): Atomically check arena limit.
62806 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
62808         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
62809         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
62811         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
62812         instructions.
62814 2011-11-07  Andreas Schwab  <schwab@redhat.com>
62816         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
62817         handler when locking.
62819         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
62820         Fix size of allocated buffer.
62822 2011-11-04  Andreas Schwab  <schwab@redhat.com>
62824         [BZ #10103]
62825         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
62826         declarations for long double functions.
62827         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
62829         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
62831 2011-11-03  Andreas Schwab  <schwab@redhat.com>
62833         * nscd/nscd.c (main): Don't start AVC thread until credentials are
62834         installed.
62836         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
62837         is disabled.
62839 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62841         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
62843 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
62845         * include/alloca.h (stackinfo_alloca_round): Define.
62846         (extend_alloca): Use it.
62847         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
62848         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
62849         here.
62851         * scripts/check-local-headers.sh: Ignore libaudit.h.
62853         * nscd/Makefile (extra-objs): Make recursively expanded.
62855 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
62857         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
62858         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
62860         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
62861         * posix/tst-rfc3484-2.c: Likewise.
62862         * posix/tst-rfc3484-3.c: Likewise.
62864         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
62865         process_vm_writev.
62866         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
62867         process_vm_writev.
62868         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
62869         process_vm_writev from libc using GLIBC_2.15 version.
62871         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
62873 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
62875         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
62876         stack usage.
62878 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
62880         [BZ #13367]
62881         * nss/getent.c (initgroups_keys): Show error message in case no group
62882         names are given.
62884         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
62885         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
62886         __bump_nl_timestamp.
62887         * nscd/connections (nscd_init): When host database is served open
62888         netlink socket and request notification about configuration changes.
62889         (main_loop_poll): Track netlink file descriptor and bump timestamp
62890         in case data becomes available.
62891         (main_loop_epoll): Likewise.
62892         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
62893         (database_pers_head): Add extra_data fileds.
62894         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
62895         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
62896         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
62897         Adjust caller.
62898         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
62899         in6ai data, call __free_in6ai.
62900         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
62901         Add -DHAVE_NETLINK.
62902         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
62903         interface information.  Reuse previous data if netlink timestamp
62904         is not changed.
62905         (__bump_nl_timestamp): New function.
62906         (__free_in6ai): New function.
62908 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
62910         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
62911         close_not_cancel_no_status here.
62912         (__check_pf): Reorganize code a bit to not call close twice if OOM.
62914 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
62916         [BZ #13276]
62917         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
62918         return value.
62920         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
62921         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
62922         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
62924 2011-07-03  Andreas Jaeger  <aj@suse.de>
62926         [BZ #10709]
62927         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
62928         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
62929         * math/libm-test.inc (sin_test): Add test case.
62931 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
62933         [BZ #13337]
62934         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
62935         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
62937         * elf/chroot_canon.c (chroot_canon): Cleanups.
62939         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
62941         [BZ #13335]
62942         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
62943         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
62945         * string/test-strchr.c: Make usable for strchrnul testing.
62946         * string/test-strchrnul.c: New file.
62947         * string/Makefile (strop-tests): Add strchrnul.
62949         * po/it.po: Update from translation team.
62950         * po/es.po: Likewise.
62952 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
62954         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
62955         the three constants needed as parameters.  Drop the others.
62956         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
62957         __m128i_strloadu_tolower.
62958         Create and initialize variable zero and use it in all the places
62959         where _mm_setzero_si128 was used.
62961         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
62962         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
62963         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
62964         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
62965         anymore.
62966         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
62967         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
62968         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
62969         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
62970         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
62971         __mpranred, __mptan.
62972         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
62973         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
62974         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
62975         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
62976         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
62977         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
62978         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
62979         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
62980         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
62982 2011-10-28  Andreas Schwab  <schwab@redhat.com>
62984         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
62985         redefine if SHARED.
62986         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
62988         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
62989         wide char related routines to wcsmbs subdir.
62991 2011-10-27  Andreas Schwab  <schwab@redhat.com>
62993         [BZ #13344]
62994         * misc/sys/cdefs.h (__THROWNL): Define.
62995         * posix/unistd.h: Use __THREADNL instead of __THREAD
62996         for memory synchronization functions.
62998 2011-10-26  Roland McGrath  <roland@hack.frob.com>
63000         [BZ #13349]
63001         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
63002         doesn't exist.
63003         * manual/stdio.texi (Obstack Streams): Node removed.
63005 2011-10-26  Andreas Schwab  <schwab@redhat.com>
63007         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
63008         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
63009         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
63011         * math/math_private.h (math_force_eval): Allow non-addressable
63012         arguments.
63013         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
63015 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
63017         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
63018         file is not needed.
63020         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
63021         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
63022         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
63023         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
63024         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
63025         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
63026         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
63027         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
63028         Add AVX variants.
63029         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
63030         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
63031         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
63032         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
63033         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
63034         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
63035         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
63036         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
63037         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
63038         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
63039         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
63040         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
63041         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
63042         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
63043         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
63044         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
63045         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
63046         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
63047         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
63049         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
63050         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
63052         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
63053         place.  Use VEX encoding when compiling for AVX.
63055 2011-10-25  Andreas Schwab  <schwab@redhat.com>
63057         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
63058         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
63060         * string/test-strchr.c (do_test): Don't generate NUL bytes.
63062 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
63064         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
63065         useless if() expression.
63066         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
63067         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
63068         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
63069         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
63070         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
63071         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
63072         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
63073         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
63074         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
63075         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
63076         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
63077         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
63078         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
63079         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
63080         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
63081         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
63082         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
63083         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
63084         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
63086         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
63088 2011-10-25  Andreas Schwab  <schwab@redhat.com>
63090         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
63091         condition.
63092         * elf/dl-fini.c (_dl_sort_fini): Likewise.
63094 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
63096         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
63097         .text section.  Avoid duplicate constants.
63098         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
63099         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
63100         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
63101         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
63102         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
63103         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63104         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63105         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
63106         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
63107         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
63108         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
63109         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
63110         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
63111         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
63112         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
63113         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
63114         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
63115         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
63116         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
63117         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
63118         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
63119         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
63120         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
63121         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
63122         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
63123         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
63124         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
63125         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
63126         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
63127         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
63128         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
63129         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
63130         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
63131         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
63132         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
63133         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
63134         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
63135         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
63136         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
63137         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
63138         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
63139         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
63140         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
63141         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
63142         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
63144 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
63146         * sysdeps/x86_64/dla.h: Move to ...
63147         * sysdeps/x86_64/fpu/dla.h: ...here.
63148         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
63149         situations.  Use __builtin_fma only for gcc 4.6 and up.
63151         * config.make.in: Add have-mfma4 entry.
63152         * configure.in: Substitute libc_cv_cc_fma4.
63153         * math/Makefile (dbl-only-routines): Add sincostab.
63154         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
63155         Use __sincostab not sincos.
63156         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
63157         name is a macro.
63158         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
63159         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63160         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63161         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
63162         using __copysign.
63163         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
63164         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
63165         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
63166         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
63167         and __inv.
63168         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
63169         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
63170         __copysign.
63171         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
63172         define aliases when function name is a macro.
63173         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
63174         sysdeps/ieee754/dbl-64/sincos.tbl.
63175         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
63176         fma4-enabled routines.
63177         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
63178         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
63179         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
63180         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
63181         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
63182         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
63183         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
63184         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
63185         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
63186         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
63187         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
63188         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
63189         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
63190         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
63191         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
63192         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
63193         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
63194         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
63195         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
63196         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
63197         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
63198         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
63199         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
63200         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
63201         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
63202         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
63203         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
63204         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
63205         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
63206         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
63208         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
63209         rename.
63210         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
63211         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
63212         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
63213         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63214         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63215         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
63216         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
63217         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
63219 2011-10-24  Andreas Schwab  <schwab@redhat.com>
63221         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
63223 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
63225         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
63227         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
63228         prediction.
63229         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
63231         * string/strnlen.c: Don't define STRNLEN, reverse logic.
63232         Remove unused variable magic_bits.
63233         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
63235         * string/strnlen.c: Define and use STRNLEN macro.
63236         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
63237         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
63238         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
63239         * wcsmbs/wcslen.c: Define and use WCSLEN.
63240         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
63241         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
63242         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
63243         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
63244         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
63245         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
63246         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
63248 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63250         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63251         strnlen-sse2-no-bsf.
63252         Rename strlen-no-bsf to strlen-sse2-no-bsf.
63253         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
63254         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
63255         Add strnlen support.
63256         (USE_AS_STRNLEN): New macro.
63257         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
63258         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
63259         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
63260         * sysdeps/x86_64/wcslen.S: New file.
63262 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
63264         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
63265         XMM-moves are used for copying on small sizes.
63267 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63269         * wcsmbs/Makefile (strop-tests): Add wcschr.
63270         * wcsmbs/test-wcschr.c: New file.
63271         * string/test-strchr.c: Update.
63272         Add wcschr support.
63273         (WIDE): New macro.
63275 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63277         * wcsmbs/Makefile (strop-tests): Add wcslen.
63278         * wcsmbs/test-wcslen.c: New file.
63279         * string/test-strlen.c: Update.
63280         Add wcslen support.
63281         (WIDE): New macro.
63283 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
63285         * po/it.po: Update from translation team.
63287 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63289         * sysdeps/x86_64/wcscmp.S: Update.
63290         Fix wrong comparison semantics.
63291         wcscmp shall use signed comparison not unsigned.
63292         Don't use substraction to avoid overflow bug.
63293         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
63294         * wcsmbc/wcscmp.c: Likewise.
63295         * string/test-strcmp.c: Likewise.
63296         Add new tests to check cases with negative values.
63298 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
63300         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
63301         * sysdeps/x86_64/dla.h: ...here.  New file.
63302         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
63303         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
63304         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
63305         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63306         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63307         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
63308         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
63309         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
63310         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
63312 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
63314         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
63315         __ynl_finite aliases.
63317 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
63319         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63321         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
63322         define DLA_FMA.
63323         [DLA_FMA] (EMULV): Use DLA_FMA.
63324         [DLA_FMA] (MUL12): Use EMULV.
63325         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
63326         that are not needed.
63327         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
63328         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
63329         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63330         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63331         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
63332         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
63333         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
63335 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
63337         * math/s_nan.c: Undef __nan.
63338         * math/s_nanf.c: Undef __nanf.
63339         * math/s_nanl.c: Undef __nanl.
63340         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
63341         "math_private.h".
63343 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
63345         * math/s_catan.c: Add branch predictions.
63346         * math/s_catanf.c: Likewise.
63347         * math/s_catanh.c: Likewise.
63348         * math/s_catanhf.c: Likewise.
63349         * math/s_catanhl.c: Likewise.
63350         * math/s_catanl.c: Likewise.
63351         * math/s_cexp.c: Likewise.
63352         * math/s_cexpf.c: Likewise.
63353         * math/s_cexpl.c: Likewise.
63354         * math/s_clog.c: Likewise.
63355         * math/s_clog10.c: Likewise.
63356         * math/s_clog10f.c: Likewise.
63357         * math/s_clog10l.c: Likewise.
63358         * math/s_clogf.c: Likewise.
63359         * math/s_clogl.c: Likewise.
63360         * math/s_csqrt.c: Likewise.
63361         * math/s_csqrtf.c: Likewise.
63362         * math/s_csqrtl.c: Likewise.
63363         * math/s_ctanf.c: Likewise.
63364         * math/s_ctanh.c: Likewise.
63365         * math/s_ctanhf.c: Likewise.
63366         * math/s_ctanhl.c: Likewise.
63367         * math/s_ctanl.c: Likewise.
63369         * math/math_private.h: Define __nan, __nanf, __nanl.
63370         * math/s_cacosh.c: Include <math_private.h>.
63371         * math/s_cacoshl.c: Likewise.
63372         * math/s_casinh.c: Likewise.
63373         * math/s_casinhf.c: Likewise.
63374         * math/s_casinhl.c: Likewise.
63375         * math/s_ccos.c: Rely entire on ccosh.
63376         * math/s_ccosf.c: Rely entire on ccoshf.
63377         * math/s_ccosl.c: Rely entirely on ccoshl.
63378         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
63379         Remove tests for FE_INVALID.
63380         * math/s_ccoshf.c: Likewise.
63381         * math/s_ccoshl.c: Likewise.
63382         * math/s_csin.c: Likewise.
63383         * math/s_csinf.c: Likewise.
63384         * math/s_csinh.c Likewise.
63385         * math/s_csinhf.c: Likewise.
63386         * math/s_csinhl.c: Likewise.
63387         * math/s_csinl.c: Likewise.
63388         * math/s_ctan.c: Likewise.
63389         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
63390         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
63391         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
63393 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
63395         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
63396         compilation problems.
63398         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
63399         __builtin_expect.
63401 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
63403         * sysdeps/i386/configure.in: Test for -mfma4 option.
63404         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
63405         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
63406         COMMON_CPUID_INDEX_80000001.
63407         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
63408         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
63409         use it if FMA3 is not supported.
63410         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
63412         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
63413         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
63415 2011-10-20  Andreas Schwab  <schwab@redhat.com>
63417         [BZ #12892]
63418         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
63419         it would create a cycle with a link time dependency.
63421 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
63423         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
63424         instruction.
63425         * string/Makefile (strop-tests): Add rawmemchr.
63426         * string/test-rawmemchr.c: New file.
63428         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
63429         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
63430         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
63431         when compiling str{,n}casecmp and when AVX is available.  Hook up
63432         new optimized code in initializers.
63434 2011-10-19  Andreas Schwab  <schwab@redhat.com>
63436         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
63437         __feraiseexcept instead of feraiseexcept.
63439 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
63441         * math/math_private.h: Define defaults for libc_fetestexcept and
63442         libc_feupdateenv.
63443         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
63444         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
63445         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
63446         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
63447         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
63448         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
63449         libc_fetestexcept and libc_feupdateenv.
63451         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
63452         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
63453         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
63454         * sysdeps/x86_64/fpu/math_private.h: Define special version of
63455         libc_feholdexcept_setround.
63457         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
63458         Add s_nearbyint-c and s_nearbyintf-c.
63459         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
63460         nearbyintf inlines.
63461         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
63462         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
63463         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
63464         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
63466         * math/math_private.h: Define defaults for libc_fegetround,
63467         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
63468         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
63469         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
63470         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
63471         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
63472         standard functions.
63473         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
63474         Remove comments and hacks for old compiler versions.
63475         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
63476         libc_fegetround, libc_fesetround, libc_feholdexcept, and
63477         libc_feholdexceptl.
63479 2011-10-18  Andreas Schwab  <schwab@redhat.com>
63481         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
63482         (__feraiseexcept_renamed): Add __NTH.
63483         (feraiseexcept): Add __NTH.  Rename local variables to fix
63484         namespace violations.
63486 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
63488         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
63490         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
63492         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
63493         recently added interfaces.
63494         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
63496         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
63497         about macro parameter expansion.
63499         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
63500         __NO_MATH_INLINES is defined.  Cleanups.
63502         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
63503         and __floorf is target has SSE4.1.
63504         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
63505         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
63506         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
63507         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
63509         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
63510         name.
63511         (floorf): Likewise.
63513         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
63515 2011-10-17  Andreas Schwab  <schwab@redhat.com>
63517         * misc/sys/cdefs.h: Fix last change.
63519         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
63520         database lookup.
63522 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
63524         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
63526         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
63527         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
63528         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
63529         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
63530         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
63531         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
63532         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
63533         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
63534         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
63535         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
63536         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
63537         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
63538         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
63539         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
63540         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
63541         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
63542         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
63543         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
63544         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
63545         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
63546         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
63547         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
63549         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
63550         ceil, ceilf, floor, floorf.
63552         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
63553         Perform IRELATIVE relocations last.
63555         * elf/do-rel.h: Add another parameter nrelative, replacing the
63556         local variable with the same name.  Change name of the function
63557         to end in Rel or Rela (uppercase).
63558         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
63559         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
63560         elf_dynamic_do_##reloc function.
63562 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
63564         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
63565         is sufficient, at least on modern CPUs.
63567         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
63569         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
63570         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
63572         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
63573         __expl_finite.
63574         * math/bits/math-finite.h: Add entries for exp.
63575         * math/e_expl.c: Add __*_finite alias.
63576         * sysdeps/i386/fpu/e_exp.S: Likewise.
63577         * sysdeps/i386/fpu/e_expf.S: Likewise.
63578         * sysdeps/i386/fpu/e_expl.c: Likewise.
63579         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
63580         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
63581         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
63582         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
63583         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
63584         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
63585         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
63587         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
63588         is sufficient, at least on modern CPUs.
63590         * ctype/ctype-info.c (__ctype_init): Define.
63591         * include/ctype.h (__ctype_init): Declare.
63592         (__ctype_b_loc): The variable is always initialized.
63593         (__ctype_toupper_loc): Likewise.
63594         (__ctype_tolower_loc): Likewise.
63595         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
63596         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
63598 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
63600         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
63602         * configure.in: Also look in $cxxmachine/include for C++ system
63603         headers.
63605 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63607         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
63608         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
63609         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
63610         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
63611         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
63612         (USE_AS_WMEMCMP): New macro.
63613         Fixing indents.
63614         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
63615         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
63616         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
63617         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
63618         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63619         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
63620         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
63621         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
63622         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
63623         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
63624         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
63625         (USE_AS_WMEMCMP): New macro.
63626         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
63627         * sysdeps/string/test-memcmp.c: Update.
63628         Fix simple_wmemcmp.
63629         Add new tests.
63630         * wcsmbs/wmemcmp.c: Update.
63631         (WMEMCMP): New macro.
63632         Fix overflow bug.
63634 2011-10-12  Andreas Jaeger  <aj@suse.de>
63636         [BZ #13268]
63637         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
63639 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
63641         * libio/iofwide.c (do_length): Avoid warning.
63643         * ctype/ctype.h (__isctype_f): Add missing __THROW.
63645 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
63647         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
63649         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
63650         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
63651         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
63652         * sysdeps/i386/i686/fpu/e_log.S: New file.
63653         * sysdeps/i386/i686/fpu/e_logf.S: New file.
63654         * sysdeps/i386/i686/fpu/e_logl.S: New file.
63656         * ctype/ctype.h: Add support for inlined isXXX functions when
63657         compiling C++ code.
63659 2011-10-14  Andreas Schwab  <schwab@redhat.com>
63661         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
63663         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
63665 2011-10-13  Roland McGrath  <roland@hack.frob.com>
63667         [BZ #13291]
63668         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
63670 2011-10-13  Andreas Schwab  <schwab@redhat.com>
63672         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
63673         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
63674         feraiseexcept.
63676         * sysdeps/x86_64/memrchr.S: Check for zero size.
63678         * string/stratcliff.c: Add memrchr tests.
63680 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63682         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63683         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
63684         rawmemchr-sse2 rawmemchr-sse2-bsf.
63685         * sysdeps/i386/i686/multiarch/memchr.S: New file.
63686         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
63687         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
63688         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
63689         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
63690         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
63691         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
63692         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
63693         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
63694         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
63695         * string/memrchr.c (MEMRCHR): New macro.
63697 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
63699         Add integration with gcc's -ffinite-math-only and optimize wrapper
63700         functions in libm.
63701         * Versions.def: Define GLIBC_2.15 version for libm.
63702         * math/Makefile (headers): Add bits/math-finite.h.
63703         * math/bits/math-finite.h: New file.
63704         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
63705         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
63706         * math/e_acoshl.c: Add __*_finite alias.
63707         * math/e_acosl.c: Likewise.
63708         * math/e_asinl.c: Likewise.
63709         * math/e_atan2l.c: Likewise.
63710         * math/e_atanhl.c: Likewise.
63711         * math/e_coshl.c: Likewise.
63712         * math/e_exp10.c: Likewise.
63713         * math/e_exp10f.c: Likewise.
63714         * math/e_exp10l.c: Likewise.
63715         * math/e_exp2l.c: Likewise.
63716         * math/e_fmodl.c: Likewise.
63717         * math/e_gammal_r.c: Likewise.
63718         * math/e_hypotl.c: Likewise.
63719         * math/e_j0l.c: Likewise.
63720         * math/e_j1l.c: Likewise.
63721         * math/e_jnl.c: Likewise.
63722         * math/e_lgammal_r.c: Likewise.
63723         * math/e_log10l.c: Likewise.
63724         * math/e_log2l.c: Likewise.
63725         * math/e_logl.c: Likewise.
63726         * math/e_powl.c: Likewise.
63727         * math/e_sinhl.c: Likewise.
63728         * math/e_sqrtl.c: Likewise.
63729         * math/e_scalb.c: Completely rewritten and optimized.
63730         * math/e_scalbf.c: Likewise.
63731         * math/e_scalbl.c: Likewise.
63732         * math/w_acos.c: Likewise.
63733         * math/w_acosf.c: Likewise.
63734         * math/w_acosl.c: Likewise.
63735         * math/w_acosh.c: Likewise.
63736         * math/w_acoshf.c: Likewise.
63737         * math/w_acoshl.c: Likewise.
63738         * math/w_asin.c: Likewise.
63739         * math/w_asinf.c: Likewise.
63740         * math/w_asinl.c: Likewise.
63741         * math/w_atan2.c: Likewise.
63742         * math/w_atan2f.c: Likewise.
63743         * math/w_atan2l.c: Likewise.
63744         * math/w_atanh.c: Likewise.
63745         * math/w_atanhf.c: Likewise.
63746         * math/w_atanhl.c: Likewise.
63747         * math/w_exp10.c: Likewise.
63748         * math/w_exp10f.c: Likewise.
63749         * math/w_exp10l.c: Likewise.
63750         * math/w_fmod.c: Likewise.
63751         * math/w_fmodf.c: Likewise.
63752         * math/w_fmodl.c: Likewise.
63753         * math/w_j0.c: Likewise.
63754         * math/w_j0f.c: Likewise.
63755         * math/w_j0l.c: Likewise.
63756         * math/w_j1.c: Likewise.
63757         * math/w_j1f.c: Likewise.
63758         * math/w_j1l.c: Likewise.
63759         * math/w_jn.c: Likewise.
63760         * math/w_jnf.c: Likewise.
63761         * math/w_log.c: Likewise.
63762         * math/w_logf.c: Likewise.
63763         * math/w_logl.c: Likewise.
63764         * math/w_log10.c: Likewise.
63765         * math/w_log10f.c: Likewise.
63766         * math/w_log10l.c: Likewise.
63767         * math/w_log2.c: Likewise.
63768         * math/w_log2f.c: Likewise.
63769         * math/w_log2l.c: Likewise.
63770         * math/w_pow.c: Likewise.
63771         * math/w_powf.c: Likewise.
63772         * math/w_powl.c: Likewise.
63773         * math/w_remainder.c: Likewise.
63774         * math/w_remainderf.c: Likewise.
63775         * math/w_remainderl.c: Likewise.
63776         * math/w_scalb.c: Likewise.
63777         * math/w_scalbf.c: Likewise.
63778         * math/w_scalbl.c: Likewise.
63779         * math/w_sqrt.c: Likewise.
63780         * math/w_sqrtf.c: Likewise.
63781         * math/w_sqrtl.c: Likewise.
63782         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
63783         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
63784         used.
63785         * math/math_private.h: Declare __kernel_standard_f.
63786         * math/w_cosh.c: Remove cruft and optimize a bit.
63787         * math/w_coshf.c: Likewise.
63788         * math/w_coshl.c: Likewise.
63789         * math/w_exp2.c: Likewise.
63790         * math/w_exp2f.c: Likewise.
63791         * math/w_exp2l.c: Likewise.
63792         * math/w_hypot.c: Likewise.
63793         * math/w_hypotf.c: Likewise.
63794         * math/w_hypotl.c: Likewise.
63795         * math/w_lgamma.c: Likewise.
63796         * math/w_lgamma_r.c: Likewise.
63797         * math/w_lgammaf.c: Likewise.
63798         * math/w_lgammaf_r.c: Likewise.
63799         * math/w_lgammal.c: Likewise.
63800         * math/w_lgammal_r.c: Likewise.
63801         * math/w_sinh.c: Likewise.
63802         * math/w_sinhf.c: Likewise.
63803         * math/w_sinhl.c: Likewise.
63804         * math/w_tgamma.c: Likewise.
63805         * math/w_tgammaf.c: Likewise.
63806         * math/w_tgammal.c: Likewise.
63807         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
63808         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
63809         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
63810         Minor optimizations.  Pretty printing.  Remove cruft.
63811         * sysdeps/i386/fpu/e_acosf.S: Likewise.
63812         * sysdeps/i386/fpu/e_acosh.S: Likewise.
63813         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
63814         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
63815         * sysdeps/i386/fpu/e_acosl.c: Likewise.
63816         * sysdeps/i386/fpu/e_asin.S: Likewise.
63817         * sysdeps/i386/fpu/e_asinf.S: Likewise.
63818         * sysdeps/i386/fpu/e_atan2.S: Likewise.
63819         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
63820         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
63821         * sysdeps/i386/fpu/e_atanh.S: Likewise.
63822         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
63823         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
63824         * sysdeps/i386/fpu/e_exp10.S: Likewise.
63825         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
63826         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
63827         * sysdeps/i386/fpu/e_exp2.S: Likewise.
63828         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
63829         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
63830         * sysdeps/i386/fpu/e_fmod.S: Likewise.
63831         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
63832         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
63833         * sysdeps/i386/fpu/e_hypot.S: Likewise.
63834         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
63835         * sysdeps/i386/fpu/e_log.S: Likewise.
63836         * sysdeps/i386/fpu/e_log10.S: Likewise.
63837         * sysdeps/i386/fpu/e_log10f.S: Likewise.
63838         * sysdeps/i386/fpu/e_log10l.S: Likewise.
63839         * sysdeps/i386/fpu/e_log2.S: Likewise.
63840         * sysdeps/i386/fpu/e_log2f.S: Likewise.
63841         * sysdeps/i386/fpu/e_log2l.S: Likewise.
63842         * sysdeps/i386/fpu/e_logf.S: Likewise.
63843         * sysdeps/i386/fpu/e_logl.S: Likewise.
63844         * sysdeps/i386/fpu/e_pow.S: Likewise.
63845         * sysdeps/i386/fpu/e_powf.S: Likewise.
63846         * sysdeps/i386/fpu/e_powl.S: Likewise.
63847         * sysdeps/i386/fpu/e_remainder.S: Likewise.
63848         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
63849         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
63850         * sysdeps/i386/fpu/e_scalb.S: Likewise.
63851         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
63852         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
63853         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
63854         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
63855         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
63856         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
63857         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
63858         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
63859         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
63860         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
63861         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
63862         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
63863         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
63864         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
63865         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
63866         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
63867         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
63868         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63869         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
63870         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
63871         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63872         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
63873         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
63874         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
63875         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
63876         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
63877         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
63878         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
63879         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
63880         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
63881         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
63882         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
63883         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
63884         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
63885         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
63886         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
63887         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
63888         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
63889         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
63890         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
63891         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
63892         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
63893         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
63894         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
63895         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
63896         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
63897         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
63898         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
63899         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
63900         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
63901         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
63902         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
63903         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
63904         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
63905         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
63906         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
63907         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
63908         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
63909         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
63910         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
63911         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
63912         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
63913         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
63914         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
63915         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
63916         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
63917         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
63918         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
63919         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
63920         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
63921         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
63922         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
63923         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
63924         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
63925         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
63926         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
63927         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
63928         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
63929         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
63930         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
63931         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
63932         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
63933         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
63934         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
63935         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
63936         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
63937         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
63938         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
63939         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
63940         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
63941         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
63942         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
63943         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
63944         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
63945         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
63946         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
63947         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
63948         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
63949         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
63950         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
63951         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
63952         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
63953         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
63954         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
63955         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
63956         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
63957         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
63958         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
63959         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
63960         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
63961         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
63962         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
63963         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
63964         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
63965         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
63966         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
63967         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
63968         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
63969         (__isnanf): Likewise.
63970         (__isinf_ns): Likewise.
63971         (__isinf_nsf): Likewise.
63972         (__finite): Likewise.
63973         (__finitef): Likewise.
63974         (__ieee754_sqrt): Define as macro.
63975         (__ieee754_sqrtf): Define as macro.
63976         (__ieee754_sqrtl): Define as macro.
63977         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
63978         inlined copy.
63979         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
63980         __FINITE_MATH_ONLY__ consistent.
63981         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
63983 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
63985         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
63986         of rawmemchr.
63988         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
63990 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
63992         * po/ja.po: Update from translation team.
63994 2011-10-08  Roland McGrath  <roland@hack.frob.com>
63996         * locale/programs/locarchive.c (prepare_address_space): New function.
63997         (create_archive, enlarge_archive, open_archive): Use it.
63999         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
64000         inside [SHARED], where it is used.
64002         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
64004         * nss/getent.c (netgroup_keys): Remove unused variable.
64005         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
64007 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
64009         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
64010         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
64011         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
64012         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
64013         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
64014         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
64015         * math/Makefile (libm-calls): Add s_isinf_ns.
64016         * math/divtc3.c: Use __isinf_nsl instead of isinf.
64017         * math/multc3.c: Likewise.
64018         * math/s_casin.c: Likewise.
64019         * math/s_casinf.c: Likewise.
64020         * math/s_casinl.c: Likewise.
64021         * math/s_ccos.c: Likewise.
64022         * math/s_ccosf.c: Likewise.
64023         * math/s_ccosl.c: Likewise.
64024         * math/s_ctan.c: Likewise.
64025         * math/s_ctanf.c: Likewise.
64026         * math/s_ctanh.c: Likewise.
64027         * math/s_ctanhf.c: Likewise.
64028         * math/s_ctanhl.c: Likewise.
64029         * math/s_ctanl.c: Likewise.
64030         * math/w_fmod.c: Likewise.
64031         * math/w_fmodf.c: Likewise.
64032         * math/w_fmodl.c: Likewise.
64033         * math/w_remainder.c: Likewise.
64034         * math/w_remainderf.c: Likewise.
64035         * math/w_remainderl.c: Likewise.
64036         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
64037         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
64038         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
64039         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
64040         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
64041         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
64042         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
64043         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
64045         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
64046         of the number.
64047         * stdio-common/printf_fphex.c: Likewise.
64048         * stdio-common/printf_size.c: Likewise.
64050         * math/e_exp10.c: Include math_private.h using <...> not "...".
64051         * math/e_exp10f.c: Likewise.
64052         * math/e_exp10l.c: Likewise.
64053         * math/e_exp2l.c: Likewise.
64054         * math/e_j0l.c: Likewise.
64055         * math/e_j1l.c: Likewise.
64056         * math/e_jnl.c: Likewise.
64057         * math/e_lgammal_r.c: Likewise.
64058         * math/e_rem_pio2l.c: Likewise.
64059         * math/e_scalb.c: Likewise.
64060         * math/e_scalbf.c: Likewise.
64061         * math/e_scalbl.c: Likewise.
64062         * math/k_cosl.c: Likewise.
64063         * math/k_sinl.c: Likewise.
64064         * math/k_tanl.c: Likewise.
64065         * math/s_cacoshf.c: Likewise.
64066         * math/s_catan.c: Likewise.
64067         * math/s_catanf.c: Likewise.
64068         * math/s_catanh.c: Likewise.
64069         * math/s_catanhf.c: Likewise.
64070         * math/s_catanhl.c: Likewise.
64071         * math/s_catanl.c: Likewise.
64072         * math/s_ccosh.c: Likewise.
64073         * math/s_ccoshf.c: Likewise.
64074         * math/s_ccoshl.c: Likewise.
64075         * math/s_cexp.c: Likewise.
64076         * math/s_cexpf.c: Likewise.
64077         * math/s_cexpl.c: Likewise.
64078         * math/s_clog.c: Likewise.
64079         * math/s_clog10.c: Likewise.
64080         * math/s_clog10f.c: Likewise.
64081         * math/s_clog10l.c: Likewise.
64082         * math/s_clogf.c: Likewise.
64083         * math/s_clogl.c: Likewise.
64084         * math/s_csin.c: Likewise.
64085         * math/s_csinf.c: Likewise.
64086         * math/s_csinh.c: Likewise.
64087         * math/s_csinhf.c: Likewise.
64088         * math/s_csinhl.c: Likewise.
64089         * math/s_csinl.c: Likewise.
64090         * math/s_csqrt.c: Likewise.
64091         * math/s_csqrtf.c: Likewise.
64092         * math/s_csqrtl.c: Likewise.
64093         * math/s_ctan.c: Likewise.
64094         * math/s_ctanf.c: Likewise.
64095         * math/s_ctanh.c: Likewise.
64096         * math/s_ctanhf.c: Likewise.
64097         * math/s_ctanhl.c: Likewise.
64098         * math/s_ctanl.c: Likewise.
64099         * math/s_ldexp.c: Likewise.
64100         * math/s_ldexpf.c: Likewise.
64101         * math/s_ldexpl.c: Likewise.
64102         * math/s_significand.c: Likewise.
64103         * math/s_significandf.c: Likewise.
64104         * math/s_significandl.c: Likewise.
64105         * math/w_acos.c: Likewise.
64106         * math/w_acosf.c: Likewise.
64107         * math/w_acosh.c: Likewise.
64108         * math/w_acoshf.c: Likewise.
64109         * math/w_acoshl.c: Likewise.
64110         * math/w_acosl.c: Likewise.
64111         * math/w_asin.c: Likewise.
64112         * math/w_asinf.c: Likewise.
64113         * math/w_asinl.c: Likewise.
64114         * math/w_atan2.c: Likewise.
64115         * math/w_atan2f.c: Likewise.
64116         * math/w_atan2l.c: Likewise.
64117         * math/w_atanh.c: Likewise.
64118         * math/w_atanhf.c: Likewise.
64119         * math/w_atanhl.c: Likewise.
64120         * math/w_cosh.c: Likewise.
64121         * math/w_coshf.c: Likewise.
64122         * math/w_coshl.c: Likewise.
64123         * math/w_dremf.c: Likewise.
64124         * math/w_exp10.c: Likewise.
64125         * math/w_exp10f.c: Likewise.
64126         * math/w_exp10l.c: Likewise.
64127         * math/w_exp2.c: Likewise.
64128         * math/w_exp2f.c: Likewise.
64129         * math/w_fmod.c: Likewise.
64130         * math/w_fmodf.c: Likewise.
64131         * math/w_fmodl.c: Likewise.
64132         * math/w_hypot.c: Likewise.
64133         * math/w_hypotf.c: Likewise.
64134         * math/w_hypotl.c: Likewise.
64135         * math/w_j0.c: Likewise.
64136         * math/w_j0f.c: Likewise.
64137         * math/w_j0l.c: Likewise.
64138         * math/w_j1.c: Likewise.
64139         * math/w_j1f.c: Likewise.
64140         * math/w_j1l.c: Likewise.
64141         * math/w_jn.c: Likewise.
64142         * math/w_jnf.c: Likewise.
64143         * math/w_jnl.c: Likewise.
64144         * math/w_lgamma.c: Likewise.
64145         * math/w_lgamma_r.c: Likewise.
64146         * math/w_lgammaf.c: Likewise.
64147         * math/w_lgammaf_r.c: Likewise.
64148         * math/w_lgammal.c: Likewise.
64149         * math/w_lgammal_r.c: Likewise.
64150         * math/w_log.c: Likewise.
64151         * math/w_log10.c: Likewise.
64152         * math/w_log10f.c: Likewise.
64153         * math/w_log10l.c: Likewise.
64154         * math/w_log2.c: Likewise.
64155         * math/w_log2f.c: Likewise.
64156         * math/w_log2l.c: Likewise.
64157         * math/w_logf.c: Likewise.
64158         * math/w_logl.c: Likewise.
64159         * math/w_pow.c: Likewise.
64160         * math/w_powf.c: Likewise.
64161         * math/w_powl.c: Likewise.
64162         * math/w_remainder.c: Likewise.
64163         * math/w_remainderf.c: Likewise.
64164         * math/w_remainderl.c: Likewise.
64165         * math/w_scalb.c: Likewise.
64166         * math/w_scalbf.c: Likewise.
64167         * math/w_scalbl.c: Likewise.
64168         * math/w_sinh.c: Likewise.
64169         * math/w_sinhf.c: Likewise.
64170         * math/w_sinhl.c: Likewise.
64171         * math/w_sqrt.c: Likewise.
64172         * math/w_sqrtf.c: Likewise.
64173         * math/w_sqrtl.c: Likewise.
64174         * math/w_tgamma.c: Likewise.
64175         * math/w_tgammaf.c: Likewise.
64176         * math/w_tgammal.c: Likewise.
64178         * po/ja.po: Update from translation team.
64180 2011-09-29  Andreas Jaeger  <aj@suse.de>
64182         [BZ #13179]
64183         * sunrpc/netname.c (netname2host): Fix logic.
64185         [BZ #6779]
64186         [BZ #6783]
64187         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
64188         correctly.
64189         * math/w_remainder.c (__remainder): Likewise.
64190         * math/w_remainderf.c (__remainderf): Likewise.
64191         * math/libm-test.inc (remainder_test): Add test cases.
64193 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64195         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
64196         sdiv_qrnnd.
64198 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
64200         * string/test-memcmp.c: Avoid unncessary #defines.
64201         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
64203 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64205         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
64206         Use new sse2 version for core i3 - i7 as it's faster
64207         than sse42 version.
64208         (bit_Prefer_PMINUB_for_stringop): New.
64209         * sysdeps/x86_64/rawmemchr.S: Update.
64210         Replace with faster SSE2 version.
64211         * sysdeps/x86_64/memrchr.S: New file.
64212         * sysdeps/x86_64/memchr.S: Update.
64213         Replace with faster SSE2 version.
64215 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
64217         * elf/dl-load.c (lose): Add cast to avoid warning.
64219 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
64221         * po/ca.po: Update from translation team.
64223         * inet/getnetgrent_r.c: Hook up nscd.
64224         * nscd/Makefile (routines): Add nscd_netgroup.
64225         (nscd-modules): Add netgroupcache.
64226         (CFLAGS-netgroupcache.c): Define.
64227         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
64228         (cache_search): Add const to second parameter.
64229         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
64230         INNETGR.
64231         (dbs): Add netgrdb entry.
64232         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
64233         (verify_persistent_db): Handle netgrdb.
64234         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
64235         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
64236         GETFDNETGR.
64237         (netgroup_response_header): Define.
64238         (innetgroup_response_header): Define.
64239         (datahead): Add netgroup_response_header and innetgroup_response_header
64240         elements.
64241         * nscd/nscd.conf: Add entries for netgroup cache.
64242         * nscd/nscd.h (dbtype): Add netgrdb.
64243         (_PATH_NSCD_NETGROUP_DB): Define.
64244         (netgroup_iov_disabled): Declare.
64245         (xmalloc, xcalloc, xrealloc): Move declarations here.
64246         (cache_search): Adjust prototype.
64247         Add netgroup-related prototypes.
64248         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
64249         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
64250         (__nscd_innetgr): Declare.
64251         * nscd/selinux.c (perms): Use access_vector_t as element type and
64252         add netgroup-related initializers.
64253         * nscd/netgroupcache.c: New file.
64254         * nscd/nscd_netgroup.c: New file.
64255         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
64256         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
64257         For four parameters use innetgr.
64258         * nss/nss_files/files-init.c: Add definition and callback for netgr.
64259         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
64260         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
64261         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
64263         * nscd/connections.c (register_traced_file): Don't register file
64264         for disabled databases.
64266 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
64268         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
64270         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
64271         from tree and freeing node.
64273 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
64275         * nss/nsswitch.c (__nss_database_lookup): Handle
64276         nss_parse_service_list out of memory case.
64278 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
64280         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
64281         out of memory case.
64283 2011-10-04  Andreas Schwab  <schwab@redhat.com>
64285         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
64286         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
64287         pass it down.
64288         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
64289         elf_machine_rela, elf_machine_lazy_rel.
64290         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
64291         (ELF_DYNAMIC_DO_REL): Likewise.
64292         (ELF_DYNAMIC_DO_RELA): Likewise.
64293         (ELF_DYNAMIC_RELOCATE): Likewise.
64294         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
64295         to ELF_DYNAMIC_DO_REL.
64296         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
64297         (dl_main): In trace mode always set __RTLD_NOIFUNC.
64298         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
64299         elf_machine_rela.
64300         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
64301         skip_ifunc, don't call ifunc function if non-zero.
64302         (elf_machine_rela): Likewise.
64303         (elf_machine_lazy_rel): Likewise.
64304         (elf_machine_lazy_rela): Likewise.
64305         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
64306         (elf_machine_lazy_rel): Likewise.
64307         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
64308         Likewise.
64309         (elf_machine_lazy_rel): Likewise.
64310         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
64311         Likewise.
64312         (elf_machine_lazy_rel): Likewise.
64313         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
64314         (elf_machine_lazy_rel): Likewise.
64315         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
64316         (elf_machine_lazy_rel): Likewise.
64317         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
64318         (elf_machine_lazy_rel): Likewise.
64319         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
64320         (elf_machine_lazy_rel): Likewise.
64321         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
64322         (elf_machine_lazy_rel): Likewise.
64323         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
64324         (elf_machine_lazy_rel): Likewise.
64326 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
64328         * nss/nss_files/files-init.c (_nss_files_init): Use static
64329         initialization for all the *_traced_file variables.
64331 2011-09-28  Andreas Schwab  <schwab@redhat.com>
64333         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
64335 2011-09-27  Roland McGrath  <roland@hack.frob.com>
64337         [BZ #13226]
64338         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
64340 2011-09-27  Andreas Schwab  <schwab@redhat.com>
64342         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
64343         Reread the line before reparsing it.
64345 2011-09-26  Andreas Schwab  <schwab@redhat.com>
64347         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
64349 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
64350             Maxim Kuvyrkov  <maxim@codesourcery.com>
64351             Joseph Myers  <joseph@codesourcery.com>
64353         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
64354         if needed for __stack_chk_guard.
64356 2011-09-19  Roland McGrath  <roland@hack.frob.com>
64358         * sysdeps/posix/spawni.c (script_execute): Always define it.
64359         It will be optimized away if unused.
64360         (maybe_script_execute): New function.
64361         (__spawni): Call it.
64363         * Makerules: Don't include tls.make.
64364         (config-tls): Always set to thread.
64365         * tls.make.c: File removed.
64367 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
64369         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
64370         * config.make.in (CPPFLAGS-config): New substituted variable.
64372 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
64374         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
64376         [BZ #13192]
64377         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
64378         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
64380 2011-09-15  Roland McGrath  <roland@hack.frob.com>
64382         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
64383         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
64384         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
64385         (CALL_FAIL): Likewise.
64386         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
64387         (CALL_FAIL): Macro removed.
64388         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
64390 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
64392         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
64393         for __FINITE_MATH_ONLY__ == 1.
64395 2011-09-15  Andreas Schwab  <schwab@redhat.com>
64397         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
64398         __ieee754_sqrt instead of sqrt.
64399         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
64400         __ieee754_sqrtf instead of sqrtf.
64401         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
64402         __floorf instead of floorf.
64403         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
64404         __floorf, __truncf instead of floorf, truncf.
64406 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
64408         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
64410         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
64411         __extern_always_inline.
64412         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
64413         32-bit.
64415 2011-09-14  Andreas Schwab  <schwab@redhat.com>
64417         * elf/rtld.c (dl_main): Also relocate in dependency order when
64418         doing symbol dependency testing.
64420 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
64422         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
64423         Always define `refsym'.
64425 2011-09-13  Andreas Schwab  <schwab@redhat.com>
64427         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
64428         (__FD_ELT): Renamed from __FDELT.
64429         * misc/bits/select2.h (__FD_ELT): Likewise.
64430         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
64431         __FD_MASK instead of __FDELT, __FDMASK.
64432         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
64433         Likewise.
64434         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
64435         Likewise.
64437         * elf/Makefile (gen-ldd): Fix pattern.
64439         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
64440         (init_tls): Likewise.
64442 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
64444         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
64446 2011-09-12  Andreas Schwab  <schwab@redhat.com>
64448         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
64449         `struct cmsghdr *' instead of `void *'.
64450         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
64451         Likewise.
64453 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
64455         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
64456         if non-absolute.
64457         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
64458         ldd_rewrite_script.
64460 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
64462         * configure.in: Remove --with-tls option.
64463         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
64464         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
64465         out in case it is missing.
64466         * sysdeps/ia64/elf/configure.in: Likewise.
64467         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
64468         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
64469         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
64470         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
64471         * sysdeps/sh/elf/configure.in: Likewise.
64472         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
64473         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
64474         * sysdeps/x86_64/elf/configure.in: Likewise.
64475         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
64476         * sysdeps/mach/hurd/tls.h: Likewise.
64478         [BZ #13067]
64479         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
64481         [BZ #13090]
64482         * configure.in: Fix use of AC_INIT.
64484         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
64486 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
64488         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
64489         __set_errno.
64490         * malloc/hooks.c: Likewise.
64492         [BZ #11929]
64493         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
64494         variables statically.
64495         (narenas): Initialize.
64496         (list_lock): Initialize.
64497         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
64498         initializtion of main_arena and list_lock.  Small cleanups.
64499         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
64500         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
64501         Add initializers to main_arena and mp_.
64502         (malloc_state): Remove pagesize member.  Change all users to use
64503         GLRO(dl_pagesize).
64505         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
64506         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
64507         is always initialized.
64509         * malloc/malloc.c: Removed unused configurations and dead code.
64510         * malloc/arena.c: Likewise.
64511         * malloc/hooks.c: Likewise.
64512         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
64514         * include/tls.h: Removed.  USE___THREAD must always be defined.
64515         * bits/libc-tsd.h: Don't handle !USE___THREAD.
64516         * elf/dl-libc.c: Likewise.
64517         * elf/dl-tsd.c: Likewise.
64518         * include/errno.h: Likewise.
64519         * include/netdb.h: Likewise.
64520         * include/resolv.h: Likewise.
64521         * inet/herrno-loc.c: Likewise.
64522         * inet/herrno.c: Likewise.
64523         * malloc/arena.c: Likewise.
64524         * malloc/hooks.c: Likewise.
64525         * malloc/malloc.c: Likewise.
64526         * resolv/res-state.c: Likewise.
64527         * resolv/res_libc.c: Likewise.
64528         * sysdeps/i386/dl-machine.h: Likewise.
64529         * sysdeps/ia64/dl-machine.h: Likewise.
64530         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
64531         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
64532         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
64533         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
64534         * sysdeps/sh/dl-machine.h: Likewise.
64535         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
64536         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
64537         * sysdeps/unix/i386/sysdep.S: Likewise.
64538         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
64539         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
64540         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
64541         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
64542         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
64543         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
64544         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
64545         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
64546         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
64547         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
64548         * sysdeps/unix/x86_64/sysdep.S: Likewise.
64549         * sysdeps/x86_64/dl-machine.h: Likewise.
64550         * tls.make.c: Likewise.
64552         * configure.in: Remove --with-__thread option.  Make tests for
64553         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
64554         tls_model attribute fail if no support is available.  Remove
64555         USE_IN_LIBIO.
64556         * Makeconfig: Adjust for dropped configure option.  All features are
64557         now mandatory.
64558         * Makerules: Likewise.
64559         * Versions.def: Likewise.
64560         * argp/argp-fmtstream.c: Likewise.
64561         * argp/argp-fmtstream.h: Likewise.
64562         * argp/argp-help.c: Likewise.
64563         * assert/assert.c: Likewise.
64564         * config.h.in: Likewise.
64565         * config.make.in: Likewise.
64566         * configure: Likewise.
64567         * configure.in: Likewise.
64568         * csu/Versions: Likewise.
64569         * csu/init.c: Likewise.
64570         * elf/tst-audit2.c: Likewise.
64571         * elf/tst-tls10.c: Likewise.
64572         * elf/tst-tls10.h: Likewise.
64573         * elf/tst-tls11.c: Likewise.
64574         * elf/tst-tls12.c: Likewise.
64575         * elf/tst-tls14.c: Likewise.
64576         * elf/tst-tlsmod11.c: Likewise.
64577         * elf/tst-tlsmod12.c: Likewise.
64578         * elf/tst-tlsmod13.c: Likewise.
64579         * elf/tst-tlsmod13a.c: Likewise.
64580         * elf/tst-tlsmod14a.c: Likewise.
64581         * elf/tst-tlsmod15b.c: Likewise.
64582         * elf/tst-tlsmod16a.c: Likewise.
64583         * elf/tst-tlsmod16b.c: Likewise.
64584         * elf/tst-tlsmod7.c: Likewise.
64585         * elf/tst-tlsmod8.c: Likewise.
64586         * elf/tst-tlsmod9.c: Likewise.
64587         * gmon/gmon.c: Likewise.
64588         * grp/fgetgrent_r.c: Likewise.
64589         * grp/putgrent.c: Likewise.
64590         * hurd/fopenport.c: Likewise.
64591         * include/libc-symbols.h: Likewise.
64592         * include/tls.h: Likewise.
64593         * intl/gettextP.h: Likewise.
64594         * intl/loadinfo.h: Likewise.
64595         * locale/global-locale.c: Likewise.
64596         * locale/localeinfo.h: Likewise.
64597         * mach/devstream.c: Likewise.
64598         * malloc/arena.c: Likewise.
64599         * malloc/set-freeres.c: Likewise.
64600         * misc/err.c: Likewise.
64601         * misc/getttyent.c: Likewise.
64602         * misc/mntent_r.c: Likewise.
64603         * posix/getopt.c: Likewise.
64604         * posix/wordexp.c: Likewise.
64605         * pwd/fgetpwent_r.c: Likewise.
64606         * resolv/Versions: Likewise.
64607         * resolv/res_hconf.c: Likewise.
64608         * shadow/fgetspent_r.c: Likewise.
64609         * shadow/putspent.c: Likewise.
64610         * stdio-common/printf_fphex.c: Likewise.
64611         * stdio-common/tmpfile.c: Likewise.
64612         * stdlib/abort.c: Likewise.
64613         * stdlib/fmtmsg.c: Likewise.
64614         * sunrpc/auth_unix.c: Likewise.
64615         * sunrpc/clnt_perr.c: Likewise.
64616         * sunrpc/clnt_tcp.c: Likewise.
64617         * sunrpc/clnt_udp.c: Likewise.
64618         * sunrpc/clnt_unix.c: Likewise.
64619         * sunrpc/openchild.c: Likewise.
64620         * sunrpc/svc_simple.c: Likewise.
64621         * sunrpc/svc_tcp.c: Likewise.
64622         * sunrpc/svc_udp.c: Likewise.
64623         * sunrpc/svc_unix.c: Likewise.
64624         * sunrpc/xdr.c: Likewise.
64625         * sunrpc/xdr_array.c: Likewise.
64626         * sunrpc/xdr_rec.c: Likewise.
64627         * sunrpc/xdr_ref.c: Likewise.
64628         * sunrpc/xdr_stdio.c: Likewise.
64630 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
64632         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
64634 2011-07-03  Andreas Jaeger  <aj@suse.de>
64636         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
64637         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
64638         regenerate with gen-libm-tests.pl.
64640 2010-05-12  Petr Baudis  <pasky@suse.cz>
64642         [BZ #11589]
64643         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
64644         around j0() zero points by switching to j1().
64645         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
64646         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
64647         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
64648         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
64650 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
64652         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
64653         instead of 0.
64654         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
64655         instead of 0.
64656         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
64657         Patch in part by Pavel Roskin <proski@gnu.org>.
64659         [BZ #13138]
64660         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
64661         realloc.
64662         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
64663         Free memory block if necessary.
64665         [BZ #12847]
64666         * libio/genops.c (INTDEF): For string streams the _lock pointer can
64667         be NULL.  Don't lock in this case.
64669 2011-09-09  Roland McGrath  <roland@hack.frob.com>
64671         * elf/elf.h (ELFOSABI_GNU): New macro.
64672         (ELFOSABI_LINUX): Define to that.
64674 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
64676         * string/strncat.c (strncat): Undef the symbol in case it has been
64677         defined in bits/string.h.
64679 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
64681         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
64683         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
64684         link map.
64686 2011-08-17  Andreas Jaeger  <aj@suse.de>
64688         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
64690 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
64691             Ian Lance Taylor  <iant@google.com>
64693         * math/libm-test.inc (lround_test): New testcase.
64694         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
64696 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
64698         * Makefile: Remove support for automatic cvs check-ins.
64699         * Makerules: Likewise.
64700         * config.make.in: Likewise.
64701         * configure.in: Likewise.
64702         * intl/Makefile: Likewise.
64703         * locale/Makefile: Likewise.
64704         * po/Makefile: Likewise.
64705         * posix/Makefile: Likewise.
64706         * sysdeps/gnu/Makefile: Likewise.
64707         * sysdeps/mach/hurd/Makefile: Likewise.
64708         * sysdeps/sparc/sparc32/Makefile: Likewise.
64710         [BZ #13118]
64711         * posix/Makefile (bug-regex32-ENV): Define.
64712         Patch by John Stanley <jpsinthemix@verizon.net>.
64714         * misc/Makefile (headers): Add bits/select2.h.
64715         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
64716         * misc/bits/select2.h: New file.
64717         * include/bits/select2.h: New file.
64718         * debug/Makefile (routines): Add fdelt_chk.
64719         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
64720         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
64721         FD_ISSET.
64722         * debug/fdelt_chk.c: New file.
64724         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
64725         * wcsmbs/test-wmemcmp.c: Likewise.
64726         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
64727         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
64729 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64731         * string/Makefile (strop-tests): Add memcmp.
64732         * string/test-wmemcmp.c: New file.
64733         * string/test-memcmp.c: Add wmemcmp support.
64735 2011-09-08  Roland McGrath  <roland@hack.frob.com>
64737         [BZ #13153]
64738         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
64739         2011-07-19 change.
64741         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
64742         garbage value in a __mach_port_mod_refs call in the cases of the
64743         task-self and thread-self ports.
64745 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64747         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
64749 2011-09-08  Andreas Schwab  <schwab@redhat.com>
64751         * elf/dl-load.c (lose): Check for non-null L.
64753 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
64755         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
64757         * elf/dl-libc.c (dlerror_run): Pass back error code from
64758         dl_catch_error.
64760         [BZ #13123]
64761         * elf/dl-load.c (lose): Free l_origin if it is valid.
64763         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
64764         names.
64765         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
64766         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
64767         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
64768         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
64769         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
64770         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
64772 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64774         * sysdeps/powerpc/fpu/e_hypot.c: New file.
64775         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
64776         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
64777         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
64778         * sysdeps/powerpc/fpu/k_cosf.c: New file.
64779         * sysdeps/powerpc/fpu/k_sinf.c: New file.
64780         * sysdeps/powerpc/fpu/s_cosf.c: New file.
64781         * sysdeps/powerpc/fpu/s_sinf.c: New file.
64782         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
64783         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
64785 2011-08-15  Alan Modra  <amodra@gmail.com>
64787         [BZ #13092]
64788         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
64789         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
64790         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
64791         ppc_mcount to static-only-routines.
64792         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
64793         __mcount_internal.
64794         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
64795         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
64797 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
64799         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
64800         for finite and infinity parameters.
64802 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
64804         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
64805         and add nop instructions for throughput optimization.
64806         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
64808 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
64810         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
64811         aligned copy for power7 with vector-scalar instructions.
64812         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
64814 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
64816         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
64817         AVX check.
64819 2011-09-07  Andreas Schwab  <schwab@redhat.com>
64821         [BZ #13144]
64822         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
64823         last change.
64825 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
64827         * sysdeps/unix/sysv/linux/x86_64/init-first.c
64828         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
64829         syscall wrapper around clock_gettime in __vdso_clock_gettime.
64830         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
64831         clock_gettime.
64833 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
64835         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
64836         Forgot to demangle the pointer.
64838         * sysdeps/i386/sysdep.h: Define atom_text_section.
64839         * sysdeps/x86_64/sysdep.h: Likewise.
64840         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
64841         section with atom_text_section.
64842         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
64843         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
64844         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
64845         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
64846         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
64848         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
64849         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
64850         already be defined.  Change to take two parameters and don't assign
64851         result to variable.  Adjust all users.
64852         Define INTERNAL_GETTIME if not already defined.
64853         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
64854         call.
64855         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
64856         HAVE_CLOCK_GETTIME_VSYSCALL.
64857         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
64859         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
64860         gettimeofday vsyscall, just use time.
64862 2011-09-06  Andreas Schwab  <schwab@redhat.com>
64864         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
64865         <errno.h>.
64867 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
64869         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
64870         syscall on x86-64.
64871         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
64872         syscall.
64873         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
64874         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
64875         syscall if possible.
64877 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
64879         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
64880         e_ident.  Don't pass to find_mapsXX.
64881         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
64883 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
64885         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64886         strchr-sse2-no-bsf strrchr-sse2-no-bsf
64887         * sysdeps/x86_64/multiarch/strchr.S: Update.
64888         Check bit_slow_BSF bit.
64889         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
64890         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
64891         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
64893 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
64895         [BZ #13134]
64896         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
64897         before glibc 2.15.
64898         (tryshell): Define.
64899         (__spawni): Change last parameter to be flag.  Test
64900         SPAWN_XFLAGS_USE_PATH flag to use path or not.
64901         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
64902         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
64903         * posix/spawni.c: Likewise.
64904         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
64905         * posix/spawnp.c: Likewise.  Change normal version to use
64906         SPAWN_XFLAGS_USE_PATH.
64907         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
64908         SPAWN_XFLAGS_TRY_SHELL.
64910         [BZ #13150]
64911         * posix/glob.h: Remove gcc 1.x support.
64913         [BZ #13068]
64914         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
64916 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
64918         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
64919         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
64920         strrchr-sse2-bsf
64921         * sysdeps/i386/i686/multiarch/strchr.S: New file.
64922         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
64923         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
64924         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
64925         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
64926         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
64928 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64930         * sysdeps/x86_64/wcscmp.S: New file.
64932         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
64933         wcscmp-c wcscmp-sse2
64934         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
64935         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
64936         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
64937         * wcsmbs/wcscmp.c: Allow renaming.
64939 2011-09-05  David S. Miller  <davem@davemloft.net>
64941         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
64942         stack slot, rather than the struct return pointer slot.
64943         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
64944         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
64945         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
64946         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
64948 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
64950         * po/ja.po: Update from translation team.
64952         [BZ #13144]
64953         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
64954         kernel in 64-bit binaries.
64956 2011-09-01  David S. Miller  <davem@davemloft.net>
64958         * elf/elf.h (HWCAP_SPARC_*): Move to..
64959         * sysdeps/sparc/sysdep.h: this new file and add new values.
64960         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
64961         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
64962         _DL_HWCAP_COUNT to 24.
64963         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
64964         entries.
64965         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
64966         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
64967         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
64968         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
64969         instead of magic constants.
64970         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
64972 2011-08-31  David S. Miller  <davem@davemloft.net>
64974         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
64975         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
64976         Reimplement to do errno handling inline.
64977         (SYSCALL_ERROR_HANDLER): New macro.
64978         (__SYSCALL_STRING): Do not do errno handling in asm.
64979         (__CLONE_SYSCALL_STRING): Delete.
64980         (__INTERNAL_SYSCALL_STRING): Delete.
64981         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
64982         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
64983         (PSEUDO): Reimplement to do errno handling inline.
64984         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
64985         (SYSCALL_ERROR_HANDLER): New macro.
64986         (__SYSCALL_STRING): Do not do errno handling in asm.
64987         (__CLONE_SYSCALL_STRING): Delete.
64988         (__INTERNAL_SYSCALL_STRING): Delete.
64989         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
64990         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
64991         i386.
64992         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
64993         (inline_syscall*): Add 'err' argument.
64994         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
64995         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
64996         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
64997         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
64999         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
65000         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
65002 2011-08-30  Andreas Schwab  <schwab@redhat.com>
65004         * elf/rtld.c (dl_main): Relocate objects in dependency order.
65006 2011-08-29  Jiri Olsa <jolsa@redhat.com>
65008         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
65009         directive.
65011 2011-08-24  David S. Miller  <davem@davemloft.net>
65013         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
65015 2011-08-24  Andreas Schwab  <schwab@redhat.com>
65017         * elf/Makefile: Add rules to build and run unload8 test.
65018         * elf/unload8.c: New file.
65019         * elf/unload8mod1.c: New file.
65020         * elf/unload8mod1x.c: New file.
65021         * elf/unload8mod2.c: New file.
65022         * elf/unload8mod3.c: New file.
65024         * elf/dl-close.c (_dl_close_worker): Reset private search list if
65025         it wasn't used.
65027 2011-08-23  David S. Miller  <davem@davemloft.net>
65029         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
65030         subtract stack bias.
65031         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
65032         %sp not %fp in calculations.
65033         (_JMPBUF_UNWINDS_ADJ): Likewise.
65035         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
65036         (aio_suspend): Call it to force an exception region around the
65037         AIO_MISC_WAIT() invocation.
65039 2011-08-23  Andreas Schwab  <schwab@redhat.com>
65041         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
65042         backslash.
65044 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
65046         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
65047         protection macro.
65048         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
65049         and <dl-machine.h>.
65050         (Elf64_FuncDesc): Remove.
65052 2011-08-22  David S. Miller  <davem@davemloft.net>
65054         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
65055         sigaltstack check, add missing cfi directives.
65056         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
65057         missing cfi directives, and sigaltstack handling.
65059 2011-08-16  Andreas Schwab  <schwab@redhat.com>
65061         [BZ #11724]
65062         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
65063         object is seen twice.
65064         * elf/dl-fini.c (_dl_sort_fini): Likewise.
65066         * elf/Makefile (distribute): Add tst-initorder2.c.
65067         (tests): Add tst-initorder2.
65068         (modules-names): Add tst-initorder2a tst-initorder2b
65069         tst-initorder2c tst-initorder2d.  Add rules to build them.
65070         ($(objpfx)tst-initorder2.out): New rule.
65071         * elf/tst-initorder2.c: New file.
65072         * elf/tst-initorder2.exp: New file.
65074 2011-08-22  Andreas Schwab  <schwab@redhat.com>
65076         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
65078         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
65079         dependencies back to end of function.
65081         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
65082         $(elfobjdir)/ld.so.
65084 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
65086         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
65087         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
65088         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
65089         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
65090         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
65091         of __vdso_gettimeofday.
65092         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
65093         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
65094         attribute_hidden.
65095         (_libc_vdso_platform_setup): Remove initialization of
65096         __vdso_gettimeofday and __vdso_time.
65098 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
65100         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
65101         and fgetc_unlocked.
65102         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
65103         getc_unlocked.
65105         * elf/dl-open.c (add_to_global): Report additions to the global scope
65106         for LD_DEBUG=scopes.
65107         (dl_open_worker): Also print scope of newly loaded dependencies.
65108         (_dl_show_scope): Indicate if there is no scope.
65110         [BZ #13114]
65111         * stdio-common/Makefile (tests): Add bug24.
65112         * stdio-common/bug24.c: New file.
65114 2011-08-19  Andreas Jaeger  <aj@suse.de>
65116         [BZ #13114]
65117         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
65118         non-existant file when using close-on-exec mode.
65120 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
65122         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
65123         the very first instruction.
65125         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
65126         the CFI state in the end.
65127         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
65128         inclusion of dl-trampoline.h.
65129         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
65131 2011-08-19  Andreas Schwab  <schwab@redhat.com>
65133         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
65134         expectations for long double.
65136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
65137         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
65139 2011-08-14  David S. Miller  <davem@davemloft.net>
65141         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
65142         artificual limit depends upon the system page size.
65144 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
65146         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
65147         * resolv/Makefile: Define CFLAGS-libresolv.
65149 2011-08-17  Andreas Schwab  <schwab@redhat.com>
65151         * nss/makedb.c (compute_tables): Make variables used in nested
65152         function static.
65154 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
65156         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
65157         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
65158         if buffer was too small.
65160         * elf/pldd.c (main): Attach to all threads in the process.
65161         Rewrite /proc handling to use *at functions.
65163 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
65165         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
65166         specifies first scope to show.
65167         (dl_open_worker): Update callers.  Move printing scope of new
65168         object to before the relocation.
65169         * elf/rtld.c (dl_main): Update _dl_show_scope call.
65170         * sysdeps/generic/ldsodefs.h: Update declaration.
65172         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
65173         string for the scope number.
65175 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
65177         * nscd/servicescache.c (cache_addserv): Make sure written is always
65178         initialized.
65180 2011-08-14  Roland McGrath  <roland@hack.frob.com>
65182         * sysdeps/i386/i486/bits/atomic.h
65183         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
65184         statement expression, so as to suppress "set but not used" warning.
65185         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
65187         * string/strncat.c (STRNCAT): Use prototype definition.
65189         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
65190         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
65191         -Iprograms here.
65192         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
65193         (localedef-modules): Add localedef.
65194         (locale-modules): Add locale.
65196         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
65197         * elf/rtld.c (dl_main): Invert order of assignment in last change,
65198         to avoid a warning.
65200 2011-08-14  David S. Miller  <davem@davemloft.net>
65202         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
65203         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
65205 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
65207         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
65208         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
65209         * elf/rtld.c (dl_main): Set l_name of vDSO.
65210         Call _dl_show_scope when DL_DEBUG_SCOPES.
65211         (process_dl_debug): Recognize scopes flag and also set it for all.
65212         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
65213         Declare _dl_show_scope.
65215         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
65216         (do_dlopen): Pass caller_dlopen to dl_open.
65217         (__libc_dlopen_mode): Initialize caller_dlopen.
65219         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
65220         of libc.  Make tolower call locale-independent.  Optimize a bit by
65221         using isdigit instead of isalnum.
65222         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
65224 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
65226         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
65227         was a dependency or dynamically loaded.
65229 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
65231         * intl/l10nflist.c: Allow architecture-specific pop function.
65232         * sysdeps/x86_64/l10nflist.c: New file.
65234         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
65235         classification.
65237 2011-08-10  Andreas Schwab  <schwab@redhat.com>
65239         * include/dirent.h: Add libc_hidden_proto for scandirat and
65240         scandirat64.  Don't declare __scandirat64.
65241         * dirent/scandirat.c: Add libc_hidden_def.
65242         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
65243         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
65245 2011-08-10  David S. Miller  <davem@davemloft.net>
65247         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
65248         enum.
65249         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
65250         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
65251         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
65253 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
65255         * Versions.def [libc]: Add GLIBC_2.15.
65256         * dirent/Makefile (routines): Add scandirat and scandirat64.
65257         * dirent/Versions [libc]: Export scandirat and scandirat64 for
65258         GLIBC_2.15.
65259         * dirent/dirent.h: Declare scandirat and scandirat64.
65260         * dirent/scandirat.c: New file.
65261         * dirent/scandirat64.c: New file.
65262         * sysdeps/wordsize-64/scandirat.c: New file.
65263         * sysdeps/wordsize-64/scandirat64.c: New file.
65264         * dirent/opendir.c: Define opendirat.
65265         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
65266         using scandirat.
65267         * dirent/scandir64.c: Adjust for scandir.c change.
65268         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
65269         __scandirat64, and __scandir_cancel_handler.
65270         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
65271         additional parameter and use openat instead of open (outside of ld.so).
65272         Add new __opendir as wrapper around __opendirat.
65273         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
65274         here without requiring old scandirat implementation.
65276 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
65278         * dirent/scandir.c (cancel_handler): Renamed to
65279         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
65280         defined.  Adjust users.
65281         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
65282         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
65284 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
65286         * string/test-string.h (IMPL): Use __STRING to expand name and then
65287         stringify it.
65289         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
65290         of cleanups.
65292 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65294         * string/Makefile: Update.
65295         (strop-tests): Append strncat.
65296         * string/test-wcscmp.c: New file.
65297         New comprehensive test for wcscmp.
65298         * string/test-strcmp.c: Update.
65299         (WIDE): New define.
65301 2011-07-22  Andreas Schwab  <schwab@redhat.com>
65303         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
65304         line.
65306 2011-07-26  Andreas Schwab  <schwab@redhat.com>
65308         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
65309         encoding to ACE if AI_IDN.
65311 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
65313         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
65314         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
65316 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
65318         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
65319         Fix overflow bug in strncat.
65320         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
65322         * string/test-strncat.c: Update.
65323         Add new tests for checking overflow bugs.
65325 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
65327         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65328         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
65329         * sysdeps/i386/i686/multiarch/strcat.S: New file.
65330         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
65331         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
65332         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
65333         * sysdeps/i386/i686/multiarch/strncat.S: New file.
65334         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
65335         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
65337         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
65338         (USE_AS_STRCAT): Define.
65339         Add strcat and strncat support.
65340         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
65342 2011-07-25  Andreas Schwab  <schwab@redhat.com>
65344         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
65345         __n bigger than INT_MAX+1.
65346         (__strncmp_g): Likewise.
65348 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
65350         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
65351         * libio/stido.h: Likewise.
65353         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
65354         (AF_NFC): Define.
65355         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
65356         (AF_NFC): Define.
65358         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
65359         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
65360         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
65361         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
65362         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
65364         [BZ #13021]
65365         * scripts/test-installation.pl: Don't expect libnss_test1 to be
65366         installed.
65368         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
65369         typo.
65370         (_dl_x86_64_save_sse): Likewise.
65372 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
65374         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
65375         OSXSAVE.
65376         (_dl_x86_64_save_sse): Likewise.
65378         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
65380         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
65382 2011-07-21  Andreas Schwab  <schwab@redhat.com>
65384         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
65385         change.
65386         (_dl_x86_64_save_sse): Use correct AVX check.
65388 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65390         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
65391         bug in strncpy/strncat.
65392         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
65394 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
65396         * string/tester.c (test_strcat): Add tests for different alignments
65397         of source and destination.
65398         (test_strncat): Likewise.
65400 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
65402         [BZ #12852]
65403         * posix/glob.c (glob): Check passed in values before using them in
65404         expressions to avoid some overflows.
65405         (glob_in_dir): Likewise.
65407         [BZ #13007]
65408         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
65409         check for AVX enablement so that we don't crash with old kernels and
65410         new hardware.
65411         * elf/tst-audit4.c: Add same checks here.
65412         * elf/tst-audit6.c: Likewise.
65414         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
65416 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
65418         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
65420 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
65422         * po/cs.po: Update from translation team.
65423         * po/bg.po: Likewise.
65425 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
65427         * misc/sys/cdefs.h: Add support for const attribute.
65428         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
65429         to gnu_dev_{major,minor,makedev} functions.
65431 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
65433         * intl/dcigettext.c (get_output_charset): Add missing bracket.
65435 2011-07-20  Andreas Schwab  <schwab@redhat.com>
65437         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
65438         strlen results.
65440 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65442         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
65443         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
65444         register in order to avoid conflicts with the soft frame pointer
65445         being held in r11 when necessary.
65446         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
65447         (INTERNAL_VSYSCALL_NCS): Likewise.
65449 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
65451         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
65452         * elf/dl-fini.c (_dl_fini): Adjust caller.
65453         * elf/dl-close.c (_dl_close_worker): Likewise.
65454         * sysdeps/generic/ldsodefs.h: Adjust declaration.
65456 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
65458         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
65459         "aux_cache->nlibs < 0".
65461         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
65462         in the reload-count case.
65464 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
65466         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65467         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
65468         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
65469         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
65470         * sysdeps/x86_64/multiarch/strcat.S: New file.
65471         * sysdeps/x86_64/multiarch/strncat.S: New file.
65472         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
65473         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
65474         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
65475         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
65476         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
65477         (USE_AS_STRCAT): Define.
65478         Add strcat and strncat support.
65479         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
65480         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
65481         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
65482         * string/strncat.c: Update.
65483         (USE_AS_STRNCAT): Define.
65484         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65485         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
65486         and i7.
65487         * sysdeps/x86_64/multiarch/init-arch.h
65488         (bit_Prefer_PMINUB_for_stringop): New.
65489         (index_Prefer_PMINUB_for_stringop): Likewise.
65490         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
65491         bit_Prefer_PMINUB_for_stringop.
65493 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
65495         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
65496         buffer64.
65497         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
65498         of casting of buffer.
65499         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
65500         buffer32 and buffer64.
65501         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
65502         writes instead of casting of buffer.
65503         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
65504         buffer32.
65505         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
65506         casting of buffer.
65508 2011-07-19  Andreas Schwab  <schwab@redhat.com>
65510         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
65512 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
65514         * nscd/nscd.c (termination_handler): Don't do anything for a database
65515         if it has not yet been initialized.
65517 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
65519         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
65521 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
65523         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
65525 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
65527         * po/nl.po: Update from translation team.
65528         * po/sv.po: Likewise.
65530 2011-07-16  Roland McGrath  <roland@hack.frob.com>
65532         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
65533         now disallowed by GCC.
65535         * configure.in (use-default-link): Default to yes if a test -shared
65536         link meets our qualifications.
65537         * configure: Regenerated.
65539         * config.make.in (output-format): New variable.
65540         * configure.in: Check for ld --print-output-format support.
65541         * configure: Regenerated.
65542         * Makerules ($(common-objpfx)format.lds)
65543         [$(output-format) != unknown]: Just use $(output-format),
65544         instead of the linker-script munging.
65546 2011-07-14  Roland McGrath  <roland@hack.frob.com>
65548         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
65549         of $(common-objpfx)shlib.lds.
65550         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
65552         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
65553         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
65555         * configure.in (-z relro check): Adjust test code to add a large
65556         writable data section after it.
65557         * configure: Regenerated.
65559 2011-07-11  Roland McGrath  <roland@hack.frob.com>
65561         * configure.in (-z relro check): Fix test code to make the variable
65562         truly const.
65563         * configure: Regenerated.
65565 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
65567         * nscd/nscd.h (struct traced_file): Define.
65568         (struct database_dyn): Remove inotify_descr, reset_res, and filename
65569         elements.  Add traced_files.
65570         (inotify_fd): Declare.
65571         (register_traced_file): Declare.
65572         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
65573         (inotify_fd): Export.
65574         (resolv_conf_descr): Remove.
65575         (nscd_init): Move inotify descriptor creation to main.
65576         Don't register files for notification here.
65577         (register_traced_file): New function.
65578         (invalidate_cache): Don't use reset_res to determine whether to call
65579         res_init, go through the list of registered files.
65580         (main_loop_poll): The inotify descriptors are now stored in the
65581         structures for the traced files.
65582         (main_loop_epoll): Likewise
65583         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
65584         to __nss_disable_nscd.
65585         * nscd/cache.c (prune_cache): There is no single inotify descriptor
65586         for a database anymore.  Check the records for all the registered
65587         files instead.
65588         * nss/Makefile (libnss_files-routines): Add files-init.
65589         (libnss_db-routines): Add db-init.
65590         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
65591         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
65592         * nss/nss_db/db-init.c: New file.
65593         * nss/nss_files/files-init.c: New file.
65594         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
65595         __nss_lookup_function.
65596         (__nss_lookup_function): Call nss_load_library.
65597         (nss_load_all_libraries): New function.
65598         (__nss_disable_nscd): Take parameter with callback function for files
65599         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
65600         used for the cached services.
65601         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
65602         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
65603         options for features to all the files in nscd.
65605         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
65607 2011-07-10  Roland McGrath  <roland@hack.frob.com>
65609         * csu/elf-init.c (__libc_csu_init): Comment typo.
65611 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
65613         * po/pl.po: Update from translation team.
65614         * po/ja.po: Likewise.
65615         * po/ru.po: Likewise.
65616         * po/ko.po: Likewise.
65617         * po/fr.po: Likewise.
65619 2011-07-09  Roland McGrath  <roland@hack.frob.com>
65621         * configure.in (.ctors/.dtors header and trailer check):
65622         Use an empirical test on a built program.
65623         * configure: Regenerated.
65625         * configure.in (-z relro check): Use an empirical test on a built DSO.
65626         Detect, but do not require, on ia64.
65627         * configure: Regenerated.
65629         * configure.in (READELF): Find it with AC_CHECK_TOOL.
65630         Update tests that use readelf to use $READELF instead.
65631         * configure: Regenerated.
65633 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
65635         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
65636         if the result is not used.
65638 2011-07-05  Andreas Jaeger  <aj@suse.de>
65640         [BZ#9696]
65641         * stdlib/tst-strtod.c: Add testcase.
65643 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
65645         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
65646         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
65647         The latter has a higher limit.  Take additional parameter to pass to
65648         the new function.
65649         (__pathconf): Pass file to __statfs_link_max.
65650         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
65651         __statfs_link_max.
65652         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
65653         __statfs_link_max.
65655         [BZ #12868]
65656         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
65657         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
65658         Handle Lustre.
65659         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
65660         (__statfs_filesize_max): Likewise.
65661         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
65663 2011-07-05  Andreas Jaeger  <aj@suse.de>
65665         * resolv/res_comp.c (dn_skipname): Remove unused variable.
65667 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
65669         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
65670         `status' variable.
65671         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
65672         Likewise.
65674 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
65676         * Makefile (strop-tests): Add strncat.
65677         * string/test-strncat.c: New file.
65679 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
65681         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
65683 2011-06-21  Andreas Jaeger  <aj@suse.de>
65685         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
65686         Copy rule from iconvdata/Makefile.
65688 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
65690         [BZ #12922]
65691         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
65692         but no long options are defined, just return 'W'.
65694 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
65696         [BZ #9696]
65697         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
65699 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
65701         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
65702         netgroups to read.
65703         (innetgr): Likewise.
65705 2011-07-05  Roland McGrath  <roland@hack.frob.com>
65707         * config.make.in (install_root): Default to $(DESTDIR).
65709 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
65711         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
65713 2011-07-02  Roland McGrath  <roland@hack.frob.com>
65715         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
65717         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
65718         containing directory rather than embedding absolute directory names.
65720         * scripts/check-local-headers.sh: Rewritten using awk.
65721         Match by word, not by line.  Print error messages for matches.
65722         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
65724         * Makerules [shlib-lds-flags empty]:
65725         ($(common-objpfx)libc_pic.opts): New target.
65726         ($(common-objpfx)libc_pic.os.clean): New target.
65727         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
65729         * config.make.in (OBJCOPY): New variable.
65730         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
65731         * configure: Regenerated.
65733         * config.make.in (use-default-link): New variable.
65734         * configure.in (use_default_link): Grok --with-default-link to set it.
65735         * configure: Regenerated.
65736         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
65737         (shlib-lds, shlib-lds-flags): Define to empty.
65739         * Makerules (shlib-lds): New variable.
65740         (shlib-lds-flags): New variable.
65741         (build-shlib, build-moduile, build-module-asneeded): Use it.
65742         ($(common-objpfx)libc.so): Use $(shlib-lds).
65743         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
65744         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
65746         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
65747         DT_FLAGS/DT_FLAGS_1 with zero flags.
65749         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
65750         linker script munging.
65752 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
65754         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
65755         as 128-bit value.
65756         * crypt/sha512.c (sha512_process_block): Perform total addition using
65757         128-bit if possible.
65758         (__sha512_finish_ctx): Likewise.
65759         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
65760         as 64-bit value.
65761         * crypt/sha256.c (SWAP64): Define.
65762         (sha256_process_block): Perform total addition using 64-bit if
65763         possible.
65764         (__sha256_finish_ctx): Likewise.
65766 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
65768         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
65769         * nscd/initgrcache.c (addinitgroupsX): Likewise.
65770         * nscd/hstcache.c (cache_addhst): Likewise.
65771         * nscd/grpcache.c (cache_addgr): Likewise.
65772         * nscd/aicache.c (addhstaiX): Likewise
65773         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
65775 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
65777         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
65778         * nscd/initgrcache.c (addinitgroupsX): Likewise.
65779         * nscd/hstcache.c (cache_addhst): Likewise.
65780         * nscd/grpcache.c (cache_addgr): Likewise.
65781         * nscd/aicache.c (addhstaiX): Likewise
65783 2011-07-01  Andreas Schwab  <schwab@redhat.com>
65785         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
65786         domain only when needed.
65788 2011-06-30  Andreas Schwab  <schwab@redhat.com>
65790         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
65791         is always restored.
65793 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
65795         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
65796         are re-adding the entry.
65797         * nscd/servicescache.c (cache_addserv): Likewise.
65799 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
65801         * sysdeps/generic/dl-irel.h: fix protection against multiple
65802         inclusions.
65803         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
65805 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
65807         [BZ #12935]
65808         * malloc/memusage.sh: Fix quoting in message.
65809         * debug/xtrace.sh: Likewise.
65811         * configure.in: Remove support for --experimental-malloc option, make
65812         it the default.
65813         * config.make.in: Likewise.
65814         * malloc/Makefile: Likewise.
65816 2011-06-27  Andreas Schwab  <schwab@redhat.com>
65818         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
65819         two-byte characters.
65821 2011-06-27  Roland McGrath  <roland@hack.frob.com>
65823         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
65824         AC_CACHE_CHECK invocation.
65825         * configure: Regenerated.
65827         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
65829 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
65831         [BZ #12350]
65832         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
65833         bit from old_res_options.
65835         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
65837         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
65838         value type for setfct.
65840 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
65842         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
65843         __gettimeofday instead of gettimeofday.
65845 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
65847         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
65849 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
65851         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
65853         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
65854         info.
65856 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
65858         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65859         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
65860         strcpy-sse2-unaligned strncpy-sse2-unaligned
65861         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
65862         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
65863         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
65864         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
65865         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
65866         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
65867         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
65868         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
65869         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
65870         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
65871         (STRCPY): Support SSE2 and SSSE3 versions.
65873 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
65875         [BZ #12874]
65876         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
65877         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
65878         kernels which artificially limit size of requests.
65880 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
65882         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65883         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
65884         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
65885         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
65886         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
65887         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
65888         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
65889         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
65890         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
65891         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
65892         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
65893         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
65894         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
65895         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
65896         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
65897         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65898         Enable unaligned load optimization for Intel Core i3, i5 and i7
65899         processors.
65900         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
65901         Define.
65902         (index_Fast_Unaligned_Load): Define.
65903         (HAS_FAST_UNALIGNED_LOAD): Define.
65905 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
65907         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
65909 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
65911         [BZ #12907]
65912         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
65913         until it is clear that the information is realy needed.
65914         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
65916 2011-06-22  Andreas Schwab  <schwab@redhat.com>
65918         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
65920 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
65922         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
65923         /sys/devices/system/cpu/online if it is usable.
65925         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
65926         reading the information from the /proc filesystem to once a second.
65928 2011-06-21  Andreas Jaeger  <aj@suse.de>
65930         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
65931         NULL after inclusion of kernel headers.
65933 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
65935         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
65936         calls to internal_setent.
65938         [BZ #12885]
65939         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
65940         addresses using gethostbyname4_r ignore IPv4 addresses.
65942         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
65943         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
65945         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
65947 2011-06-20  David S. Miller  <davem@davemloft.net>
65949         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
65950         inclusions.
65951         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
65953         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
65954         (elf_irel): Use it.
65955         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
65956         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
65957         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
65958         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
65959         * sysdeps/x86_64/dl-irel.h: Likewise.
65961         * elf/dl-runtime.c: Use elf_ifunc_invoke.
65962         * elf/dl-sym.c: Likewise.
65964 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
65966         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
65967         need to dereference resplen2.
65969 2011-06-14  Andreas Schwab  <schwab@redhat.com>
65971         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
65973 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
65975         * Makeconfig: Define vardbdir and inst_vardbdir.
65976         * nss/Makefile: Add rules to install db-Makefile.
65978         * nss/nss_db/db-XXX.c: Cleanup.
65980         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
65981         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
65982         GLIBC_PRIVATE.
65983         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
65984         * nss/makedb.c: Implement -g option to specify that value strings
65985         are generated and should not be added to table iterated over for
65986         get*ent calls.
65987         * nss/nss_db/db-initgroups.c: New file.
65989         * nss/getent.c: Add support for initgroups lookups through getgrouplist
65990         interface.
65992         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
65993         (internal_getgrouplist): Adjust to name change.
65994         Update use_initgroups_entry if this is not the first call.
65995         * nss/databases.def: Add initgroups entry.
65997         * nss/makedb.c (compute_tables): Check result of multiple hash table
65998         sizes to minimize maximum chain length.
66000 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
66002         * Versions.def: Add entry for libnss_db.
66003         * shlib-versions: Likewise.
66004         * nss/Makefile: Add rules to build libnss_db.
66005         * nss/Versions: Add libnss_db information.  Organize libnss_files
66006         entries better.
66007         * nss/db-Makefile: Add gshadow support.  Change rules for the new
66008         makedb progra.  Some minor improvements to generate smaller files.
66009         * nss/nss_db/nss_db.h: Move NSS database header data structures to
66010         here from...
66011         * nss/makedb.c: ...here.
66012         Improve database format to be smaller and require less memory at
66013         runtime.
66014         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
66015         db anymore.
66016         * nss/nss_db/db-netgrp.c: Likewise.
66017         * nss/nss_db/db-open.c: Likewise.
66018         * nss/nss_files/flies-XXX.x: Adjust comments.
66019         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
66020         * nss/nss_files/files-grp.c: Likewise.
66021         * nss/nss_files/files-hosts.c: Likewise.
66022         * nss/nss_files/files-network.c: Likewise.
66023         * nss/nss_files/files-proto.c: Likewise.
66024         * nss/nss_files/files-pwd.c: Likewise.
66025         * nss/nss_files/files-rpc.c: Likewise.
66026         * nss/nss_files/files-service.c: Likewise.
66027         * nss/nss_files/files-sgrp.c: Likewise.
66028         * nss/nss_files/files-spwd.c: Likewise.
66029         * nss/nss_db/db-alias.c: Removed.
66030         * nss/nss_db/dummy-db.h: Removed.
66032 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
66034         * nss/makedb.c: Rewritten to not use database library.
66035         * nss/Makefile: Update to build new makedb program.
66037 2011-06-14  Andreas Jaeger  <aj@suse.de>
66039         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
66040         memset declaration.
66042 2011-06-10  Andreas Schwab  <schwab@redhat.com>
66044         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
66045         tmpbuf.
66047 2011-06-10  Roland McGrath  <roland@hack.frob.com>
66049         * Makerules (shlib.lds): Fail if the linker script comes out empty.
66050         * elf/Makefile ($(objpfx)ld.so): Likewise.
66052         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
66053         Don't list ld.so twice in dependencies.
66055         * posix/bug-regex31.c: Include <stdlib.h>.
66057         * nscd/hstcache.c (cache_addhst): Remove unused variable.
66059         * nis/nss_compat/compat-spwd.c
66060         (getspent_next_nss_netgr): Remove unused variable.
66061         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
66063         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
66064         nonmembers" output to use the right array.
66066         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
66068         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
66070         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
66071         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
66072         * catgets/gencat.c (read_input_file): Likewise.
66073         * locale/programs/locarchive.c (enlarge_archive): Likewise.
66075         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
66076         variable definition inside #if's controlling its use.
66078         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
66080         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
66082         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
66084         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
66085         unreachable code.
66087         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
66089         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
66090         * configure: Regenerated.
66092         * Makerules: Revert last change.
66093         * elf/Makefile: Likewise.
66095 2011-06-09  Roland McGrath  <roland@hack.frob.com>
66097         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
66098         * elf/Makefile ($(objpfx)librtld.os): Likewise.
66099         (reloc-link): Likewise.
66101 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
66103         * elf/Makefile: Add rules to build pldd.
66104         * elf/pldd.c: New file.
66105         * elf/pldd-xx.c: New file.
66107 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
66109         * version.h: Update for 2.15 development version.
66111 2011-06-07  David S. Miller  <davem@davemloft.net>
66113         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
66114         ifuncs.
66115         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
66116         elf_machine_lazy_rel): Likewise.
66117         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
66118         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
66119         elf_machine_lazy_rel): Likewise.
66120         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
66121         dl_hwcap via passed in argument.
66122         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
66123         Likewise.
66125 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66127         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
66129 2011-06-06  Roland McGrath  <roland@hack.frob.com>
66131         [BZ #12849]
66132         * manual/fdl-1.1.texi: New file, verbatim from:
66133         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
66134         * manual/lgpl-2.1.texi: New file, verbatim from:
66135         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
66136         * manual/Makefile (licenses): New variable, list those new file names.
66137         (texis): Use it.
66138         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
66140         * manual/fdl.texi: File removed.
66141         * manual/lesser.texi: File removed.
66142         * manual/libc.texinfo (Copying, Documentation License):
66143         Use new @include file names, put @appendix directive before @include.
66145 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
66147         [BZ #12841]
66148         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
66149         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
66150         (mq_open): Add __NTH.
66152 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
66154         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66155         Assume Intel Core i3/i5/i7 processor if AVX is available.
66157 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
66159         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
66160         typo.
66162 2011-05-31  Andreas Schwab  <schwab@redhat.com>
66164         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
66165         memory.  Use alloca_account.  Fix memory leak when retrying.
66167 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
66169         * version.h (RELEASE): Bump for 2.14 release.
66170         * include/features.h (__GLIBC_MINOR__): Bump to 14.
66172         * config.make.in (RANLIB): Remove entry.
66174 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
66176         * po/Makefile (po-sed-cmd): Add ksh to extensions.
66177         (libc.pot): Work around missing support for .ksh extension in xgettext.
66179         [BZ #12684]
66180         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
66181         if both request failed.
66182         (send_dg): In case of server errors clear resplen or *resplen2.
66184         [BZ #12454]
66185         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
66186         when there are multiple maps.
66187         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
66188         (_dl_fini): Remove test here.
66190         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
66192 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
66194         [BZ #12350]
66195         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
66196         bit from old_res_options.
66197         (gaih_inet): Likewise.
66199         [BZ #11099]
66200         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
66201         as signed.
66203         * resolv/res_init.c (res_setoptions): Make the code more compact.
66205         [BZ #11558]
66206         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
66207         set RES_USEVC.
66209         [BZ #11634]
66210         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
66212         * malloc/malloc.h: Mark malloc hook variables as deprecated.
66214         [BZ #11781]
66215         * malloc/malloc.h: Declare malloc hook variables as volatile.
66217         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
66218         in last patch.
66220         [BZ #11799]
66221         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
66222         raise in the comment.
66223         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
66224         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
66225         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
66227 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
66229         [BZ #12811]
66230         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
66231         grow the buffers more if it already has to be sufficient.
66232         (build_wcs_upper_buffer): Likewise.
66233         * posix/regexec.c (check_matching): Likewise.
66234         (clean_state_log_if_needed): Likewise.
66235         (extend_buffers): Don't enlarge buffers beyond size of the input
66236         buffer.
66237         Patches mostly by Emil Wojak <emil@wojak.eu>.
66238         * posix/bug-regex32.c: New file.
66239         * posix/Makefile (tests): Add bug-regex32.
66241         * locale/findlocale.c (_nl_find_locale): Return right away if
66242         _nl_explode_name failed.
66243         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
66245         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
66247         * debug/xtrace.sh: Unify messages.
66248         * malloc/memusage.sh: Likewise.
66250         [BZ #12813]
66251         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
66252         time symbol from vDSO.  Substitute with vsyscall if not available.
66253         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
66254         __vdso_time.
66256         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
66257         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
66258         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
66259         Add sendmmsg and internal_sendmmsg.
66260         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
66261         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
66262         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
66264         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
66265         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
66266         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
66268 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
66270         [BZ #12813]
66271         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
66272         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
66273         available.
66274         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
66275         __vdso_getcpu.
66277         [BZ #12814]
66278         * iconvdata/Makefile (tests): Add bug-iconv9.
66279         * iconvdata/bug-iconv9.c: New file.
66281 2011-05-27  Andreas Schwab  <schwab@redhat.com>
66283         [BZ #12814]
66284         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
66286 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
66288         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
66289         (struct user_regs_struct): Change intcs field back to cs.
66291 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
66293         * po/ja.po: Update from translation team.
66295 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
66297         [BZ #12795]
66298         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
66299         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
66301 2011-05-20  Andreas Schwab  <schwab@redhat.com>
66303         * stdlib/longlong.h: Update from GCC.
66305 2011-05-23  Andreas Schwab  <schwab@redhat.com>
66307         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
66308         parameter name.
66309         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
66310         Add parameter name.
66311         (__sysconf): Pass it down.
66313 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
66315         [BZ #12671]
66316         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
66317         some situations.
66318         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
66319         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
66320         add in in __libc_use_alloca calls.  Adjust callers.
66321         (glob): Use malloc in some situations.
66323         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
66324         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
66325         pltexit.
66327 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
66329         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
66330         and CLOCK_BOOTTIME_ALARM.
66332         [BZ #12782]
66333         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
66334         is returned.
66336         * string/_strerror.c (__strerror_r): Print negative errors as signed
66337         numbers.
66339         [BZ #12777]
66340         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
66341         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
66342         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
66344         * configure.in: Fix typo in redirection and correct removal of test
66345         files in two cases.
66347         [BZ #12788]
66348         * locale/setlocale.c (new_composite_name): Fix test to check for
66349         identical name of all categories.
66351         [BZ #12792]
66352         * libio/filedoalloc.c (local_isatty): New function.
66353         (_IO_file_doallocate): Use local_isatty.
66354         * stdio-common/perror.c (perror): In case a new stream is used
66355         forward the stream error.
66356         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
66357         error flag.
66359 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
66361         [BZ #11869]
66362         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
66363         alloca.
66364         * include/alloca.h (extend_alloca_account): Define.
66366         [BZ #11857]
66367         * posix/regex.h: Fix comments with documentation of user-accessible
66368         fields after compilation and describe correct free'ing of pattern
66369         after re_compile_pattern.
66370         Patch by Reuben Thomas <rrt@sc3d.org>.
66372 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
66374         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
66375         and -mno-altivec to prevent the compiler from using Altivec and/or
66376         VSX instructions when the corresponding registers are not available.
66378 2011-05-19  Andreas Schwab  <schwab@redhat.com>
66380         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
66382 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
66384         * libio/freopen.c (freopen): Use __dup2, not dup2.
66385         * libio/freopen64.c (freopen64): Likewise.
66387 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
66389         [BZ #12775]
66390         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
66391         * math/Makefile (tests): Add test-powl.
66392         (CFLAGS-test-powl.c): Define.
66393         * math/test-powl.c: New file.
66395 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66397         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
66399 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
66401         [BZ #11837]
66402         * iconvdata/gb18030.c: Update to GB18020-2005.
66404 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
66406         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
66407         RE_SYNTAX_POSIX_AWK): Update to match recent development.
66408         Patch by Aharon Robbins <arnold@skeeve.com>.
66410         [BZ #11892]
66411         * stdlib/putenv.c (putenv): Don't always create copy of the variable
66412         on the stack.
66414         [BZ #11895]
66415         * misc/pselect.c (__pselect): Handle timeout value errors hidden
66416         through underflows.
66418         [BZ #12766]
66419         * misc/error.c (error_at_line): Ensure file_name and old_file_name
66420         point to strings before performing equality test for error_one_per_line
66421         mode.
66423         [BZ #11697]
66424         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
66426         [BZ #11820]
66427         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
66428         (struct user_fpregs_struct): Avoid __uint*_t types.
66430         [BZ #6420]
66431         * malloc/mtrace.c (tr_where): Add additional parameter to point to
66432         symbol info.  Use it instead of calling _dl_addr locally.
66433         (lock_and_info): New function.
66434         (tr_freehook): Call lock_and_info and pass symbol info as additional
66435         parameter to tr_where.
66436         (tr_mallochook): Likewise.
66437         (tr_reallochook): Likewise.
66438         (tr_memalignhook): Likewise.
66440         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
66441         used and couldn't be at all thread-safe.
66443 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
66445         * libio/freopen.c (freopen): Don't close old file descriptor
66446         before the new one is opened.  Instead dup the new file descriptor
66447         to the old one after the new stream is created.
66448         * libio/freopen64.c (freopen64): Likewise.
66449         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
66450         * libio/fileops.c (_IO_new_file_close_it): Handle new
66451         _IO_FLAGS2_NOCLOSE flag.
66452         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
66453         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
66454         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
66455         _IO_FLAGS2_NOCLOSE flag.
66456         * include/unistd.h: Add hidden_proto for dup3.
66457         Define __have_dup3.
66458         * io/dup3.c: Define hidden symbol.
66459         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
66461         [BZ #7101]
66462         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
66463         when an incomplete long option is used.
66464         * posix/tst-getopt_long1.c: New file.
66465         * posix/Makefile (tests): Add tst-getopt_long1.
66467         [BZ #10138]
66468         * scripts/config.guess: Update from autoconf-2.68.
66469         * scripts/config.sub: Likewise.
66471         [BZ #10157]
66472         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
66473         tests into ...
66474         (has_cpuclock): ...this.  New function.
66475         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
66476         macro here based on has_cpuclock code.
66478         [BZ #10149]
66479         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
66480         First byte (not low byte) is now always NUL.
66481         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
66483         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
66484         Use non-cancelable interfaces.
66486         [BZ #9809]
66487         * locale/iso-639.def: Add entry for Sorani.
66489         [BZ #11901]
66490         * include/stdlib.h: Move include protection to the right place.
66491         Define abort_msg_s.  Declare __abort_msg with it.
66492         * stdlib/abort.c (__abort_msg): Adjust type.
66493         * assert/assert.c (__assert_fail_base): New function.  Majority
66494         of code from __assert_fail.  Allocate memory for __abort_msg with
66495         mmap.
66496         (__assert_fail): Now call __assert_fail_base.
66497         * assert/assert-perr.c: Remove bulk of implementation.  Use
66498         __assert_fail_base.
66499         * include/assert.hL Declare __assert_fail_base.
66500         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
66501         mmap.
66502         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
66504 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
66506         [BZ #11952]
66507         [BZ #12453]
66508         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
66509         until all modules are registered in the DTV.
66510         * elf/Makefile: Add rules to build and run tst-tls19.
66511         * elf/tst-tls19.c: New file.
66512         * elf/tst-tls19mod1.c: New file.
66513         * elf/tst-tls19mod2.c: New file.
66514         * elf/tst-tls19mod3.c: New file.
66515         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
66517         [BZ #12083]
66518         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
66519         correctly.
66521         [BZ #12601]
66522         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
66523         two-byte sequence errors.
66524         * iconvdata/Makefile (tests): Add bug-iconv8.
66525         * iconvdata/bug-iconv8.c: New file.
66527         [BZ #12626]
66528         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
66529         buf2 definition.
66531         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
66533         [BZ #12432]
66534         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
66535         (dummy_getcfa): New function.
66536         (init): Get _Unwind_GetCFA address, use dummy if not found.
66537         (backtrace_helper): In recursion check, also check whether CFA changes.
66538         (__backtrace): Completely initialize arg.
66540         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
66541         storing incomplete byte sequence in state object.  Avoid testing for
66542         guaranteed too small input if we know there is enough data available.
66544 2011-05-11  Andreas Schwab  <schwab@redhat.com>
66546         * Makeconfig (+link-pie): Indent.
66547         * Rules (binaries-pie): Define if $(have-fpie) and
66548         $(build-shared).
66549         (binaries-shared): Also filter out $(binaries-pie).
66550         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
66551         * nscd/Makefile (others-pie): Add nscd.
66552         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
66553         ($(objpfx)nscd): Remove command override.
66554         * login/Makefile (others-pie): Add pt_chown.
66555         ($(objpfx)pt_chown): Remove command override.
66556         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
66557         remove command overrides.
66559 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
66561         * libio/tst_putwc.c: Fix error messages.
66563         [BZ #12724]
66564         * libio/fileops.c (_IO_new_file_close_it): Always flush when
66565         currently writing and seek to current position when not.
66566         * libio/Makefile (tests): Add bug-fclose1.
66567         * libio/bug-fclose1.c: New file.
66569 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
66571         [BZ #12511]
66572         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
66573         don't set DF_1_NODELETE here.
66574         (do_lookup_x): When entering new entry test for copy relocation
66575         and if necessary set DF_1_NODELETE flag.
66576         * elf/tst-unique4.cc: New file.
66577         * elf/tst-unique4.h: New file.
66578         * elf/tst-unique4lib.cc: New file.
66579         * elf/Makefile: Add rules to build and run tst-unique4.
66580         Patch by Piotr Bury <pbury@goahead.com>.
66582 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
66584         [BZ #12052]
66585         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
66587         [BZ #12625]
66588         * misc/mntent_r.c (addmntent): Flush the stream after the output
66590         [BZ #12393]
66591         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
66592         (is_trusted_path_normalize): Skip initial colon.  Append slash
66593         to empty buffer.  Duplicate is_trusted_path code but allow
66594         constructed patch to be prefix.
66595         (is_dst): Allow $ORIGIN followed by /.
66596         (_dl_dst_substitute): Correct clearing of check_for_trusted.
66597         Correct testing of result of is_trusted_path_normalize
66598         (decompose_rpath): Fix warning.
66600 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
66602         [BZ #11257]
66603         * grp/initgroups.c (internal_getgrouplist): When we found the service
66604         list through the initgroups entry in nsswitch.conf do not always
66605         continue on a successful lookup.  Don't always use the
66606         __nss_group_database value if it is set.
66607         * nss/nsswitch.conf (initgroups): Change action for successful db
66608         lookup to continue for compatibility.
66610 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
66612         [BZ #11532]
66613         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
66614         and CP774 modules.
66615         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
66616         and CP774 modules.
66617         * iconvdata/tst-tables.sh: Likewise.
66618         * iconvdata/cp770.c: New file.
66619         * iconvdata/cp771.c: New file.
66620         * iconvdata/cp772.c: New file.
66621         * iconvdata/cp773.c: New file.
66622         * iconvdata/cp774.c: New file.
66623         * iconvdata/testdata/CP770: New file.
66624         * iconvdata/testdata/CP770..UTF8: New file.
66625         * iconvdata/testdata/CP771: New file.
66626         * iconvdata/testdata/CP771..UTF8: New file.
66627         * iconvdata/testdata/CP772: New file.
66628         * iconvdata/testdata/CP772..UTF8: New file.
66629         * iconvdata/testdata/CP773: New file.
66630         * iconvdata/testdata/CP773..UTF8: New file.
66631         * iconvdata/testdata/CP774: New file.
66632         * iconvdata/testdata/CP774..UTF8: New file.
66634         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
66635         END CHARMAP line.
66636         * iconvdata/gen-8bit-gap.sh: Likewise.
66637         * iconvdata/gen-8bit.sh: Likewise.
66639         * locale/iso-639.def: Add ary entry.
66641         [BZ #11258]
66642         * locale/C-translit.h.in: Add U20A1 transliteration.
66644         [BZ #12178]
66645         * locale/iso-639.def: Add wae entry.
66646         Patch by Kevin Bortis <bortis@translate-wae.ch>.
66648         [BZ #12545]
66649         * locale/programs/localedef.c (construct_output_path): Use ssize_t
66650         for n.
66652         [BZ #12711]
66653         * locale/C-translit.h.in: Add entry for U20B9.
66654         Patch by pravin.d.s@gmail.com.
66656 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
66658         [BZ #12713]
66659         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
66660         ENAMETOOLONG use generic getcwd.
66661         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
66662         in rtld.  Use *stat64.
66663         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
66664         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
66665         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
66666         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
66667         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
66668         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
66669         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
66670         __fstatat64 macros.
66671         * include/dirent.h: Add libc_hidden_proto for rewinddir.
66672         * dirent/rewinddir.c: Add libc_hidden_def.
66673         * sysdeps/mach/hurd/rewinddir.c: Likewise.
66674         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
66676         * include/dirent.h (__alloc_dir): Add flags parameter.
66677         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
66678         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
66679         __alloc_dir.
66680         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
66681         from fdopendir if O_CLOEXEC is already set.
66683 2011-03-15  Alan Modra  <amodra@gmail.com>
66685         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
66686         l_tls_firstbyte_offset non-zero.  Save padding offset in
66687         l_tls_firstbyte_offset for later use.
66688         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
66689         freeing static tls block.
66691 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
66693         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
66694         where #ifdef was intended.  The intent is to prevent ARG_MAX from
66695         being defined by the kernel headers.
66697 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
66699         [BZ #12734]
66700         * resolv/resolv.h: Define RES_NOTLDQUERY.
66701         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
66702         no-tld-query and set RES_NOTLDQUERY.
66703         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
66704         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
66705         modern BIND to search name as TLD unless forbidden.
66707 2011-05-07  Petr Baudis  <pasky@suse.cz>
66708             Ulrich Drepper  <drepper@gmail.com>
66710         [BZ #12393]
66711         * elf/dl-load.c (fillin_rpath): Move trusted path check...
66712         (is_trusted_path): ...to here.
66713         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
66714         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
66715         using is_trusted_path_normalize() in setuid scripts.
66717 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
66719         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
66720         __BEGIN/__END_DECLS.
66722 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
66724         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
66725         NSS_STATUS_NOTFOUND if no record was found.
66727 2011-05-05  Andreas Schwab  <schwab@redhat.com>
66729         * sunrpc/Makefile (headers): Add rpc/netdb.h.
66730         (headers-not-in-tirpc): Remove rpc/netdb.h
66731         * resolv/netdb.h: Revert last change.
66733 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
66735         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
66736         circular dependency between libgcc.a and libc.a.
66738 2011-05-05  Andreas Schwab  <schwab@redhat.com>
66740         * resolv/netdb.h: Don't include <rpc/netdb.h>.
66741         * nis/Makefile: Don't install rpcsvc/*.
66742         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
66743         instead of <rpc/types.h>.
66744         (MAXHOSTNAMELEN): Define.
66746 2011-05-03  Andreas Schwab  <schwab@redhat.com>
66748         * elf/ldconfig.c (add_dir): Don't crash on empty path.
66750 2011-04-28  Maciej Babinski  <mbabinski@google.com>
66752         [BZ #12714]
66753         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
66754         gethostbyname4_r when IPv6 results are possible.
66756 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
66758         [BZ #12723]
66759         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
66760         _PC_PIPE_BUF handling.
66762 2011-04-30  Bruno Haible  <bruno@clisp.org>
66764         [BZ #12717]
66765         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
66766         * resolv/netdb.h (getnameinfo): Change type of flags parameter
66767         to 'int'.
66768         * inet/getnameinfo.c (getnameinfo): Likewise.
66770 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
66772         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
66773         to groups setting in database lookup.
66774         * nss/nsswitch.conf: Add initgroups entry.
66776 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
66778         [BZ #12685]
66779         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
66780         mode string.
66781         Patch by Eric Blake <eblake@redhat.com>.
66783 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
66785         * sunrpc/Makefile (need-export-routines): Add svc_run.
66786         (routines): Remove svc_run.
66787         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
66788         * sunrpc/clnt_perr.c (clnt_perrno): Export.
66789         * sunrpc/svc_run.c (svc_run): Likewise.
66790         * sunrpc/svc_udp.c (svcudp_create): Likewise.
66792 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
66794         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
66795         problem in reallocation in last patch.
66797 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
66799         * sunrpc/Makefile: Move inclusion of Rules.
66801 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
66803         * nss/nss_files/files-initgroups.c: New file.
66804         * nss/Makefile (libnss_files-routines): Add files-initgroups.
66805         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
66806         _nss_files_initgroups_dyn.
66808 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
66810         * elf/elf.h (R_ARM_IRELATIVE): Define.
66812 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
66814         * po/ru.po: Update from translation team.
66816 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
66818         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
66819         dependencies.
66821 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
66823         [BZ #12653]
66824         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
66825         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
66826         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
66827         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
66828         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
66830 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
66832         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
66833         differing bytes.
66834         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
66835         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
66836         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
66838 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
66840         [BZ #12420]
66841         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
66842         storing it.
66843         * stdlib/bug-getcontext.c: New file.
66844         * stdlib/Makefile: Add rules to build and run bug-getcontext.
66846 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66848         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
66849         instructions into .machine "z9-109".
66850         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
66851         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
66853 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66855         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
66856         between environment variables and auxiliary vector.
66858 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
66860         * Makefile: Add rules to build linkobj/libc.so.
66861         * include/libc-symbols.h: Define libc_hidden_nolink.
66862         * include/rpc/auth.h: Mark functions which are to be hidden.
66863         * include/rpc/auth_des.h: Likewise.
66864         * include/rpc/auth_unix.h: Likewise.
66865         * include/rpc/clnt.h: Likewise.
66866         * include/rpc/des_crypt.h: Likewise.
66867         * include/rpc/key_prot.h: Likewise.
66868         * include/rpc/pmap_clnt.h: Likewise.
66869         * include/rpc/pmap_prot.h: Likewise.
66870         * include/rpc/pmap_rmt.h: Likewise.
66871         * include/rpc/rpc_msg.h: Likewise.
66872         * include/rpc/svc.h: Likewise.
66873         * include/rpc/svc_auth.h: Likewise.
66874         * include/rpc/xdr.h: Likewise.
66875         * nis/Makefile: Link all DSOs against linkobj/libc.so.
66876         * nss/Makefile: Likewise.
66877         * sunrpc/Makefile: Don't install headers.  Build library with normal
66878         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
66879         * sunrpc/auth_des.c: Hide exported symbols by default, export some
66880         for the compat linking library.  Remove use of INTDEF/INTUSE.
66881         * sunrpc/auth_none.c: Likewise.
66882         * sunrpc/auth_unix.c: Likewise.
66883         * sunrpc/authdes_prot.c: Likewise.
66884         * sunrpc/authuxprot.c: Likewise.
66885         * sunrpc/clnt_gen.c: Likewise.
66886         * sunrpc/clnt_perr.c: Likewise.
66887         * sunrpc/clnt_raw.c: Likewise.
66888         * sunrpc/clnt_simp.c: Likewise.
66889         * sunrpc/clnt_tcp.c: Likewise.
66890         * sunrpc/clnt_udp.c: Likewise.
66891         * sunrpc/clnt_unix.c: Likewise.
66892         * sunrpc/des_crypt.c: Likewise.
66893         * sunrpc/des_soft.c: Likewise.
66894         * sunrpc/get_myaddr.c: Likewise.
66895         * sunrpc/key_call.c: Likewise.
66896         * sunrpc/key_prot.c: Likewise.
66897         * sunrpc/netname.c: Likewise.
66898         * sunrpc/pm_getmaps.c: Likewise.
66899         * sunrpc/pm_getport.c: Likewise.
66900         * sunrpc/pmap_clnt.c: Likewise.
66901         * sunrpc/pmap_prot.c: Likewise.
66902         * sunrpc/pmap_prot2.c: Likewise.
66903         * sunrpc/pmap_rmt.c: Likewise.
66904         * sunrpc/publickey.c: Likewise.
66905         * sunrpc/rpc_cmsg.c: Likewise.
66906         * sunrpc/rpc_common.c: Likewise.
66907         * sunrpc/rpc_dtable.c: Likewise.
66908         * sunrpc/rpc_prot.c: Likewise.
66909         * sunrpc/rpc_thread.c: Likewise.
66910         * sunrpc/rtime.c: Likewise.
66911         * sunrpc/svc.c: Likewise.
66912         * sunrpc/svc_auth.c: Likewise.
66913         * sunrpc/svc_authux.c: Likewise.
66914         * sunrpc/svc_raw.c: Likewise.
66915         * sunrpc/svc_run.c: Likewise.
66916         * sunrpc/svc_simple.c: Likewise.
66917         * sunrpc/svc_tcp.c: Likewise.
66918         * sunrpc/svc_udp.c: Likewise.
66919         * sunrpc/svc_unix.c: Likewise.
66920         * sunrpc/svcauth_des.c: Likewise.
66921         * sunrpc/xcrypt.c: Likewise.
66922         * sunrpc/xdr.c: Likewise.
66923         * sunrpc/xdr_array.c: Likewise.
66924         * sunrpc/xdr_float.c: Likewise.
66925         * sunrpc/xdr_intXX_t.c: Likewise.
66926         * sunrpc/xdr_mem.c: Likewise.
66927         * sunrpc/xdr_rec.c: Likewise.
66928         * sunrpc/xdr_ref.c: Likewise.
66929         * sunrpc/xdr_sizeof.c: Likewise.
66930         * sunrpc/xdr_stdio.c: Likewise.
66932 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
66934         [BZ #12650]
66935         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
66936         * sysdeps/ia64/dl-tls.h: Likewise.
66937         * sysdeps/powerpc/dl-tls.h: Likewise.
66938         * sysdeps/s390/dl-tls.h: Likewise.
66939         * sysdeps/sh/dl-tls.h: Likewise.
66940         * sysdeps/sparc/dl-tls.h: Likewise.
66941         * sysdeps/x86_64/dl-tls.h: Likewise.
66942         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
66944 2011-03-14  Andreas Schwab  <schwab@redhat.com>
66946         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
66947         rpath element also skip the following colon.
66948         (expand_dynamic_string_token): Add is_path parameter and pass
66949         down to DL_DST_REQUIRED and _dl_dst_substitute.
66950         (decompose_rpath): Call expand_dynamic_string_token with
66951         non-zero is_path.  Ignore empty rpaths.
66952         (_dl_map_object_from_fd): Call expand_dynamic_string_token
66953         with zero is_path.
66955 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
66957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
66958         Make cancelable.
66960 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
66962         [BZ #12655]
66963         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
66964         Patch by Filipe David Manana <fdmanana@apache.org>.
66966 2011-04-07  Andreas Schwab  <schwab@redhat.com>
66968         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
66969         Maintain aligned stack.
66970         (CHECK_RSP): Remove unused macro.
66972 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
66974         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
66975         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
66977 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
66979         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
66981         * include/features.h: Mention __USE_XOPEN2K8 in comment.
66983 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
66985         [BZ #12518]
66986         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
66987         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
66988         * sysdeps/x86_64/memmove.c: New file.
66989         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
66990         (memcpy): Renamed to ...
66991         (__new_memcpy): This.
66992         (memcpy): Provide GLIBC_2_14 memcpy.
66993         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
66994         (memcpy): Provide GLIBC_2_2_5 memcpy.
66996 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
66998         [BZ #12631]
66999         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
67001 2011-03-30  Andreas Schwab  <schwab@redhat.com>
67003         * misc/syncfs.c: New file.
67004         * misc/Makefile (routines): Add syncfs.
67005         * posix/unistd.h: Declare syncfs.
67006         * sysdeps/unix/syscalls.list: Add syncfs.
67008 2011-04-01  Andreas Schwab  <schwab@redhat.com>
67010         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
67011         open_by_handle_at.
67012         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
67013         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
67014         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
67015         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
67016         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
67017         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
67018         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
67020 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
67022         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
67023         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
67024         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
67025         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
67026         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
67027         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
67028         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
67030         * io/Makefile: Compile fallocate.c, fallocate64.c, and
67031         sync_file_range.c with -fexceptions.
67032         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
67033         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
67034         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
67035         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
67036         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
67037         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
67038         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
67039         sync_file_range as cancellation point
67040         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
67041         now a wrapper around __call_sync_file_range with cancellation handling.
67042         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
67043         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
67044         function name to __call_sync_file_range.
67045         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
67046         Add call_sync_file_range.
67048 2011-04-01  Andreas Schwab  <schwab@redhat.com>
67050         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67051         bits/timex.h.
67053 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
67055         * iconv/iconv.h: Fix typo in comment.
67056         * io/fcntl.h: Likewise.
67057         * libio/stdio.h: Likewise.
67058         * posix/spawn.h: Likewise.
67059         * posix/unistd.h: Likewise.
67060         * stdlib/stdlib.h: Likewise.
67061         * time/time.h: Likewise.
67062         * wcsmbs/wchar.h: Likewise.
67064         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
67065         open_by_handle): Add.
67066         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
67067         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
67068         Augment a few comments.
67069         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
67070         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
67071         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
67072         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
67073         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
67074         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
67075         open_by_handle.
67077         * io/fcntl.h (AT_EMPTY_PATH): Define.
67079 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
67081         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
67082         * sysdeps/unix/sysv/linux/bits/time.h: New file.
67083         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
67084         to...
67085         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
67086         * Versions.def: Add GLIBC_2.14.
67087         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
67088         Export.
67090 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
67092         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
67093         round counter.
67094         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
67096 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
67098         [BZ #12597]
67099         * string/test-strncmp.c (do_page_test): New function.
67100         (check2): Likewise.
67101         (test_main): Call check2.
67102         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
67104 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
67106         [BZ #12587]
67107         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
67108         Handle cache information in CPU leaf 4.
67109         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
67111 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
67113         [BZ #12583]
67114         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
67115         character representation.
67116         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
67118 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
67120         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
67121         END(__isnan) to END(__isnanf) to match function entry point/label
67122         EALIGN(__isnanf,...).
67124 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
67126         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
67128 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
67130         [BZ #12510]
67131         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
67132         copy from the symbol referenced in the relocation to initialize the
67133         used variable.
67134         Patch by Piotr Bury <pbury@goahead.com>.
67135         * elf/Makefile: Add rules to build and tst-unique3.
67136         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
67137         * elf/tst-unique3.cc: New file.
67138         * elf/tst-unique3.h: New file.
67139         * elf/tst-unique3lib.cc: New file.
67140         * elf/tst-unique3lib2.cc: New file.
67142         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
67144 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
67146         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
67147         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
67148         to _start.
67150 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
67152         * elf/dl-load.c (_dl_map_object): If we are looking for the first
67153         to-be-loaded object along a path to loader is ld.so.
67155 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
67156             Ulrich Drepper  <drepper@gmail.com>
67158         * sysdeps/x86_64/memset.S: After aligning destination, code
67159         branches to different locations depending on the value of
67160         misalignment, when multiarch is enabled. Fix this.
67162 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
67164         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
67165         Set _x86_64_preferred_memory_instruction for AMD processsors.
67166         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67167         Set bit_Prefer_SSE_for_memop for AMD processors.
67169 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
67171         * libio/fmemopen.c (fmemopen): Optimize a bit.
67173 2011-03-03  Andreas Schwab  <schwab@redhat.com>
67175         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
67177 2011-03-03  Roland McGrath  <roland@redhat.com>
67179         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
67181 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
67183         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
67184         __bzero_ultra1 instead of __memset_ultra1.
67186 2011-02-23  Andreas Schwab  <schwab@redhat.com>
67187             Ulrich Drepper  <drepper@gmail.com>
67189         [BZ #12509]
67190         * include/link.h (struct link_map): Add l_orig_initfini.
67191         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
67192         returning unsuccessfully.
67193         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
67194         close of a file loaded at startup, restore the original l_initfini
67195         list.
67196         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
67197         list, store the pointer.
67198         * elf/Makefile ($(objpfx)noload-mem): New rule.
67199         (noload-ENV): Define.
67200         (tests): Add $(objpfx)noload-mem.
67201         * elf/noload.c: Include <memcheck.h>.
67202         (main): Call mtrace.  Close all opened handles.
67204 2011-02-17  Andreas Schwab  <schwab@redhat.com>
67206         [BZ #12454]
67207         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
67208         dependencies are missing.
67210 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67212         Fix __if_freereq crash: Unlike the generic version which uses free,
67213         Hurd needs munmap.
67214         * sysdeps/mach/hurd/ifreq.h: New file.
67216 2011-01-27  Petr Baudis  <pasky@suse.cz>
67217             Ulrich Drepper  <drepper@gmail.com>
67219         [BZ 12445]#
67220         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
67221         to extend_alloca().
67222         * stdio-common/bug23.c: New file.
67223         * stdio-common/Makefile (tests): Add bug23.
67225 2010-09-28  Andreas Schwab  <schwab@redhat.com>
67226             Ulrich Drepper  <drepper@gmail.com>
67228         [BZ #12489]
67229         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
67230         before performing relro protection.  At old place add assertion
67231         to make sure nothing changed.
67233 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
67234             Glauber de Oliveira Costa  <glommer@gmail.com>
67236         * elf/elf.h: Add new ARM TLS relocs.
67238 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
67240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
67241         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
67242         cast from r3.
67243         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
67244         'tests' variable.
67245         * sysdeps/wordsize-64/tst-writev.c: New file.
67247 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
67249         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
67250         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
67251         insns in _dl_start to prevent a TOC reference before relocs are
67252         resolved.
67254 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
67256         [BZ #12469]
67257         * Makeconfig: Remove RANLIB definition.
67258         * Makerules: Don't use RANLIB.
67259         * aclocal.m4: Remove ranlib test.
67260         * configure.in: No need to check for ranlib.
67261         * elf/rtld-Rules: Don't use RANLIB.
67263 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67265         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
67266         protection macro.
67267         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
67268         inclusion protection macro.
67270         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
67271         SIGRTMIN and SIGRTMAX and print information in that case only when
67272         SIGRTMIN is defined.
67274 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
67276         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
67277         arginfo fn returning -1.
67279         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
67280         and thousands string is zero terminated.
67282 2011-02-03  Andreas Schwab  <schwab@redhat.com>
67284         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
67285         sysdeps/unix/sysv/linux/bits/socket.h.
67287 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67289         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
67290         (__CPU_COUNT): Remove old macros.
67291         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
67292         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
67293         (__CPU_ALLOC, __CPU_FREE): Add macros.
67294         (__sched_cpualloc, __sched_cpufree): Add declarations.
67296 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
67298         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
67299         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
67300         * nscd/aicache.c (addhstaiX): Return timeout of added value.
67301         (readdhstai): Return value of addhstaiX call.
67302         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
67303         (addgrbyX): Return value returned by cache_addgr.
67304         (readdgrbyname): Return value returned by addgrbyX.
67305         (readdgrbygid): Likewise.
67306         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
67307         (addpwbyX): Return value returned by cache_addpw.
67308         (readdpwbyname): Return value returned by addhstbyX.
67309         (readdpwbyuid): Likewise.
67310         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
67311         (addservbyX): Return value returned by cache_addserv.
67312         (readdservbyname): Return value returned by addservbyX:
67313         (readdservbyport): Likewise.
67314         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
67315         (addhstbyX): Return value returned by cache_addhst.
67316         (readdhstbyname): Return value returned by addhstbyX.
67317         (readdhstbyaddr): Likewise.
67318         (readdhstbynamev6): Likewise.
67319         (readdhstbyaddrv6): Likewise.
67320         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
67321         (readdinitgroups): Return value returned by addinitgroupsX.
67322         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
67323         (prune_cache): Keep track of timeout value of re-added entries.
67324         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
67325         * nscd/nscd.h: Adjust prototypes of readd* functions.
67327 2011-02-04  Roland McGrath  <roland@redhat.com>
67329         * nis/nis_server.c (nis_servstate): Use the right name for 0.
67330         (nis_stats): Likewise.
67331         * nis/nis_modify.c (nis_modify): Likewise.
67332         * nis/nis_remove.c (nis_remove): Likewise.
67333         * nis/nis_add.c (nis_add): Likewise.
67335         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
67337         * posix/fnmatch_loop.c: Add some consts.
67339         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
67341 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
67343         [BZ #12460]
67344         * config.make.in (config-cflags-novzeroupper): Define.
67345         * configure.in: Substitute libc_cv_cc_novzeroupper.
67346         * elf/Makefile (AVX-CFLAGS): Define.
67347         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
67348         (CFLAGS-tst-auditmod4a.c): Likewise.
67349         (CFLAGS-tst-auditmod4b.c): Likewise.
67350         (CFLAGS-tst-auditmod6b.c): Likewise.
67351         (CFLAGS-tst-auditmod6c.c): Likewise.
67352         (CFLAGS-tst-auditmod7b.c): Likewise.
67353         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
67355 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
67357         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
67358         function to the callback.
67359         Patch partly by Jiri Olsa <jolsa@redhat.com>.
67361 2011-02-02  Andreas Schwab  <schwab@redhat.com>
67363         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
67364         of errno.
67366 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
67368         [BZ #11724]
67369         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
67370         of constructors.
67371         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
67372         of destructors.
67373         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
67375         [BZ #11724]
67376         * elf/Makefile: Add rules to build and run new test.
67377         * elf/tst-initorder.c: New file.
67378         * elf/tst-initorder.exp: New file.
67379         * elf/tst-initordera1.c: New file.
67380         * elf/tst-initordera2.c: New file.
67381         * elf/tst-initordera3.c: New file.
67382         * elf/tst-initordera4.c: New file.
67383         * elf/tst-initorderb1.c: New file.
67384         * elf/tst-initorderb2.c: New file.
67385         * elf/tst-order-a1.c: New file.
67386         * elf/tst-order-a2.c: New file.
67387         * elf/tst-order-a3.c: New file.
67388         * elf/tst-order-a4.c: New file.
67389         * elf/tst-order-b1.c: New file.
67390         * elf/tst-order-b2.c: New file.
67391         * elf/tst-order-main.c: New file.
67392         New test case by George Gensure <werkt0@gmail.com>.
67394 2010-10-01  Andreas Schwab  <schwab@redhat.com>
67396         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
67397         decoding ACE if AI_CANONIDN.
67399 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
67401         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
67403 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
67405         * version.h (RELEASE): Bump for 2.13 release.
67406         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
67408         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
67410         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
67411         MADV_NOHUGEPAGE.
67412         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
67413         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
67414         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
67415         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
67416         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
67417         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
67419         * posix/getconf.c: Update copyright year.
67420         * catgets/gencat.c: Likewise.
67421         * csu/version.c: Likewise.
67422         * debug/catchsegv.sh: Likewise.
67423         * debug/xtrace.sh: Likewise.
67424         * elf/ldconfig.c: Likewise.
67425         * elf/ldd.bash.in: Likewise.
67426         * elf/sprof.c (print_version): Likewise.
67427         * iconv/iconv_prog.c: Likewise.
67428         * iconv/iconvconfig.c: Likewise.
67429         * locale/programs/locale.c: Likewise.
67430         * locale/programs/localedef.c: Likewise.
67431         * malloc/memusage.sh: Likewise.
67432         * malloc/mtrace.pl: Likewise.
67433         * nscd/nscd.c (print_version): Likewise.
67434         * nss/getent.c: Likewise.
67436         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
67437         PF_CAIF, and PF_ALG.
67438         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
67440 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
67442         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
67443         (modules-names): Use them.
67444         (ifunc-test-modules, ifunc-pie-tests): Define.
67445         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
67446         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
67447         (test-extras): Likewise.
67448         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
67449         $(compile-command.c).
67450         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
67451         (all-built-dso): Define.
67452         (check-textrel.out, check-execstack.out): Depend on it.
67454         * configure.in: Don't override --enable-multi-arch.
67456 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
67458         [BZ #6812]
67459         * nscd/hstcache.c (tryagain): Define.
67460         (cache_addhst): Return tryagain not notfound for temporary errors.
67461         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
67462         failed.
67464 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
67466         [BZ #10563]
67467         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
67468         to make the syscall.
67469         * sysdeps/unix/sysv/linux/setgroups.c: New file.
67471         [BZ #12378]
67472         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
67473         and fall back to matching as normal character if the string ends before
67474         the matching ']' is found.  This is what POSIX requires.
67475         * posix/testfnm.c: Adjust test result.
67476         * posix/globtest.sh: Adjust test result.  Add new test.
67477         * posix/tst-fnmatch.input: Likewise.
67478         * posix/tst-fnmatch2.c: Add new test.
67480 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
67482         * elf/Makefile (check-execstack): Revert last change.  Depend on
67483         check-execstack.h.
67484         (check-execstack.h): New target.
67485         (generated): Add check-execstack.h.
67486         * elf/check-execstack.c: Include "check-execstack.h".
67487         (main): Revert last change.
67488         (handle_file): Return zero if GNU_STACK is absent and
67489         DEFAULT_STACK_PERMS doesn't include PF_X.
67491 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
67493         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
67494         in child fails because the descriptor is already closed.
67495         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
67496         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
67497         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
67499         [BZ #12397]
67500         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
67501         syscall.
67503         [BZ #10484]
67504         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
67505         temporary buffer used to handle multi lookups locally.
67506         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
67508 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
67510         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
67511         loader is ld.so.
67513 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
67515         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
67516         alignment for SSE2.
67518 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
67520         [BZ #12394]
67521         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
67522         characters.  When rounding increased number of integer digits recompute
67523         number of groups.
67524         * stdio-common/tst-grouping.c: New file.
67525         * stdio-common/Makefile: Add rules to build and run tst-grouping.
67527 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
67529         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
67530         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
67532         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
67533         void.
67534         * bits/select.h: Likewise.
67536 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
67538         * po/ja.po: Update from translation team.
67540 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
67542         [BZ #11155]
67543         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
67544         implementation just like for lxstat, fxstatat, et al.
67546 2010-12-27  Jim Meyering  <meyering@redhat.com>
67548         [BZ #12348]
67549         * posix/regexec.c (build_trtable): Return failure indication upon
67550         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
67552 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
67554         [BZ #12201]
67555         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
67556         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
67557         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
67558         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
67560         [BZ #12207]
67561         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
67563         [BZ #12204]
67564         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
67565         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
67567 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
67569         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
67570         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
67571         script has SORT_BY_INIT_PRIORITY.
67572         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
67573         NO_CTORS_DTORS_SECTIONS is defined.
67574         * elf/soinit.c: Likewise.
67575         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
67576         NO_CTORS_DTORS_SECTIONS is defined.
67577         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
67578         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
67579         * sysdeps/sh/init-first.c: Likewise.
67580         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
67582 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
67584         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
67585         always use the slow path.
67587 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
67589         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
67590         similar rule which adds the sysdep directories to the header search in
67591         order to pick up the correct platform stackinfo.h.
67592         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
67593         perform test if it is, otherwise return successfully without testing.
67594         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
67595         DEFAULT_STACK_PERMS define in stackinfo.h.
67596         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
67597         defined in stackinfo.h.
67598         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
67599         DEFAULT_STACK_PERMS defined in stackinfo.h.
67600         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
67601         * sysdeps/ia64/stackinfo.h: Likewise.
67602         * sysdeps/s390/stackinfo.h: Likewise.
67603         * sysdeps/sh/stackinfo.h: Likewise.
67604         * sysdeps/sparc/stackinfo.h: Likewise.
67605         * sysdeps/x86_64/stackinfo.h: Likewise.
67606         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
67607         PF_X for powerpc64.  Retain PF_X for powerpc32.
67609 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
67611         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
67612         accurately.
67613         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
67614         GETDENTS_64BIT_ALIGNED.
67616 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
67618         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
67620 2010-12-10  Andreas Schwab  <schwab@redhat.com>
67622         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
67623         _GNU_SOURCE.
67625         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
67626         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
67627         Remove __restrict.
67628         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
67629         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
67631 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
67633         [BZ #11655]
67634         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
67635         are initialized.
67637 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
67639         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
67641 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
67643         * po/it.po: Update from translation team.
67645 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
67647         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
67648         unused codes.
67650 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
67652         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
67654 2010-11-24  Andreas Schwab  <schwab@redhat.com>
67656         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
67657         specially.
67658         (gaih_getanswer_slice): Likewise.
67660 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
67662         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
67664 2010-05-31  Petr Baudis  <pasky@suse.cz>
67666         [BZ #11149]
67667         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
67668         silently even in the chroot mode.
67670 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
67672         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
67673         last patch a bit.  Pretty printing
67675 2010-05-31  Petr Baudis <pasky@suse.cz>
67677         [BZ #10085]
67678         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
67679         initialization of skip_initgroups_dyn.
67681 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
67683         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
67684         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
67686 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
67688         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
67690 2010-11-11  Andreas Schwab  <schwab@redhat.com>
67692         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
67693         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
67694         (tst-fnmatch-ENV): Set MALLOC_TRACE.
67695         ($(objpfx)tst-fnmatch-mem): New rule.
67696         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
67697         * posix/tst-fnmatch.c (main): Call mtrace.
67699 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
67701         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67702         Support Intel processor model 6 and model 0x2c.
67704 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
67706         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
67707           signed comparison.
67709 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
67711         [BZ #12205]
67712         * string/test-strncasecmp.c (check_result): New function.
67713         (do_one_test): Use it.
67714         (check1): New function.
67715         (test_main): Use it.
67716         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
67717         Support strcasecmp and strncasecmp.
67719 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
67721         [BZ #12194]
67722         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
67723         * sysdeps/x86_64/bits/byteswap.h: Likewise.
67725 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
67727         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
67728         IFUNC support.
67729         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67730         memset-x86-64.
67731         * sysdeps/x86_64/multiarch/bzero.S: New file.
67732         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
67733         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
67734         * sysdeps/x86_64/multiarch/memset.S: New file.
67735         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
67736         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67737         Set bit_Prefer_SSE_for_memop for Intel processors.
67738         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
67739         Define.
67740         (index_Prefer_SSE_for_memop): Define.
67741         (HAS_PREFER_SSE_FOR_MEMOP): Define.
67743 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
67745         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
67746         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
67748 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
67750         [BZ #12191]
67751         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
67752         (__x86_64_raw_data_cache_size_half): Likewise.
67753         (__x86_64_raw_shared_cache_size): Likewise.
67754         (__x86_64_raw_shared_cache_size_half): Likewise.
67756         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
67757         (__x86_64_raw_data_cache_size_half): Likewise.
67758         (__x86_64_raw_shared_cache_size): Likewise.
67759         (__x86_64_raw_shared_cache_size_half): Likewise.
67760         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
67761         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
67762         and __x86_64_raw_shared_cache_size_half.  Round
67763         __x86_64_data_cache_size_half, __x86_64_data_cache_size
67764         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
67765         to multiple of 256 bytes.
67767 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
67769         [BZ #12167]
67770         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
67771         of inacessible symlinks.  Verify result of symlink before returning it.
67772         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
67773         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
67775 2010-10-28  Erich Ritz  <erichritz@gmail.com>
67777         * math/math.h (isinf): Fix typo in comment.
67779 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
67781         * po/da.po: Update from translation team.
67783 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
67785         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
67786         is added to the list.
67788 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67789             Ulrich Drepper  <drepper@gmail.com>
67791         * elf/dl-object.c (_dl_new_object): Don't append the new object to
67792         the global list here.  Move code to...
67793         (_dl_add_to_namespace_list): ...here.  New function.
67794         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
67795         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
67796         * elf/dl-load.c (lose): Don't remove the element from the list.
67797         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
67798         (_dl_map_object): Likewise.
67800 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
67802         [BZ #12159]
67803         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
67804         into all bytes of SSE register.
67805         Patch by Richard Li <richardpku@gmail.com>.
67807 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
67809         [BZ #12140]
67810         * malloc/malloc.c (_int_free): Fill correct number of bytes when
67811         perturbing.
67813 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
67815         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
67816         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
67817         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
67818         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
67819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
67820         submachine.
67821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
67823 2010-10-22  Andreas Schwab  <schwab@redhat.com>
67825         * include/dlfcn.h (__RTLD_SECURE): Define.
67826         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
67827         mode & __RTLD_SECURE instead.
67828         (open_path): Rename preloaded parameter to secure.
67829         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
67830         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
67831         * elf/dl-deps.c (openaux): Likewise.
67832         * elf/rtld.c (struct map_args): Remove is_preloaded.
67833         (map_doit): Don't use it.
67834         (dl_main): Likewise.
67835         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
67836         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
67838 2010-09-09  Andreas Schwab  <schwab@redhat.com>
67840         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
67841         (sysd-rules-targets): Remove duplicates.
67842         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
67843         rtld-%.$o dependency.
67845 2010-10-18  Andreas Schwab  <schwab@redhat.com>
67847         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
67848         _dl_map_object do it.
67850 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
67852         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
67853         fast fma builtins, define the macros in the C99 standard.
67854         (FP_FAST_FMAF): Likewise.
67855         (FP_FAST_FMAL): Likewise.
67856         * sysdeps/x86_64/bits/mathdef.h: Likewise.
67858         * bits/mathdef.h: Update copyright year.
67859         * sysdeps/powerpc/bits/mathdef.h: Likewise.
67861 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
67863         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
67864         builtins, define the macros in the C99 standard.
67865         (FP_FAST_FMAF): Likewise.
67866         (FP_FAST_FMAL): Likewise.
67867         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
67868         multiply/add.
67869         (FP_FAST_FMAF): Likewise.
67871 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
67873         [BZ #3268]
67874         * math/libm-test.inc (fma_test): Some new testcases.
67875         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
67876         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
67877         y and infinite z.  Do multiplication by C already in long double.
67878         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
67879         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
67880         y and infinite z.  Do bitwise or of inexact bit into u.d.
67881         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
67882         * sysdeps/i386/fpu/s_fmaf.S: Removed.
67883         * sysdeps/i386/fpu/s_fma.S: Removed.
67884         * sysdeps/i386/fpu/s_fmal.S: Removed.
67886 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
67888         [BZ #3268]
67889         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
67890         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
67891         computation is not scheduled after fetestexcept.  Fix value
67892         of minimum denormal long double.
67894 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
67896         [BZ #3268]
67897         * math/libm-test.inc (fma_test): Add some more tests.
67898         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
67899         correctly.
67901 2010-10-15  Andreas Schwab  <schwab@redhat.com>
67903         * scripts/data/localplt-s390-linux-gnu.data: New file.
67904         * scripts/data/localplt-s390x-linux-gnu.data: New file.
67906 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
67908         [BZ #3268]
67909         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
67910         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
67911         instead of dbl-64.
67912         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
67913         inlines.
67914         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
67915         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
67916         if one of x and y is very large and the other is subnormal.
67917         * sysdeps/s390/fpu/s_fmaf.c: New file.
67918         * sysdeps/s390/fpu/s_fma.c: New file.
67919         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
67920         * sysdeps/powerpc/fpu/s_fma.S: New file.
67921         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
67922         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
67923         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
67925 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
67927         [BZ #3268]
67928         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
67929         fma tests.
67930         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
67931         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
67932         * sysdeps/i386/i686/multiarch/s_fma.c: Include
67933         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
67934         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
67935         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
67936         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
67938 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
67940         [BZ #12078]
67941         * posix/regcomp.c (parse_branch): One more memory leak plugged.
67942         * posix/bug-regex31.input: Add test case.
67944 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
67946         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
67947         * posix/bug-regex31.input: New file.
67949         [BZ #12078]
67950         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
67951         (parse_sub_exp): Fix last change, use postorder.
67953         * posix/bug-regex31.c: New file.
67954         * posix/Makefile: Add rules to build and run bug-regex31.
67956         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
67958         [BZ #12078]
67959         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
67961         [BZ #12108]
67962         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
67963         to have entries in sys_siglist.
67965         [BZ #12093]
67966         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
67967         be NULL.
67969 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
67971         [BZ #3268]
67972         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
67973         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
67974         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
67975         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
67976         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
67977         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
67978         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
67979         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
67980         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
67981         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
67982         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
67983         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
67984         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
67985         * math/ftestexcept.c (fetestexcept): Likewise.
67986         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
67987         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
67988         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
67989         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
67990         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
67991         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
67992         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
67994 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
67996         [BZ #12107]
67997         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
67998         newline.
68000 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
68002         * string/bug-strstr1.c: New file.
68003         * string/Makefile: Add rules to build and run bug-strstr1.
68005 2010-10-05  Eric Blake  <eblake@redhat.com>
68007         [BZ #12092]
68008         * string/str-two-way.h (two_way_long_needle): Always clear memory
68009         when skipping input due to the shift table.
68011 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
68013         [BZ #12005]
68014         * malloc/mcheck.c: Handle large requests.
68016         [BZ #12077]
68017         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
68018         for strncmp and strncasecmp.
68019         * string/stratcliff.c: Add tests for strcmp and strncmp.
68020         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
68022 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68024         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
68025         __set_fpscr.
68027 2010-09-30  Andreas Jaeger  <aj@suse.de>
68029         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
68030         (CGROUP_SUPER_MAGIC): Define.
68031         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
68032         Handle btrfs and cgroup file systems.
68033         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
68034         Likewise.
68036 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
68038         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
68039         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
68041 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68043         [BZ #12067]
68044         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
68045         trying to locate the ELF header.
68047 2010-09-27  Andreas Schwab  <schwab@redhat.com>
68049         [BZ #11611]
68050         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
68051         Mask out sign-bit copies when constructing f_fsid.
68053 2010-09-24  Petr Baudis <pasky@suse.cz>
68055         * debug/stack_chk_fail_local.c: Add missing licence exception.
68056         * debug/warning-nop.c: Likewise.
68058 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
68060         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
68061         implementing getdents64 using getdents syscall, set d_type if
68062         __ASSUME_GETDENTS32_D_TYPE.
68064 2010-09-16  Andreas Schwab  <schwab@redhat.com>
68066         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
68067         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
68069 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
68071         [BZ #12037]
68072         * posix/unistd.h: Undo change of feature selection for ftruncate from
68073         2010-01-11.
68075 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
68077         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
68078         detection.
68080 2010-09-20  Andreas Schwab  <schwab@redhat.com>
68082         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
68083         fanotify_mark.
68084         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
68086 2010-09-14  Andreas Schwab  <schwab@redhat.com>
68088         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
68089         variables after CHECK_SP call.
68090         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
68092 2010-09-13  Andreas Schwab  <schwab@redhat.com>
68093             Ulrich Drepper  <drepper@redhat.com>
68095         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
68096         re-relocationg ld.so.
68097         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
68098         _dl_init_paths call.
68099         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
68100         here anymore.
68102 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
68104         * resolv/res_init.c (__res_vinit): Count the default server we added.
68106 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
68107             Ulrich Drepper  <drepper@redhat.com>
68109         [BZ #11968]
68110         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
68111         (____longjmp_chk): Use %ebx for saving value across system call.
68112         Add unwind info.
68114 2010-09-06  Andreas Schwab  <schwab@redhat.com>
68116         * manual/Makefile: Don't mix pattern rules with normal rules.
68118 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
68120         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
68121         operation.
68122         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
68123         * libio/iofopncook.c (_IO_cookie_init): Likewise.
68124         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
68125         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
68126         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
68127         Likewise.
68129 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
68131         [BZ #11979]
68132         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
68133         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
68135 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
68137         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
68138         * sysdeps/x86_64/addmul_1.S: Likewise.
68139         * sysdeps/x86_64/lshift.S: Likewise.
68140         * sysdeps/x86_64/mul_1.S: Likewise.
68141         * sysdeps/x86_64/rshift.S: Likewise.
68142         * sysdeps/x86_64/sub_n.S: Likewise.
68143         * sysdeps/x86_64/submul_1.S: Likewise.
68145 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68147         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
68148         Define __sched_param instead of SCHED_* and sched_param when
68149         <bits/sched.h> is included with __need_schedparam defined.
68150         * bits/sched.h [__need_schedparam]
68151         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
68152         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
68153         (__defined_schedparam): Define to 1.
68154         (__sched_param): New structure, identical to sched_param.
68155         (__need_schedparam): Undefine.
68157 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
68159         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
68160         (epoll_create1): Declare.
68162         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
68164 2010-08-31  Andreas Schwab  <schwab@redhat.com>
68166         [BZ #7066]
68167         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
68168         shifting retval into place.
68170 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
68172         * nis/rpcsvc/nis.h: Update copyright notice.
68173         * nis/rpcsvc/nis.x: Likewise.
68174         * nis/rpcsvc/nis_callback.h: Likewise.
68175         * nis/rpcsvc/nis_callback.x: Likewise.
68176         * nis/rpcsvc/nis_object.x: Likewise.
68177         * nis/rpcsvc/nis_tags.h: Likewise.
68178         * nis/rpcsvc/yp.h: Likewise.
68179         * nis/rpcsvc/yp.x: Likewise.
68180         * nis/rpcsvc/ypupd.h: Likewise.
68181         * nis/yp_xdr.c: Likewise.
68182         * nis/ypupdate_xdr.c: Likewise.
68184         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
68185         mainly the body of pmap_getport.  Add parameters to specify timeouts.
68186         (pmap_getport): Use __libc_rpc_getport.
68187         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
68188         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
68189         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
68191 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
68193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
68194         fanotify_mark.
68196 2010-08-27  Roland McGrath  <roland@redhat.com>
68198         * sysdeps/i386/i686/multiarch/Makefile
68199         (CFLAGS-varshift.c): New variable.
68201 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
68203         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
68204         * sysdeps/i386/i686/multiarch/varshift.c: New file.
68206         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
68208         * sysdeps/x86_64/strlen.S: Minimal code improvement.
68210 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
68212         * sysdeps/x86_64/strlen.S: Unroll the loop.
68213         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68214         strlen-sse2 strlen-sse2-bsf.
68215         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
68216         __strlen_no_bsf if bit_Slow_BSF is set.
68217         (__strlen_sse42): Removed.
68218         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
68219         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
68221 2010-08-25  Roland McGrath  <roland@redhat.com>
68223         * sysdeps/x86_64/multiarch/varshift.S: File removed.
68224         * sysdeps/x86_64/multiarch/varshift.c: New file.
68225         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
68226         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
68227         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
68228         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
68230 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
68232         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68233         strlen-sse2 strlen-sse2-bsf.
68234         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
68235         __strlen_sse2_bsf if bit_Slow_BSF is unset.
68236         (__strlen_sse2): Removed.
68237         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
68238         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
68239         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
68240         bit_Slow_BSF for Atom.
68241         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
68242         (index_Slow_BSF): Define.
68243         (HAS_SLOW_BSF): Define.
68245 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
68247         [BZ #10851]
68248         * resolv/res_init.c (__res_vinit): When no server address at all
68249         is given default to loopback.
68251 2010-08-24  Roland McGrath  <roland@redhat.com>
68253         * configure.in: Remove config-name.h generation.
68254         * configure: Regenerated.
68255         * config-name.in: File removed.
68256         * scripts/config-uname.sh: New file.
68257         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
68258         ($(objdir)config-name.h): New target.
68260         * sunrpc/rpc_parse.h: Avoid nested comment.
68262 2010-08-24  Richard Henderson  <rth@redhat.com>
68263             Ulrich Drepper  <drepper@redhat.com>
68264             H.J. Lu  <hongjiu.lu@intel.com>
68266         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
68267         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
68268         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
68269         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
68270         _mm_alignr_epi8 with _mm_loadu_si128.
68271         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
68272         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
68273         (__m128i_shift_right): Removed.
68274         * sysdeps/i386/i686/multiarch/varshift.h: New file.
68275         * sysdeps/i386/i686/multiarch/varshift.S: New file.
68276         * sysdeps/x86_64/multiarch/varshift.h: New file.
68277         * sysdeps/x86_64/multiarch/varshift.S: New file.
68279 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
68281         * configure.in: Move assembler checks to before sysdep dir checking.
68283 2010-08-20  Petr Baudis  <pasky@suse.cz>
68285         * LICENSES: Sync the sunrpc license.
68287 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
68289         * sunrpc/auth_des.c: Update copyright notice once again.
68290         * sunrpc/auth_none.c: Likewise.
68291         * sunrpc/auth_unix.c: Likewise.
68292         * sunrpc/authdes_prot.c: Likewise.
68293         * sunrpc/authuxprot.c: Likewise.
68294         * sunrpc/bindrsvprt.c: Likewise.
68295         * sunrpc/clnt_gen.c: Likewise.
68296         * sunrpc/clnt_perr.c: Likewise.
68297         * sunrpc/clnt_raw.c: Likewise.
68298         * sunrpc/clnt_simp.c: Likewise.
68299         * sunrpc/clnt_tcp.c: Likewise.
68300         * sunrpc/clnt_udp.c: Likewise.
68301         * sunrpc/clnt_unix.c: Likewise.
68302         * sunrpc/des_crypt.c: Likewise.
68303         * sunrpc/des_soft.c: Likewise.
68304         * sunrpc/get_myaddr.c: Likewise.
68305         * sunrpc/getrpcport.c: Likewise.
68306         * sunrpc/key_call.c: Likewise.
68307         * sunrpc/key_prot.c: Likewise.
68308         * sunrpc/openchild.c: Likewise.
68309         * sunrpc/pm_getmaps.c: Likewise.
68310         * sunrpc/pm_getport.c: Likewise.
68311         * sunrpc/pmap_clnt.c: Likewise.
68312         * sunrpc/pmap_prot.c: Likewise.
68313         * sunrpc/pmap_prot2.c: Likewise.
68314         * sunrpc/pmap_rmt.c: Likewise.
68315         * sunrpc/rpc/auth.h: Likewise.
68316         * sunrpc/rpc/auth_unix.h: Likewise.
68317         * sunrpc/rpc/clnt.h: Likewise.
68318         * sunrpc/rpc/des_crypt.h: Likewise.
68319         * sunrpc/rpc/key_prot.h: Likewise.
68320         * sunrpc/rpc/netdb.h: Likewise.
68321         * sunrpc/rpc/pmap_clnt.h: Likewise.
68322         * sunrpc/rpc/pmap_prot.h: Likewise.
68323         * sunrpc/rpc/pmap_rmt.h: Likewise.
68324         * sunrpc/rpc/rpc.h: Likewise.
68325         * sunrpc/rpc/rpc_des.h: Likewise.
68326         * sunrpc/rpc/rpc_msg.h: Likewise.
68327         * sunrpc/rpc/svc.h: Likewise.
68328         * sunrpc/rpc/svc_auth.h: Likewise.
68329         * sunrpc/rpc/types.h: Likewise.
68330         * sunrpc/rpc/xdr.h: Likewise.
68331         * sunrpc/rpc_clntout.c: Likewise.
68332         * sunrpc/rpc_cmsg.c: Likewise.
68333         * sunrpc/rpc_common.c: Likewise.
68334         * sunrpc/rpc_cout.c: Likewise.
68335         * sunrpc/rpc_dtable.c: Likewise.
68336         * sunrpc/rpc_hout.c: Likewise.
68337         * sunrpc/rpc_main.c: Likewise.
68338         * sunrpc/rpc_parse.c: Likewise.
68339         * sunrpc/rpc_parse.h: Likewise.
68340         * sunrpc/rpc_prot.c: Likewise.
68341         * sunrpc/rpc_sample.c: Likewise.
68342         * sunrpc/rpc_scan.c: Likewise.
68343         * sunrpc/rpc_scan.h: Likewise.
68344         * sunrpc/rpc_svcout.c: Likewise.
68345         * sunrpc/rpc_tblout.c: Likewise.
68346         * sunrpc/rpc_util.c: Likewise.
68347         * sunrpc/rpc_util.h: Likewise.
68348         * sunrpc/rpcinfo.c: Likewise.
68349         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
68350         * sunrpc/rpcsvc/key_prot.x: Likewise.
68351         * sunrpc/rpcsvc/klm_prot.x: Likewise.
68352         * sunrpc/rpcsvc/mount.x: Likewise.
68353         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
68354         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
68355         * sunrpc/rpcsvc/rex.x: Likewise.
68356         * sunrpc/rpcsvc/rstat.x: Likewise.
68357         * sunrpc/rpcsvc/rusers.x: Likewise.
68358         * sunrpc/rpcsvc/sm_inter.x: Likewise.
68359         * sunrpc/rpcsvc/spray.x: Likewise.
68360         * sunrpc/rpcsvc/yppasswd.x: Likewise.
68361         * sunrpc/rtime.c: Likewise.
68362         * sunrpc/svc.c: Likewise.
68363         * sunrpc/svc_auth.c: Likewise.
68364         * sunrpc/svc_authux.c: Likewise.
68365         * sunrpc/svc_raw.c: Likewise.
68366         * sunrpc/svc_run.c: Likewise.
68367         * sunrpc/svc_simple.c: Likewise.
68368         * sunrpc/svc_tcp.c: Likewise.
68369         * sunrpc/svc_udp.c: Likewise.
68370         * sunrpc/svc_unix.c: Likewise.
68371         * sunrpc/svcauth_des.c: Likewise.
68372         * sunrpc/xcrypt.c: Likewise.
68373         * sunrpc/xdr.c: Likewise.
68374         * sunrpc/xdr_array.c: Likewise.
68375         * sunrpc/xdr_float.c: Likewise.
68376         * sunrpc/xdr_mem.c: Likewise.
68377         * sunrpc/xdr_rec.c: Likewise.
68378         * sunrpc/xdr_ref.c: Likewise.
68379         * sunrpc/xdr_sizeof.c: Likewise.
68380         * sunrpc/xdr_stdio.c: Likewise.
68382         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
68383         handling.
68385 2010-08-19  Andreas Schwab  <schwab@redhat.com>
68387         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
68389 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
68391         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
68392         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
68393         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
68394         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
68395         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
68396         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
68397         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
68398         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
68399         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
68400         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
68401         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
68402         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
68403         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
68404         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
68406 2010-07-26  Anton Blanchard  <anton@samba.org>
68408         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
68409         * malloc/arena.c (heap_trim): Likewise.
68411 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
68413         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
68414         here.  Not...
68415         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
68416         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
68418 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
68420         * sysdeps/i386/elf/Makefile: New file.
68422 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
68424         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
68425         from fanotify_init.
68426         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
68427         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
68429 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
68431         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
68432         of strncasecmp_l.
68433         * sysdeps/multiarch/strcmp.S: Likewise.
68435 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
68437         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
68438         strncase_l-nonascii.
68439         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
68440         Add strncase_l-ssse3.
68441         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
68442         * sysdeps/x86_64/strcmp.S: Likewise.
68443         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
68444         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
68445         * sysdeps/x86_64/strncase.S: New file.
68446         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
68447         * sysdeps/x86_64/strncase_l.S: New file.
68448         * string/Makefile (strop-tests): Add strncasecmp.
68449         * string/test-strncasecmp.c: New file.
68451         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
68452         warning.
68454         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
68455         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
68457 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
68459         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
68461 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
68463         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
68464         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
68465         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
68467 2010-05-01  Alan Modra  <amodra@gmail.com>
68469         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
68470         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
68471         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
68472         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
68473         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
68474         tidying.  Don't tail-call __sigjmp_save for static lib.
68475         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
68476         save location.
68477         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
68478         (CALL_MCOUNT): Add eh info, and nop after bl.
68479         (TAIL_CALL_SYSCALL_ERROR): New macro.
68480         (PSEUDO_RET): Use it.
68481         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
68482         Correct save location of integer regs and cr.
68483         (_dl_profile_resolve): Correct cr save location.  Delete nops
68484         after bl when SHARED.  Reduce cfi size a little by better
68485         placement of cfi directives.
68486         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
68487         make a stack frame.  Instead use parm save area as a temp.
68488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
68489         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
68490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
68491         Don't make a stack frame for parent, use parm save area.
68492         Increase child stack frame to 112 bytes.  Don't save unused reg,
68493         and adjust reg usage.  Set up cfi on error recovery and
68494         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
68495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
68496         (__makecontext): Add dummy nop after jump to exit.
68497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
68498         Use correct parm save area and cr save, reduce stack frame.
68499         Correct cfi for possible PSEUDO_RET frame setup.
68500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
68501         Branch to local label emitted by PSEUDO_RET rather than
68502         __syscall_error.
68504 2010-08-12  Andreas Schwab  <schwab@redhat.com>
68506         [BZ #11904]
68507         * locale/programs/locale.c (print_assignment): New function.
68508         (show_locale_vars): Use it.
68510 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
68512         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
68513         field.
68514         (struct statfs64): Likewise.
68515         (_STATFS_F_FLAGS): Define.
68516         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
68517         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
68518         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
68519         (ST_VALID): Define locally.
68520         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
68521         __statvfs_getflags, use the provided value.
68522         * sysdeps/unix/sysv/linux/kernel-features.h: Define
68523         __ASSUME_STATFS_F_FLAGS.
68525         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
68527         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
68528         Add sys/fanotify.h.
68529         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
68530         fanotify_mask for GLIBC_2.13.
68531         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
68532         fanotify_init and fanotify_mark.
68533         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
68534         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
68536         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
68537         Add prlimit.
68538         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
68539         prlimit64 for GLIBC_2.13.
68540         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
68541         prlimit64.
68542         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
68543         syscall.
68544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
68545         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
68546         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
68547         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
68548         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
68549         add prlimit alias.
68550         * sysdeps/unix/sysv/linux/prlimit.c: New file.
68552         [BZ #11903]
68553         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
68554         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
68556         * nss/Makefile: Add rules to build and run tst-nss-test1.
68557         * shlib-versions: Add entry for libnss_test1.
68558         * nss/nss_test1.c: New file.
68559         * nss/tst-nss-test1.c: New file.
68561         * nss/nsswitch.c (__nss_database_custom): Define new variable.
68562         (__nss_configure_lookup): Set appropriate entry in
68563         __nss_configure_lookup to true.
68564         * nss/nsswitch.h: Define enum with indeces of databases in
68565         databases and __nss_database_custom arrays.  Declare
68566         __nss_database_custom.
68567         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
68568         to avoid using nscd when custom rules are installed.
68569         * nss/getXXbyYY_r.c: Likewise.
68570         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
68572         * nss/nss_files/files-parse.c: Whitespace fixes.
68574 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
68576         [BZ #11883]
68577         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
68578         * posix/fnmatch_loop.c: Likewise.
68580 2010-07-17  Andi Kleen  <ak@linux.intel.com>
68582         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
68583         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
68584         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
68585         * Versions.def [GLIBC_2.13]: Add.
68587 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
68589         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
68590         Also fail if tpwd after pwuid call is NULL.
68592 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68594         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
68595         when converting to ms.
68597 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68599         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
68600         EOPNOTSUPP errors with ENOTTY.
68601         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
68602         EOPNOTSUPP errors with ENOTTY.
68604 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
68606         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
68607         Add strcasecmp_l-ssse3.
68608         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
68609         strcasecmp.
68610         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
68611         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
68612         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
68614 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
68616         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
68618         * string/Makefile (strop-tests): Add strcasecmp.
68619         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
68620         strcasecmp_l-nonascii.
68621         (gen-as-const-headers): Add locale-defines.sym.
68622         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
68623         * sysdeps/x86_64/strcasecmp.S: New file.
68624         * sysdeps/x86_64/strcasecmp_l.S: New file.
68625         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
68626         * sysdeps/x86_64/locale-defines.sym: New file.
68627         * string/test-strcasecmp.c: New file.
68629         * string/test-strcasestr.c: Test both ends of the range of characters.
68630         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
68632 2010-07-29  Roland McGrath  <roland@redhat.com>
68634         [BZ #11856]
68635         * manual/locale.texi (Yes-or-No Questions): Fix example code.
68637 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
68639         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
68640         for ld.so.
68642 2010-07-27  Andreas Schwab  <schwab@redhat.com>
68644         * manual/memory.texi (Malloc Tunable Parameters): Document
68645         M_PERTURB.
68647 2010-07-26  Roland McGrath  <roland@redhat.com>
68649         [BZ #11840]
68650         * configure.in (-fgnu89-inline check): Set and substitute
68651         gnu89_inline, not libc_cv_gnu89_inline.
68652         * configure: Regenerated.
68653         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
68655 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
68657         * string/test-strnlen.c: New file.
68658         * string/Makefile (strop-tests): Add strnlen.
68659         * string/tester.c (test_strnlen): Add a few more test cases.
68660         * string/tst-strlen.c: Better error reporting.
68662         * sysdeps/x86_64/strnlen.S: New file.
68664 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
68666         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
68667         lower-latency instructions.
68669 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
68671         * string/test-strcasestr.c: New file.
68672         * string/test-strstr.c: New file.
68673         * string/Makefile (strop-tests): Add strstr and strcasestr.
68674         * string/str-two-way.h: Don't undefine MAX.
68675         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
68677 2010-07-21  Andreas Schwab  <schwab@redhat.com>
68679         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68680         strcasestr-nonascii.
68681         (CFLAGS-strcasestr-nonascii.c): Define.
68682         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
68683         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
68684         Remove unused attribute.
68686 2010-07-20  Roland McGrath  <roland@redhat.com>
68688         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
68689         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
68690         ld.so.cache was broken.  With it, there is no way to disable dsocaps
68691         like LD_HWCAP_MASK can disable hwcaps.
68693 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
68695         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
68697 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
68699         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
68700         call in strcasestr.
68701         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
68702         __strcasestr_sse42_nonascii.
68703         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
68704         strcasestr-nonascii.c.
68705         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
68707 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
68709         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
68710         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
68711         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
68712         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
68714 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
68716         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
68717         fcntl.
68719 2010-07-06  Andreas Schwab  <schwab@redhat.com>
68721         [BZ #11577]
68722         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
68723         dl_signal_cerror.
68725 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
68727         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
68728         _PC_PIPE_BUF using F_GETPIPE_SZ.
68730 2010-07-05  Roland McGrath  <roland@redhat.com>
68732         * manual/arith.texi (Rounding Functions): Fix rint description
68733         implicit in round description.
68735 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
68737         * elf/Makefile: Fix linking for a few tests to make recent linker
68738         happy.
68740 2010-06-30  Andreas Schwab  <schwab@redhat.com>
68742         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
68743         $(common-objpfx)libc_nonshared.a.
68745 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
68747         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
68748         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
68749         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
68750         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
68751         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
68752         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
68753         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
68754         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
68755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
68756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
68757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
68758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
68759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
68760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
68761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
68762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
68763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
68764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
68765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
68766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
68767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
68768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
68769         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
68770         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
68771         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
68772         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
68773         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
68774         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
68775         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
68776         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
68777         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
68778         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
68779         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
68780         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
68781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
68782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
68783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
68784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
68785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
68786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
68787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
68788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
68789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
68790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
68791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
68792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
68793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
68794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
68796 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
68798         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
68799         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
68800         * string/memmove.c (memmove): Renamed to ...
68801         (MEMMOVE): ...this.  Default to memmove.
68802         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
68803         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
68804         (END_CHK): Define.
68805         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68806         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
68807         mempcpy-ssse3-back memmove-ssse3-back.
68808         * sysdeps/x86_64/multiarch/bcopy.S: New file .
68809         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
68810         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
68811         * sysdeps/x86_64/multiarch/memcpy.S: New file.
68812         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
68813         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
68814         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
68815         * sysdeps/x86_64/multiarch/memmove.c: New file.
68816         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
68817         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
68818         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
68819         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
68820         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
68821         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
68822         Define.
68823         (index_Fast_Copy_Backward): Define.
68824         (HAS_ARCH_FEATURE): Define.
68825         (HAS_FAST_REP_STRING): Define.
68826         (HAS_FAST_COPY_BACKWARD): Define.
68828 2010-06-21  Andreas Schwab  <schwab@redhat.com>
68830         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
68831         Restore proper fallback handling.
68833 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
68835         [BZ #11701]
68836         * posix/group_member.c (__group_member): Correct checking loop.
68838         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
68839         OOM in getpwuid_r correctly.  Return error number when the caller
68840         should return, otherwise -1.
68841         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
68842         call returning > 0 value.
68843         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
68845 2010-06-07  Andreas Schwab  <schwab@redhat.com>
68847         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
68848         libc_nonshared.a from targets in modules-names.
68850 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
68852         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
68853         requires it.
68855 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
68857         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
68858         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
68859         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
68860         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
68862 2010-06-02  Andreas Schwab  <schwab@redhat.com>
68864         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
68866 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
68868         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
68869         and F_GETPIPE_SZ.
68870         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
68871         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
68872         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
68873         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
68874         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
68875         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
68877 2010-06-14  Roland McGrath  <roland@redhat.com>
68879         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
68881 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
68883         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
68884         __REDIRECT followed by __THROW.
68885         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
68886         * posix/getopt.h (getopt): Likewise.
68888 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
68890         * hurd/lookup-at.c (__file_name_lookup_at): Accept
68891         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
68892         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
68893         in AT_FLAGS.
68894         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
68895         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
68897 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
68899         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
68901 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
68903         [BZ #11640]
68904         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68905         Properly check family and model.
68907 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
68909         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
68911 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
68913         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
68915 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
68917         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
68918         symbol reference.
68920 2010-05-19  Andreas Schwab  <schwab@redhat.com>
68922         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
68923         symbol reference.
68925 2010-05-21  Andreas Schwab  <schwab@redhat.com>
68927         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
68928         and internal_recvmmsg.
68929         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
68930         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
68931         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
68932         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
68934         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
68935         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
68936         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
68938 2010-05-20  Andreas Schwab  <schwab@redhat.com>
68940         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
68942 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
68944         POWER7 optimizations.
68945         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
68946         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
68948 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
68950         * version.h: Update for 2.13 development version.
68952 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
68954         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
68955         exceptions.  Return 0.
68957 2010-05-07  Roland McGrath  <roland@redhat.com>
68959         * elf/ldconfig.c (main): Add a const.
68961 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
68963         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
68964         (args_options): Add no-idn option.
68965         (ahosts_keys_int): Add idn_flags to ai_flags.
68966         (parse_option): Handle 'i' option to clear idn_flags.
68968         * malloc/malloc.c (_int_free): Possible race in the most recently
68969         added check.  Only act on the data if no current modification
68970         happened.
68972 See ChangeLog.17 for earlier changes.