Convert 113 more function definitions to prototype style (files with assertions).
[glibc.git] / ChangeLog
blob9e7c455c56b64cb3591ac4554597b112bb172881
1 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
3         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
4         function definition.
5         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
6         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
8         * elf/dl-minimal.c (_itoa): Likewise.
9         * hurd/hurdmalloc.c (malloc): Likewise.
10         (free): Likewise.
11         (realloc): Likewise.
12         * inet/inet6_option.c (inet6_option_space): Likewise.
13         (inet6_option_init): Likewise.
14         (inet6_option_append): Likewise.
15         (inet6_option_alloc): Likewise.
16         (inet6_option_next): Likewise.
17         (inet6_option_find): Likewise.
18         * io/ftw.c (FTW_NAME): Likewise.
19         (NFTW_NAME): Likewise.
20         (NFTW_NEW_NAME): Likewise.
21         (NFTW_OLD_NAME): Likewise.
22         * libio/iofwide.c (_IO_fwide): Likewise.
23         * libio/strops.c (_IO_str_init_static_internal): Likewise.
24         (_IO_str_init_static): Likewise.
25         (_IO_str_init_readonly): Likewise.
26         (_IO_str_overflow): Likewise.
27         (_IO_str_underflow): Likewise.
28         (_IO_str_count): Likewise.
29         (_IO_str_seekoff): Likewise.
30         (_IO_str_pbackfail): Likewise.
31         (_IO_str_finish): Likewise.
32         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
33         (_IO_wstr_overflow): Likewise.
34         (_IO_wstr_underflow): Likewise.
35         (_IO_wstr_count): Likewise.
36         (_IO_wstr_seekoff): Likewise.
37         (_IO_wstr_pbackfail): Likewise.
38         (_IO_wstr_finish): Likewise.
39         * locale/programs/localedef.c (normalize_codeset): Likewise.
40         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
41         (add_locales_to_archive): Likewise.
42         (delete_locales_from_archive): Likewise.
43         * malloc/malloc.c (__libc_mallinfo): Likewise.
44         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
45         * misc/tsearch.c (__tfind): Likewise.
46         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
47         * nptl/pthread_attr_getdetachstate.c
48         (__pthread_attr_getdetachstate): Likewise.
49         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
50         Likewise.
51         * nptl/pthread_attr_getinheritsched.c
52         (__pthread_attr_getinheritsched): Likewise.
53         * nptl/pthread_attr_getschedparam.c
54         (__pthread_attr_getschedparam): Likewise.
55         * nptl/pthread_attr_getschedpolicy.c
56         (__pthread_attr_getschedpolicy): Likewise.
57         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
58         Likewise.
59         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
60         Likewise.
61         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
62         Likewise.
63         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
64         Likewise.
65         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
66         (__pthread_attr_init_2_0): Likewise.
67         * nptl/pthread_attr_setdetachstate.c
68         (__pthread_attr_setdetachstate): Likewise.
69         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
70         Likewise.
71         * nptl/pthread_attr_setinheritsched.c
72         (__pthread_attr_setinheritsched): Likewise.
73         * nptl/pthread_attr_setschedparam.c
74         (__pthread_attr_setschedparam): Likewise.
75         * nptl/pthread_attr_setschedpolicy.c
76         (__pthread_attr_setschedpolicy): Likewise.
77         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
78         Likewise.
79         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
80         Likewise.
81         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
82         Likewise.
83         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
84         Likewise.
85         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
86         Likewise.
87         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
88         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
89         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
90         use internal_function.
91         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
92         prototype-style function definition.
93         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
94         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
95         internal_function.
96         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
97         Convert to prototype-style function definition.
98         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
99         Likewise.
100         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
101         Likewise.
102         (__pthread_mutex_unlock): Likewise.
103         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
104         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
105         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
106         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
107         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
108         * nss/makedb.c (process_input): Likewise.
109         * posix/fnmatch.c (__strchrnul): Likewise.
110         (__wcschrnul): Likewise.
111         (fnmatch): Likewise.
112         * posix/fnmatch_loop.c (FCT): Likewise.
113         * posix/glob.c (globfree): Likewise.
114         (__glob_pattern_type): Likewise.
115         (__glob_pattern_p): Likewise.
116         * posix/regcomp.c (re_compile_pattern): Likewise.
117         (re_set_syntax): Likewise.
118         (re_compile_fastmap): Likewise.
119         (regcomp): Likewise.
120         (regerror): Likewise.
121         (regfree): Likewise.
122         * posix/regexec.c (regexec): Likewise.
123         (re_match): Likewise.
124         (re_search): Likewise.
125         (re_match_2): Likewise.
126         (re_search_2): Likewise.
127         (re_search_stub): Likewise.  Use internal_function
128         (re_copy_regs): Likewise.
129         (re_set_registers): Convert to prototype-style function
130         definition.
131         (prune_impossible_nodes): Likewise.  Use internal_function.
132         * resolv/inet_net_pton.c (inet_net_pton): Convert to
133         prototype-style function definition.
134         (inet_net_pton_ipv4): Likewise.
135         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
136         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
137         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
138         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
139         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
140         Make variadic.
141         * time/strptime_l.c (localtime_r): Convert to prototype-style
142         function definition.
143         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
144         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
145         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
146         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
148         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
149         definition.
150         (_ufc_doit_r): Likewise.
151         * crypt/crypt_util.c (_ufc_copymem): Likewise.
152         (_ufc_output_conversion_r): Likewise.
153         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
154         * inet/rcmd.c (rcmd_af): Likewise.
155         (rcmd): Likewise.
156         (ruserok_af): Likewise.
157         (ruserok): Likewise.
158         (ruserok2_sa): Likewise.
159         (ruserok_sa): Likewise.
160         (iruserok_af): Likewise.
161         (iruserok): Likewise.
162         (__ivaliduser): Likewise.
163         (__validuser2_sa): Likewise.
164         * inet/rexec.c (rexec_af): Likewise.
165         (rexec): Likewise.
166         * inet/ruserpass.c (ruserpass): Likewise.
167         * locale/programs/xmalloc.c (xcalloc): Likewise.
168         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
169         * math/w_drem.c (__drem): Likewise.
170         * math/w_dremf.c (__dremf): Likewise.
171         * math/w_dreml.c (__dreml): Likewise.
172         * misc/daemon.c (daemon): Likewise.
173         * resolv/res_debug.c (p_fqnname): Likewise.
174         * stdlib/div.c (div): Likewise.
175         * string/memcmp.c (memcmp_bytes): Likewise.
176         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
177         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
179         * crypt/cert.c (main): Convert to prototype-style function
180         definition.
181         * io/pipe.c (__pipe): Likewise.
182         * io/pipe2.c (__pipe2): Likewise.
183         * misc/futimesat.c (futimesat): Likewise.
184         * misc/utimes.c (__utimes): Likewise.
185         * posix/execve.c (__execve): Likewise.
186         * posix/execvp.c (execvp): Likewise.
187         * posix/execvpe.c (__execvpe): Likewise.
188         * posix/fexecve.c (fexecve): Likewise.
189         * socket/socketpair.c (socketpair): Likewise.
190         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
191         * stdlib/erand48.c (erand48): Likewise.
192         * stdlib/erand48_r.c (__erand48_r): Likewise.
193         * stdlib/jrand48.c (jrand48): Likewise.
194         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
195         * stdlib/lcong48.c (lcong48): Likewise.
196         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
197         * stdlib/nrand48.c (nrand48): Likewise.
198         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
199         * stdlib/seed48.c (seed48): Likewise.
200         * stdlib/seed48_r.c (__seed48_r): Likewise.
201         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
202         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
203         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
205 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
207         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
208         * configure: Regenerated.
209         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
210         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
211         unconditional.
212         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
213         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
214         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
215         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
216         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
217         unconditional.
218         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
220         * posix/Makefile (CFLAGS-regex.c): Remove variable.
221         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
223         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
224         function definition.
225         * crypt/crypt_util.c (__encrypt_r): Likewise.
226         * libio/genops.c (_IO_no_init): Likewise.
227         * libio/iofopncook.c (_IO_fopencookie): Likewise.
228         (_IO_old_fopencookie): Likewise.
229         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
230         * libio/iogetline.c (_IO_getline): Likewise.
231         (_IO_getline_info): Likewise.
232         * libio/iogetwline.c (_IO_getwline): Likewise.
233         (_IO_getwline_info): Likewise.
234         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
235         * libio/vswprintf.c (_IO_vswprintf): Likewise.
236         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
237         (find_entry): Likewise.
238         (iterate_table): Likewise.
239         (lookup): Likewise.
240         * login/forkpty.c (forkpty): Likewise.
241         * misc/hsearch_r.c (__hsearch_r): Likewise.
242         * misc/select.c (__select): Likewise.
243         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
244         Likewise.
245         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
246         Likewise.
247         * nptl/old_pthread_cond_timedwait.c
248         (__pthread_cond_timedwait_2_0): Likewise.
249         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
250         * nptl/pthread_barrierattr_getpshared.c
251         (pthread_barrierattr_getpshared): Likewise.
252         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
253         Likewise.
254         * nptl/pthread_mutex_setprioceiling.c
255         (pthread_mutex_setprioceiling): Likewise.
256         * nptl/pthread_mutexattr_getprioceiling.c
257         (pthread_mutexattr_getprioceiling): Likewise.
258         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
259         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
260         Likewise.
261         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
262         Likewise.
263         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
264         Likewise.
265         * socket/recvfrom.c (__recvfrom): Likewise.
266         * socket/sendto.c (__sendto): Likewise.
267         * socket/setsockopt.c (__setsockopt): Likewise.
268         * stdio-common/_itoa.c (_itoa): Likewise.
269         * stdio-common/_itowa.c (_itowa): Likewise.
270         * stdio-common/reg-printf.c (__register_printf_specifier):
271         Likewise.
272         (__register_printf_function): Likewise.
273         * stdio-common/tempname.c (__path_search): Likewise.
274         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
275         * stdlib/mul_1.c (mpn_mul_1): Likewise.
276         * stdlib/random_r.c (__initstate_r): Likewise.
277         * stdlib/setenv.c (__add_to_environ): Likewise.
278         * stdlib/submul_1.c (mpn_submul_1): Likewise.
279         * streams/getpmsg.c (getpmsg): Likewise.
280         * streams/putmsg.c (putmsg): Likewise.
281         * streams/putpmsg.c (putpmsg): Likewise.
282         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
283         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
284         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
285         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
286         * sunrpc/pm_getport.c (pmap_getport): Likewise.
287         * sunrpc/svc_udp.c (cache_get): Likewise.
288         * sunrpc/xdr_array.c (xdr_vector): Likewise.
289         * sysdeps/mach/hurd/getcwd.c
290         (__canonicalize_directory_name_internal): Likewise.
291         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
292         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
293         * sysdeps/mach/hurd/select.c (__select): Likewise.
294         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
295         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
296         * sysdeps/sparc/nptl/pthread_barrier_init.c
297         (__pthread_barrier_init): Likewise.
298         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
299         (__pthread_cond_timedwait): Likewise.
300         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
301         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
302         Likewise.
303         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
304         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
305         Likewise.
306         * sysvipc/semtimedop.c (semtimedop): Likewise.
307         * time/setitimer.c (__setitimer): Likewise.
308         * time/strftime_l.c (emacs_strftime): Likewise.
310 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
312         * config.make.in (have-ssp): Delete.
313         (stack-protector): New variable.
314         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
315         cache test for -fstack-protector-strong.  Export stack_protector to
316         the best ssp flag.
317         * configure: Regenerated.
318         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
319         * nscd/Makefile (CFLAGS-nscd): Likewise.
320         * resolv/Makefile (CFLAGS-libresolv): Likewise.
322 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
324         [BZ #19122]
325         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
326         attribute_hidden.
328 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
330         [BZ #18743]
331         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
332         code to...
333         (ELIDE_LOCK): ...here.
334         (__get_new_count): New function with part of the code from
335         __elide_lock that updates the value of adapt_count after a
336         transaction abort.
337         (__elided_trylock): Moved this code to...
338         (ELIDE_TRYLOCK): ...here.
340 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
342         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
343         * configure: Regenerate.
344         * INSTALL: Regenerate.
345         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
346         and tweak grammar.
348 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
350         * login/programs/pt_chown.c: Include signal.h
351         (main): Clear any signal mask from the parent process.
353 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
355         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
356         * configure: Regenerated.
357         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
358         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
359         $(gnu89-inline-CFLAGS).
361         * configure.ac (libc_cv_asm_weak_directive): Remove configure
362         test.
363         (libc_cv_asm_weakext_directive): Likewise.
364         * configure: Regenerated.
365         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
366         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
367         * include/libc-symbols.h
368         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
369         #error.
370         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
371         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
373         * sysdeps/arm/backtrace.c (__backtrace): Convert to
374         prototype-style function definition.
375         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
376         * sysdeps/i386/ffs.c (__ffs): Likewise.
377         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
378         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
379         Likewise.
380         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
381         Likewise.
382         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
383         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
384         Likewise.
385         * sysdeps/m68k/ffs.c (__ffs): Likewise.
386         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
387         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
388         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
389         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
390         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
391         * sysdeps/mach/hurd/access.c (__access): Likewise.
392         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
393         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
394         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
395         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
396         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
397         (cthread_getspecific): Likewise.
398         (cthread_setspecific): Likewise.
399         (__libc_getspecific): Likewise.
400         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
401         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
402         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
403         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
404         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
405         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
406         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
407         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
408         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
409         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
410         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
411         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
412         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
413         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
414         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
415         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
416         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
417         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
418         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
419         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
420         * sysdeps/mach/hurd/link.c (__link): Likewise.
421         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
422         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
423         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
424         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
425         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
426         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
427         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
428         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
429         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
430         * sysdeps/mach/hurd/rename.c (rename): Likewise.
431         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
432         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
433         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
434         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
435         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
436         * sysdeps/mach/hurd/send.c (__send): Likewise.
437         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
438         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
439         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
440         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
441         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
442         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
443         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
444         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
445         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
446         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
447         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
448         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
449         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
450         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
451         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
452         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
453         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
454         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
455         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
456         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
457         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
458         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
459         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
460         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
461         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
462         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
463         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
464         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
465         * sysdeps/posix/alarm.c (alarm): Likewise.
466         * sysdeps/posix/cuserid.c (cuserid): Likewise.
467         * sysdeps/posix/dirfd.c (dirfd): Likewise.
468         * sysdeps/posix/dup.c (__dup): Likewise.
469         * sysdeps/posix/dup2.c (__dup2): Likewise.
470         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
471         (main): Likewise.
472         * sysdeps/posix/flock.c (__flock): Likewise.
473         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
474         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
475         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
476         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
477         * sysdeps/posix/isatty.c (__isatty): Likewise.
478         * sysdeps/posix/killpg.c (killpg): Likewise.
479         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
480         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
481         * sysdeps/posix/raise.c (raise): Likewise.
482         * sysdeps/posix/remove.c (remove): Likewise.
483         * sysdeps/posix/rename.c (rename): Likewise.
484         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
485         * sysdeps/posix/seekdir.c (seekdir): Likewise.
486         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
487         * sysdeps/posix/sigignore.c (sigignore): Likewise.
488         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
489         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
490         * sysdeps/posix/sigset.c (sigset): Likewise.
491         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
492         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
493         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
494         * sysdeps/posix/time.c (time): Likewise.
495         * sysdeps/posix/ttyname.c (getttyname): Likewise.
496         (ttyname): Likewise.
497         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
498         * sysdeps/posix/utime.c (utime): Likewise.
499         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
500         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
501         Likewise.
502         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
503         (pthread_spin_trylock): Likewise.
504         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
505         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
506         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
507         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
508         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
509         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
510         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
511         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
512         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
513         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
514         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
515         * sysdeps/s390/ffs.c (__ffs): Likewise.
516         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
517         Likewise.
518         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
519         Likewise.
520         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
521         Likewise.
522         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
523         (pthread_barrier_destroy): Likewise.
524         * sysdeps/sparc/nptl/pthread_barrier_wait.c
525         (__pthread_barrier_wait): Likewise.
526         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
527         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
528         (__pthread_barrier_wait): Likewise.
529         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
530         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
531         (memcmp_not_common_alignment): Likewise.
532         (MEMCMP): Likewise.
533         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
534         (_wordcopy_fwd_dest_aligned): Likewise.
535         (_wordcopy_bwd_aligned): Likewise.
536         (_wordcopy_bwd_dest_aligned): Likewise.
537         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
538         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
539         * sysdeps/unix/bsd/stty.c (stty): Likewise.
540         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
541         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
542         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
543         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
544         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
545         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
546         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
547         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
548         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
549         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
550         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
551         * sysdeps/unix/stime.c (stime): Likewise.
552         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
553         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
554         Likewise.  Use internal_function.
555         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
556         Convert to prototype-style function definition.
557         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
558         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
559         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
560         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
561         Likewise.  Use internal_function.
562         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
563         prototype-style function definition
564         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
565         Likewise.
566         (__getlogin_r): Likewise.
567         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
568         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
569         (__pthread_cond_broadcast): Likewise.
570         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
571         (__pthread_cond_destroy): Likewise.
572         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
573         (__pthread_cond_init): Likewise.
574         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
575         (__pthread_cond_signal): Likewise.
576         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
577         (__pthread_cond_wait): Likewise.
578         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
579         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
580         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
581         Likewise.
582         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
583         Likewise.
584         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
585         Likewise.
586         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
587         Likewise.
588         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
590         (__ftruncate64): Likewise.
591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
592         (truncate64): Likewise.
593         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
594         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
595         (pthread_getcpuclockid): Likewise.
596         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
597         Likewise.
598         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
599         Likewise.
600         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
601         Likewise.
602         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
603         Likewise.
604         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
605         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
606         (__libc_sigaction): Likewise.
607         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
608         Likewise.
609         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
610         (__sigprocmask): Likewise.
611         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
612         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
613         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
614         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
615         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
616         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
617         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
618         Likewise.
619         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
620         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
621         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
622         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
623         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
624         Likewise.
625         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
626         (__sigprocmask): Likewise.
627         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
628         (cfgetispeed): Likewise.
629         (cfsetospeed): Likewise.
630         (cfsetispeed): Likewise.
631         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
632         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
633         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
634         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
635         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
636         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
637         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
638         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
639         Likewise.
640         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
641         Likewise.
642         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
643         Likewise.
644         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
645         Likewise.
646         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
648 2015-10-17  Florian Weimer  <fweimer@redhat.com>
650         sunrpc: Rewrite with explicit TLS access using __thread.
651         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
652         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
653         directly.
654         (__rpc_thread_variables): Access thread_rpc_vars directly.
655         Eliminate redundant assignment of the tvp variable.
657 2015-10-17  Florian Weimer  <fweimer@redhat.com>
659         malloc: Rewrite with explicit TLS access using __thread.
660         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
661         (tsd_setspecific, tsd_getspecific): Remove.
662         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
663         (tsd_setspecific, tsd_getspecific): Likewise.
664         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
665         (tsd_setspecific, tsd_getspecific): Likewise.
666         * malloc/arena.c (thread_arena): New TLS variable.
667         (arena_key): Remove variable.
668         (arena_get): Use thread_arena.
669         (arena_lookup): Remove macro.
670         (malloc_atfork, free_atfork, ptmalloc_lock_all)
671         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
672         (_int_new_arena, get_free_list, reused_arena)
673         (arena_thread_freeres): Use thread_arena.
674         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
675         tsd_getspecific, tsd_setspecific from safety annotations.
676         (Allocating Cleared Space): Remove arena_lookup from safety
677         annotations.
679 2015-10-17  Florian Weimer  <fweimer@redhat.com>
681         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
682         struct scratch_buffer instead of extend_alloca.
684 2015-10-17  Florian Weimer  <fweimer@redhat.com>
686         * sysdeps/unix/sysv/linux/kernel-features.h
687         (__ASSUME_SOCK_CLOEXEC): Remove.
688         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
689         (__have_paccept): Remove unused macro.
690         * include/unistd.h (__have_sock_cloexec): Remove declaration.
691         * misc/syslog.c (openlog_internal): Remove fallback code for
692         !__ASSUME_SOCK_CLOEXEC.
693         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
694         missing SOCK_CLOEXEC.
695         * nscd/connections.c (have_sock_cloexec): Remove definition.
696         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
697         * nscd/nscd_helper.c (open_socket): Remove fallback code for
698         !__ASSUME_SOCK_CLOEXEC.
699         * resolv/res_send.c (__have_o_nonblock): Remove definition.
700         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
701         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
702         definition.
703         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
704         code for !__ASSUME_SOCK_CLOEXEC.
706 2015-10-17  Florian Weimer  <fweimer@redhat.com>
708         [BZ #18982]
709         * manual/stdio.texi (Variable Arguments Output): Add portability
710         note, explaining that vfprintf clobbers the va_list pointer.
712 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
714         * math/libm-test.inc (fabs_test_data): Add more tests.
715         (fdim_test_data): Likewise.
716         (fma_test_data): Likewise.
717         (fmax_test_data): Likewise.
718         (fmin_test_data): Likewise.
719         (fmod_test_data): Likewise.
721 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
723         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
724         data.
726 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
728         * math/libm-test.inc (ceil_test_data): Add more tests and more
729         expectations for "inexact".
730         (floor_test_data): Add more tests.
731         (round_test_data): Likewise.
732         (trunc_test_data): Likewise.
734         * crypt/cert.c (good_bye): Convert to prototype-style function
735         definition.
736         (get8): Likewise.
737         (put8): Likewise.
738         * crypt/crypt-entry.c (crypt): Likewise.
739         (__fcrypt): Likewise.
740         * crypt/crypt_util.c (_ufc_prbits): Likewise.
741         (_ufc_set_bits): Likewise.
742         (_ufc_clearmem): Likewise.
743         (__init_des_r): Likewise.
744         (shuffle_sb): Likewise.
745         (shuffle_sb): Likewise.
746         (_ufc_setup_salt_r): Likewise.
747         (_ufc_mk_keytab_r): Likewise.
748         (_ufc_dofinalperm_r): Likewise.
749         (encrypt): Likewise.
750         (__setkey_r): Likewise.
751         (setkey): Likewise.
752         * crypt/md5.c (md5_init_ctx): Likewise.
753         (md5_read_ctx): Likewise.
754         (md5_finish_ctx): Likewise.
755         (md5_stream): Likewise.
756         (md5_buffer): Likewise.
757         (md5_process_bytes): Likewise.
758         * crypt/sha256.c (__sha256_init_ctx): Likewise.
759         (__sha256_finish_ctx): Likewise.
760         (__sha256_process_bytes): Likewise.
761         * crypt/sha512.c (__sha512_init_ctx): Likewise.
762         (__sha512_finish_ctx): Likewise.
763         (__sha512_process_bytes): Likewise.
764         * ctype/isctype.c (__isctype): Likewise.
765         * debug/backtrace.c (__backtrace): Likewise.
766         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
767         * debug/fgets_chk.c (__fgets_chk): Likewise.
768         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
769         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
770         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
771         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
772         * debug/memset_chk.c (__memset_chk): Likewise.
773         * debug/strcat_chk.c (__strcat_chk): Likewise.
774         * debug/strncat_chk.c (__strncat_chk): Likewise.
775         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
776         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
777         * dirent/dirfd.c (dirfd): Likewise.
778         * dirent/getdents.c (__getdirentries): Likewise.
779         * dirent/getdents64.c (getdirentries64): Likewise.
780         * dirent/rewinddir.c (__rewinddir): Likewise.
781         * dirent/seekdir.c (seekdir): Likewise.
782         * dirent/telldir.c (telldir): Likewise.
783         * elf/sln.c (makesymlinks): Likewise.
784         (makesymlink): Likewise.
785         * gmon/gmon.c (__moncontrol): Likewise.
786         (__monstartup): Likewise.
787         (write_hist): Likewise.
788         (write_call_graph): Likewise.
789         (write_bb_counts): Likewise.
790         * grp/setgroups.c (setgroups): Likewise.
791         * inet/inet_lnaof.c (inet_lnaof): Likewise.
792         * inet/inet_net.c (inet_network): Likewise.
793         * inet/inet_netof.c (inet_netof): Likewise.
794         * inet/rcmd.c (rresvport_af): Likewise.
795         (rresvport): Likewise.
796         * io/access.c (__access): Likewise.
797         * io/chdir.c (__chdir): Likewise.
798         * io/chmod.c (__chmod): Likewise.
799         * io/chown.c (__chown): Likewise.
800         * io/close.c (__close): Likewise.
801         * io/creat.c (creat): Likewise.
802         * io/creat64.c (creat64): Likewise.
803         * io/dup.c (__dup): Likewise.
804         * io/dup2.c (__dup2): Likewise.
805         * io/dup3.c (__dup3): Likewise.
806         * io/euidaccess.c (__euidaccess): Likewise.
807         * io/faccessat.c (faccessat): Likewise.
808         * io/fchmod.c (__fchmod): Likewise.
809         * io/fchmodat.c (fchmodat): Likewise.
810         * io/fchown.c (__fchown): Likewise.
811         * io/fchownat.c (fchownat): Likewise.
812         * io/fcntl.c (__fcntl): Likewise.
813         * io/flock.c (__flock): Likewise.
814         * io/fts.c (fts_load): Likewise.
815         (fts_close): Likewise.
816         (fts_read): Likewise.
817         (fts_set): Likewise.
818         (fts_children): Likewise.
819         (fts_build): Likewise.
820         (fts_stat): Likewise.
821         (fts_sort): Likewise.
822         (fts_alloc): Likewise.
823         (fts_lfree): Likewise.
824         (fts_palloc): Likewise.
825         (fts_padjust): Likewise.
826         (fts_maxarglen): Likewise.
827         (fts_safe_changedir): Likewise.
828         * io/getwd.c (getwd): Likewise.
829         * io/isatty.c (__isatty): Likewise.
830         * io/lchown.c (__lchown): Likewise.
831         * io/link.c (__link): Likewise.
832         * io/linkat.c (linkat): Likewise.
833         * io/lseek.c (__libc_lseek): Likewise.
834         * io/mkdir.c (__mkdir): Likewise.
835         * io/mkdirat.c (mkdirat): Likewise.
836         * io/mkfifo.c (mkfifo): Likewise.
837         * io/mkfifoat.c (mkfifoat): Likewise.
838         * io/open.c (__libc_open): Likewise.
839         * io/open64.c (__libc_open64): Likewise.
840         * io/readlink.c (__readlink): Likewise.
841         * io/readlinkat.c (readlinkat): Likewise.
842         * io/rmdir.c (__rmdir): Likewise.
843         * io/symlink.c (__symlink): Likewise.
844         * io/symlinkat.c (symlinkat): Likewise.
845         * io/ttyname.c (ttyname): Likewise.
846         * io/ttyname_r.c (__ttyname_r): Likewise.
847         * io/umask.c (__umask): Likewise.
848         * io/unlink.c (__unlink): Likewise.
849         * io/unlinkat.c (unlinkat): Likewise.
850         * io/utime.c (utime): Likewise.
851         * libio/clearerr.c (clearerr): Likewise.
852         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
853         * libio/feof.c (_IO_feof): Likewise.
854         * libio/feof_u.c (feof_unlocked): Likewise.
855         * libio/ferror.c (_IO_ferror): Likewise.
856         * libio/ferror_u.c (ferror_unlocked): Likewise.
857         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
858         * libio/fileno.c (__fileno): Likewise.
859         * libio/fputc.c (fputc): Likewise.
860         * libio/fputc_u.c (fputc_unlocked): Likewise.
861         * libio/fputwc.c (fputwc): Likewise.
862         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
863         * libio/freopen.c (freopen): Likewise.
864         * libio/freopen64.c (freopen64): Likewise.
865         * libio/fseek.c (fseek): Likewise.
866         * libio/fseeko.c (fseeko): Likewise.
867         * libio/fseeko64.c (fseeko64): Likewise.
868         * libio/ftello.c (__ftello): Likewise.
869         * libio/ftello64.c (ftello64): Likewise.
870         * libio/fwide.c (fwide): Likewise.
871         * libio/genops.c (_IO_un_link): Likewise.
872         (_IO_link_in): Likewise.
873         (_IO_least_marker): Likewise.
874         (_IO_switch_to_main_get_area): Likewise.
875         (_IO_switch_to_backup_area): Likewise.
876         (_IO_switch_to_get_mode): Likewise.
877         (_IO_free_backup_area): Likewise.
878         (_IO_switch_to_put_mode): Likewise.
879         (__overflow): Likewise.
880         (__underflow): Likewise.
881         (__uflow): Likewise.
882         (_IO_setb): Likewise.
883         (_IO_doallocbuf): Likewise.
884         (_IO_default_underflow): Likewise.
885         (_IO_default_uflow): Likewise.
886         (_IO_default_xsputn): Likewise.
887         (_IO_sgetn): Likewise.
888         (_IO_default_xsgetn): Likewise.
889         (_IO_sync): Likewise.
890         (_IO_default_setbuf): Likewise.
891         (_IO_default_seekpos): Likewise.
892         (_IO_default_doallocate): Likewise.
893         (_IO_init): Likewise.
894         (_IO_old_init): Likewise.
895         (_IO_default_sync): Likewise.
896         (_IO_default_finish): Likewise.
897         (_IO_default_seekoff): Likewise.
898         (_IO_sputbackc): Likewise.
899         (_IO_sungetc): Likewise.
900         (_IO_set_column): Likewise.
901         (_IO_set_column): Likewise.
902         (_IO_adjust_column): Likewise.
903         (_IO_get_column): Likewise.
904         (_IO_init_marker): Likewise.
905         (_IO_remove_marker): Likewise.
906         (_IO_marker_difference): Likewise.
907         (_IO_marker_delta): Likewise.
908         (_IO_seekmark): Likewise.
909         (_IO_unsave_markers): Likewise.
910         (_IO_nobackup_pbackfail): Likewise.
911         (_IO_default_pbackfail): Likewise.
912         (_IO_default_seek): Likewise.
913         (_IO_default_stat): Likewise.
914         (_IO_default_read): Likewise.
915         (_IO_default_write): Likewise.
916         (_IO_default_showmanyc): Likewise.
917         (_IO_default_imbue): Likewise.
918         (_IO_iter_next): Likewise.
919         (_IO_iter_file): Likewise.
920         * libio/getc.c (_IO_getc): Likewise.
921         * libio/getwc.c (_IO_getwc): Likewise.
922         * libio/iofclose.c (_IO_new_fclose): Likewise.
923         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
924         * libio/iofflush.c (_IO_fflush): Likewise.
925         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
926         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
927         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
928         * libio/iofgets.c (_IO_fgets): Likewise.
929         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
930         * libio/iofgetws.c (fgetws): Likewise.
931         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
932         * libio/iofopen64.c (_IO_fopen64): Likewise.
933         * libio/iofopncook.c (_IO_cookie_read): Likewise.
934         (_IO_cookie_write): Likewise.
935         (_IO_cookie_seek): Likewise.
936         (_IO_cookie_close): Likewise.
937         (_IO_cookie_seekoff): Likewise.
938         (_IO_old_cookie_seek): Likewise.
939         * libio/iofputs.c (_IO_fputs): Likewise.
940         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
941         * libio/iofputws.c (fputws): Likewise.
942         * libio/iofputws_u.c (fputws_unlocked): Likewise.
943         * libio/iofread.c (_IO_fread): Likewise.
944         * libio/iofread_u.c (__fread_unlocked): Likewise.
945         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
946         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
947         * libio/ioftell.c (_IO_ftell): Likewise.
948         * libio/iofwrite.c (_IO_fwrite): Likewise.
949         * libio/iogetdelim.c (_IO_getdelim): Likewise.
950         * libio/iogets.c (_IO_gets): Likewise.
951         * libio/iopadn.c (_IO_padn): Likewise.
952         * libio/iopopen.c (_IO_new_proc_open): Likewise.
953         (_IO_new_popen): Likewise.
954         (_IO_new_proc_close): Likewise.
955         * libio/ioputs.c (_IO_puts): Likewise.
956         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
957         (_IO_seekoff): Likewise.
958         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
959         (_IO_seekpos): Likewise.
960         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
961         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
962         * libio/ioungetc.c (_IO_ungetc): Likewise.
963         * libio/ioungetwc.c (ungetwc): Likewise.
964         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
965         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
966         * libio/iowpadn.c (_IO_wpadn): Likewise.
967         * libio/libc_fatal.c (__libc_fatal): Likewise.
968         * libio/memstream.c (__open_memstream): Likewise.
969         (_IO_mem_sync): Likewise.
970         (_IO_mem_finish): Likewise.
971         * libio/oldfileops.c (_IO_old_file_init): Likewise.
972         (_IO_old_file_close_it): Likewise.
973         (_IO_old_file_finish): Likewise.
974         (_IO_old_file_fopen): Likewise.
975         (_IO_old_file_attach): Likewise.
976         (_IO_old_file_setbuf): Likewise.
977         (_IO_old_do_write): Likewise.
978         (old_do_write): Likewise.
979         (_IO_old_file_underflow): Likewise.
980         (_IO_old_file_overflow): Likewise.
981         (_IO_old_file_sync): Likewise.
982         (_IO_old_file_seekoff): Likewise.
983         (_IO_old_file_write): Likewise.
984         (_IO_old_file_xsputn): Likewise.
985         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
986         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
987         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
988         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
989         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
990         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
991         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
992         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
993         (_IO_old_popen): Likewise.
994         (_IO_old_proc_close): Likewise.
995         * libio/oldpclose.c (__old_pclose): Likewise.
996         * libio/pclose.c (__new_pclose): Likewise.
997         * libio/peekc.c (_IO_peekc_locked): Likewise.
998         * libio/putc.c (_IO_putc): Likewise.
999         * libio/putc_u.c (putc_unlocked): Likewise.
1000         * libio/putchar.c (putchar): Likewise.
1001         * libio/putchar_u.c (putchar_unlocked): Likewise.
1002         * libio/putwc.c (putwc): Likewise.
1003         * libio/putwc_u.c (putwc_unlocked): Likewise.
1004         * libio/putwchar.c (putwchar): Likewise.
1005         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
1006         * libio/rewind.c (rewind): Likewise.
1007         * libio/setbuf.c (setbuf): Likewise.
1008         * libio/setlinebuf.c (setlinebuf): Likewise.
1009         * libio/vasprintf.c (_IO_vasprintf): Likewise.
1010         * libio/vscanf.c (_IO_vscanf): Likewise.
1011         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
1012         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
1013         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
1014         * libio/wgenops.c (_IO_least_wmarker): Likewise.
1015         (_IO_switch_to_main_wget_area): Likewise.
1016         (_IO_switch_to_wbackup_area): Likewise.
1017         (_IO_wsetb): Likewise.
1018         (_IO_wdefault_pbackfail): Likewise.
1019         (_IO_wdefault_finish): Likewise.
1020         (_IO_wdefault_uflow): Likewise.
1021         (__woverflow): Likewise.
1022         (__wuflow): Likewise.
1023         (__wunderflow): Likewise.
1024         (_IO_wdefault_xsputn): Likewise.
1025         (_IO_wdefault_xsgetn): Likewise.
1026         (_IO_wdoallocbuf): Likewise.
1027         (_IO_wdefault_doallocate): Likewise.
1028         (_IO_switch_to_wget_mode): Likewise.
1029         (_IO_free_wbackup_area): Likewise.
1030         (_IO_switch_to_wput_mode): Likewise.
1031         (_IO_sputbackwc): Likewise.
1032         (_IO_sungetwc): Likewise.
1033         (_IO_adjust_wcolumn): Likewise.
1034         (_IO_init_wmarker): Likewise.
1035         (_IO_wmarker_delta): Likewise.
1036         (_IO_seekwmark): Likewise.
1037         (_IO_unsave_wmarkers): Likewise.
1038         * libio/wmemstream.c (open_wmemstream): Likewise.
1039         (_IO_wmem_sync): Likewise.
1040         (_IO_wmem_finish): Likewise.
1041         * locale/nl_langinfo.c (nl_langinfo): Likewise.
1042         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
1043         * locale/programs/simple-hash.c (init_hash): Likewise.
1044         (delete_hash): Likewise.
1045         (insert_entry): Likewise.
1046         (set_entry): Likewise.
1047         (next_prime): Likewise.
1048         (is_prime): Likewise.
1049         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
1050         (xmalloc): Likewise.
1051         (xrealloc): Likewise.
1052         * locale/programs/xstrdup.c (xstrdup): Likewise.
1053         * localedata/collate-test.c (xstrcoll): Likewise.
1054         * localedata/xfrm-test.c (xstrcmp): Likewise.
1055         * login/getlogin_r.c (__getlogin_r): Likewise.
1056         * login/getpt.c (__posix_openpt): Likewise.
1057         * login/login_tty.c (login_tty): Likewise.
1058         * login/setlogin.c (setlogin): Likewise.
1059         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
1060         (mach_msg_destroy_port): Likewise.
1061         (mach_msg_destroy_memory): Likewise.
1062         * malloc/mcheck.c (flood): Likewise.
1063         * misc/acct.c (acct): Likewise.
1064         * misc/brk.c (__brk): Likewise.
1065         * misc/chflags.c (chflags): Likewise.
1066         * misc/chroot.c (chroot): Likewise.
1067         * misc/fchflags.c (fchflags): Likewise.
1068         * misc/fstab.c (getfsspec): Likewise.
1069         (getfsfile): Likewise.
1070         * misc/fsync.c (fsync): Likewise.
1071         * misc/ftruncate.c (__ftruncate): Likewise.
1072         * misc/ftruncate64.c (__ftruncate64): Likewise.
1073         * misc/getdomain.c (getdomainname): Likewise.
1074         (getdomainname): Likewise.
1075         * misc/gethostname.c (__gethostname): Likewise.
1076         * misc/getpass.c (getpass): Likewise.
1077         * misc/getttyent.c (skip): Likewise.
1078         (value): Likewise.
1079         * misc/gtty.c (gtty): Likewise.
1080         * misc/hsearch.c (hsearch): Likewise.
1081         (hcreate): Likewise.
1082         * misc/hsearch_r.c (__hcreate_r): Likewise.
1083         (__hdestroy_r): Likewise.
1084         * misc/ioctl.c (__ioctl): Likewise.
1085         * misc/mkdtemp.c (mkdtemp): Likewise.
1086         * misc/mkostemp.c (mkostemp): Likewise.
1087         * misc/mkostemp64.c (mkostemp64): Likewise.
1088         * misc/mkostemps.c (mkostemps): Likewise.
1089         * misc/mkostemps64.c (mkostemps64): Likewise.
1090         * misc/mkstemp.c (mkstemp): Likewise.
1091         * misc/mkstemp64.c (mkstemp64): Likewise.
1092         * misc/mkstemps.c (mkstemps): Likewise.
1093         * misc/mkstemps64.c (mkstemps64): Likewise.
1094         * misc/mktemp.c (__mktemp): Likewise.
1095         * misc/preadv.c (preadv): Likewise.
1096         * misc/preadv64.c (preadv64): Likewise.
1097         * misc/pwritev.c (pwritev): Likewise.
1098         * misc/pwritev64.c (pwritev64): Likewise.
1099         * misc/readv.c (__readv): Likewise.
1100         * misc/revoke.c (revoke): Likewise.
1101         * misc/setdomain.c (setdomainname): Likewise.
1102         * misc/setegid.c (setegid): Likewise.
1103         * misc/seteuid.c (seteuid): Likewise.
1104         * misc/sethostid.c (sethostid): Likewise.
1105         * misc/sethostname.c (sethostname): Likewise.
1106         * misc/setregid.c (__setregid): Likewise.
1107         * misc/setreuid.c (__setreuid): Likewise.
1108         * misc/sstk.c (sstk): Likewise.
1109         * misc/stty.c (stty): Likewise.
1110         * misc/syscall.c (syscall): Likewise.
1111         * misc/syslog.c (setlogmask): Likewise.
1112         * misc/truncate.c (__truncate): Likewise.
1113         * misc/truncate64.c (truncate64): Likewise.
1114         * misc/ualarm.c (ualarm): Likewise.
1115         * misc/usleep.c (usleep): Likewise.
1116         * misc/ustat.c (ustat): Likewise.
1117         * misc/writev.c (__writev): Likewise.
1118         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
1119         * nptl/old_pthread_cond_broadcast.c
1120         (__pthread_cond_broadcast_2_0): Likewise.
1121         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
1122         Likewise.
1123         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
1124         Likewise.
1125         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
1126         Likewise.
1127         * nptl/pt-raise.c (raise): Likewise.
1128         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
1129         Likewise.
1130         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
1131         * nptl/pthread_barrierattr_destroy.c
1132         (pthread_barrierattr_destroy): Likewise.
1133         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
1134         Likewise.
1135         * nptl/pthread_barrierattr_setpshared.c
1136         (pthread_barrierattr_setpshared): Likewise.
1137         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
1138         Likewise.
1139         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
1140         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
1141         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
1142         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
1143         Likewise.
1144         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
1145         Likewise.
1146         * nptl/pthread_condattr_getpshared.c
1147         (pthread_condattr_getpshared): Likewise.
1148         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
1149         Likewise.
1150         * nptl/pthread_condattr_setpshared.c
1151         (pthread_condattr_setpshared): Likewise.
1152         * nptl/pthread_detach.c (pthread_detach): Likewise.
1153         * nptl/pthread_equal.c (__pthread_equal): Likewise.
1154         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
1155         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
1156         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
1157         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
1158         Likewise.
1159         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
1160         Likewise.
1161         * nptl/pthread_mutex_getprioceiling.c
1162         (pthread_mutex_getprioceiling): Likewise.
1163         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
1164         Likewise.
1165         * nptl/pthread_mutexattr_getprotocol.c
1166         (pthread_mutexattr_getprotocol): Likewise.
1167         * nptl/pthread_mutexattr_getpshared.c
1168         (pthread_mutexattr_getpshared): Likewise.
1169         * nptl/pthread_mutexattr_getrobust.c
1170         (pthread_mutexattr_getrobust): Likewise.
1171         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
1172         Likewise.
1173         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
1174         Likewise.
1175         * nptl/pthread_mutexattr_setprioceiling.c
1176         (pthread_mutexattr_setprioceiling): Likewise.
1177         * nptl/pthread_mutexattr_setprotocol.c
1178         (pthread_mutexattr_setprotocol): Likewise.
1179         * nptl/pthread_mutexattr_setpshared.c
1180         (pthread_mutexattr_setpshared): Likewise.
1181         * nptl/pthread_mutexattr_setrobust.c
1182         (pthread_mutexattr_setrobust): Likewise.
1183         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
1184         Likewise.
1185         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
1186         Likewise.
1187         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
1188         Likewise.
1189         * nptl/pthread_rwlockattr_getkind_np.c
1190         (pthread_rwlockattr_getkind_np): Likewise.
1191         * nptl/pthread_rwlockattr_getpshared.c
1192         (pthread_rwlockattr_getpshared): Likewise.
1193         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
1194         Likewise.
1195         * nptl/pthread_rwlockattr_setkind_np.c
1196         (pthread_rwlockattr_setkind_np): Likewise.
1197         * nptl/pthread_rwlockattr_setpshared.c
1198         (pthread_rwlockattr_setpshared): Likewise.
1199         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
1200         Likewise.
1201         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
1202         Likewise.
1203         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
1204         Likewise.
1205         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
1206         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
1207         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
1208         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
1209         * nptl/sem_close.c (sem_close): Likewise.
1210         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
1211         * nptl/sem_init.c (__old_sem_init): Likewise.
1212         * nptl/sigaction.c (__sigaction): Likewise.
1213         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
1214         * posix/_exit.c (_exit): Likewise.
1215         * posix/alarm.c (alarm): Likewise.
1216         * posix/confstr.c (confstr): Likewise.
1217         * posix/fpathconf.c (__fpathconf): Likewise.
1218         * posix/getgroups.c (__getgroups): Likewise.
1219         * posix/getpgid.c (__getpgid): Likewise.
1220         * posix/group_member.c (__group_member): Likewise.
1221         * posix/pathconf.c (__pathconf): Likewise.
1222         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
1223         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
1224         * posix/setgid.c (__setgid): Likewise.
1225         * posix/setpgid.c (__setpgid): Likewise.
1226         * posix/setuid.c (__setuid): Likewise.
1227         * posix/sleep.c (__sleep): Likewise.
1228         * posix/sysconf.c (__sysconf): Likewise.
1229         * posix/times.c (__times): Likewise.
1230         * posix/uname.c (__uname): Likewise.
1231         * posix/waitid.c (__waitid): Likewise.
1232         * pwd/getpw.c (__getpw): Likewise.
1233         * resolv/base64.c (b64_pton): Likewise.
1234         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
1235         * resolv/gethnamaddr.c (Dprintf): Likewise.
1236         (gethostbyname): Likewise.
1237         (gethostbyname2): Likewise.
1238         (gethostbyaddr): Likewise.
1239         (_sethtent): Likewise.
1240         (_gethtbyname): Likewise.
1241         (_gethtbyname2): Likewise.
1242         (_gethtbyaddr): Likewise.
1243         (map_v4v6_address): Likewise.
1244         (map_v4v6_hostent): Likewise.
1245         (addrsort): Likewise.
1246         (ht_sethostent): Likewise.
1247         (ht_gethostbyname): Likewise.
1248         (ht_gethostbyaddr): Likewise.
1249         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
1250         (inet_net_ntop_ipv4): Likewise.
1251         * resolv/inet_neta.c (inet_neta): Likewise.
1252         * resolv/inet_ntop.c (inet_ntop): Likewise.
1253         (inet_ntop4): Likewise.
1254         (inet_ntop6): Likewise.
1255         * resolv/inet_pton.c (__inet_pton): Likewise.
1256         (inet_pton4): Likewise.
1257         (inet_pton6): Likewise.
1258         * resolv/res_debug.c (loc_aton): Likewise.
1259         (loc_ntoa): Likewise.
1260         * resource/getpriority.c (__getpriority): Likewise.
1261         * resource/getrusage.c (__getrusage): Likewise.
1262         * resource/nice.c (nice): Likewise.
1263         * resource/setpriority.c (__setpriority): Likewise.
1264         * resource/setrlimit64.c (setrlimit64): Likewise.
1265         * resource/vlimit.c (vlimit): Likewise.
1266         * resource/vtimes.c (vtimes): Likewise.
1267         * rt/aio_error.c (aio_error): Likewise.
1268         * rt/aio_return.c (aio_return): Likewise.
1269         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
1270         * signal/kill.c (__kill): Likewise.
1271         * signal/killpg.c (killpg): Likewise.
1272         * signal/raise.c (raise): Likewise.
1273         * signal/sigaction.c (__sigaction): Likewise.
1274         * signal/sigaddset.c (sigaddset): Likewise.
1275         * signal/sigaltstack.c (sigaltstack): Likewise.
1276         * signal/sigandset.c (sigandset): Likewise.
1277         * signal/sigblock.c (__sigblock): Likewise.
1278         * signal/sigdelset.c (sigdelset): Likewise.
1279         * signal/sigempty.c (sigemptyset): Likewise.
1280         * signal/sigfillset.c (sigfillset): Likewise.
1281         * signal/sighold.c (sighold): Likewise.
1282         * signal/sigignore.c (sigignore): Likewise.
1283         * signal/sigintr.c (siginterrupt): Likewise.
1284         * signal/sigisempty.c (sigisemptyset): Likewise.
1285         * signal/sigismem.c (sigismember): Likewise.
1286         * signal/signal.c (signal): Likewise.
1287         * signal/sigorset.c (sigorset): Likewise.
1288         * signal/sigpause.c (__sigpause): Likewise.
1289         * signal/sigpending.c (sigpending): Likewise.
1290         * signal/sigprocmask.c (__sigprocmask): Likewise.
1291         * signal/sigrelse.c (sigrelse): Likewise.
1292         * signal/sigreturn.c (__sigreturn): Likewise.
1293         * signal/sigset.c (sigset): Likewise.
1294         * signal/sigsetmask.c (__sigsetmask): Likewise.
1295         * signal/sigstack.c (sigstack): Likewise.
1296         * signal/sigsuspend.c (__sigsuspend): Likewise.
1297         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
1298         * signal/sysv_signal.c (__sysv_signal): Likewise.
1299         * socket/accept.c (accept): Likewise.
1300         * socket/accept4.c (__libc_accept4): Likewise.
1301         * socket/bind.c (__bind): Likewise.
1302         * socket/connect.c (__connect): Likewise.
1303         * socket/getpeername.c (getpeername): Likewise.
1304         * socket/getsockname.c (__getsockname): Likewise.
1305         * socket/getsockopt.c (getsockopt): Likewise.
1306         * socket/listen.c (__listen): Likewise.
1307         * socket/recv.c (__recv): Likewise.
1308         * socket/recvmsg.c (__recvmsg): Likewise.
1309         * socket/send.c (__send): Likewise.
1310         * socket/sendmsg.c (__sendmsg): Likewise.
1311         * socket/shutdown.c (shutdown): Likewise.
1312         * socket/sockatmark.c (sockatmark): Likewise.
1313         * socket/socket.c (__socket): Likewise.
1314         * stdio-common/ctermid.c (ctermid): Likewise.
1315         * stdio-common/cuserid.c (cuserid): Likewise.
1316         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
1317         * stdio-common/remove.c (remove): Likewise.
1318         * stdio-common/rename.c (rename): Likewise.
1319         * stdio-common/renameat.c (renameat): Likewise.
1320         * stdio-common/tempname.c (__gen_tempname): Likewise.
1321         * stdio-common/xbug.c (InitBuffer): Likewise.
1322         (AppendToBuffer): Likewise.
1323         (ReadFile): Likewise.
1324         * stdlib/a64l.c (a64l): Likewise.
1325         * stdlib/drand48_r.c (drand48_r): Likewise.
1326         * stdlib/getcontext.c (getcontext): Likewise.
1327         * stdlib/getenv.c (getenv): Likewise.
1328         * stdlib/l64a.c (l64a): Likewise.
1329         * stdlib/llabs.c (llabs): Likewise.
1330         * stdlib/lldiv.c (lldiv): Likewise.
1331         * stdlib/lrand48_r.c (lrand48_r): Likewise.
1332         * stdlib/mrand48_r.c (mrand48_r): Likewise.
1333         * stdlib/putenv.c (putenv): Likewise.
1334         * stdlib/random.c (__srandom): Likewise.
1335         (__initstate): Likewise.
1336         (__setstate): Likewise.
1337         * stdlib/random_r.c (__srandom_r): Likewise.
1338         (__setstate_r): Likewise.
1339         (__random_r): Likewise.
1340         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
1341         * stdlib/setcontext.c (setcontext): Likewise.
1342         * stdlib/setenv.c (setenv): Likewise.
1343         (unsetenv): Likewise.
1344         * stdlib/srand48.c (srand48): Likewise.
1345         * stdlib/srand48_r.c (__srand48_r): Likewise.
1346         * stdlib/swapcontext.c (swapcontext): Likewise.
1347         * stdlib/system.c (__libc_system): Likewise.
1348         * stdlib/tst-strtod.c (expand): Likewise.
1349         * stdlib/tst-strtol.c (expand): Likewise.
1350         * stdlib/tst-strtoll.c (expand): Likewise.
1351         * streams/fattach.c (fattach): Likewise.
1352         * streams/fdetach.c (fdetach): Likewise.
1353         * streams/getmsg.c (getmsg): Likewise.
1354         * streams/isastream.c (isastream): Likewise.
1355         * string/ffs.c (__ffs): Likewise.
1356         * string/ffsll.c (ffsll): Likewise.
1357         * string/memcmp.c (memcmp_common_alignment): Likewise.
1358         (memcmp_not_common_alignment): Likewise.
1359         (MEMCMP): Likewise.
1360         * string/memcpy.c (memcpy): Likewise.
1361         * string/memmove.c (MEMMOVE): Likewise.
1362         * string/memset.c (memset): Likewise.
1363         * string/rawmemchr.c (RAWMEMCHR): Likewise.
1364         * string/strchrnul.c (STRCHRNUL): Likewise.
1365         * string/strerror.c (strerror): Likewise.
1366         * string/strndup.c (__strndup): Likewise.
1367         * string/strverscmp.c (__strverscmp): Likewise.
1368         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
1369         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
1370         (clnttcp_freeres): Likewise.
1371         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
1372         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
1373         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
1374         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
1375         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
1376         (xdr_callhdr): Likewise.
1377         * sunrpc/rpcinfo.c (udpping): Likewise.
1378         (tcpping): Likewise.
1379         (pstatus): Likewise.
1380         (pmapdump): Likewise.
1381         (brdcst): Likewise.
1382         (deletereg): Likewise.
1383         (getprognum): Likewise.
1384         (getvers): Likewise.
1385         (get_inet_address): Likewise.
1386         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
1387         * sunrpc/svc_udp.c (svcudp_create): Likewise.
1388         (svcudp_stat): Likewise.
1389         (svcudp_recv): Likewise.
1390         (svcudp_reply): Likewise.
1391         (svcudp_getargs): Likewise.
1392         (svcudp_freeargs): Likewise.
1393         (svcudp_destroy): Likewise.
1394         * sunrpc/xdr.c (xdr_bytes): Likewise.
1395         (xdr_netobj): Likewise.
1396         (xdr_string): Likewise.
1397         (xdr_wrapstring): Likewise.
1398         * sunrpc/xdr_float.c (xdr_float): Likewise.
1399         (xdr_double): Likewise.
1400         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
1401         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
1402         * sysvipc/ftok.c (ftok): Likewise.
1403         * sysvipc/msgctl.c (msgctl): Likewise.
1404         * sysvipc/msgget.c (msgget): Likewise.
1405         * sysvipc/msgrcv.c (msgrcv): Likewise.
1406         * sysvipc/msgsnd.c (msgsnd): Likewise.
1407         * sysvipc/semget.c (semget): Likewise.
1408         * sysvipc/semop.c (semop): Likewise.
1409         * sysvipc/shmat.c (shmat): Likewise.
1410         * sysvipc/shmctl.c (shmctl): Likewise.
1411         * sysvipc/shmdt.c (shmdt): Likewise.
1412         * sysvipc/shmget.c (shmget): Likewise.
1413         * termios/cfmakeraw.c (cfmakeraw): Likewise.
1414         * termios/speed.c (cfgetospeed): Likewise.
1415         (cfgetispeed): Likewise.
1416         (cfsetospeed): Likewise.
1417         (cfsetispeed): Likewise.
1418         * termios/tcflow.c (tcflow): Likewise.
1419         * termios/tcflush.c (tcflush): Likewise.
1420         * termios/tcgetattr.c (__tcgetattr): Likewise.
1421         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
1422         * termios/tcgetsid.c (tcgetsid): Likewise.
1423         * termios/tcsendbrk.c (tcsendbreak): Likewise.
1424         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
1425         * time/adjtime.c (__adjtime): Likewise.
1426         * time/dysize.c (dysize): Likewise.
1427         * time/ftime.c (ftime): Likewise.
1428         * time/getitimer.c (__getitimer): Likewise.
1429         * time/gettimeofday.c (__gettimeofday): Likewise.
1430         * time/gmtime.c (__gmtime_r): Likewise.
1431         (gmtime): Likewise.
1432         * time/localtime.c (__localtime_r): Likewise.
1433         (localtime): Likewise.
1434         * time/offtime.c (__offtime): Likewise.
1435         * time/settimeofday.c (__settimeofday): Likewise.
1436         * time/stime.c (stime): Likewise.
1437         * time/strftime_l.c (tm_diff): Likewise.
1438         (iso_week_days): Likewise.
1439         * time/strptime.c (strptime): Likewise.
1440         * time/time.c (time): Likewise.
1441         * time/timespec_get.c (timespec_get): Likewise.
1442         * time/tzset.c (tzset_internal): Likewise.
1443         (compute_change): Likewise.
1444         (__tz_compute): Likewise.
1445         * wcsmbs/btowc.c (__btowc): Likewise.
1446         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
1447         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
1448         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
1449         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
1450         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
1451         * wcsmbs/wcscat.c (__wcscat): Likewise.
1452         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
1453         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
1454         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
1455         * wcsmbs/wcscspn.c (wcscspn): Likewise.
1456         * wcsmbs/wcsdup.c (wcsdup): Likewise.
1457         * wcsmbs/wcslen.c (__wcslen): Likewise.
1458         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
1459         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
1460         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
1461         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
1462         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
1463         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
1464         * wcsmbs/wcsspn.c (wcsspn): Likewise.
1465         * wcsmbs/wcsstr.c (wcsstr): Likewise.
1466         * wcsmbs/wcstok.c (wcstok): Likewise.
1467         * wcsmbs/wctob.c (wctob): Likewise.
1468         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
1469         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1470         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
1471         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
1472         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
1473         * wcsmbs/wmemset.c (__wmemset): Likewise.
1474         * wctype/wcfuncs.c (__towlower): Likewise.
1475         (__towupper): Likewise.
1477         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
1478         (lll_unlock_elision): Add adapt_count parameter.
1480 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
1482         * sysdeps/nptl/configure.ac: Do not give errors based on the
1483         results of top-level configure tests.
1484         * sysdeps/nptl/configure: Regenerated.
1486         * configure.ac (libc_cv_Bgroup): Remove configure test.
1487         * configure: Regenerated.
1488         * config.make.in (have-Bgroup): Remove variable.
1490         * configure.ac (sizeof_long_double): Remove configure test.
1491         * configure: Regenerated.
1492         * config.make.in (sizeof-long-double): Remove variable.
1494         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
1495         * configure: Regenerated.
1496         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
1497         variable.
1498         (exceptions): Likewise.
1499         * sysdeps/arm/configure: Regenerated.
1500         * config.make.in (exceptions): Remove variable.
1501         * Makeconfig (uses-callbacks): Use -fexceptions instead of
1502         $(exceptions).
1503         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
1504         (CFLAGS-vdprintf_chk.c): Likewise.
1505         (CFLAGS-printf_chk.c): Likewise.
1506         (CFLAGS-fprintf_chk.c): Likewise.
1507         (CFLAGS-vprintf_chk.c): Likewise.
1508         (CFLAGS-vfprintf_chk.c): Likewise.
1509         (CFLAGS-gets_chk.c): Likewise.
1510         (CFLAGS-fgets_chk.c): Likewise.
1511         (CFLAGS-fgets_u_chk.c): Likewise.
1512         (CFLAGS-fread_chk.c): Likewise.
1513         (CFLAGS-fread_u_chk.c): Likewise.
1514         (CFLAGS-wprintf_chk.c): Likewise.
1515         (CFLAGS-fwprintf_chk.c): Likewise.
1516         (CFLAGS-vwprintf_chk.c): Likewise.
1517         (CFLAGS-vfwprintf_chk.c): Likewise.
1518         (CFLAGS-fgetws_chk.c): Likewise.
1519         (CFLAGS-fgetws_u_chk.c): Likewise.
1520         * libio/Makefile (CFLAGS-fileops.c): Likewise.
1521         (CFLAGS-fputc.c): Likewise.
1522         (CFLAGS-fputwc.c): Likewise.
1523         (CFLAGS-freopen64.c): Likewise.
1524         (CFLAGS-freopen.c): Likewise.
1525         (CFLAGS-fseek.c): Likewise.
1526         (CFLAGS-fseeko64.c): Likewise.
1527         (CFLAGS-fseeko.c): Likewise.
1528         (CFLAGS-ftello64.c): Likewise.
1529         (CFLAGS-ftello.c): Likewise.
1530         (CFLAGS-fwide.c): Likewise.
1531         (CFLAGS-genops.c): Likewise.
1532         (CFLAGS-getc.c): Likewise.
1533         (CFLAGS-getchar.c): Likewise.
1534         (CFLAGS-getwc.c): Likewise.
1535         (CFLAGS-getwchar.c): Likewise.
1536         (CFLAGS-iofclose.c): Likewise.
1537         (CFLAGS-iofflush.c): Likewise.
1538         (CFLAGS-iofgetpos64.c): Likewise.
1539         (CFLAGS-iofgetpos.c): Likewise.
1540         (CFLAGS-iofgets.c): Likewise.
1541         (CFLAGS-iofgetws.c): Likewise.
1542         (CFLAGS-iofputs.c): Likewise.
1543         (CFLAGS-iofputws.c): Likewise.
1544         (CFLAGS-iofread.c): Likewise.
1545         (CFLAGS-iofsetpos64.c): Likewise.
1546         (CFLAGS-iofsetpos.c): Likewise.
1547         (CFLAGS-ioftell.c): Likewise.
1548         (CFLAGS-iofwrite.c): Likewise.
1549         (CFLAGS-iogetdelim.c): Likewise.
1550         (CFLAGS-iogetline.c): Likewise.
1551         (CFLAGS-iogets.c): Likewise.
1552         (CFLAGS-iogetwline.c): Likewise.
1553         (CFLAGS-ioputs.c): Likewise.
1554         (CFLAGS-ioseekoff.c): Likewise.
1555         (CFLAGS-ioseekpos.c): Likewise.
1556         (CFLAGS-iosetbuffer.c): Likewise.
1557         (CFLAGS-iosetvbuf.c): Likewise.
1558         (CFLAGS-ioungetc.c): Likewise.
1559         (CFLAGS-ioungetwc.c): Likewise.
1560         (CFLAGS-oldfileops.c): Likewise.
1561         (CFLAGS-oldiofclose.c): Likewise.
1562         (CFLAGS-oldiofgetpos64.c): Likewise.
1563         (CFLAGS-oldiofgetpos.c): Likewise.
1564         (CFLAGS-oldiofsetpos64.c): Likewise.
1565         (CFLAGS-oldiofsetpos.c): Likewise.
1566         (CFLAGS-peekc.c): Likewise.
1567         (CFLAGS-putc.c): Likewise.
1568         (CFLAGS-putchar.c): Likewise.
1569         (CFLAGS-putwc.c): Likewise.
1570         (CFLAGS-putwchar.c): Likewise.
1571         (CFLAGS-rewind.c): Likewise.
1572         (CFLAGS-wfileops.c): Likewise.
1573         (CFLAGS-wgenops.c): Likewise.
1574         (CFLAGS-oldiofopen.c): Likewise.
1575         (CFLAGS-iofopen.c): Likewise.
1576         (CFLAGS-iofopen64.c): Likewise.
1577         (CFLAGS-oldtmpfile.c): Likewise.
1578         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
1579         (CFLAGS-fprintf.c): Likewise.
1580         (CFLAGS-printf.c): Likewise.
1581         (CFLAGS-vfwprintf.c): Likewise.
1582         (CFLAGS-vfscanf.c): Likewise.
1583         (CFLAGS-vfwscanf.c): Likewise.
1584         (CFLAGS-fscanf.c): Likewise.
1585         (CFLAGS-scanf.c): Likewise.
1586         (CFLAGS-isoc99_vfscanf.c): Likewise.
1587         (CFLAGS-isoc99_vscanf.c): Likewise.
1588         (CFLAGS-isoc99_fscanf.c): Likewise.
1589         (CFLAGS-isoc99_scanf.c): Likewise.
1590         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
1591         (CFLAGS-isoc99_fwscanf.c): Likewise.
1592         (CFLAGS-isoc99_vwscanf.c): Likewise.
1593         (CFLAGS-isoc99_vfwscanf.c): Likewise.
1595         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
1596         after mkstemp64.
1597         * login/tst-utmp.c (do_prepare): Likewise.
1598         * rt/tst-aio.c (do_prepare): Likewise.
1599         * rt/tst-aio64.c (do_prepare): Likewise.
1601 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1603         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
1604         (__lll_lock_elision): Remove adapt_count decrement...
1605         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
1606         (__lll_trylock_elision): Likewise.
1607         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
1608         (__lll_unlock_elision): ... to here. And utilize
1609         new adapt_count parameter.
1610         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
1611         (__lll_unlock_elision): Update to include adapt_count
1612         parameter.
1613         (lll_unlock_elision): Pass pointer to adapt_count
1614         variable.
1616 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1618         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
1619         Add elision adapt_count parameter to list of arguments.
1620         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
1621         (lll_unlock_elision): Update with new parameter list
1622         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
1623         (lll_unlock_elision): Likewise
1624         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
1625         (lll_unlock_elision): Likewise
1627 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
1629         [BZ #19122]
1630         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
1631         attribute_hidden.
1633         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
1634         attribute_hidden.
1635         [IS_IN (rtld)] (__strdup): Likewise.
1636         [IS_IN (rtld)] (__strerror_r): Likewise.
1637         [IS_IN (rtld)] (__strsep_g): Likewise.
1638         [IS_IN (rtld)] (memchr): Likewise.
1639         [IS_IN (rtld)] (memcmp): Likewise.
1640         [IS_IN (rtld)] (memcpy): Likewise.
1641         [IS_IN (rtld)] (memmove): Likewise.
1642         [IS_IN (rtld)] (memset): Likewise.
1643         [IS_IN (rtld)] (rawmemchr): Likewise.
1644         [IS_IN (rtld)] (stpcpy): Likewise.
1645         [IS_IN (rtld)] (strchr): Likewise.
1646         [IS_IN (rtld)] (strcmp): Likewise.
1647         [IS_IN (rtld)] (strlen): Likewise.
1648         [IS_IN (rtld)] (strnlen): Likewise.
1649         [IS_IN (rtld)] (strsep): Likewise.
1651         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
1652         attribute_hidden.
1653         [IS_IN (rtld)] (__strtoul_internal): Likewise.
1655         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
1656         attribute_hidden.
1657         [IS_IN (rtld)] (__libc_sigaction): Likewise.
1659         * include/setjmp.h (__longjmp): Add attribute_hidden.
1660         [IS_IN (rtld)] (__sigsetjmp): Likewise.
1662         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
1663         Add attribute_hidden.
1665         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
1666         [IS_IN (rtld)] (__open): Likewise.
1667         [IS_IN (rtld)] (__fcntl): Likewise.
1669         * include/dirent.h (__opendirat): Add attribute_hidden.
1670         (__getdents): Likewise.
1671         (__getdents64): Likewise.
1672         (__alloc_dir): Likewise.
1673         [IS_IN (rtld)] (__closedir): Likewise.
1674         [IS_IN (rtld)] (__fdopendir): Likewise.
1675         [IS_IN (rtld)] (__readdir): Likewise.
1676         [IS_IN (rtld)] (__readdir64): Likewise.
1677         [IS_IN (rtld)] (__rewinddir): Likewise.
1679         * include/dlfcn.h (_dl_catch_error): Moved to ...
1680         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
1681         attribute_hidden.
1683         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
1684         (_itoa_word): Likewise.
1686         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
1687         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
1688         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
1689         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
1690         (_dl_higher_prime_number): Likewise.
1691         (_dl_debug_printf_c): Likewise.
1692         (_dl_signal_cerror): Likewise.
1693         (_dl_receive_error): Likewise.
1694         (_dl_reloc_bad_type): Likewise.
1695         (_dl_resolve_conflicts): Likewise.
1696         (_dl_check_all_versions): Likewise.
1697         (_dl_check_map_versions): Likewise.
1698         (_dl_sort_fini): Likewise.
1699         (_dl_debug_initialize): Likewise.
1700         (_dl_init_paths): Likewise.
1701         (_dl_show_auxv): Likewise.
1702         (_dl_next_ld_env_entry): Likewise.
1703         (_dl_important_hwcaps): Likewise.
1704         (_dl_load_cache_lookup): Likewise.
1705         (_dl_update_slotinfo): Likewise.
1706         (_dl_show_scope): Likewise.
1708         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
1709         attribute_hidden.
1710         (_wordcopy_fwd_dest_aligned): Likewise.
1711         (_wordcopy_bwd_aligned): Likewise.
1712         (_wordcopy_bwd_dest_aligned): Likewise.
1714         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
1715         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
1716         Likewise.
1717         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
1718         Likewise.
1719         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
1721 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
1723         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
1724         GCC 5 requirement.
1726 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
1728         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
1729         test.
1730         * sysdeps/i386/configure: Regenerated.
1731         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
1732         code unconditional.
1734         * configure.ac (libc_cv_asm_previous_directive): Remove configure
1735         test.
1736         (libc_cv_asm_popsection_directive): Likewise.
1737         * configure: Regenerated.
1738         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
1739         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
1740         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
1741         (__make_section_unallocated): Make definition unconditional.
1742         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
1743         Remove conditional definition.
1744         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
1745         (__make_section_unallocated): Likewise.
1747         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
1748         * configure: Regenerated.
1749         * config.make.in (static-libgcc): Remove variable.
1750         * Makerules (build-shlib-helper): Use -static-libgcc instead of
1751         $(static-libgcc).
1752         (build-module-helper): Likewise.
1754         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
1755         * configure: Regenerated.
1757 2015-10-15  Florian Weimer  <fweimer@redhat.com>
1759         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
1760         (struct char_buffer): New type.
1761         (char_buffer_start, char_buffer_size, char_buffer_error)
1762         (char_buffer_rewind, char_buffer_add): New functions.
1763         (ADDW): Remove macro, replaced by the char_buffer_add function.
1764         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
1765         of extend_alloca.  Make control flow more explicit.
1767 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
1769         [BZ #19137]
1770         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
1771         Add -fomit-frame-pointer.
1772         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
1774 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
1776         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
1777         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
1778         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
1779         only if !__GNUC_PREREQ (5,0).
1780         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
1781         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
1782         (INTERNAL_SYSCALL_NCS): Likewise.
1783         (LOADREGS_0): New macro for GCC 5.
1784         (ASMARGS_0): Likewise.
1785         (LOADREGS_1): Likewise.
1786         (ASMARGS_1): Likewise.
1787         (LOADREGS_2): Likewise.
1788         (ASMARGS_2): Likewise.
1789         (LOADREGS_3): Likewise.
1790         (ASMARGS_3): Likewise.
1791         (LOADREGS_4): Likewise.
1792         (ASMARGS_4): Likewise.
1793         (LOADREGS_5): Likewise.
1794         (ASMARGS_5): Likewise.
1795         (LOADREGS_6): Likewise.
1796         (ASMARGS_6): Likewise.
1798 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
1800         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
1801         -fomit-frame-pointer.
1802         (CFLAGS-mmap64.c): Likewise.
1803         (CFLAGS-semtimedop.c): Likewise.
1804         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
1805         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
1806         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1807         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
1809 2015-10-15  Florian Weimer  <fweimer@redhat.com>
1811         [BZ #18928]
1812         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
1813         _dl_pointer_guard member.
1814         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
1815         initializer.
1816         (security_init): Always set up pointer guard.
1817         (process_envvars): Do not process LD_POINTER_GUARD.
1819 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
1821         [BZ #19134]
1822         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
1823         (.LC2): Likewise.
1824         (.LC3): Likewise.
1825         (__lround): Do not add 0.5 to integer or out-of-range arguments.
1827 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1829         [BZ #19129]
1830         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
1831         r0 and r1.
1833 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
1835         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
1837 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
1839         * include/stap-probe.h: Fix macro definition formatting.
1841 2015-10-14  Florian Weimer  <fweimer@redhat.com>
1843         [BZ #19074]
1844         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
1845         load and store num_ifs.
1847 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
1849         [BZ #18822]
1850         * sysdeps/unix/sysv/linux/sched_getaffinity.c
1851         (__sched_getaffinity_new): Add libc_hidden_proto and
1852         libc_hidden_def.
1854 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
1856         [BZ #19007]
1857         * scripts/localplt.awk: Also allow GOT references.
1858         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
1859         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
1860         with "+ REL R_386_GLOB_DAT".
1861         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
1862         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
1864 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
1866         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
1867         INLINE_SYSCALL_ERROR_RETURN_VALUE.
1868         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
1869         Likewise.
1870         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
1871         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
1872         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
1873         INTERNAL_SYSCALLINTERNAL_SYSCALL and
1874         INLINE_SYSCALL_ERROR_RETURN_VALUE.
1875         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
1876         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1877         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
1878         Likewise.
1879         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1881 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
1883         [BZ #19125]
1884         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
1885         <math_private.h> and <stdint.h>.
1886         (__llround): Avoid conversions to and from long long int, and
1887         subtractions, where those might raise spurious exceptions.
1888         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
1889         <math_private.h> and <stdint.h>.
1890         (__llroundf): Avoid conversions to and from long long int, and
1891         subtractions, where those might raise spurious exceptions.
1893 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
1895         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
1896         INLINE_SYSCALL_ERROR_RETURN_VALUE.
1897         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
1898         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
1899         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
1900         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
1901         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
1902         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
1903         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
1904         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
1905         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1906         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1907         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
1908         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1909         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
1910         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
1911         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
1912         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
1913         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
1914         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
1915         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
1916         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
1917         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
1918         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
1919         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
1920         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
1921         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
1922         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
1923         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1924         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
1925         (__xstat64_conv): Likewise.
1926         (__xstat32_conv): Likewise.
1928 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
1930         * sysdeps/unix/sysv/linux/sysdep.h: New file.
1931         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
1932         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
1933         <sysdeps/unix/sysv/linux/sysdep.h>.
1934         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
1935         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
1936         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
1937         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1938         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
1939         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
1940         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
1941         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
1942         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
1943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1945         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1946         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1947         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1948         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
1949         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1950         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
1951         (sysdep-dl-routines): Add sysdep.
1952         [$(subdir) == nptl] (libpthread-routines): Likewise.
1953         [$(subdir) == rt] (librt-routines): Likewise.
1954         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
1955         PIC when branching to SYSCALL_ERROR_LABEL.
1956         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
1957         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
1958         <sysdeps/unix/sysv/linux/sysdep.h>.
1959         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
1960         (SYSCALL_ERROR_ERRNO): Removed.
1961         (SYSCALL_ERROR_HANDLER): Changed to empty.
1962         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
1963         (__syscall_error): New prototype.
1964         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
1965         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
1967 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
1969         [BZ #19124]
1970         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
1971         (_dl_runtime_resolve_avx512): Make it a hidden alias of
1972         _dl_runtime_resolve_avx.
1973         (_dl_runtime_profile_avx512): Make it a hidden alias of
1974         _dl_runtime_profile_avx.
1976 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
1978         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
1979         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
1980         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
1981         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
1983         [BZ #16422]
1984         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
1985         New configure test.
1986         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
1987         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
1988         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
1989         <math_private.h> and <stdint.h>.
1990         (__llrint): Avoid conversions to long long int where those might
1991         raise spurious exceptions.
1992         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
1993         <math_private.h> and <stdint.h>.
1994         (__llrintf): Avoid conversions to long long int where those might
1995         raise spurious exceptions.
1997 2015-10-12  Andreas Schwab  <schwab@suse.de>
1999         [BZ #18969]
2000         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
2001         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
2002         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
2003         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
2004         $(gen-locales).
2005         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
2006         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
2007         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
2008         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
2009         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
2010         $(gen-locales).
2011         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
2012         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
2013         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
2014         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
2015         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
2016         ($(objpfx)tst-ftell-active-handler.out)
2017         ($(objpfx)tst-ftell-append.out)
2018         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
2019         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
2020         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
2021         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
2022         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
2023         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
2024         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
2025         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
2026         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
2027         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
2028         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
2029         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
2030         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
2031         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
2032         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
2033         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
2034         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
2035         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
2036         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
2037         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
2038         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
2039         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
2040         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
2041         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
2042         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
2043         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
2044         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
2045         $(gen-locales).
2046         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
2047         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
2048         $(gen-locales).
2049         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
2050         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
2051         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
2052         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
2053         $(gen-locales).
2054         * libio/tst_wprintf2.c (main): Use explicit locale.
2055         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
2057 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2059         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
2060         __msg_sig_post.
2061         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
2063 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
2065         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2066         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2068         * sysdeps/arm/libm-test-ulps: Regenerated.
2070         [BZ #15470]
2071         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
2073         [BZ #16399]
2074         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
2075         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
2076         and <fix-fp-int-convert-overflow.h>.
2077         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
2078         FIX_DBL_LLONG_CONVERT_OVERFLOW.
2079         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
2080         and <fix-fp-int-convert-overflow.h>.
2081         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
2082         FIX_DBL_LLONG_CONVERT_OVERFLOW.
2083         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
2084         <fix-fp-int-convert-overflow.h>.
2085         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
2086         FIX_DBL_LLONG_CONVERT_OVERFLOW.
2087         * sysdeps/ieee754/dbl-64/s_lround.c: Include
2088         <fix-fp-int-convert-overflow.h>.
2089         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
2090         FIX_DBL_LLONG_CONVERT_OVERFLOW.
2091         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
2092         and <fix-fp-int-convert-overflow.h>.
2093         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
2094         FIX_DBL_LLONG_CONVERT_OVERFLOW.
2095         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
2096         <limits.h> and <fix-fp-int-convert-overflow.h>.
2097         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
2098         FIX_DBL_LLONG_CONVERT_OVERFLOW.
2099         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
2100         and <fix-fp-int-convert-overflow.h>.
2101         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
2102         FIX_DBL_LLONG_CONVERT_OVERFLOW.
2103         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
2104         and <fix-fp-int-convert-overflow.h>.
2105         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
2106         FIX_DBL_LLONG_CONVERT_OVERFLOW.
2107         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
2109 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
2111         [BZ #18589]
2112         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
2113         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
2114         $(gen-locales).
2116 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2117             Phil Blundell <pb@pbcl.net>
2119         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
2120         * nptl/tst-cancel26.c: New file.
2121         * nptl/tst-cancel27.c: Likewise.
2123 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
2125         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
2126         __ILP32__ isn't defined.
2127         (lrint): Likewise.
2128         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
2129         (lrintf): Likewise.
2130         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
2131         (lrintl): Likewise.
2132         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
2133         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
2134         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
2136 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2138         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
2139         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
2141         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
2142         file.
2143         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
2144         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
2146 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
2148         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
2149         configure test.
2150         * sysdeps/i386/configure: Regenerated.
2151         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
2152         configure test.
2153         * sysdeps/x86_64/configure: Regenerated.
2154         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
2155         Make code unconditional.
2157         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
2158         test.
2159         * sysdeps/i386/configure: Regenerated.
2160         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
2161         test.
2162         * sysdeps/x86_64/configure: Regenerated.
2163         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
2164         Make code unconditional.
2165         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
2166         Likewise.
2167         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
2168         Likewise.
2169         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
2170         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
2171         code unconditional.
2172         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
2173         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
2174         code unconditional.
2175         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
2176         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
2177         code unconditional.
2178         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
2179         code unconditional.
2180         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
2181         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
2182         code unconditional.
2183         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
2184         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
2185         code unconditional.
2186         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
2187         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
2188         code unconditional.
2189         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
2190         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
2191         code unconditional.
2192         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
2193         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
2195         [BZ #19095]
2196         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
2197         mantissa to long int before shifting left.
2199 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
2201         [BZ #19094]
2202         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
2203         <limits.h>.
2204         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
2205         when result overflows but exception would not result from cast.
2206         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
2207         <limits.h>.
2208         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
2209         when result overflows but exception would not result from cast.
2210         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
2211         <limits.h>.
2212         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
2213         when result overflows but exception would not result from cast.
2214         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
2215         <limits.h>.
2216         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
2217         when result overflows but exception would not result from cast.
2218         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
2219         <limits.h>.
2220         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
2221         when result overflows but exception would not result from cast.
2222         * math/libm-test.inc (lrint_test_data): Add more tests.
2223         (llrint_test_data): Likewise.
2225 2015-10-08  Roland McGrath  <roland@hack.frob.com>
2227         [BZ #18872]
2228         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
2229         Move out from under [$(run-built-tests) = yes] conditional.
2230         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
2231         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
2233 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
2235         [BZ #18589]
2236         * string/Makefile (tests): Add bug-strcoll2.
2237         (LOCALES): Add cs_CZ.UTF-8.
2238         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
2240         [BZ #18589]
2241         * string/bug-strcoll2.c: New file.
2242         * locale/categories.def: Revert commit
2243         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
2244         * locale/langinfo.h: Likewise.
2245         * locale/localeinfo.h: Likewise.
2246         * locale/C-collate.c: Likewise.
2247         * locale/programs/ld-collate.c (collate_output): Likewise.
2248         * string/strcoll_l.c (STRDIFF): Likewise.
2249         (STRCOLL): Likewise.
2250         * wcsmbs/wcscoll_l.c: Likewise.
2252 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
2254         * math/libm-test.inc (lround_test_data): Do not expect the absence
2255         of "inexact" for some tests with non-integer arguments.
2256         (llround_test_data): Likewise.
2258         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
2259         test.
2260         (libc_cv_cc_sse2avx): Likewise.
2261         * sysdeps/i386/configure: Regenerated.
2262         * sysdeps/i386/i686/multiarch/Makefile
2263         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
2264         [$(subdir) = math].
2265         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
2266         code unconditional.
2267         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
2268         Likewise.
2269         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
2270         Likewise.
2271         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
2272         Likewise.
2273         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
2274         test.
2275         (libc_cv_cc_sse2avx): Likewise.
2276         * sysdeps/x86_64/configure: Regenerated.
2277         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
2278         unconditional.
2279         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
2280         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
2281         unconditional.
2282         (_dl_runtime_profile)
2283         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
2284         conditional code.
2285         * sysdeps/x86_64/fpu/multiarch/Makefile
2286         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
2287         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
2288         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2289         * sysdeps/x86_64/fpu/multiarch/e_exp.c
2290         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2291         * sysdeps/x86_64/fpu/multiarch/e_log.c
2292         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2293         * sysdeps/x86_64/fpu/multiarch/s_atan.c
2294         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2295         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
2296         Likewise.
2297         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
2298         Likewise.
2299         * sysdeps/x86_64/fpu/multiarch/s_sin.c
2300         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2301         * sysdeps/x86_64/fpu/multiarch/s_tan.c
2302         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2303         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
2304         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
2305         (HAVE_SSE2AVX_SUPPORT): Likewise.
2307 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
2309         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
2310         instead of #pragma optimize.
2312 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
2314         [BZ #17195]
2315         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
2316         as is similarly done in systrim and _int_free already.
2318 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2320         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
2322 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
2324         [BZ #19088]
2325         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
2326         <limits.h>.
2327         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
2328         overflows but exception would not result from cast.
2329         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
2330         and <limits.h>.
2331         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
2332         overflows but exception would not result from cast.
2333         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
2334         <limits.h>.
2335         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
2336         overflows but exception would not result from cast.
2337         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
2338         <limits.h>.
2339         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
2340         overflows but exception would not result from cast.
2341         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
2342         <limits.h>.
2343         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
2344         overflows but exception would not result from cast.
2345         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
2346         <limits.h>.
2347         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
2348         overflows but exception would not result from cast.
2349         * math/libm-test.inc (lround_test_data): Add more tests.
2350         (llround_test_data): Likewise.
2352 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
2354         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
2355         (CFLAGS-ialloc.c): Ditto.
2356         (CFLAGS-scheck.c): Ditto.
2358 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
2360         [BZ #19086]
2361         * manual/filesys.texi (Storage Allocation): Fix argument order for
2362         posix_fallocate64.
2364 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
2366         [BZ #19085]
2367         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
2368         exponent below 48 inside case for non-overflowing exponent.
2369         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
2371 2015-10-07  Florian Weimer  <fweimer@redhat.com>
2373         * iconvdata/cp737.h (from_idx): Add const.
2374         * iconvdata/cp775.h (from_idx): Likewise.
2376 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
2378         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
2379         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
2380         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
2382         [BZ #19079]
2383         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
2384         file, conditioned on [!_LP64].
2385         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
2386         [!_LP64] (__lround): Do not define as function or alias.
2387         [!_LP64] (lround): Likewise.
2388         [!_LP64] (__lroundl): Likewise.
2389         [!_LP64] (lroundl): Likewise.
2390         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
2391         macro.
2392         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
2393         Likewise.
2395 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
2397         * math/libm-test.inc (lrint_test_data): Add more tests.
2398         (llrint_test_data): Likewise.
2399         (lround_test_data): Likewise.
2400         (llround_test_data): Likewise.
2402         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
2403         (llrint_test_data): Add tests used for lrint.
2405         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
2406         test.
2407         * sysdeps/i386/configure: Regenerated.
2408         * sysdeps/i386/i686/multiarch/Makefile
2409         [$(config-cflags-sse4) = yes]: Make code unconditional.
2410         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
2411         Likewise.
2412         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
2413         Likewise.
2414         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
2415         test.
2416         * sysdeps/x86_64/configure: Regenerated.
2417         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
2418         Make code unconditional.
2419         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
2420         Likewise.
2421         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
2422         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
2424         * scripts/rpm2dynsym.sh: Remove file.
2426 2015-10-06  Florian Weimer  <fweimer@redhat.com>
2428         * configure.ac (libc_cv_cxx_thread_local): Define.
2429         * configure: Regenerate.
2430         * config.make.in (have-cxx-thread_local): Define.
2431         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
2432         (LDLIBS-tst-thread_local1): Define.
2433         (tests): Add tst-thread_local1.
2434         [have-cxx-thread_local != yes] (tests-unsupported): Add
2435         tst-thread_local1.
2436         * nptl/tst-thread_local1.cc: New file.
2438 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
2440         [BZ #19078]
2441         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
2442         (u_thres): Likewise.
2443         (__expl): Determine whether to call __kernel_standard_l based on
2444         value of result, not argument.
2446         * math/libm-test.inc (scalb_test_data): Add more expectations for
2447         the "inexact" exception.
2449         [BZ #19077]
2450         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
2451         0.0L for argument 1.0L.
2453         [BZ #19076]
2454         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
2455         constant 0.0L when computing infinite result.
2457 2015-10-06  Florian Weimer  <fweimer@redhat.com>
2459         [BZ #10432]
2460         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
2461         malloc_usable_size.
2463 2015-10-06  Florian Weimer  <fweimer@redhat.com>
2465         [BZ #19018]
2466         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
2467         Mangle function pointer before storing it.
2468         (__call_tls_dtors): Demangle function pointer before calling it.
2470 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
2472         [BZ #19012]
2473         * iconv/gconv_db.c (gen_steps): Check for additional errors.
2474         Clean up on failure.
2476 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
2478         [BZ #19071]
2479         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
2480         long int variable to store possibly incremented high part of
2481         mantissa.
2482         * math/libm-test.inc (lround_test_data): Add tests used for
2483         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
2484         for tests requiring 64-bit long.  Do not condition tests on
2485         [TEST_FLOAT] unnecessarily.
2486         (llround_test_data): Add tests used for lround.  Add another
2487         expectation for the "inexact" exception.  Do not condition tests
2488         on [TEST_FLOAT] unnecessarily.
2490         [BZ #887]
2491         [BZ #19049]
2492         [BZ #19050]
2493         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
2494         * sysdeps/ieee754/dbl-64/e_log10.c: Include
2495         <fix-int-fp-convert-zero.h>.
2496         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2497         * sysdeps/ieee754/dbl-64/e_log2.c: Include
2498         <fix-int-fp-convert-zero.h>.
2499         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2500         * sysdeps/ieee754/dbl-64/s_erf.c: Include
2501         <fix-int-fp-convert-zero.h>.
2502         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2503         * sysdeps/ieee754/dbl-64/s_logb.c: Include
2504         <fix-int-fp-convert-zero.h>.
2505         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2506         * sysdeps/ieee754/flt-32/e_log10f.c: Include
2507         <fix-int-fp-convert-zero.h>.
2508         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2509         * sysdeps/ieee754/flt-32/e_log2f.c: Include
2510         <fix-int-fp-convert-zero.h>.
2511         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2512         * sysdeps/ieee754/flt-32/s_erff.c: Include
2513         <fix-int-fp-convert-zero.h>.
2514         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2515         * sysdeps/ieee754/flt-32/s_logbf.c: Include
2516         <fix-int-fp-convert-zero.h>.
2517         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2518         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
2519         <fix-int-fp-convert-zero.h>.
2520         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2521         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
2522         <fix-int-fp-convert-zero.h>.
2523         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2524         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
2525         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
2526         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
2527         file.
2528         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
2530 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
2532         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2534 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
2536         [BZ #19059]
2537         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
2538         overflowing computation.
2539         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
2540         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
2541         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
2542         Likewise.
2543         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
2544         Likewise.
2545         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
2546         Likewise.
2547         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2548         Likewise.
2549         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
2550         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
2551         Likewise.
2552         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
2553         Likewise.
2554         * math/libm-test.inc (nexttoward_test_data): Add more tests.
2556         * nss/rewrite_field.c (__nss_rewrite_field): Use
2557         internal_function.
2558         * nss/valid_field.c (__nss_valid_field): Likewise.
2559         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
2561 2015-10-02  Florian Weimer  <fweimer@redhat.com>
2563         [BZ #18724]
2564         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
2565         (__nss_invalid_field_characters, __nss_valid_field)
2566         (__nss_valid_list_field, __nss_rewrite_field): Declare.
2567         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
2568         tst-field.c: New file.
2569         * nss/Makefile (routines): Add valid_field, rewrite_field.
2570         (tests-static): Define unconditionally.
2571         (tests): Include tests-static.
2572         [build-static-nss] (tests-static): Use append.
2573         [build-static-nss] (tests): Remove modification.
2574         * nss/getent.c (print_group): Call putgrent.  Report error.
2575         (print_gshadow): Call putsgent.  Report error.
2576         (print_passwd): Call putpwent.  Report error.
2577         (print_shadow): Call putspent.  Report error.
2578         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
2579         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
2580         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
2581         name, password, directory, shell fields for valid syntax.  Rewrite
2582         GECOS field to match syntax.
2583         * pwd/Makefile (tests): Add tst-putpwent.
2584         * pwd/tst-putpwent.c: New file.
2585         * grp/putgrent.c (putgrent): Convert to ISO function definition.
2586         Check grName, grpasswd, gr_mem fields for valid syntax.
2587         Change loop variable i to size_t.
2588         * grp/Makefile (tests): Add tst-putgrent.
2589         * grp/tst-putgrent.c: New file.
2590         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
2591         valid syntax.
2592         * shadow/Makefile (tests): Add tst-putspent.
2593         * shadow/tst-putspent.c: New file.
2594         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
2595         sg_mem fields for valid syntax.
2596         * gshadow/Makefile (tests): Add tst-putsgent.
2597         * gshadow/tst-putsgent.c: New file.
2599 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2601         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
2602         assembly instructions.
2604 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2606         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
2607         prefix from operands.
2609 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
2611         [BZ #16347]
2612         [BZ #19046]
2613         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
2614         <libc-internal.h>.
2615         (MAXLGM): Do not use diagnostic control macros.
2616         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
2617         threshold for ldbl-128ibm.
2618         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
2619         instead of multiplying by log then subtracting.
2620         * math/auto-libm-test-in: Add more tests of lgamma.
2621         * math/auto-libm-test-out: Regenerated.
2623         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
2624         (TYPE_HEX_DIG): Likewise.
2625         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
2626         precisions when printing floating-point numbers.
2627         (check_float_internal): Likewise.
2629 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
2631         [BZ #16620]
2632         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
2633         of log (10) rounded downward to 48 bits.
2634         (log10_low): Use corresponding low part of log (10).
2636         [BZ #19032]
2637         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
2638         compute result as (x - x) / (x - x) not as 0 / 0.
2639         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
2640         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
2642         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
2643         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
2644         and expm1.
2645         * math/auto-libm-test-out: Regenerated.
2646         * math/libm-test.inc (acos_test_data): Add more tests.
2647         (asin_test_data): Likewise.
2648         (asinh_test_data): Likewise.
2649         (atan_test_data): Likewise.
2650         (atanh_test_data): Likewise.
2651         (atan2_test_data): Likewise.
2652         (cbrt_test_data): Likewise.
2653         (ceil_test_data): Likewise.
2654         (copysign_test_data): Likewise.
2655         (cos_test_data): Likewise.
2656         (cosh_test_data): Likewise.
2657         (erf_test_data): Likewise.
2658         (erfc_test_data): Likewise.
2659         (exp_test_data): Likewise.
2660         (exp10_test_data): Likewise.
2661         (exp2_test_data): Likewise.
2662         (expm1_test_data): Likewise.
2663         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2665 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
2667         [BZ #19006]
2668         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
2669         to ...
2670         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
2671         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
2672         to ...
2673         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
2674         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
2675         to ...
2676         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
2677         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
2678         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
2679         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
2680         to ...
2681         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
2682         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
2683         Moved to ...
2684         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
2685         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
2686         Moved to ...
2687         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
2688         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
2689         to ...
2690         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
2691         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
2692         Moved to ...
2693         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
2694         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
2695         to ...
2696         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
2697         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
2698         Removed.
2699         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
2700         Likewise.
2701         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
2702         Likewise.
2703         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
2704         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
2705         Likewise.
2706         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
2707         Likewise.
2708         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
2709         Likewise.
2710         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
2711         Likewise.
2712         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
2713         Likewise.
2714         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
2715         Likewise.
2716         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
2717         Likewise.
2718         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
2719         Likewise.
2720         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
2721         Likewise.
2722         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
2723         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
2724         Likewise.
2725         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
2726         Likewise.
2727         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
2728         Likewise.
2729         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
2730         Likewise.
2731         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
2732         Likewise.
2733         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
2734         Replace ../i486/pthread_cond_timedwait.S with
2735         ../pthread_cond_timedwait.S.
2737 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
2739         * math/libm-test.inc (acos_test_data): Refine expectations for
2740         errno and "inexact" exceptions.
2741         (acosh_test_data): Likewise.
2742         (asin_test_data): Likewise.
2743         (asinh_test_data): Likewise.
2744         (atan_test_data): Likewise.
2745         (atanh_test_data): Likewise.
2746         (atan2_test_data): Likewise.
2747         (cbrt_test_data): Likewise.
2748         (ceil_test_data): Likewise.
2749         (copysign_test_data): Likewise.
2750         (cosh_test_data): Likewise.
2751         (erf_test_data): Likewise.
2752         (erfc_test_data): Likewise.
2753         (exp_test_data): Likewise.
2754         (exp10_test_data): Likewise.
2755         (exp2_test_data): Likewise.
2756         (expm1_test_data): Likewise.
2757         (fabs_test_data): Likewise.
2758         (floor_test_data): Likewise.
2759         (fma_test_data): Likewise.
2760         (fmax_test_data): Likewise.
2761         (fmin_test_data): Likewise.
2762         (fmod_test_data): Likewise.
2763         (fpclassify_test_data): Likewise.
2764         (frexp_test_data): Likewise.
2765         (hypot_test_data): Likewise.
2766         (ilogb_test_data): Likewise.
2767         (isgreater_test_data): Likewise.
2768         (isgreaterequal_test_data): Likewise.
2769         (isinf_test_data): Likewise.
2770         (isless_test_data): Likewise.
2771         (islessequal_test_data): Likewise.
2772         (islessgreater_test_data): Likewise.
2773         (isnan_test_data): Likewise.
2774         (isnormal_test_data): Likewise.
2775         (issignaling_test_data): Likewise.
2776         (isunordered_test_data): Likewise.
2777         (j0_test_data): Likewise.
2778         (j1_test_data): Likewise.
2779         (jn_test_data): Likewise.
2780         (lgamma_test_data): Likewise.
2781         (lrint_test_data): Likewise.
2782         (llrint_test_data): Likewise.
2783         (log_test_data): Likewise.
2784         (log10_test_data): Likewise.
2785         (log1p_test_data): Likewise.
2786         (log2_test_data): Likewise.
2787         (logb_test_data): Likewise.
2788         (lround_test_data): Likewise.
2789         (llround_test_data): Likewise.
2790         (modf_test_data): Likewise.
2791         (nearbyint_test_data): Likewise.
2792         (nextafter_test_data): Likewise.
2793         (nexttoward_test_data): Likewise.
2794         (pow_test_data): Likewise.
2795         (remainder_test_data): Likewise.
2796         (remquo_test_data): Likewise.
2797         (rint_test_data): Likewise.
2798         (round_test_data): Likewise.
2799         (signbit_test_data): Likewise.
2800         (sinh_test_data): Likewise.
2801         (sqrt_test_data): Likewise.
2802         (tanh_test_data): Likewise.
2803         (tgamma_test_data): Likewise.
2804         (trunc_test_data): Likewise.
2805         (y0_test_data): Likewise.
2806         (y1_test_data): Likewise.
2807         (yn_test_data): Likewise.
2808         (significand_test_data): Likewise.
2810 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
2812         * manual/filesys.texi (Storage Allocation): Document that
2813         posix_fallocate emulation fails when fd is open with O_WRONLY.
2815 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
2817         [BZ #19016]
2818         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
2819         allow more cases with X^2 + Y^2 >= 0.5.
2820         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
2821         normal element in sum instead of special-casing based on values of
2822         arguments.
2823         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
2824         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
2825         -1 as normal element in sum instead of special-casing based on
2826         values of arguments.
2827         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
2828         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
2829         (__x2y2m1): Update comment.
2830         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
2831         as normal element in sum instead of special-casing based on values
2832         of arguments.
2833         * math/s_clog.c (__clog): Handle more cases using log1p without
2834         hypot.
2835         * math/s_clog10.c (__clog10): Likewise.
2836         * math/s_clog10f.c (__clog10f): Likewise.
2837         * math/s_clog10l.c (__clog10l): Likewise.
2838         * math/s_clogf.c (__clogf): Likewise.
2839         * math/s_clogl.c (__clogl): Likewise.
2840         * math/auto-libm-test-in: Add more tests of clog and clog10.
2841         * math/auto-libm-test-out: Regenerated.
2842         * sysdeps/i386/fpu/libm-test-ulps: Update.
2843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2845 2015-09-28  Martin Sebor  <msebor@redhat.com>
2847         [BZ #18969]
2848         * string/Makefile (LOCALES): Define.
2849         (gen-locales.mk): Include.
2850         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
2851         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
2852         * string/tst-strxfrm2.c (do_test): Print the name of the locale
2853         on setlocale failure.
2855 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
2857         [BZ #18985]
2858         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
2859         (__strftime_internal): Likewise.
2860         * time/tst-strftime.c (do_bz18985): New test.
2861         (do_test): Call it.
2863 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
2865         [BZ #18956]
2866         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
2867         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
2868         extracting high part.
2869         * math/auto-libm-test-in: Add another test of pow.
2870         * math/auto-libm-test-out: Regenerated.
2871         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2873 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
2875         [BZ #18825]
2876         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
2877         New macro.
2878         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
2879         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
2880         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
2881         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
2882         DBL_NARROW_EVAL, reloading the PIC register as needed.
2883         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
2884         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
2885         FLT_NARROW_EVAL.  Use separate return path for case when first
2886         argument is NaN.
2887         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
2888         DEFINE_LDBL_MIN.
2889         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
2890         PIC register.
2891         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
2892         math_check_force_underflow_nonneg.
2893         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
2894         underflow for subnormal result.
2895         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
2896         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
2897         math_check_force_underflow_nonneg.
2898         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
2899         math_check_force_underflow.
2900         * sysdeps/x86_64/fpu/x86_64-math-asm.h
2901         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
2902         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
2903         DEFINE_LDBL_MIN.
2904         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
2905         * math/auto-libm-test-in: Add more tests of pow.
2906         * math/auto-libm-test-out: Regenerated.
2908 2015-09-25  Florian Weimer  <fweimer@redhat.com>
2910         * nss/bug17079.c (init_test_items): Add diagnostic for
2911         inconsistent entries.
2912         (test_buffer_size): Skip inconsistent entries.
2914 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
2916         [BZ #13304]
2917         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
2918         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
2919         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
2921         [BZ #13304]
2922         * sysdeps/microblaze/s_fma.c: New file.
2923         * sysdeps/microblaze/s_fmaf.c: Likewise.
2924         * sysdeps/microblaze/sfp-machine.h: Likewise.
2926 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
2928         [BZ #17250]
2929         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
2930         member.
2932 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
2934         [BZ #18803]
2935         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
2936         (MO): New macro.
2937         (__ieee754_hypot) [PIC]: Load PIC register.
2938         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
2939         DBL_NARROW_EVAL.
2940         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
2941         math_check_force_underflow_nonneg in case where result might be
2942         tiny.
2943         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
2944         Likewise.
2945         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
2946         Likewise.
2947         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
2948         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
2949         * math/auto-libm-test-in: Add more tests of hypot.
2950         * math/auto-libm-test-out: Regenerated.
2952 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
2954         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
2956 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
2958         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
2959         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
2960         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
2961         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
2962         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
2963         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
2964         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
2966         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
2967         LOAD_PIC_REG.
2969         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
2970         (FLT_CHECK_FORCE_UFLOW): Likewise.
2971         (DBL_CHECK_FORCE_UFLOW): Likewise.
2972         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
2973         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
2974         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
2975         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
2976         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
2977         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
2978         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
2979         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
2980         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
2981         (dbl_min): Replace with use of DEFINE_DBL_MIN.
2982         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
2983         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
2984         (flt_min): Replace with use of DEFINE_FLT_MIN.
2985         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
2986         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
2987         (dbl_min): Replace with use of DEFINE_DBL_MIN.
2988         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
2989         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
2990         (flt_min): Replace with use of DEFINE_FLT_MIN.
2991         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
2992         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
2993         (dbl_min): Replace with use of DEFINE_DBL_MIN.
2994         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
2995         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
2996         (flt_min): Replace with use of DEFINE_FLT_MIN.
2997         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
2998         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
2999         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
3000         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
3001         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
3002         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
3003         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
3004         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
3005         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3006         (__atan): Use DBL_CHECK_FORCE_UFLOW.
3007         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
3008         (flt_min): Replace with use of DEFINE_FLT_MIN.
3009         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
3010         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
3011         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3012         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
3013         main computation.
3014         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
3015         (flt_min): Replace with use of DEFINE_FLT_MIN.
3016         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
3017         main computation.
3018         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
3019         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3020         (MO): New macro.
3021         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
3022         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
3023         (flt_min): Replace with use of DEFINE_FLT_MIN.
3024         (MO): New macro.
3025         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
3026         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
3027         (__log1pl): Use MO.
3029         [BZ #19003]
3030         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
3031         $(config-cflags-nofma).
3033 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3035         * sysdeps/aarch64/libm-test-ulps: Regenerated.
3037 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
3039         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
3040         (TWO127): Likewise.
3042         * sysdeps/generic/math_private.h (fabs_tg): New macro.
3043         (min_of_type): Likewise.
3044         (math_check_force_underflow): Likewise.
3045         (math_check_force_underflow_nonneg): Likewise.
3046         (math_check_force_underflow_complex): Likewise.
3047         * math/e_exp2l.c (__ieee754_exp2l): Use
3048         math_check_force_underflow_nonneg.
3049         * math/k_casinh.c (__kernel_casinh): Likewise.
3050         * math/k_casinhf.c (__kernel_casinhf): Likewise.
3051         * math/k_casinhl.c (__kernel_casinhl): Likewise.
3052         * math/s_catan.c (__catan): Use
3053         math_check_force_underflow_complex.
3054         * math/s_catanf.c (__catanf): Likewise.
3055         * math/s_catanh.c (__catanh): Likewise.
3056         * math/s_catanhf.c (__catanhf): Likewise.
3057         * math/s_catanhl.c (__catanhl): Likewise.
3058         * math/s_catanl.c (__catanl): Likewise.
3059         * math/s_ccosh.c (__ccosh): Likewise.
3060         * math/s_ccoshf.c (__ccoshf): Likewise.
3061         * math/s_ccoshl.c (__ccoshl): Likewise.
3062         * math/s_cexp.c (__cexp): Likewise.
3063         * math/s_cexpf.c (__cexpf): Likewise.
3064         * math/s_cexpl.c (__cexpl): Likewise.
3065         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
3066         * math/s_clog10.c (__clog10): Likewise.
3067         * math/s_clog10f.c (__clog10f): Likewise.
3068         * math/s_clog10l.c (__clog10l): Likewise.
3069         * math/s_clogf.c (__clogf): Likewise.
3070         * math/s_clogl.c (__clogl): Likewise.
3071         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
3072         * math/s_csinf.c (__csinf): Likewise.
3073         * math/s_csinh.c (__csinh): Likewise.
3074         * math/s_csinhf.c (__csinhf): Likewise.
3075         * math/s_csinhl.c (__csinhl): Likewise.
3076         * math/s_csinl.c (__csinl): Likewise.
3077         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
3078         * math/s_csqrtf.c (__csqrtf): Likewise.
3079         * math/s_csqrtl.c (__csqrtl): Likewise.
3080         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
3081         * math/s_ctanf.c (__ctanf): Likewise.
3082         * math/s_ctanh.c (__ctanh): Likewise.
3083         * math/s_ctanhf.c (__ctanhf): Likewise.
3084         * math/s_ctanhl.c (__ctanhl): Likewise.
3085         * math/s_ctanl.c (__ctanl): Likewise.
3086         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
3087         instead of volatile.
3088         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
3089         math_check_force_underflow.
3090         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
3091         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
3092         volatile when forcing underflow.
3093         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3094         math_check_force_underflow_nonneg.
3095         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
3096         Likewise.
3097         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
3098         math_check_force_underflow.
3099         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
3100         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
3101         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
3102         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
3103         math_check_force_underflow_nonneg.
3104         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
3105         math_check_force_underflow.
3106         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
3107         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
3108         instead of volatile.
3109         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
3110         math_check_force_underflow.
3111         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
3112         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
3113         math_check_force_underflow_nonneg.
3114         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
3115         math_check_force_underflow.
3116         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
3117         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
3118         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
3119         math_check_force_underflow_nonneg.
3120         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
3121         Likewise.
3122         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
3123         math_check_force_underflow.
3124         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
3125         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
3126         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
3127         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
3128         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
3129         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
3130         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
3131         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
3132         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
3133         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
3134         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
3135         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
3136         Likewise.
3137         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
3138         math_check_force_underflow_nonneg.
3139         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
3140         Likewise.
3141         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
3142         math_check_force_underflow.
3143         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3144         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
3145         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
3146         Likewise.
3147         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
3148         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
3149         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
3150         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
3151         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
3152         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
3153         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
3154         instead of volatile.
3155         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
3156         math_check_force_underflow.
3157         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
3158         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
3159         math_check_force_underflow.
3160         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
3161         Likewise.
3162         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
3163         Use math_check_force_underflow_nonneg.
3164         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
3165         math_check_force_underflow.
3166         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
3167         Likewise.
3168         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
3169         Likewise.
3170         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3171         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
3172         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
3173         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
3174         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
3175         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
3176         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
3177         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
3178         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
3179         math_check_force_underflow_nonneg.
3180         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
3181         math_check_force_underflow.
3182         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3183         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
3184         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
3185         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
3186         math_check_force_underflow_nonneg.
3187         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
3188         math_check_force_underflow.
3189         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
3190         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
3191         instead of volatile.
3192         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
3193         math_check_force_underflow.
3195         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
3196         * stdlib/strtod_l.c: Include <math_private.h>.
3197         (overflow_value): Use math_narrow_eval.
3198         (underflow_value): Likewise.
3199         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
3200         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
3201         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
3202         (__ieee754_gamma_r): Likewise.
3203         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
3204         Likewise.
3205         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
3206         Likewise.
3207         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
3208         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
3209         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
3210         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
3211         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
3212         (__ieee754_gammaf_r): Likewise.
3213         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
3214         Likewise.
3215         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
3216         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
3217         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
3218         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
3219         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
3220         volatile.
3221         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
3222         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
3223         math_narrow_eval.
3224         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
3225         Likewise.
3226         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3227         Likewise.
3228         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
3229         Likewise.
3230         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
3231         volatile.
3232         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
3233         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
3234         math_narrow_eval.
3235         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
3236         Likewise.
3237         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
3238         Likewise.
3240 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
3242         * nptl/Versions: Remove ignored symbols.
3244 2015-09-22  Florian Weimer  <fweimer@redhat.com>
3246         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
3247         * nss/Makefile (tests): Update.
3249 2015-09-22  Florian Weimer  <fweimer@redhat.com>
3251         * nss/bug18287.c: New file.
3252         * nss/Makefile (tests): Add bug18287.
3254 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3256         * mach/Versions (__mach_host_self_): Add symbol.
3258 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3260         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
3261         vm_page_size.
3263 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3265         Really fix sysdeps/i386/fpu/s_scalbn.S build
3267         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
3268         (libc: GLIBC_2_22): Remove unused version set.
3270 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
3272         * config.make.in (enable-timezone-tools): New variable.
3273         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
3274         (enable_timezone_tools): Export to generated files.
3275         * configure: Regenerate.
3276         * INSTALL: Regenerate.
3277         * manual/install.texi (--disable-timezone-tools): Document new flag.
3278         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
3279         ifeq ($(enable-timezone-tools),yes) check.
3281 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
3283         * timezone/Makefile: Revert previous change.
3285         [BZ #18980]
3286         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
3287         (DEFINE_DBL_MIN): Likewise.
3288         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
3289         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
3290         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
3291         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
3292         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
3293         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3294         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
3295         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
3296         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
3297         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3298         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
3299         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
3300         (flt_min): Replace with use of DEFINE_FLT_MIN.
3301         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
3302         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
3303         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3304         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
3305         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
3306         (flt_min): Replace with use of DEFINE_FLT_MIN.
3307         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
3308         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
3309         (flt_min): Replace with use of DEFINE_FLT_MIN.
3310         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
3311         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
3312         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
3313         (__ieee754_hypot): Use DBL_NARROW_EVAL.
3314         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
3315         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
3316         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
3317         (__ieee754_pow): Use DBL_NARROW_EVAL.
3318         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
3319         (__ieee754_powf): Use FLT_NARROW_EVAL.
3320         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
3321         (__ieee754_expf_sse2): Convert double-precision result to single
3322         precision.
3323         * sysdeps/i386/fpu/libm-test-ulps: Update.
3325 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3327         * timezone/Makefile: Ignore unused variable errors due to private.h
3328         (time_t_min) and (time_t_max).
3329         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
3330         Likewise.
3332 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
3334         [BZ #18981]
3335         * sysdeps/i386/fpu/i386-math-asm.h: New file.
3336         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
3337         (__ieee754_scalb): Use DBL_NARROW_EVAL.
3338         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
3339         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
3340         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
3341         (__scalbn): Use DBL_NARROW_EVAL.
3342         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
3343         (__scalbnf): Use FLT_NARROW_EVAL.
3345 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3347         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
3348         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
3349         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
3350         * stdio-common/printf_fp.c (___printf_fp):
3351         Use signbit to get the sign. Use isinf macro to allow inlining.
3352         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
3353         * stdio-common/printf_size.c (__printf_size): Likewise.
3355 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
3357         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
3359 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
3361         [BZ #18980]
3362         * sysdeps/generic/math_private.h: Include <float.h>.
3363         (math_narrow_eval): New macro.
3364         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
3365         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
3366         math_narrow_eval on overflowing return value.
3367         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
3368         Likewise.
3369         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
3370         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
3371         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
3372         Likewise.
3373         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
3375 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3377         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
3378         * math/Makefile: Remove isinf_ns.c.
3379         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
3380         * math/multc3.c (__multc3): Likewise.
3381         * math/s_casin.c (__casin): Likewise.
3382         * math/s_casinf.c (__casinf): Likewise.
3383         * math/s_casinl.c (__casinl): Likewise.
3384         * math/s_cproj.c (__cproj): Likewise.
3385         * math/s_cprojf.c (__cprojf): Likewise.
3386         * math/s_cprojl.c (__cprofl): Likewise.
3387         * math/s_ctan.c (__ctan): Likewise.
3388         * math/s_ctanf.c (__ctanf): Likewise.
3389         * math/s_ctanh.c (__ctanh): Likewise.
3390         * math/s_ctanhf.c (__ctanhf): Likewise.
3391         * math/s_ctanhl.c (__ctanhl): Likewise.
3392         * math/s_ctanl.c (__ctanl): Likewise.
3393         * math/w_fmod.c (__fmod): Likewise.
3394         * math/w_fmodf.c (__fmodf): Likewise.
3395         * math/w_fmodl.c (_fmodl): Likewise.
3396         * math/w_remainder.c (__remainder): Likewise.
3397         * math/w_remainderf.c (__remainderf): Likewise.
3398         * math/w_remainderl.c (__remainderl): Likewise.
3399         * math/w_scalb.c (__scalb): Likewise.
3400         * math/w_scalbf.c (__scalbf): Likewise.
3401         * math/w_scalbl.c (__scalbl): Likewise.
3402         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
3403         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
3404         with isinf.
3405         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
3406         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
3407         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
3408         __isinf_nsf with isinf.
3409         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
3410         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
3411         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
3412         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
3413         with isinf.
3414         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
3415         __isinf_nsl with isinf.
3416         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
3417         with isinf.
3418         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
3419         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
3420         __isinf_nsl with isinf.
3421         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
3422         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
3423         with isinf.
3425 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3427         * resolv/base64.c (rcsid): Remove unused static.
3428         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
3429         static.  (tqpi1): Likewise.
3430         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
3431         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
3432         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
3433         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
3434         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
3435         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
3436         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
3437         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
3438         Likewise.
3440 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
3442         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
3443         <nptl/pthreadP.h>.
3444         (_longjmp_unwind): Use __libc_ptf_call.
3445         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
3447 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
3449         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
3450         * sysdeps/arm/__longjmp.S: Likewise
3452 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3454         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
3455         Use __builtin_signbit.
3456         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
3457         Use __builtin_signbitf.
3458         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
3459         Use __builtin_signbitl.
3460         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
3461         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
3463 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3465         [BZ #15367]
3466         [BZ #17441]
3468         * math/Makefile: Build test-snan.c with -fsignaling-nans.
3469         * math/math.h (fpclassify): Use __builtin_fpclassify when
3470         available.  (signbit): Use __builtin_signbit(f/l).
3471         (isfinite): Use__builtin_isfinite.  (isnormal): Use
3472         __builtin_isnormal.  (isnan): Use __builtin_isnan.
3473         (isinf): Use __builtin_isinf_sign.
3475 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3477         * benchtests/Makefile: Add bench-math-inlines, link with libm.
3478         * benchtests/bench-math-inlines.c: New benchmark.
3479         * benchtests/bench-util.h: New file.
3480         * benchtests/bench-util.c: New file.
3481         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
3483 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
3485         * elf/tst-dlmopen1.c: Define TEST_SO.
3486         (do_test): Use TEST_SO.
3488         * elf/dl-load.c: Include libc-internal.h.
3489         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
3491 2015-09-18  Vincent Bernat  <vincent@bernat.im>
3493         [BZ #17887]
3494         * time/strptime_l.c (__strptime_internal): Make %z accept
3495         [+-]HH:MM time zones.
3497 2015-09-18  Vincent Bernat  <vincent@bernat.im>
3499         [BZ #17886]
3500         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
3501         valid time zone.
3503 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
3505         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
3506         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
3507         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3508         (__ASSUME_FDATASYNC): Delete.
3510 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
3512         * conform/linknamespace.pl: Require weak undefined symbols to be
3513         in the standard namespace.
3514         (%strong_syms): Rename to %seen_syms.
3515         (%strong_seen): Rename to %seen_where.
3517 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
3519         [BZ #18970]
3520         * misc/error.c (error): Replace pthread_setcancelstate with
3521         __pthread_setcancelstate.
3522         (error_at_line): Likewise.
3523         * posix/wordexp.c (parse_comm): Likewise.
3524         * stdlib/fmtmsg.c (fmtmsg): Likewise.
3525         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
3526         (__pthread_setcancelstate): This.
3527         (pthread_setcancelstate): Add an alias.
3528         * nptl/nptl-init.c (pthread_functions): Replace
3529         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
3530         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
3531         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
3532         hidden_proto.
3533         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
3534         it with hidden_def.
3535         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
3536         (pthread_setcancelstate): Renamed to ...
3537         (__pthread_setcancelstate): This.
3538         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
3539         __libc_ptf_call with __pthread_setcancelstate.
3541 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
3542             Andreas Schwab  <schwab@suse.de>
3544         [BZ #17118]
3545         * math/s_ctan.c (__ctan): Determine sign of zero real part of
3546         result when imaginary part of argument is infinite using sine and
3547         cosine.
3548         * math/s_ctanf.c (__ctanf): Likewise.
3549         * math/s_ctanl.c (__ctanl): Likewise.
3550         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
3551         of result when real part of argument is infinite using sine and
3552         cosine.
3553         * math/s_ctanhf.c (__ctanhf): Likewise.
3554         * math/s_ctanhl.c (__ctanhl): Likewise.
3555         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
3556         (ctanh_test_data): Add more tests of ctanh.
3558 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
3560         [BZ #15384]
3561         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
3562         bit-mask as in subtraction.
3563         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
3564         Likewise.
3565         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
3566         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
3567         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
3569         [BZ #18951]
3570         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
3571         underflow exception for small results.
3572         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
3573         Likewise.
3574         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
3575         Likewise.
3576         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
3577         Likewise.
3578         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
3579         Likewise.
3580         * math/auto-libm-test-in: Add more tests of tgamma.
3581         * math/auto-libm-test-out: Regenerated.
3583 2015-09-17  Andreas Schwab  <schwab@suse.de>
3585         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
3587 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
3589         [BZ #18977]
3590         * math/bits/mathcalls.h
3591         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
3592         not declare.
3593         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
3594         Likewise.
3595         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
3596         Likewise.
3597         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
3598         Likewise.
3599         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
3600         Likewise.
3601         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
3602         Likewise.
3603         * conform/data/math.h-data
3604         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
3605         function.
3606         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
3607         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
3608         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
3609         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
3610         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
3611         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
3612         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
3613         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
3614         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
3615         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
3616         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
3618         [BZ #6803]
3619         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
3620         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
3621         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
3622         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
3623         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
3624         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
3625         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
3626         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
3627         [NO_LONG_DOUBLE] (scalbnl): Likewise.
3628         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
3629         Likewise.
3630         [NO_LONG_DOUBLE] (scalbnl): Likewise.
3631         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
3632         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
3633         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
3634         long_double_symbol calls.
3635         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
3636         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
3637         strong alias of __ldexpl.
3638         (scalbnl): Define using long_double_symbol.
3639         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
3640         Remove alias.
3641         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
3642         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
3643         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
3644         (scalbln_test_data): Add more errno expectations.
3646 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
3648         Cache the host port like we cache the task port.  This way we do not
3649         need to call the kernel just to get the port.  Furthermore, we no
3650         longer increase the reference count on every invocation of
3651         `mach_host_self'.
3653         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
3654         Protect declarations against the macro expansion.
3655         * mach/mach_init.c (__mach_host_self_): New variable.
3656         (mach_init): Initialize `__mach_host_self_'.
3657         * mach/mach_init.h (__mach_host_self_): New declaration.
3658         (__mach_host_self, mach_host_self): New macros.
3659         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
3660         Release reference.
3662 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
3664         [BZ #4404]
3665         * po/de.po: Update from Translation Project.
3667         [BZ #16415]
3668         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
3669         (__expm1l): Remove code to handle positive infinity and overflow.
3670         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
3671         variable.
3672         (__expm1l): Remove code to handle positive infinity and overflow.
3674 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
3675             Paul Pluzhnikov  <ppluzhnikov@google.com>
3677         [BZ #18872]
3678         * stdio-common/Makefile (tst-printf-bz18872): New test.
3679         (tst-printf-bz18872-mem.out): Likewise.
3680         * stdio-common/tst-printf-bz18872.sh: Generate new test.
3681         * stdio-common/vfprintf.c: Fix memory leaks.
3683 2015-09-16  Andreas Schwab  <schwab@suse.de>
3685         [BZ #17244]
3686         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
3687         Remove extra va_start/va_end calls.
3689         [BZ #17243]
3690         * posix/execl.c (execl): Add missing va_end.
3691         * posix/execle.c (execle): Likewise.
3692         * posix/execlp.c (execlp): Likewise.
3694 2015-09-15  Roland McGrath  <roland@hack.frob.com>
3696         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
3697         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
3699 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
3701         [BZ #18967]
3702         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
3703         undefine around includes of <bits/mathcalls.h>.
3704         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
3705         not declare function.
3706         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
3707         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
3708         (scalb): Likewise.
3709         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
3710         not define macro.
3711         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
3712         variable.
3713         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
3714         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
3715         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
3717         [BZ #18857]
3718         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
3719         return non-finite argument without doing ordered comparisons on
3720         it.
3722         [BZ #16296]
3723         * math/fenv.h (fegetround): Use __attribute_pure__.
3724         * include/fenv.h (__fegetround): Likewise.
3726         [BZ #18595]
3727         * math/s_ctan.c (__ctan): Force underflow exception for results
3728         whose real or imaginary part has small absolute value.
3729         * math/s_ctanf.c (__ctanf): Likewise.
3730         * math/s_ctanh.c (__ctanh): Likewise.
3731         * math/s_ctanhf.c (__ctanhf): Likewise.
3732         * math/s_ctanhl.c (__ctanhl): Likewise.
3733         * math/s_ctanl.c (__ctanl): Likewise.
3734         * math/auto-libm-test-in: Do not allow missing underflow for ctan
3735         and ctanh.  Add more tests of ctan and ctanh.
3737         [BZ #15918]
3738         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
3739         handling of cases where one argument is an infinity.
3741         [BZ #18875]
3742         [BZ #18966]
3743         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
3744         (MO): New macro.
3745         (__ieee754_exp10): For small results, force underflow exception
3746         and remove excess range and precision from return value.
3747         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
3748         (MO): New macro.
3749         (__ieee754_exp10f): For small results, force underflow exception
3750         and remove excess range and precision from return value.
3751         * math/auto-libm-test-in: Add more tests of exp10.
3752         * math/auto-libm-test-out: Regenerated.
3754 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
3756         [BZ #18875]
3757         [BZ #18961]
3758         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
3759         (MO): New macro.
3760         (__ieee754_exp): For small results, force underflow exception and
3761         remove excess range and precision from return value.
3762         (__exp_finite): Likewise.
3763         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
3764         (MO): New macro.
3765         (__ieee754_expf): For small results, force underflow exception and
3766         remove excess range and precision from return value.
3767         (__expf_finite): Likewise.
3768         * math/auto-libm-test-in: Add more tests of exp.
3769         * math/auto-libm-test-out: Regenerated.
3771         [BZ #16521]
3772         [BZ #18875]
3773         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
3774         small results.
3775         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
3776         (MO): New macro.
3777         (__ieee754_exp2): For small results, force underflow exception and
3778         remove excess range and precision from return value.
3779         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
3780         (MO): New macro.
3781         (__ieee754_exp2f): For small results, force underflow exception
3782         and remove excess range and precision from return value.
3783         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
3784         (MO): New macro.
3785         (__ieee754_exp2l): Force underflow exception for small results.
3786         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
3787         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
3788         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
3789         (MO): New macro.
3790         (__ieee754_exp2l): Force underflow exception for small results.
3791         * math/auto-libm-test-in: Add more tests or exp2.
3792         * math/auto-libm-test-out: Regenerated.
3794 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
3796         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
3798         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
3799         /dev/null.
3801 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3803         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
3804         io fs process)): Drop spurious backslash.
3806 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3808         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
3809         Use sysinfo system call instead of parsing /proc/meminfo.
3810         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
3811         Likewise.
3813 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
3815         [BZ #16985]
3816         * programs/localedef.c (main): Display argv[remaining] when
3817         output_path is NULL.
3819 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
3821         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
3822         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
3823         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
3824         tanh.
3825         * math/auto-libm-test-out: Regenerated.
3826         * sysdeps/i386/fpu/libm-test-ulps: Update.
3827         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3828         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3831 2015-09-11  Roland McGrath  <roland@hack.frob.com>
3833         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
3834         Use 'override' keyword to freeze the value here, preventing
3835         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
3837 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
3839         [BZ #14912]
3840         * sysdeps/aarch64/bits/atomic.h: Move to ...
3841         * sysdeps/aarch64/atomic-machine.h: ...here.
3842         (_AARCH64_BITS_ATOMIC_H): Rename macro to
3843         _AARCH64_ATOMIC_MACHINE_H.
3844         * sysdeps/alpha/bits/atomic.h: Move to ...
3845         * sysdeps/alpha/atomic-machine.h: ...here.
3846         * sysdeps/arm/bits/atomic.h: Move to ...
3847         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
3848         * bits/atomic.h: Move to ...
3849         * sysdeps/generic/atomic-machine.h: ...here.
3850         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
3851         * sysdeps/i386/bits/atomic.h: Move to ...
3852         * sysdeps/i386/atomic-machine.h: ...here.
3853         * sysdeps/ia64/bits/atomic.h: Move to ...
3854         * sysdeps/ia64/atomic-machine.h: ...here.
3855         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
3856         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
3857         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
3858         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
3859         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
3860         * sysdeps/microblaze/bits/atomic.h: Move to ...
3861         * sysdeps/microblaze/atomic-machine.h: ...here.
3862         * sysdeps/mips/bits/atomic.h: Move to ...
3863         * sysdeps/mips/atomic-machine.h: ...here.
3864         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
3865         * sysdeps/powerpc/bits/atomic.h: Move to ...
3866         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
3867         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
3868         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
3869         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
3870         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
3871         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
3872         <atomic-machine.h> instead of <bits/atomic.h>.
3873         * sysdeps/s390/bits/atomic.h: Move to ...
3874         * sysdeps/s390/atomic-machine.h: ...here.
3875         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
3876         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
3877         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
3878         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
3879         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
3880         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
3881         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
3882         * sysdeps/tile/bits/atomic.h: Move to ...
3883         * sysdeps/tile/atomic-machine.h: ...here.
3884         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
3885         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
3886         <sysdeps/tile/atomic-machine.h> instead of
3887         <sysdeps/tile/bits/atomic.h>.
3888         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
3889         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
3890         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
3891         <sysdeps/tile/atomic-machine.h> instead of
3892         <sysdeps/tile/bits/atomic.h>.
3893         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
3894         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
3895         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
3896         <sysdeps/arm/atomic-machine.h> instead of
3897         <sysdeps/arm/bits/atomic.h>.
3898         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
3899         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
3900         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
3901         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
3902         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
3903         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
3904         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
3905         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
3906         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
3907         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
3908         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
3909         * sysdeps/x86_64/bits/atomic.h: Move to ...
3910         * sysdeps/x86_64/atomic-machine.h: ...here.
3911         * include/atomic.h: Include <atomic-machine.h> instead of
3912         <bits/atomic.h>.
3914         * sysdeps/mips/mips32/libm-test-ulps: Update.
3915         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3917         [BZ #18952]
3918         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
3919         not convert non-integer negative arguments to int to determine the
3920         value of signgam.
3921         * math/auto-libm-test-in: Add more tests of lgamma.
3922         * math/auto-libm-test-out: Regenerated.
3924         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
3925         cosh, csqrt, erfc, expm1 and lgamma.
3926         * math/auto-libm-test-out: Regenerated.
3927         * sysdeps/i386/fpu/libm-test-ulps: Update.
3928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3930 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
3932         [BZ #2542]
3933         [BZ #2543]
3934         [BZ #2558]
3935         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
3936         __lgamma_neg for arguments from -28.0 to -2.0.
3937         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
3938         __lgamma_negf for arguments from -15.0 to -2.0.
3939         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
3940         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
3941         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
3942         Call __lgamma_negl for arguments from -33.0 to -2.0.
3943         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
3944         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
3945         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
3946         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
3947         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
3948         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
3949         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
3950         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
3951         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
3952         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
3953         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
3954         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
3955         (__lgamma_neg): Likewise.
3956         (__lgamma_negl): Likewise.
3957         (__lgamma_product): Likewise.
3958         (__lgamma_productl): Likewise.
3959         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
3960         * math/auto-libm-test-in: Add more tests of lgamma.
3961         * math/auto-libm-test-out: Regenerated.
3962         * sysdeps/i386/fpu/libm-test-ulps: Update.
3963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3965 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
3967         [BZ #18675]
3968         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
3970 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
3972         [BZ #14912]
3973         * bits/libc-lock.h: Move to ...
3974         * sysdeps/generic/libc-lock.h: ...here.
3975         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
3976         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
3977         * sysdeps/mach/hurd/libc-lock.h: ...here.
3978         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
3979         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
3980         * sysdeps/mach/bits/libc-lock.h: Move to ...
3981         * sysdeps/mach/libc-lock.h: ...here.
3982         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
3983         * sysdeps/nptl/bits/libc-lock.h: Move to ...
3984         * sysdeps/nptl/libc-lock.h: ...here.
3985         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
3986         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
3987         * sysdeps/nptl/libc-lockP.h: ...here.
3988         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
3989         * crypt/crypt_util.c: Include <libc-lock.h> instead of
3990         <bits/libc-lock.h>.
3991         * dirent/scandir-tail.c: Likewise.
3992         * dlfcn/dlerror.c: Likewise.
3993         * elf/dl-close.c: Likewise.
3994         * elf/dl-iteratephdr.c: Likewise.
3995         * elf/dl-lookup.c: Likewise.
3996         * elf/dl-open.c: Likewise.
3997         * elf/dl-support.c: Likewise.
3998         * elf/dl-writev.h: Likewise.
3999         * elf/rtld.c: Likewise.
4000         * grp/fgetgrent.c: Likewise.
4001         * gshadow/fgetsgent.c: Likewise.
4002         * gshadow/sgetsgent.c: Likewise.
4003         * iconv/gconv_conf.c: Likewise.
4004         * iconv/gconv_db.c: Likewise.
4005         * iconv/gconv_dl.c: Likewise.
4006         * iconv/gconv_int.h: Likewise.
4007         * iconv/gconv_trans.c: Likewise.
4008         * include/link.h: Likewise.
4009         * inet/getnameinfo.c: Likewise.
4010         * inet/getnetgrent.c: Likewise.
4011         * inet/getnetgrent_r.c: Likewise.
4012         * intl/bindtextdom.c: Likewise.
4013         * intl/dcigettext.c: Likewise.
4014         * intl/finddomain.c: Likewise.
4015         * intl/gettextP.h: Likewise.
4016         * intl/loadmsgcat.c: Likewise.
4017         * intl/localealias.c: Likewise.
4018         * intl/textdomain.c: Likewise.
4019         * libidn/idn-stub.c: Likewise.
4020         * libio/libioP.h: Likewise.
4021         * locale/duplocale.c: Likewise.
4022         * locale/freelocale.c: Likewise.
4023         * locale/newlocale.c: Likewise.
4024         * locale/setlocale.c: Likewise.
4025         * login/getutent_r.c: Likewise.
4026         * login/getutid_r.c: Likewise.
4027         * login/getutline_r.c: Likewise.
4028         * login/utmp-private.h: Likewise.
4029         * login/utmpname.c: Likewise.
4030         * malloc/mtrace.c: Likewise.
4031         * misc/efgcvt.c: Likewise.
4032         * misc/error.c: Likewise.
4033         * misc/fstab.c: Likewise.
4034         * misc/getpass.c: Likewise.
4035         * misc/mntent.c: Likewise.
4036         * misc/syslog.c: Likewise.
4037         * nis/nis_call.c: Likewise.
4038         * nis/nis_callback.c: Likewise.
4039         * nis/nss-default.c: Likewise.
4040         * nis/nss_compat/compat-grp.c: Likewise.
4041         * nis/nss_compat/compat-initgroups.c: Likewise.
4042         * nis/nss_compat/compat-pwd.c: Likewise.
4043         * nis/nss_compat/compat-spwd.c: Likewise.
4044         * nis/nss_nis/nis-alias.c: Likewise.
4045         * nis/nss_nis/nis-ethers.c: Likewise.
4046         * nis/nss_nis/nis-grp.c: Likewise.
4047         * nis/nss_nis/nis-hosts.c: Likewise.
4048         * nis/nss_nis/nis-network.c: Likewise.
4049         * nis/nss_nis/nis-proto.c: Likewise.
4050         * nis/nss_nis/nis-pwd.c: Likewise.
4051         * nis/nss_nis/nis-rpc.c: Likewise.
4052         * nis/nss_nis/nis-service.c: Likewise.
4053         * nis/nss_nis/nis-spwd.c: Likewise.
4054         * nis/nss_nisplus/nisplus-alias.c: Likewise.
4055         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
4056         * nis/nss_nisplus/nisplus-grp.c: Likewise.
4057         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
4058         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
4059         * nis/nss_nisplus/nisplus-network.c: Likewise.
4060         * nis/nss_nisplus/nisplus-proto.c: Likewise.
4061         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
4062         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
4063         * nis/nss_nisplus/nisplus-service.c: Likewise.
4064         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
4065         * nis/ypclnt.c: Likewise.
4066         * nptl/libc_pthread_init.c: Likewise.
4067         * nss/getXXbyYY.c: Likewise.
4068         * nss/getXXent.c: Likewise.
4069         * nss/getXXent_r.c: Likewise.
4070         * nss/nss_db/db-XXX.c: Likewise.
4071         * nss/nss_db/db-netgrp.c: Likewise.
4072         * nss/nss_db/nss_db.h: Likewise.
4073         * nss/nss_files/files-XXX.c: Likewise.
4074         * nss/nss_files/files-alias.c: Likewise.
4075         * nss/nsswitch.c: Likewise.
4076         * posix/regex_internal.h: Likewise.
4077         * posix/wordexp.c: Likewise.
4078         * pwd/fgetpwent.c: Likewise.
4079         * resolv/res_hconf.c: Likewise.
4080         * resolv/res_libc.c: Likewise.
4081         * shadow/fgetspent.c: Likewise.
4082         * shadow/lckpwdf.c: Likewise.
4083         * shadow/sgetspent.c: Likewise.
4084         * socket/opensock.c: Likewise.
4085         * stdio-common/reg-modifier.c: Likewise.
4086         * stdio-common/reg-printf.c: Likewise.
4087         * stdio-common/reg-type.c: Likewise.
4088         * stdio-common/vfprintf.c: Likewise.
4089         * stdio-common/vfscanf.c: Likewise.
4090         * stdlib/abort.c: Likewise.
4091         * stdlib/cxa_atexit.c: Likewise.
4092         * stdlib/fmtmsg.c: Likewise.
4093         * stdlib/random.c: Likewise.
4094         * stdlib/setenv.c: Likewise.
4095         * string/strsignal.c: Likewise.
4096         * sunrpc/auth_none.c: Likewise.
4097         * sunrpc/bindrsvprt.c: Likewise.
4098         * sunrpc/create_xid.c: Likewise.
4099         * sunrpc/key_call.c: Likewise.
4100         * sunrpc/rpc_thread.c: Likewise.
4101         * sysdeps/arm/backtrace.c: Likewise.
4102         * sysdeps/generic/ldsodefs.h: Likewise.
4103         * sysdeps/generic/stdio-lock.h: Likewise.
4104         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
4105         * sysdeps/i386/backtrace.c: Likewise.
4106         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
4107         * sysdeps/m68k/backtrace.c: Likewise.
4108         * sysdeps/mach/hurd/cthreads.c: Likewise.
4109         * sysdeps/mach/hurd/dirstream.h: Likewise.
4110         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
4111         * sysdeps/nptl/malloc-machine.h: Likewise.
4112         * sysdeps/nptl/stdio-lock.h: Likewise.
4113         * sysdeps/posix/dirstream.h: Likewise.
4114         * sysdeps/posix/getaddrinfo.c: Likewise.
4115         * sysdeps/posix/system.c: Likewise.
4116         * sysdeps/pthread/aio_suspend.c: Likewise.
4117         * sysdeps/s390/s390-32/backtrace.c: Likewise.
4118         * sysdeps/s390/s390-64/backtrace.c: Likewise.
4119         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4120         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
4121         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
4122         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
4123         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
4124         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
4125         * sysdeps/unix/sysv/linux/system.c: Likewise.
4126         * sysdeps/x86_64/backtrace.c: Likewise.
4127         * time/alt_digit.c: Likewise.
4128         * time/era.c: Likewise.
4129         * time/tzset.c: Likewise.
4130         * wcsmbs/wcsmbsload.c: Likewise.
4131         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
4132         instead of <bits/libc-lock.h> in comment.
4134 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
4136         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
4137         Only use .set mips2 if the current ISA is below mips2.
4138         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
4139         Likewise.
4140         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
4141         mips32r2 if the current ISA is below mips32r2.
4142         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
4143         (TLS_IE): Updated to use the TLD_RDHWR macro.
4144         (TLS_LE): Likewise.
4145         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
4146         __ASSEMBLER__ condition.
4148 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4150         Fix parallel build of before-compile targets.
4152         * sysdeps/mach/Makefile ($(patsubst
4153         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
4154         mach-before-compile target.
4155         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
4156         io fs process)): Move rule to dedicated hurd-before-compile target.
4158 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4160         Fix rules generating headers in hurd/ and mach/ when initial make call
4161         has subdir= explicitly set.
4163         * sysdeps/mach/Makefile ($(patsubst
4164         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
4165         calling $(MAKE).
4166         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
4167         io fs process)): Force subdir to hurd when calling $(MAKE).
4168         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
4169         subdir to mach when calling $(MAKE).
4171 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
4173         Check sysheaders when looking for Mach and Hurd headers
4175         * sysdeps/mach/configure.ac: Add sysheaders check.
4176         * sysdeps/mach/configure: Regenerate.
4177         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
4178         * sysdeps/mach/hurd/configure: Regenerate.
4180 2015-09-04  Roland McGrath  <roland@hack.frob.com>
4182         [BZ #18921]
4183         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
4184         Fix inverted sense of test of 'o_directory_works' value.
4185         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
4186         Bernhard Voelker <mail@bernhard-voelker.de>.
4188 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
4190         [BZ #14912]
4191         * bits/linkmap.h: Move to ...
4192         * sysdeps/generic/linkmap.h: ...here.
4193         * sysdeps/aarch64/bits/linkmap.h: Move to ...
4194         * sysdeps/aarch64/linkmap.h: ...here.
4195         * sysdeps/arm/bits/linkmap.h: Move to ...
4196         * sysdeps/arm/linkmap.h: ...here.
4197         * sysdeps/hppa/bits/linkmap.h: Move to ...
4198         * sysdeps/hppa/linkmap.h: ...here.
4199         * sysdeps/ia64/bits/linkmap.h: Move to ...
4200         * sysdeps/ia64/linkmap.h: ...here.
4201         * sysdeps/mips/bits/linkmap.h: Move to ...
4202         * sysdeps/mips/linkmap.h: ...here.
4203         * sysdeps/s390/bits/linkmap.h: Move to ...
4204         * sysdeps/s390/linkmap.h: ...here.
4205         * sysdeps/sh/bits/linkmap.h: Move to ...
4206         * sysdeps/sh/linkmap.h: ...here.
4207         * sysdeps/x86/bits/linkmap.h: Move to ...
4208         * sysdeps/x86/linkmap.h: ...here.
4209         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
4211 2015-09-04  Andreas Schwab  <schwab@suse.de>
4213         [BZ #18635]
4214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
4215         (__makecontext): Terminate FDE before return label.
4216         (__novec_makecontext): Likewise.
4218 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4220         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
4221         first member of struct sv in syscall macro.
4223 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
4225         [BZ #14912]
4226         * bits/stdio-lock.h: Move to ...
4227         * sysdeps/generic/stdio-lock.h: ...here.
4228         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
4229         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
4230         * sysdeps/nptl/stdio-lock.h: ...here.
4231         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
4232         * include/libio.h: Include <stdio-lock.h> instead of
4233         <bits/stdio-lock.h>.
4234         * sysdeps/nptl/fork.c: Likewise.
4235         * sysdeps/pthread/flockfile.c: Likewise.
4236         * sysdeps/pthread/ftrylockfile.c: Likewise.
4237         * sysdeps/pthread/funlockfile.c: Likewise.
4239         [BZ #14912]
4240         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
4241         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
4242         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
4243         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
4244         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
4245         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
4246         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
4248 2015-09-03  Roland McGrath  <roland@hack.frob.com>
4250         * elf/Makefile (test-xfail-tst-protected1a): New variable.
4251         (test-xfail-tst-protected1b): New variable.
4253 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
4255         [BZ #14912]
4256         * bits/libc-tsd.h: Move to ...
4257         * sysdeps/generic/libc-tsd.h: ...here.
4258         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
4259         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
4260         * sysdeps/mach/hurd/libc-tsd.h: ...here.
4261         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
4262         * include/ctype.h: Include <libc-tsd.h> instead of
4263         <bits/libc-tsd.h>.
4264         * include/rpc/rpc.h: Likewise.
4265         * locale/localeinfo.h: Likewise.
4266         * sunrpc/rpc_thread.c: Likewise.
4267         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
4268         * sysdeps/nptl/malloc-machine.h: Likewise.
4270         * Makefile (headers): Remove bits/libc-lock.h.
4271         * libio/Makefile (headers): Remove bits/stdio-lock.h.
4273         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
4274         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
4275         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
4276         <bits/stdio-lock.h>.
4277         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
4278         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
4280 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
4282         [BZ #18757]
4283         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
4284         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
4285         BZ #18757.
4287 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
4289         * malloc/mtrace.pl: Filter out NULL entries.
4291 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
4293         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
4294         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
4295         macro.
4297         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
4298         (TCP_CC_INFO): Likewise.
4299         (TCP_SAVE_SYN): Likewise.
4300         (TCP_SAVED_SYN): Likewise.
4302 2015-08-31  Brett Neumeier <brett@neumeier.us>
4304         [BZ #18870]
4305         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
4307 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
4309         [BZ #18873]
4310         Fix broken overflow check in posix_fallocate
4311         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
4312         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
4313         Fix parenthesization typo.
4315 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
4317         [BZ #18887]
4318         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
4319         tst-mntent-blank-passno.
4320         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
4321         * misc/tst-mntent-blank-corrupt.c: New test.
4322         * misc/tst-mntent-blank-passno.c: New test ripped from ...
4323         * misc/tst-mntent.c (do_test): ... here.
4325 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
4327         [BZ #4404]
4328         * po/de.po: Fix SIGALRM typo.
4330 2015-08-28  James Perkins  <james@loowit.net>
4332         * time/tst-strptime2.c (tests): Replace short list of test
4333         strings for strptime %z specifier with code which exhaustively
4334         tests every combination of sign and 0 to 5 digits. Tests for
4335         rejection of invalid strings.
4337 2015-08-28  James Perkins  <james@loowit.net>
4339         [BZ #16141]
4340         * time/strptime_l.c (__strptime_internal): Fix %z minutes
4341         calculation, removing incorrect decimal time rounding, so that
4342         all minute values result in a valid seconds value.
4343         * time/strptime_l.c (__strptime_internal): Extend %z time zone
4344         offset range limits to UTC-99:59 through UTC+99:59 to parse
4345         current and historical use cases.
4346         * time/tst-strptime2.c (tests): Modify and add tests for the
4347         strptime %z input field descriptor, specifically conversion of
4348         minutes to seconds and validating an offset range of -9959 to
4349         +9959.
4351 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4352             Dmitry V. Levin  <ldv@altlinux.org>
4354         [BZ #18877]
4355         * posix/Makefile (tests): Add tst-mmap-offset.
4356         * posix/tst-mmap.c: New file.
4357         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
4358         offset calculation for negative values.
4360 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4362         * sysdeps/i386/init-arch.h: New file.
4363         * sysdeps/i386/i586/init-arch.h: Likewise.
4364         * sysdeps/i386/i686/init-arch.h: Likewise.
4365         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
4366         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
4367         * sysdeps/x86/cpu-features.h (bit_I586): New.
4368         (bit_I686): Likewise.
4369         (bit_CX8): Likewise.
4370         (bit_CMOV): Likewise.
4371         (index_CX8): Likewise.
4372         (index_CMOV): Likewise.
4373         (index_I586): Likewise.
4374         (index_I686): Likewise.
4375         (reg_CX8): Likewise.
4376         (reg_CMOV): Likewise.
4377         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
4378         available at compile-time.
4379         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
4380         available at compile-time.
4381         * sysdeps/x86/init-arch.h (USE_I586): New macro.
4382         (USE_I686): Likewise.
4384 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4386         * sysdeps/i386/bcopy.S: New file.
4387         * sysdeps/i386/bzero.S: Likewise.
4388         * sysdeps/i386/memcpy.S: Likewise.
4389         * sysdeps/i386/memmove.S: Likewise.
4390         * sysdeps/i386/mempcpy.S: Likewise.
4391         * sysdeps/i386/memset.S: Likewise.
4392         * sysdeps/i386/bzero.c: Removed.
4393         * sysdeps/i386/memset.c: Likewise.
4394         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
4395         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
4396         * sysdeps/i386/i586/memset_chk.S: Likewise.
4397         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
4398         * sysdeps/i386/memcpy_chk.S: Here.
4399         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
4400         * sysdeps/i386/memmove_chk.S: Here.
4401         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
4402         * sysdeps/i386/mempcpy_chk.S: Likewise.
4403         * sysdeps/i386/i686/memset_chk.S: Moved to ...
4404         * sysdeps/i386/memset_chk.S: Likewise.
4406 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
4408         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
4409         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
4410         file, move DIAG_POP_NEEDS_COMMENT to end of file.
4411         * soft-fp/fmadf4.c: Ditto.
4412         * soft-fp/fmatf4.c: Ditto.
4414 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4416         * sysdeps/i386/i586/Implies: Removed.
4417         * sysdeps/i386/i686/Implies: Likewise.
4419 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4421         * sysdeps/i386/i486/strlen.S: Moved to ...
4422         * sysdeps/i386/strlen.S: Here.
4424 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4426         * sysdeps/i386/i486/strcat.S: Moved to ...
4427         * sysdeps/i386/strcat.S: Here.
4429 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4431         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
4432         * sysdeps/i386/pthread_spin_trylock.S: Here.
4433         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
4434         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
4436 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4438         * sysdeps/i386/i486/string-inlines.c: Moved to ...
4439         * sysdeps/i386/string-inlines.c: Here.
4441 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4443         * sysdeps/i386/i486/htonl.S: Moved ...
4444         * sysdeps/i386/htonl.S: here.
4446 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4448         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
4449         * sysdeps/i386/bits/atomic.h: Here.
4451 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4453         * sysdeps/i386/i486/Versions: Removed.
4455 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
4457         [BZ #2898]
4458         * misc/mktemp.c: Add mkdtemp to the link_warning message.
4459         Based on patch by Aurelien Jarno.
4461 2015-08-26  Stan Shebs  <stanshebs@google.com>
4463         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
4464         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
4466 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4468         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
4469         * sysdeps/powerpc/dl-procinfo.c:
4470         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
4471         feature so it shows when LD_SHOW_AUXV=1.
4473 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4475         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
4476         (__arch_compare_and_exchange_val_32_acq): Remove and use common
4477         definition.  ISA 2.07B no longer requires full sync.
4479 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
4481         [BZ #18863]
4482         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
4483         (si_call_addr): Define.
4484         (si_syscall): Define.
4485         (si_arch): Define.
4487 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
4489         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
4490         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
4491         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
4492         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
4493         (__memset_zero_constant_len_parameter): New.
4494         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
4495         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
4496         (__memset_zero_constant_len_parameter): Don't define if
4497         __memset_chk or USE_AS_BZERO are defined.
4499         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
4500         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
4501         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
4503         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
4504         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
4505         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
4506         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
4507         comments.
4508         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
4509         -mno-mmx for $(all-rtld-routines).
4510         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
4511         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
4512         i386.
4514 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
4516         * sysdeps/generic/unwind.h
4517         (_Unwind_Word): Use __mode__(__unwind_word__)
4518         instead of __mode__(__word__).
4519         (_Unwind_Sword): Likewise.
4521         * sysdeps/s390/s390-64/utf8-utf16-z9.c
4522         (MAX_NEEDED_INPUT): New define.
4523         (MAX_NEEDED_OUTPUT): New define.
4525         * NEWS: New item for IBM z13 string optimizations.
4527         * sysdeps/s390/multiarch/memrchr-c.c: New File.
4528         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
4529         * sysdeps/s390/multiarch/memrchr.c: Likewise.
4530         * sysdeps/s390/multiarch/Makefile
4531         (sysdep_routines): Add memrchr functions.
4532         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
4533         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
4535         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
4536         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
4537         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
4538         * sysdeps/s390/multiarch/Makefile
4539         (sysdep_routines): Add wmemcmp functions.
4540         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
4541         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
4542         * benchtests/bench-wmemcmp.c: New File.
4543         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
4545         * sysdeps/s390/multiarch/wmemset-c.c: New File.
4546         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
4547         * sysdeps/s390/multiarch/wmemset.c: Likewise.
4548         * sysdeps/s390/multiarch/Makefile
4549         (sysdep_routines): Add wmemset functions.
4550         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
4551         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
4552         * wcsmbs/wmemset.c: Use WMEMSET if defined.
4553         * string/test-memset.c: Add wmemset support.
4554         * wcsmbs/test-wmemset.c: New File.
4555         * wcsmbs/Makefile (strop-tests): Add wmemset.
4556         * benchtests/bench-memset.c: Add wmemset support.
4557         * benchtests/bench-wmemset.c: New File.
4558         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
4560         * sysdeps/s390/multiarch/memccpy-c.c: New File.
4561         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
4562         * sysdeps/s390/multiarch/memccpy.c: Likewise.
4563         * sysdeps/s390/multiarch/Makefile
4564         (sysdep_routines): Add memccpy functions.
4565         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
4566         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
4567         * string/memccpy.c: Use MEMCCPY if defined.
4569         * sysdeps/s390/multiarch/memchr-vx.S: New File.
4570         * sysdeps/s390/multiarch/memchr.c: Likewise.
4571         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
4572         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
4573         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
4574         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
4575         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
4576         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
4577         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
4578         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
4579         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
4580         and rawmemchr functions.
4581         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
4582         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
4583         and wmemchr.
4584         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
4585         * string/test-memchr.c: Add wmemchr support.
4586         * wcsmbs/test-wmemchr.c: New File.
4587         * wcsmbs/Makefile (strop-tests): Add wmemchr.
4588         * benchtests/bench-memchr.c: Add wmemchr support.
4589         * benchtests/bench-wmemchr.c: New File.
4590         * benchtests/Makefile (wcsmbs-bench): wmemchr.
4592         * sysdeps/s390/multiarch/strcspn-c.c: New File.
4593         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
4594         * sysdeps/s390/multiarch/strcspn.c: Likewise.
4595         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
4596         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
4597         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
4598         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
4599         wcscspn functions.
4600         * sysdeps/s390/multiarch/ifunc-impl-list.c
4601         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
4602         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
4603         * string/test-strcspn.c: Add wcscspn support.
4604         * wcsmbs/test-wcscspn.c: New File.
4605         * wcsmbs/Makefile (strop-tests): Add wcscspn.
4606         * benchtests/bench-strcspn.c: Add wcscspn support.
4607         * benchtests/bench-wcscspn.c: New File.
4608         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
4610         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
4611         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
4612         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
4613         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
4614         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
4615         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
4616         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
4617         wcspbrk functions.
4618         * sysdeps/s390/multiarch/ifunc-impl-list.c
4619         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
4620         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
4621         * string/test-strpbrk.c: Add wcspbrk support.
4622         * wcsmbs/test-wcspbrk.c: New File.
4623         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
4624         * benchtests/bench-strpbrk.c: Add wcspbrk support.
4625         * benchtests/bench-wcspbrk.c: New File.
4626         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
4628         * sysdeps/s390/multiarch/strspn-c.c: New File.
4629         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
4630         * sysdeps/s390/multiarch/strspn.c: Likewise.
4631         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
4632         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
4633         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
4634         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
4635         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
4636         wcsspn functions.
4637         * sysdeps/s390/multiarch/ifunc-impl-list.c
4638         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
4639         * string/test-strspn.c: Add wcsspn support.
4640         * wcsmbs/test-wcsspn.c: New File.
4641         * wcsmbs/Makefile (strop-tests): Add wcsspn.
4642         * benchtests/bench-strspn.c: Add wcsspn support.
4643         * benchtests/bench-wcsspn.c: New File.
4644         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
4646         * sysdeps/s390/multiarch/strrchr-c.c: New File.
4647         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
4648         * sysdeps/s390/multiarch/strrchr.c: Likewise.
4649         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
4650         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
4651         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
4652         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
4653         wcsrchr functions.
4654         * sysdeps/s390/multiarch/ifunc-impl-list.c
4655         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
4656         * benchtests/bench-wcsrchr.c: New File.
4657         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
4659         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
4660         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
4661         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
4662         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
4663         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
4664         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
4665         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
4666         wcschrnul functions.
4667         * sysdeps/s390/multiarch/ifunc-impl-list.c
4668         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
4669         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
4670         * string/test-strchr.c: Add wcschrnul support.
4671         * wcsmbs/test-wcschrnul.c: New File.
4672         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
4673         * benchtests/bench-strchr.c: Add wcschrnul support.
4674         * benchtests/bench-wcschrnul.c: New File.
4675         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
4677         * sysdeps/s390/multiarch/strchr-c.c: New File.
4678         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
4679         * sysdeps/s390/multiarch/strchr.c: Likewise.
4680         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
4681         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
4682         * sysdeps/s390/multiarch/wcschr.c: Likewise.
4683         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
4684         wcschr functions.
4685         * sysdeps/s390/multiarch/ifunc-impl-list.c
4686         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
4687         * string/strchr.c (STRCHR): Define and use macro.
4688         * benchtests/bench-wcschr.c: New File.
4689         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
4691         * sysdeps/s390/multiarch/strncmp-c.c: New File.
4692         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
4693         * sysdeps/s390/multiarch/strncmp.c: Likewise.
4694         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
4695         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
4696         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
4697         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
4698         wcsncmp functions.
4699         * sysdeps/s390/multiarch/ifunc-impl-list.c
4700         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
4701         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
4702         * benchtests/bench-strncmp.c: Add wcsncmp support.
4703         * benchtests/bench-wcsncmp.c: New File.
4704         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
4706         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
4707         * sysdeps/s390/multiarch/strcmp.c: Likewise.
4708         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
4709         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
4710         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
4711         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
4712         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
4713         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
4714         wcscmp functions.
4715         * sysdeps/s390/multiarch/ifunc-impl-list.c
4716         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
4717         * string/strcmp.c (STRCMP): Define and use macro.
4718         * benchtests/bench-wcscmp.c: New File.
4719         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
4720         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
4721         instead of _HAVE_STRING_ARCH_memchr.
4723         * sysdeps/s390/multiarch/strncat-c.c: New File.
4724         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
4725         * sysdeps/s390/multiarch/strncat.c: Likewise.
4726         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
4727         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
4728         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
4729         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
4730         wcsncat functions.
4731         * sysdeps/s390/multiarch/ifunc-impl-list.c
4732         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
4733         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
4734         * string/test-strncat.c: Add wcsncat support.
4735         * wcsmbs/test-wcsncat.c: New File.
4736         * wcsmbs/Makefile (strop-tests): Add wcsncat.
4737         * benchtests/bench-strncat.c: Add wcsncat support.
4738         * benchtests/bench-wcsncat.c: New File.
4739         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
4741         * sysdeps/s390/multiarch/strcat-c.c: New File.
4742         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
4743         * sysdeps/s390/multiarch/strcat.c: Likewise.
4744         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
4745         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
4746         * sysdeps/s390/multiarch/wcscat.c: Likewise.
4747         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
4748         wcscat functions.
4749         * sysdeps/s390/multiarch/ifunc-impl-list.c
4750         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
4751         * string/strcat.c (STRCAT): Define and use macro.
4752         * wcsmbs/wcscat.c: Use WCSCAT if defined.
4753         * string/test-strcat.c: Add wcscat support.
4754         * wcsmbs/test-wcscat.c: New File.
4755         * wcsmbs/Makefile (strop-tests): Add wcscat.
4756         * benchtests/bench-strcat.c: Add wcscat support.
4757         * benchtests/bench-wcscat.c: New File.
4758         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
4760         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
4761         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
4762         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
4763         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
4764         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
4765         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
4766         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
4767         wcpncpy functions.
4768         * sysdeps/s390/multiarch/ifunc-impl-list.c
4769         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
4770         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
4771         * string/test-stpncpy.c: Add wcpncpy support.
4772         * wcsmbs/test-wcpncpy.c: New File.
4773         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
4774         * benchtests/bench-stpncpy.c: Add wcpncpy support.
4775         * benchtests/bench-wcpncpy.c: New File.
4776         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
4778         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
4779         * sysdeps/s390/multiarch/strncpy.c: Likewise.
4780         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
4781         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
4782         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
4783         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
4784         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
4785         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
4786         wcsncpy functions.
4787         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
4788         * sysdeps/s390/multiarch/ifunc-impl-list.c
4789         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
4790         * string/test-strncpy.c: Add wcsncpy support.
4791         * wcsmbs/test-wcsncpy.c: New File.
4792         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
4793         * benchtests/bench-strncpy.c: Add wcsncpy support.
4794         * benchtests/bench-wcsncpy.c: New File.
4795         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
4797         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
4798         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
4799         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
4800         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
4801         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
4802         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
4803         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
4804         wcpcpy functions.
4805         * string/stpcpy.c: Use STPCPY if defined.
4806         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
4807         * sysdeps/s390/multiarch/ifunc-impl-list.c
4808         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
4809         * string/test-stpcpy.c: Add wcpcpy support.
4810         * wcsmbs/test-wcpcpy.c: New File.
4811         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
4812         * benchtests/bench-stpcpy.c: Add wcpcpy support.
4813         * benchtests/bench-wcpcpy.c: New File.
4814         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
4816         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
4817         * sysdeps/s390/multiarch/strcpy.c: Likewise.
4818         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
4819         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
4820         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
4821         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
4822         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
4823         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
4824         wcscpy functions.
4825         * sysdeps/s390/multiarch/ifunc-impl-list.c
4826         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
4827         * benchtests/bench-wcscpy.c: New File.
4828         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
4830         * sysdeps/s390/multiarch/strnlen-c.c: New File.
4831         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
4832         * sysdeps/s390/multiarch/strnlen.c: Likewise.
4833         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
4834         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
4835         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
4836         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
4837         wcsnlen functions.
4838         * sysdeps/s390/multiarch/ifunc-impl-list.c
4839         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
4840         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
4841         * string/test-strnlen.c: Add wcsnlen support.
4842         * wcsmbs/test-wcsnlen.c: New File.
4843         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
4844         * benchtests/bench-strnlen.c: Add wcsnlen support.
4845         * benchtests/bench-wcsnlen.c: New File.
4846         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
4848         * sysdeps/s390/multiarch/Makefile: New File.
4849         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
4850         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
4851         * sysdeps/s390/multiarch/strlen.c: Likewise.
4852         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
4853         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
4854         * sysdeps/s390/multiarch/wcslen.c: Likewise.
4855         * string/strlen.c (STRLEN): Define and use macro.
4856         * sysdeps/s390/multiarch/ifunc-impl-list.c
4857         (IFUNC_VX_IMPL): New macro function.
4858         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
4859         * benchtests/Makefile (wcsmbs-bench): New variable.
4860         (string-bench-all): Added wcsmbs-bench.
4861         * benchtests/bench-wcslen.c: New File.
4863         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
4864         s390_vx_libc_ifunc2): New macro function.
4866         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
4867         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
4868         assembler support.
4869         * sysdeps/s390/configure: Regenerated.
4871         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
4872         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
4874         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
4875         * sysdeps/s390/dl-procinfo.h: Add vector capability.
4876         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
4878         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
4879         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
4880         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
4881         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
4882         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
4883         (memcmp, bcmp): Use __memcmp_default as alias source.
4884         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
4885         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
4886         Rename to __memcmp_default.
4887         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
4888         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
4889         (memcpy): Use __memcpy_default as alias source.
4890         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
4891         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
4892         Rename to __memcpy_default.
4893         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
4894         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
4895         (memset): Use __memset_default as alias source.
4896         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
4897         * sysdeps/s390/s390-32/memset.S (__memset_g5):
4898         Rename to __memset_default.
4899         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
4900         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
4901         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
4902         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
4903         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
4904         (memcmp, bcmp): Use __memcmp_default as alias source.
4905         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
4906         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
4907         Rename to __memcmp_default.
4908         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
4909         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
4910         (memcpy): Use __memcpy_default as alias source.
4911         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
4912         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
4913         Rename to __memcpy_default.
4914         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
4915         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
4916         (memset): Use __memset_default as alias source.
4917         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
4918         * sysdeps/s390/s390-64/memset.S (__memset_z900):
4919         Rename to __memset_default.
4920         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
4921         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
4923         [BZ #18610]
4924         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
4925         __ieee_instruction_pointer to __unused.
4926         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
4927         __ieee_instruction_pointer.
4928         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
4929         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
4930         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
4931         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
4932         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
4933         Mark dxc-field as reserved.
4935 2015-08-25  Roland McGrath  <roland@hack.frob.com>
4937         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
4938         if the weak reference is not null.
4940 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
4942         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
4944         [BZ #11214]
4945         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
4947 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4949         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
4950         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
4951         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
4952         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
4953         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
4954         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
4955         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
4956         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
4957         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
4958         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
4959         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
4960         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
4961         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
4962         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
4963         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
4964         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
4965         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
4966         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
4968 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4970         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
4971         register other than r0 for tabort, it has special meaning.
4972         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
4973         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
4974         transaction before starting syscall.
4976 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4978         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
4980 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
4982         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
4984         * sysdeps/x86_64/rtld-memcmp.c: Removed.
4985         * sysdeps/x86_64/rtld-memset.S: Likewise.
4986         * sysdeps/x86_64/rtld-strchr.S: Likewise.
4987         * sysdeps/x86_64/rtld-strlen.S: Likewise.
4988         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
4989         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
4991         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
4993 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
4995         * debug/strcpy_chk.c: Improve performance.
4996         * debug/stpcpy_chk.c: Likewise.
4997         * sysdeps/x86_64/strcpy_chk.S: Remove.
4998         * sysdeps/x86_64/stpcpy_chk.S: Remove.
5000         [BZ #18240]
5001         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
5003 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
5005         [BZ #15128]
5006         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
5007         ifuncmain8.
5008         (modules-names): Add ifuncmod8.
5009         ($(objpfx)ifuncmain8): New rule.
5010         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
5011         <cpuid.h>.
5012         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
5013         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
5014         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
5015         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
5016         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
5017         * sysdeps/x86_64/dl-trampoline.h: Likewise.
5018         * sysdeps/x86_64/ifuncmain8.c: New file.
5019         * sysdeps/x86_64/ifuncmod8.c: Likewise.
5020         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
5021         Removed.
5022         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
5023         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
5024         Change rtld_savespace_sse to __glibc_unused2.
5025         (RTLD_CHECK_FOREIGN_CALL): Removed.
5026         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
5027         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
5028         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
5030 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
5032         * sysdeps/aarch64/bzero.S (__bzero): Remove.
5034 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
5036         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
5037         Unconditionally set __fpcr to avoid uninialized warning.
5038         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
5040 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5042         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
5043         is corrupt.
5045         * malloc/arena.c (arena_get2): Drop unused argument.
5046         (arena_lock): Adjust.
5047         (arena_get_retry): Likewise.
5049 2015-08-24  Andreas Schwab  <schwab@suse.de>
5051         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
5052         Don't define.
5053         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5054         (__ASSUME_IPC64): Don't undef.
5055         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
5056         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
5057         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
5058         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
5059         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
5060         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
5061         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
5062         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
5063         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
5064         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
5065         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
5066         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
5067         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
5068         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
5069         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
5070         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
5071         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
5072         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
5073         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
5074         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
5075         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
5077 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
5079         * manual/Makefile (install): Only build manual when perl is available.
5081 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5083         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
5084         '#undef memcpy' by '#undef memchr'.
5086 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5088         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
5089         memchr not point to the internal __GI_memchr implementation.
5091 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
5093         * timezone/Makefile (CFLAGS-zdump.c): Remove
5094         -Wno-strict-prototypes.
5095         (CFLAGS-zic.c): Likewise.
5096         (CFLAGS-ialloc.c): Likewise.
5097         (CFLAGS-scheck.c): Likewise.
5099         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
5100         -Wno-error=undef.
5102 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
5104         * i386/i686/multiarch/strcasestr-c.c: Removed.
5105         * x86_64/multiarch/strcasestr.c: Likewise.
5106         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5107         Remove strcasestr.
5109 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
5111         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
5113         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
5114         variables for high and low parts before possibly modifying them.
5116 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
5118         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
5119         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
5120         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
5121         of "multiarch/init-arch.h".
5122         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
5123         * sysdeps/x86/init-arch.h: This.
5125 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
5127         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
5128         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
5130 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
5132         [BZ #17787]
5133         * manual/macros.texi: Add twoexp macro.
5134         * manual/filesys.texi: Fix exponents.
5135         * manual/llio.texi: Likewise.
5136         * manual/stdio.texi: Likewise.
5138 2015-08-20  Florian Weimer  <fweimer@redhat.com>
5140         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
5141         incorrect use.
5143 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
5145         [BZ #18370]
5146         * math/s_csqrt.c (__csqrt): Force underflow exception for results
5147         whose real or imaginary part has small absolute value.
5148         * math/s_csqrtf.c (__csqrtf): Likewise.
5149         * math/s_csqrtl.c (__csqrtl): Likewise.
5150         * math/auto-libm-test-in: Add more tests of csqrt.
5151         * math/auto-libm-test-out: Regenerated.
5152         * sysdeps/i386/fpu/libm-test-ulps: Update.
5154 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5156         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
5157         __ppc_set_ppr_very_low): New functions.
5158         * manual/platform.texi: Add documentation about
5159         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
5161 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
5163         * string/stpncpy.c (stpncpy): Improve performance using
5164         __strnlen/memcpy/memset.
5166 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
5168         [BZ #18796]
5169         * scripts/test-installation.pl: Don't add -lmvec to build options if
5170         libmvec wasn't built.
5172 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
5174         [BZ #14341]
5175         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
5176         case when there is a gap between DT_REL and DT_JMPREL sections.
5177         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
5178         (LDFLAGS-tst-split-dynreloc): New.
5179         (tst-split-dynreloc-ENV): Likewise.
5180         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
5181         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
5183 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
5185         [BZ #18822]
5186         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
5187         attribute_hidden.
5188         (__xstat64_conv): Likewise.
5189         (__xstat32_conv): Likewise.
5191 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
5193         [BZ #18822]
5194         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
5195         Don't load %ebx when calling __setcontext.  Call __setcontext
5196         with HIDDEN_JUMPTARGET.
5197         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
5198         libc_hidden_def.
5200 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
5202         * sysdeps/i386/i686/Makefile
5203         [$(subdir) == string] (sysdep_routines): Moved to ...
5204         * sysdeps/i386/Makefile: Here.
5205         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
5206         * sysdeps/i386/cacheinfo.c: Here.
5207         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
5208         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
5209         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
5210         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
5212 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
5214         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
5215         __i586__ is defined.
5216         (HAS_I686): Defined to 1 if __i686__ is defined.
5218 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
5220         * elf/Makefile [$(have-z-execstack) = yes]
5221         (CPPFLAGS-tst-execstack.c): New variable.
5223         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
5224         conditional to [defined UTMPX || _HAVE_UT_TYPE].
5225         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
5226         UTMPX || _HAVE_UT_TV].
5227         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
5228         UTMPX || _HAVE_UT_TV - 0].
5230 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
5232         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
5233         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
5234         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
5236 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5238         * sysdeps/powerpc/dl-procinfo.c:
5239         (_dl_powerpc_cap_flags): Added missing strings for some
5240         hwcap features.
5241         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
5243 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
5245         Port the 0x7efe...feff pattern to GCC 6.
5246         See Steve Ellcey's bug report in:
5247         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
5248         * string/memrchr.c (MEMRCHR):
5249         * string/rawmemchr.c (RAWMEMCHR):
5250         * string/strchr.c (strchr):
5251         * string/strchrnul.c (STRCHRNUL):
5252         Rewrite code to avoid issues with signed shift overflow.
5254 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
5256         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
5257         whether cpuid is available only if HAS_CPUID is 0.
5258         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
5259         (HAS_I586): Likewise.
5260         (HAS_I686): Likewise.
5262 2015-08-18  Zack Weinberg  <zackw@panix.com>
5264         * misc/Versions (libc): Add GLIBC_2.23.
5266 2015-08-18  Alan Modra  <amodra@gmail.com>
5268         [BZ #18421]
5269         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
5270         .Lp__global.
5271         (_start): Load %dp via .Lp__global.
5272         [!SHARED]: Use .section .rodata.
5274 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5276         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
5277         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
5279 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5281         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
5282         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
5284 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5286         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
5287         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
5289 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5291         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
5292         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
5294 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5296         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
5297         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
5299 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5301         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
5302         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
5304 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5306         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
5308 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5310         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
5311         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
5312         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5313         (__ASSUME_LWS_CAS): Delete.
5315 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5317         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
5318         * sysdeps/hppa/configure: Regenerated.
5319         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
5320         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
5321         * sysdeps/hppa/nptl/tls.h: Likewise.
5323 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
5325         [BZ #18823]
5326         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
5327         for scaling up small arguments.
5328         * math/s_csqrtf.c (__csqrtf): Likewise.
5329         * math/s_csqrtl.c (__csqrtl): Likewise.
5330         * math/auto-libm-test-in: Add more tests of csqrt.
5331         * math/auto-libm-test-out: Regenerated.
5333 2015-08-17  Andreas Schwab  <schwab@suse.de>
5335         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
5336         version set GLIBC_2.19.
5338 2015-08-16  Zack Weinberg  <zackw@panix.com>
5340         [BZ #18681]
5341         * misc/regexp.h: This interface is no longer supported.
5342         Remove all contents, leaving only an #error directive.
5343         * misc/regexp.c (loc1, loc2, locs, step, advance):
5344         Demote to compatibility symbols.
5346 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
5348         [BZ #18084]
5349         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
5350         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
5351         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
5352         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
5353         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
5354         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
5355         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
5356         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
5357         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
5359 2015-08-15  Zack Weinberg  <zackw@panix.com>
5361         [BZ #18795]
5362         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
5363         buffer length is known to be too large, not if it's known to be
5364         small enough.
5365         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
5366         overflow at runtime, involving a length parameter, twice: once
5367         with a compile-time constant length parameter, once without.
5369 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
5371         [BZ #18824]
5372         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
5373         scaling x * y up instead of down.
5374         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5375         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5376         * math/auto-libm-test-in: Add more tests of fma.
5377         * math/auto-libm-test-out: Regenerated.
5379 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
5381         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5383 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
5385         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
5386         unnecessary movq.
5387         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
5388         Likewise.
5390 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
5392         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5393         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
5394         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
5395         and tgamma.
5396         * math/auto-libm-test-out: Regenerated.
5397         * sysdeps/i386/fpu/libm-test-ulps: Update.
5398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5400         [BZ #16520]
5401         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
5402         (__tanh): Force underflow exception for arguments with small
5403         absolute value.
5404         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
5405         (__tanhf): Force underflow exception for arguments with small
5406         absolute value.
5407         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
5408         (__tanhl): Force underflow exception for arguments with small
5409         absolute value.
5410         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
5411         (__tanhl): Force underflow exception for arguments with small
5412         absolute value.
5413         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
5414         (__tanhl): Force underflow exception for arguments with small
5415         absolute value.
5416         * math/auto-libm-test-in: Add more tests of tanh.
5417         * math/auto-libm-test-out: Regenerated.
5418         * sysdeps/i386/fpu/libm-test-ulps: Update.
5420 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
5422         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
5423         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
5425 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
5427         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
5428         <cpuid.h>.
5430 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
5432         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
5433         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
5435 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
5437         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
5438         Remove $(objpfx)init-arch.o.
5439         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
5440         init-arch.
5441         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
5442         (INIT_ARCH_EXT): Defined as empty.
5443         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
5444         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
5445         __init_cpu_features call.  Replace HAS_XXX with
5446         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
5447         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
5448         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
5449         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
5450         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
5451         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
5452         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
5453         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
5454         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
5455         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
5456         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
5457         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
5458         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
5459         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
5460         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
5461         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
5462         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
5463         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
5464         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
5465         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
5466         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
5467         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
5468         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
5469         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
5470         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
5471         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
5472         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
5473         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
5474         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
5475         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
5476         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
5477         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
5478         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
5479         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
5480         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
5481         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
5483 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
5485         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
5486         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
5487         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
5488         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
5489         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
5490         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
5491         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
5492         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
5493         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
5494         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
5495         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
5496         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
5497         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
5498         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5499         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5500         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5501         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5502         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5503         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5504         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5505         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5506         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5507         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5508         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5509         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5510         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5511         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5512         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5513         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5514         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5515         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5516         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5517         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5518         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5519         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5520         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5521         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5522         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5523         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5524         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5525         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5526         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5527         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5529 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
5531         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
5532         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
5533         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5534         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5535         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5536         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
5537         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5538         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
5539         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
5540         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5541         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5542         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
5543         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
5544         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
5545         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
5546         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
5547         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
5548         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
5549         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
5550         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
5551         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
5552         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
5553         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
5554         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5555         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
5556         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
5557         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
5558         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
5559         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
5560         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5561         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5562         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5563         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5564         * sysdeps/x86_64/multiarch/memset.S: Likewise.
5565         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5566         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
5567         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
5568         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5569         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
5570         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
5571         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5572         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
5573         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
5575 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
5577         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
5578         (dl_platform_init): Call init_cpu_features.
5579         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
5580         * sysdeps/i386/i686/cacheinfo.c
5581         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
5582         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
5583         * sysdeps/i386/i686/multiarch/Versions: Removed.
5584         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
5585         Removed.
5586         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
5587         * sysdeps/unix/sysv/linux/x86/Makefile
5588         (libpthread-sysdep_routines): Remove init-arch.
5589         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
5590         <sysdeps/x86_64/dl-procinfo.c> instead of
5591         sysdeps/generic/dl-procinfo.c>.
5592         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
5593         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
5594         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
5595         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
5596         [$(subdir) == elf] (tests-static): Add
5597         tst-get-cpu-features-static.
5598         * sysdeps/x86/Versions: New file.
5599         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
5600         * sysdeps/x86/cpu-features.c: Likewise.
5601         * sysdeps/x86/cpu-features.h: Likewise.
5602         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
5603         * sysdeps/x86/libc-start.c: Likewise.
5604         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
5605         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
5606         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
5607         * sysdeps/x86_64/dl-procinfo.c: Likewise.
5608         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
5609         Assume USE_MULTIARCH is defined and don't check it.
5610         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
5611         (is_amd): Likewise.
5612         (max_cpuid): Likewise.
5613         (intel_check_word): Likewise.
5614         (__cache_sysconf): Don't call __init_cpu_features.
5615         (__x86_preferred_memory_instruction): Removed.
5616         (init_cacheinfo): Don't call __init_cpu_features. Replace
5617         __cpu_features with GLRO(dl_x86_cpu_features).
5618         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
5619         (dl_platform_init): Call init_cpu_features.
5620         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
5621         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
5622         * sysdeps/x86_64/multiarch/Versions: Removed.
5623         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
5624         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
5625         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
5626         Removed.
5627         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
5629 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
5631         [BZ #18820]
5632         * libio/Makefile (test-fmemopen-mem): New test.
5633         * libio/test-fmemopen.c (do_bz18820): New test.
5634         * libio/fmemopen.c (__fmemopen): Fix memory leak.
5635         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
5637 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
5639         [BZ #16734]
5640         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
5641         (FREE_BUF): Delete.
5642         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
5643         * libio/genops.c (_IO_setb): Use malloc and free directly.
5644         (_IO_default_doallocate, _IO_default_finish): Likewise.
5645         ( _IO_unbuffer_all): Likewise.
5646         ( libc_freeres_fn): Likewise.
5647         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
5648         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
5649         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
5650         (_IO_wdefault_doallocate): Likewise.
5652 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
5654         [BZ #18086]
5655         * sysdeps/posix/nice.c (nice): Restore old errno.
5656         * posix/tst-nice.c (do_test): Add test for BZ #18086.
5658 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
5660         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
5662 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5664         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
5665         __bcopy and add a weak_alias to bcopy.
5666         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
5667         for static build.
5669         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
5670         cleanup macro usage.
5671         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
5672         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
5673         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
5674         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
5675         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
5676         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
5677         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
5678         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
5679         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
5680         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
5681         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
5682         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
5683         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
5684         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
5685         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
5686         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
5687         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
5688         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
5689         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
5691         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
5692         libc_hidden_def.
5693         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
5695         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
5696         (sysdep_routines): Add strstr-ppc64.
5697         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
5699 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
5701         [BZ #18778]
5702         * elf/Makefile (tests): Add Add tst-nodelete2.
5703         (modules-names): Add tst-nodelete2mod.
5704         (tst-nodelete2mod.so-no-z-defs): New.
5705         ($(objpfx)tst-nodelete2): Likewise.
5706         ($(objpfx)tst-nodelete2.out): Likewise.
5707         (LDFLAGS-tst-nodelete2): Likewise.
5708         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
5709         out of loop through all loaded libraries.
5710         * elf/tst-nodelete2.c: New file.
5711         * elf/tst-nodelete2mod.c: Likewise.
5712         * elf/tst-znodelete-zlib.cc: Delete.
5714 2015-08-11  Andreas Schwab  <schwab@suse.de>
5716         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
5717         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
5718         (__openat64_nocancel): Likewise.
5720 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
5722         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
5723         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
5724         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
5725         * math/auto-libm-test-out: Regenerated.
5726         * sysdeps/i386/fpu/libm-test-ulps: Update.
5727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5729 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
5731         [BZ #18790]
5732         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
5733         threshold for returning +/- 1.
5734         * math/auto-libm-test-in: Add more tests of tanh.
5735         * math/auto-libm-test-out: Regenerated.
5736         * sysdeps/i386/fpu/libm-test-ulps: Update.
5738 2015-08-10  Andreas Schwab  <schwab@suse.de>
5740         [BZ #18781]
5741         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
5742         MORE_OFLAGS to oflag.
5743         * io/test-lfs.c (do_test): Test openat64.
5745 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
5747         [BZ #18789]
5748         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
5749         smaller threshold for returning the argument.
5750         * math/auto-libm-test-in: Add more tests of sinh.
5751         * math/auto-libm-test-out: Regenerated.
5752         * sysdeps/i386/fpu/libm-test-ulps: Update.
5754 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
5756         [BZ #18674]
5757         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
5758         break.
5760 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
5762         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
5763         (generated): Don't add $(addprefix z.,$(tzfiles)).
5765 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
5767         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
5768         * scripts/sysd-rules.awk: Likewise.
5770 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
5772         * iconvdata/tst-tables.sh: Change echo -n to printf.
5773         * nss/db-Makefile: Likewise.
5774         * posix/tst-getconf.sh: Likewise.
5775         * stdio-common/tst-unbputc.sh: Likewise.
5777 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
5779         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
5780         MADV_*_PAGES defines behind this feature check.
5782 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
5784         [BZ #18480]
5785         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
5786         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
5787         Define.
5788         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
5789         LOAD_REGS_5, LOAD_REGS_6): Update.
5790         (INTERNAL_SYSCALL): Update using new LOAD defines.
5791         (INTERNAL_SYSCALL_NCS): Likewise.
5792         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
5794 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
5796         [BZ #16734]
5797         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
5799 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
5801         [BZ #17905]
5802         * catgets/Makefile (tst-catgets-mem): New test.
5803         * catgets/catgets.c (catopen): Don't use unbounded alloca.
5804         * catgets/open_catalog.c (__open_catalog): Likewise.
5805         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
5807 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
5809         [BZ #18787]
5810         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
5811         clobber registers.
5812         (atomic_compare_and_exchange_val_acq): Use register asms to assign
5813         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
5814         Cast return to __typeof (oldval).
5816 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
5818         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
5819         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
5820         and delete sys/syscall.h include.
5822 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
5824         [BZ #16517]
5825         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
5826         (tan): Force underflow exception for arguments with small absolute
5827         value.
5828         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
5829         (__kernel_tanf): Force underflow exception for arguments with
5830         small absolute value.
5831         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
5832         (__kernel_tanl): Force underflow exception for arguments with
5833         small absolute value.
5834         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
5835         (__kernel_tanl): Force underflow exception for arguments with
5836         small absolute value.
5837         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
5838         (__kernel_tanl): Force underflow exception for arguments with
5839         small absolute value.
5840         * math/auto-libm-test-in: Add more tests of tan.
5841         * math/auto-libm-test-out: Regenerated.
5843 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5845         Fix sysdeps/i386/fpu/s_scalbn.S build
5847         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
5849 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
5851         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
5853 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5855         Fix gcrt0.o compilation
5857         When static-start-installed-name is different from
5858         start-installed-name, we must not use the shared objects.
5860         * csu/Makefile
5861         (extra-objs): Add gmon-start.o when building shared library and
5862         $(static-start-installed-name) is different from
5863         $(start-installed-name).
5864         $(objpfx)g$(static-start-installed-name): When building shared
5865         library and $(static-start-installed-name) is different from
5866         $(static-start-installed-name), revert to non-shared rule,
5867         i.e. using $(objpfx)% and gmon-start.o.
5869 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
5871         [BZ #16519]
5872         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
5873         (__ieee754_sinh): Force underflow exception for arguments with
5874         small absolute value.
5875         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
5876         (__ieee754_sinhf): Force underflow exception for arguments with
5877         small absolute value.
5878         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
5879         (__ieee754_sinhl): Force underflow exception for arguments with
5880         small absolute value.
5881         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
5882         (__ieee754_sinhl): Force underflow exception for arguments with
5883         small absolute value.
5884         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
5885         (__ieee754_sinhl): Force underflow exception for arguments with
5886         small absolute value.
5887         * math/auto-libm-test-in: Add more tests of sinh.
5888         * math/auto-libm-test-out: Regenerated.
5889         * sysdeps/i386/fpu/libm-test-ulps: Update.
5891 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
5893         * libio/oldfileops.c: Include unistd.h.
5895 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
5897         * stdlib/isomac.c: Include ctype.h.
5899 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
5901         * dirent/tst-seekdir.c (main): Converted to ...
5902         (do_test): ... this.
5903         (TEST_FUNCTION): New macro.
5904         Include test-skeleton.c.
5905         * elf/tst-dlmodcount.c (main): Converted to ...
5906         (do_test): ... this.
5907         (TEST_FUNCTION): New macro.
5908         Include test-skeleton.c.
5909         * elf/tst-order-main.c (main): Converted to ...
5910         (do_test): ... this.
5911         (TEST_FUNCTION): New macro.
5912         Include test-skeleton.c.
5913         * elf/tst-pie2.c (main): Converted to ...
5914         (do_test): ... this.
5915         (TEST_FUNCTION): New macro.
5916         Include test-skeleton.c.
5917         * inet/tst-ether_aton.c (main): Converted to ...
5918         (do_test): ... this.
5919         (TEST_FUNCTION): New macro.
5920         Include test-skeleton.c.
5921         * misc/tst-mntent.c (main): Converted to ...
5922         (do_test): ... this.
5923         (TEST_FUNCTION): New macro.
5924         Include test-skeleton.c.
5925         * misc/tst-tsearch.c (main): Converted to ...
5926         (do_test): ... this.
5927         (TEST_FUNCTION): New macro.
5928         Include test-skeleton.c.
5929         * posix/tst-regexloc.c (main): Converted to ...
5930         (do_test): ... this.
5931         (TEST_FUNCTION): New macro.
5932         Include test-skeleton.c.
5933         * resolv/tst-aton.c (main): Converted to ...
5934         (do_test): ... this.
5935         (TEST_FUNCTION): New macro.
5936         Include test-skeleton.c.
5937         * stdio-common/test-fwrite.c (main): Converted to ...
5938         (do_test): ... this.
5939         (TEST_FUNCTION): New macro.
5940         Include test-skeleton.c.
5941         * stdio-common/tst-ferror.c (main): Converted to ...
5942         (do_test): ... this.
5943         (TEST_FUNCTION): New macro.
5944         Include test-skeleton.c.
5945         * stdio-common/tst-printf.c (main): Converted to ...
5946         (do_test): ... this.
5947         (TEST_FUNCTION): New macro.
5948         Include test-skeleton.c.
5949         * stdio-common/tst-printfsz.c (main): Converted to ...
5950         (do_test): ... this.
5951         (TEST_FUNCTION): New macro.
5952         Include test-skeleton.c.
5953         * stdlib/tst-strtod.c (main): Converted to ...
5954         (do_test): ... this.
5955         (TEST_FUNCTION): New macro.
5956         Include test-skeleton.c.
5957         * string/tst-strlen.c (main): Converted to ...
5958         (do_test): ... this.
5959         (TEST_FUNCTION): New macro.
5960         Include test-skeleton.c.
5961         * string/tst-svc.c (main): Converted to ...
5962         (do_test): ... this.
5963         (TEST_FUNCTION): New macro.
5964         Include test-skeleton.c.
5965         * time/tst-strptime.c (main): Converted to ...
5966         (do_test): ... this.
5967         (TEST_FUNCTION): New macro.
5968         Include test-skeleton.c.
5969         * timezone/tst-timezone.c (main): Converted to ...
5970         (do_test): ... this.
5971         (TEST_FUNCTION): New macro.
5972         Include test-skeleton.c.
5974 2015-08-05  Zack Weinberg  <zackw@panix.com>
5976         * misc/regexp.h: Update comments.
5978 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
5980         [BZ #18635]
5981         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
5982         before return label.
5984 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
5986         [BZ #18661]
5987         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
5988         when calling __errno_location.
5989         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
5990         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
5992 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
5994         [BZ #18661]
5995         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
5996         (__lll_timedwait_tid): Align stack to 16 bytes when calling
5997         __gettimeofday.
5999 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
6001         [BZ #18661]
6002         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6003         (__start_context): Don't use pop to restore %rdi so that stack
6004         is aligned to 16 bytes when calling __setcontext.
6006 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
6008         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
6009         only for libc.
6010         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
6012 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
6014         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
6015         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
6016         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
6018 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
6020         * string/memccpy.c (memccpy):
6021         Improve performance by using memchr/memcpy/__mempcpy.
6023 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
6025         * string/strncpy.c (strncpy):
6026         Improve performance by using __strnlen/memcpy.
6028 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
6030         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6031         Optimize to avoid an unnecessary FPCR read.
6033 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
6035         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
6036         Optimize to reduce FPCR/FPSR accesses.
6038 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
6040         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
6041         dead->data[category] != NULL.
6043 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
6045         [BZ #18647]
6046         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
6047         and |x| close to 1, use absolute value of x when computing log.
6048         * math/auto-libm-test-in: Add more tests of pow.
6049         * math/auto-libm-test-out: Regenerated.
6051 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6053         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
6054         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
6055         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
6057 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
6059         [BZ #18525]
6060         * locales/km_KH: Remove timezone definition.
6061         * locales/lo_LA: Likewise.
6062         * locales/my_MM: Likewise.
6063         * locales/nan_TW@latin: Likewise.
6064         * locales/th_TH: Likewise.
6065         * locales/uk_UA: Likewise.
6067 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
6069         [BZ #18265]
6070         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
6071         (wcsncat): Likewise.
6072         (wcscmp): Likewise.
6073         (wcsncmp): Likewise.
6075 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
6077         * test-skeleton.c (usage): New function.
6078         (main): Call usage when opt is '?'.
6080 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
6082         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
6083         before first use.
6085 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
6087         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
6088         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
6089         in there too.
6091 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
6093         * version.h (RELEASE): Set to "development".
6094         (VERSION): Set to "2.22.90"
6096         * version.h (RELEASE): Set to "stable".
6097         (VERSION): Set to "2.22"
6098         * include/features.h (__GLIBC_MINOR__): Set to 22.
6100 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
6102         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
6103         Restructure macro to avoid "value computed is not used" warning.
6104         (atomic_compare_and_exchange_val_acq): Likewise.
6106 2015-08-04  Andreas Schwab  <schwab@suse.de>
6108         [BZ #18635]
6109         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
6110         ret.
6111         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
6113 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
6115         * po/pl.po: Updated translation.
6116         * po/uk.po: Likewise.
6117         * po/fi.po: Likewise.
6118         * po/ko.po: Likewise.
6119         * po/ru.po: Likewise.
6120         * po/vi.po: Likewise.
6122 2015-07-31  Zack Weinberg  <zackw@panix.com>
6124         [BZ #18681]
6125         * regexp.h: Add unconditional #warning stating that this header
6126         will be removed soon.  Revise banner comment to match.
6127         (compile): Consistently use ERROR instead of RETURN to report
6128         errors (partial fix for bz#18681).
6129         * regexp.c: Don't include regexp.h. Remove some unnecessary
6130         declarations.
6132 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
6134         * po/libc.pot: Regenerated.
6136 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
6138         [BZ #18740]
6139         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
6140         float-vlen4-arch-ext-cflags): Removed.
6141         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
6142         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
6144 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
6146         [BZ #14113]
6147         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
6148         aligned to __aligned__.
6149         (pthread_cond_t, pthread_rwlock_t): Likewise.
6151 2015-07-30  Torvald Riegel  <triegel@redhat.com>
6153         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
6155 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
6157         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
6158         (struct sigaction): Change sa_flags from a long to an int, and add
6159         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
6161 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
6163         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
6164         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
6165         sysdeps/generic/sysdep.h include.
6166         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
6167         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
6168         sysdeps/hppa/sysdep.h.
6169         (ENTRY, PSEUDO): Undefine before defining.
6171 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
6173         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
6174         from scratch to use INTERNAL_SYSCALL.
6176 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
6178         [BZ #18078]
6179         * scripts/check-localplt.awk: Support alternate relocations.
6180         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
6181         sections.
6182         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
6183         malloc entries with + REL R_386_GLOB_DAT.
6184         * sysdeps/x86_64/localplt.data: New file.
6186 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
6188         [BZ #18731]
6189         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
6190         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
6191         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
6193 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
6195         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
6197 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
6199         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
6200         directly in terms of __sync_fetch_and_add and delete (int) cast.
6202 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
6204         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
6205         the -D_ASM_IA64_CURRENT_H flag.
6207 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
6209         [BZ #18641]
6210         * pwd/pwd.h (putpwent): Delete __nonnull markings.
6212 2015-07-27  Andreas Schwab  <schwab@suse.de>
6214         * conform/conformtest.pl (checknamespace): Filter out string
6215         literals while tokenizing.
6217 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
6219         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
6220         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
6221         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
6223 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
6225         * nptl/tst-join7mod.c: Add #include <string.h>.
6227 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
6229         * sysdeps/nios2/libm-test-ulps: Update.
6231 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
6233         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
6234         Fix order of arguments to the rt_sigprocmask syscall.
6235         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
6236         Likewise.
6238 2015-07-24  Roland McGrath  <roland@hack.frob.com>
6240         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
6242 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6244         [BZ #18457]
6245         * nptl/Makefile (tests): New test case tst-join7.
6246         (modules-names): New test case module tst-join7mod.
6247         * nptl/tst-join7.c: New file.
6248         * nptl/tst-join7mod.c: New file.
6249         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
6250         all translation units in libc.so, libpthread.so and rtld.
6252 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6254         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6256 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
6258         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
6259         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
6260         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
6261         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
6262         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
6263         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
6264         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
6265         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
6266         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
6267         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
6268         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
6269         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
6270         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
6271         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
6272         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
6273         implementation.
6275 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6277         [BZ #17711]
6278         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
6279         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
6280         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
6281         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
6282         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
6283         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
6285 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6287         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
6288         instead of just saying load lock in the comments.
6290 2015-07-23  Roland McGrath  <roland@hack.frob.com>
6292         * sysdeps/unix/Subdirs: Moved ...
6293         * sysdeps/posix/Subdirs: ... here.
6294         * login/pty.h (struct termios, struct winsize): Add forward decls.
6295         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
6296         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
6297         * sysdeps/arm/nacl/libc.abilist: Updated.
6298         * sysdeps/nacl/libutil.abilist: New file.
6300         * bits/signum.h: Update comments to mention 1003.1-2013 too.
6301         (SIGWINCH): New macro.
6303         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
6304         * sysdeps/arm/nacl/libc.abilist: Add it.
6306 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
6308         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
6310 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
6312         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
6313         Swap __glibc_reserved0 and sa_flags order.
6315 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
6317         [BZ #18657]
6318         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
6319         are pending TLS destructor calls.
6320         * include/link.h (struct link_map): Add concurrency note for
6321         L_TLS_DTOR_COUNT.
6322         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
6323         Don't touch the link map flag.  Atomically increment
6324         l_tls_dtor_count.
6325         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
6326         Avoid taking the load lock and don't touch the link map flag.
6327         * stdlib/tst-tls-atexit-nodelete.c: New test case.
6328         * stdlib/Makefile (tests): Use it.
6329         * stdlib/tst-tls-atexit.c (do_test): dlopen
6330         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
6331         to allow tst-tls-atexit-nodelete test case to use it.
6333 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
6335         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
6336         to bits/types.h.
6337         (msgqnum_t): New typedef.
6338         (msglen_t): Likewise.
6339         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
6340         and msg_qbytes type to msglen_t.
6342 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
6344         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
6345         pad0 to __glibc_reserved0.
6346         (struct stat64): Likewise.
6348 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
6350         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
6351         Change sa_flags from a long to an int and add __glibc_reserved0 before
6352         it for padding.
6354 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
6356         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
6357         anonymous by deleting "siginfo" name.
6359 2015-07-21  Roland McGrath  <roland@hack.frob.com>
6361         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
6362         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
6363         rather than __nacl_irt_filename.
6364         * sysdeps/nacl/xstat.c (__xstat): Likewise.
6366         * NEWS: New item for arm-nacl port.
6367         * sysdeps/arm/nacl/libc.abilist: New file.
6368         * sysdeps/nacl/ld.abilist: New file.
6369         * sysdeps/nacl/libBrokenLocale.abilist: New file.
6370         * sysdeps/nacl/libanl.abilist: New file.
6371         * sysdeps/nacl/libcrypt.abilist: New file.
6372         * sysdeps/nacl/libdl.abilist: New file.
6373         * sysdeps/nacl/libm.abilist: New file.
6374         * sysdeps/nacl/libpthread.abilist: New file.
6375         * sysdeps/nacl/libresolv.abilist: New file.
6376         * sysdeps/nacl/librt.abilist: New file.
6378 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
6380         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
6381         __startcontext to initialize the new context.
6382         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
6383         up CFI directive to forbid further backtracing.
6385 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
6387         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
6388         reference.
6389         * charmaps/ANSI_X3.4-1968: Likewise.
6390         * charmaps/BS_4730: Likewise.
6391         * charmaps/BS_VIEWDATA: Likewise.
6392         * charmaps/CP1250: Likewise.
6393         * charmaps/CP1251: Likewise.
6394         * charmaps/CP1252: Likewise.
6395         * charmaps/CP1253: Likewise.
6396         * charmaps/CP1254: Likewise.
6397         * charmaps/CP1255: Likewise.
6398         * charmaps/CP1256: Likewise.
6399         * charmaps/CSN_369103: Likewise.
6400         * charmaps/EBCDIC-DK-NO: Likewise.
6401         * charmaps/GB_1988-80: Likewise.
6402         * charmaps/GREEK-CCITT: Likewise.
6403         * charmaps/GREEK7: Likewise.
6404         * charmaps/INIS-8: Likewise.
6405         * charmaps/ISIRI-3342: Likewise.
6406         * charmaps/ISO_2033-1983: Likewise.
6407         * charmaps/ISO_5427-EXT: Likewise.
6408         * locales/POSIX: Likewise.
6409         * locales/ar_SA: Likewise.
6410         * locales/be_BY: Likewise.
6411         * locales/be_BY@latin: Likewise.
6412         * locales/ca_ES: Likewise.
6413         * locales/cs_CZ: Likewise.
6414         * locales/da_DK: Likewise.
6415         * locales/de_BE: Likewise.
6416         * locales/de_CH: Likewise.
6417         * locales/de_LU: Likewise.
6418         * locales/en_AU: Likewise.
6419         * locales/en_BW: Likewise.
6420         * locales/en_CA: Likewise.
6421         * locales/en_DK: Likewise.
6422         * locales/en_GB: Likewise.
6423         * locales/en_IE: Likewise.
6424         * locales/en_NZ: Likewise.
6425         * locales/en_ZA: Likewise.
6426         * locales/en_ZW: Likewise.
6427         * locales/es_AR: Likewise.
6428         * locales/es_BO: Likewise.
6429         * locales/es_CL: Likewise.
6430         * locales/es_CO: Likewise.
6431         * locales/es_DO: Likewise.
6432         * locales/es_EC: Likewise.
6433         * locales/es_ES: Likewise.
6434         * locales/es_HN: Likewise.
6435         * locales/es_MX: Likewise.
6436         * locales/es_PA: Likewise.
6437         * locales/es_PE: Likewise.
6438         * locales/es_PY: Likewise.
6439         * locales/es_SV: Likewise.
6440         * locales/es_US: Likewise.
6441         * locales/es_UY: Likewise.
6442         * locales/es_VE: Likewise.
6443         * locales/et_EE: Likewise.
6444         * locales/fa_IR: Likewise.
6445         * locales/fo_FO: Likewise.
6446         * locales/fr_CA: Likewise.
6447         * locales/fr_CH: Likewise.
6448         * locales/gv_GB: Likewise.
6449         * locales/he_IL: Likewise.
6450         * locales/hr_HR: Likewise.
6451         * locales/id_ID: Likewise.
6452         * locales/is_IS: Likewise.
6453         * locales/it_CH: Likewise.
6454         * locales/iw_IL: Likewise.
6455         * locales/kl_GL: Likewise.
6456         * locales/ko_KR: Likewise.
6457         * locales/kw_GB: Likewise.
6458         * locales/lg_UG: Likewise.
6459         * locales/lt_LT: Likewise.
6460         * locales/lv_LV: Likewise.
6461         * locales/mi_NZ: Likewise.
6462         * locales/nhn_MX: Likewise.
6463         * locales/nl_BE: Likewise.
6464         * locales/pl_PL: Likewise.
6465         * locales/sk_SK: Likewise.
6466         * locales/sl_SI: Likewise.
6467         * locales/sv_FI: Likewise.
6468         * locales/tl_PH: Likewise.
6469         * locales/tr_TR: Likewise.
6470         * locales/vi_VN: Likewise.
6472 2015-07-21  Khem Raj  <raj.khem@gmail.com>
6474         [BZ #17475]
6475         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
6476         of tu_IN and bh_IN.
6478 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
6480         [BZ #18694]
6481         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
6482         bits/wordsize.h.
6483         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
6485 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6487         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
6488         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
6489         (spawn_thread): New function.
6490         (load): Rename to reg_dtor_and_close.  Move dlopen to...
6491         (do_test): ... here.  Use IS_LOADED to test for its
6492         availability.
6494 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
6496         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6498 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
6500         [BZ #18696]
6501         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
6502         si_addr_bnd.
6503         (si_lower): New.
6504         (si_upper): Likewise.
6506 2015-07-16  David S. Miller  <davem@davemloft.net>
6508         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
6510 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6512         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
6513         buffer.
6514         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
6515         fail output information.
6517 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6519         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
6520         and strstr-ppc64..
6521         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6522         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
6523         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
6524         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
6525         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
6527 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
6529         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
6530         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
6531         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
6532         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
6534 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
6536         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
6537         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
6538         rtld_hidden_proto.
6539         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
6541 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6543         * tst-nodelete-opened.c (do_test): Add comment to clarify how
6544         the test can fail.
6546         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
6548         [BZ #18676]
6549         * elf/tst-nodelete-opened.c: New test case.
6550         * elf/tst-nodelete-opened-lib.c: New test case module.
6551         * elf/Makefile (tests, modules-names): Use them.
6552         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
6553         early.
6555 2015-07-15  David S. Miller  <davem@davemloft.net>
6557         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
6558         futex-intenal.h
6559         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
6560         * sysdeps/sparc/sparc64/Makefile: Likewise.
6561         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
6562         Remove space from macro define.
6563         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
6565 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
6567         [BZ #17475]
6568         * locale/iso-639.def: Update Bhili and Tulu language codes as
6569         per iso639-3.
6571 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
6573         * elf/tst-leaks1.c (main): Converted to ...
6574         (do_test): ... this.
6575         (TEST_FUNCTION): New macro.
6576         Include test-skeleton.c.
6577         * localedata/tst-langinfo.c (main): Converted to ...
6578         (do_test): ... this.
6579         (TEST_FUNCTION): New macro.
6580         Include test-skeleton.c.
6581         * math/test-fpucw.c (main): Converted to ...
6582         (do_test): ... this.
6583         (TEST_FUNCTION): New macro.
6584         Include test-skeleton.c.
6585         * math/test-tgmath.c (main): Converted to ...
6586         (do_test): ... this.
6587         (TEST_FUNCTION): New macro.
6588         Include test-skeleton.c.
6589         * math/test-tgmath2.c (main): Converted to ...
6590         (do_test): ... this.
6591         (TEST_FUNCTION): New macro.
6592         Include test-skeleton.c.
6593         * setjmp/tst-setjmp.c (main): Converted to ...
6594         (do_test): ... this.
6595         (TEST_FUNCTION): New macro.
6596         Include test-skeleton.c.
6597         * stdio-common/tst-sscanf.c (main): Converted to ...
6598         (do_test): ... this.
6599         (TEST_FUNCTION): New macro.
6600         Include test-skeleton.c.
6601         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
6602         (do_test): ... this.
6603         (TEST_FUNCTION): New macro.
6604         Include test-skeleton.c.
6606         * elf/tst-audit9.c (main): Converted to ...
6607         (do_test): ... this.
6608         (TEST_FUNCTION): New macro.
6609         Include test-skeleton.c.
6611 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
6613         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
6615 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
6617         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
6618         New variable.
6620 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
6622         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6624 2015-07-14  Roland McGrath  <roland@hack.frob.com>
6626         * sysdeps/generic/dl-fileid.h: New file.
6627         * sysdeps/posix/dl-fileid.h: New file.
6628         * sysdeps/nacl/dl-fileid.h: New file.
6629         * include/link.h: Include <dl-fileid.h>.
6630         (struct link_map): Replace l_dev and l_ino with l_file_id.
6631         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
6632         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
6633         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
6635 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6637         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
6639 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6641         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
6642         Add iff $CXX is set.
6643         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
6644         Likewise.
6645         (tst-nodelete-zmodiff): Likewise.
6646         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
6648 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6650         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
6652 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
6654         * sysdeps/aarch64/fpu/math_private.h
6655         (define math_opt_barrier): Add AArch64 version.
6656         (math_force_eval): Likewise.
6658 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
6660         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
6662 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
6664         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
6665         %ld with %jd and cast to intmax_t.
6666         (do_test_length_zero): Likewise.
6668 2015-07-10  Roland McGrath  <roland@hack.frob.com>
6670         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
6672 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
6674         * sysdeps/tile/libm-test-ulps: Regenerated.
6676         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
6677         Comment out the whole function, not just its body.
6679 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6681         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
6682         locks.
6684         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
6686 2015-07-10  Torvald Riegel  <triegel@redhat.com>
6688         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
6689         (sem_assume_only_signals_cause_futex_EINTR): Remove.
6691 2015-07-10  Torvald Riegel  <triegel@redhat.com>
6693         * sysdeps/nptl/futex-internal.h: New file.
6694         * sysdeps/nacl/futex-internal.h: New file.
6695         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
6696         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
6697         error checking.
6698         (setxid_unmark_thread): Likewise.
6699         (__nptl_setxid): Likewise.
6700         (__wait_lookup_done): Likewise.
6701         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
6702         * nptl/nptl-init.c (sighandler_setxid): Likewise.
6703         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
6704         * nptl/pthread_once.c (clear_once_control): Likewise.
6705         (__pthread_once_slow): Likewise.
6706         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
6707         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
6708         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
6709         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
6710         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
6711         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
6712         Likewise.
6713         (__pthread_rwlock_rdlock): Likewise.
6714         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
6715         Likewise.
6716         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
6717         Likewise.
6718         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
6719         Likewise.
6720         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
6721         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
6722         Likewise.
6723         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
6724         __ASSUME_PRIVATE_FUTEX check.
6725         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
6726         Check that shared futexes are supported.
6727         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
6728         wrappers with error checking.
6729         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
6730         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
6731         * nptl/pthread_barrierattr_setpshared.c
6732         (pthread_barrierattr_setpshared): Check that shared futexes are
6733         supported.
6734         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
6735         Likewise.
6736         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
6737         Likewise.
6738         * nptl/sem_init.c (futex_private_if_supported): Remove.
6739         (__new_sem_init): Adapt and check that shared futexes are supported.
6740         * nptl/sem_open.c (sem_open): Likewise.
6741         * nptl/sem_post.c (futex_wake): Remove.
6742         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
6743         (do_futex_wait): Use futex wrappers with error checking.
6744         * nptl/sem_wait.c: Include lowlevellock.h.
6745         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
6746         Use futex_supports_pshared.
6747         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
6748         Use futex wrappers with error checking.
6749         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
6750         Likewise.
6751         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
6752         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
6753         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
6754         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
6755         (futex_wake): Likewise.
6756         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
6757         (do_futex_wait): Use futex wrappers with error checking.
6758         (__new_sem_wait_slow): Update EINTR handling.
6759         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
6761 2015-07-09  Martin Sebor  <msebor@redhat.com>
6763         [BZ #18435]
6764         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
6765         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
6766         * nptl/Makefile (test-xfail-tst-once5): Define.
6768 2015-07-09  Roland McGrath  <roland@hack.frob.com>
6770         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
6771         * elf/dl-minimal.c: For readability, reorder some definitions and
6772         introduce more page breaks.  Include <stdio.h>.
6773         (__libc_fatal): New function.
6775         * include/unistd.h: Add rtld_hidden_proto for _exit.
6776         * posix/_exit.c: Add rtld_hidden_def.
6777         * sysdeps/mach/hurd/_exit.c: Likewise.
6778         * sysdeps/nacl/_exit.c: Likewise.
6779         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
6780         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
6782 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
6784         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
6785         bndmov encoding with zero displacement.
6787 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
6788             H.J. Lu  <hongjiu.lu@intel.com>
6790         [BZ #18134]
6791         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
6792         * sysdeps/i386/configure: Regenerated.
6793         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
6794         (_dl_runtime_profile): Save and restore Intel MPX return bound
6795         registers when calling _dl_call_pltexit.  Add
6796         PRESERVE_BND_REGS_PREFIX before return.
6797         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
6798         (LRV_BND1_OFFSET): Likewise.
6799         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
6800         lrv_bnd1.
6801         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
6802         typo in bndmov encoding.
6803         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
6804         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
6805         branch instructions to preserve bounds.
6807 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6810         [GLIBC_2.22]: Add fmemopen.
6812 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6814         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
6815         returns an error, also try to use host port from __mach_host_self for
6816         the __vm_wire call.
6817         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
6819 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6821         [BZ #18400]
6822         [BZ #18648]
6823         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
6824         Fix pr_uid and pr_gid members.
6825         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
6826         definition to elf_greg_t.
6828 2015-07-08  Roland McGrath  <roland@hack.frob.com>
6830         [BZ #18383]
6831         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
6832         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
6833         * sysdeps/arm/configure: Regenerated.
6834         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
6835         (test-xfail-tst-tlsalign-static): Variable removed.
6837         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
6838         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
6839         rather than explicit 'ln -s'.
6841         * resolv/rpc/netdb.h: New file.
6842         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
6844 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6846         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
6847         length buffers.
6848         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
6849         test-skeleton.c.
6851         [BZ #6544]
6852         [BZ #11216]
6853         [BZ #12836]
6854         [BZ #13151]
6855         [BZ #13152]
6856         [BZ #14292]
6857         * include/stdio.h (fmemopen): Remove hidden prototype.
6858         (__fmemopen): Add new hidden prototype.
6859         * libio/Makefile: Add oldfmemopen object.
6860         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
6861         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
6862         compliance.
6863         * libio/oldfmemopen.c: New file: old fmemopen implementation for
6864         symbol compatibility.
6865         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
6866         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
6867         fmemopen.
6868         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
6869         on append and read mode.
6870         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
6871         fmemopen.
6872         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
6873         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
6874         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
6875         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
6876         Likewise.
6877         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
6878         [GLIBC_2.22]: Likewise.
6879         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
6880         Likewise.
6881         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
6882         Likewise.
6883         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6884         [GLIBC_2.22]: Likewise.
6885         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6886         [GLIBC_2.22]: Likewise.
6887         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6888         [GLIBC_2.22]: Likewise.
6889         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6890         [GLIBC_2.22]: Likewise.
6891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6892         [GLIBC_2.22]: Likewise.
6893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6894         [GLIBC_2.22]: Likewise.
6895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6896         [GLIBC_2.22]: Likewise.
6897         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
6898         Likewise.
6899         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
6900         Likewise.
6901         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
6902         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
6903         [GLIBC_2.22]: Likewise.
6904         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
6905         [GLIBC_2.22]: Likewise.
6906         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
6907         [GLIBC_2.22]: Likewise.
6908         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
6909         [GLIBC_2.22]: Likewise.
6910         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
6911         Likewise.
6912         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
6913         Likewise.
6914         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
6915         Likewise.
6916         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
6917         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
6919 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
6921         [BZ #18643]
6922         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
6923         IPV6_PATHMTU, and IPV6_DONTFRAG.
6925 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
6927         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
6928         and _IO_UNBUFFERED.
6929         * libio/oldfileops.c: Likewise.
6930         * libio/wfileops.c: Likewise.
6932 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
6934         * nscd/selinux.c: Delete selinux/flask.h include.
6936 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
6938         [BZ #18641]
6939         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
6940         (putpwent): Likewise.
6941         (getpwnam): Likewise.
6942         (getpwent_r): Likewise.
6943         (getpwuid_r): Likewise.
6944         (getpwnam_r): Likewise.
6945         (fgetpwent_r): Likewise.
6947 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
6949         [BZ #18557]
6950         * inet/rcmd.c (__validuser2_sa): Check user first to
6951         short-circuit host check.
6953 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
6954             Mikhail Ilin  <m.ilin@samsung.com>
6956         [BZ #17833]
6957         * elf/Makefile (tests): Add tst-nodelete.
6958         (modules-names): Add tst-nodelete-uniquemod.
6959         (tst-nodelete-uniquemod.so-no-z-defs): New.
6960         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
6961         (tst-nodelete-zmod.so-no-z-defs): Likewise.
6962         ($(objpfx)tst-nodelete): Likewise.
6963         ($(objpfx)tst-nodelete.out): Likewise.
6964         (LDFLAGS-tst-nodelete): Likewise.
6965         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
6966         * elf/dl-close.c (_dl_close_worker): Add a parameter to
6967         implement forced object deletion.
6968         (_dl_close): Pass false to _dl_close_worker.
6969         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
6970         * elf/tst-nodelete.cc: New file.
6971         * elf/tst-nodeletelib.cc: Likewise.
6972         * elf/tst-znodeletelib.cc: Likewise.
6973         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
6975 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
6977         [BZ #18508]
6978         * stdlib/Makefile ($(objpfx)tst-makecontext3):
6979         Depend on $(libdl).
6980         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
6981         is not called infinitely times.
6982         (backtrace_helper): New function.
6983         (trace_arg): New struct.
6984         (st1): Enlarge stack size.
6985         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
6986         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
6987         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
6988         Likewise.
6990 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
6992         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6994 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
6996         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
6997         Include sys/types.h instead of bits/types.h.
6998         Remove inclusion of bits/wordsize.h.
7000 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
7002         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
7003         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
7004         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
7005         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
7006         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
7007         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
7009 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
7011         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
7012         link-defines.sym.
7013         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
7014         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
7015         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
7016         and LR_SIZE.
7017         * sysdeps/i386/link-defines.sym: New file.
7019 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
7021         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
7022         (modules-names): Add tst-auditmod3a tst-auditmod3b.
7023         ($(objpfx)tst-audit3): New rule.
7024         ($(objpfx)tst-audit3.out): Likewise.
7025         * sysdeps/i386/tst-audit3.c: New file.
7026         * sysdeps/i386/tst-audit3.h: Likewise.
7027         * sysdeps/i386/tst-auditmod3a.c: Likewise.
7028         * sysdeps/i386/tst-auditmod3b.c: Likewise.
7030 2015-07-07  Torvald Riegel  <triegel@redhat.com>
7032         [BZ #18633]
7033         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
7034         pointer in C code.
7035         (__strcat_c): Likewise.
7036         (__strcat_g): Likewise.
7038 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
7040         [BZ #18592]
7041         * misc/sbrk.c: Set errno to ENOMEM on overflow.
7043 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
7045         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
7046         New function.  (__ieee754_sqrtf): New function.
7047         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
7048         New function.
7049         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
7050         New function.
7052 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
7054         * sysdeps/ieee754/support.c: Remove unused file.
7056 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7058         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
7059         registers instead of d ones so the layout is kernel abi compatible.
7060         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
7061         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
7062         Likewise.
7064 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7066         * sysdeps/aarch64/libm-test-ulps: Regenerated.
7068 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
7070         [BZ #18619]
7071         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
7072         and return argument in case of subnormal argument.
7074 2015-07-01  Martin Sebor  <msebor@redhat.com>
7076         [BZ #18435]
7077         * nptl/Makefile: Add tst-once5.cc.
7078         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
7079         Remove macro redefinitions.
7080         * nptl/tst-once5.cc: New test.
7082 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
7084         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7086         * sysdeps/arm/libm-test-ulps: Regenerated.
7088         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7089         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7091 2015-06-30  Torvald Riegel  <triegel@redhat.com>
7093         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
7094         lll_lock_wait_private and lll_futex_wake probes.
7096         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
7097         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
7098         Likewise.
7099         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
7100         atomic_spin_nop.
7101         * sysdeps/x86_64/bits/atomic.h: Likewise.
7102         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
7103         to atomic_spin_nop and move ...
7104         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
7105         ... here and ...
7106         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
7107         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
7108         atomic_spin_nop instead of BUSY_WAIT_NOP.
7109         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
7110         Likewise.
7111         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
7112         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
7113         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
7114         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
7115         instead of atomic_delay.
7117 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
7119         [BZ #18613]
7120         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
7121         X_ADJ not X when adjusting exponent.
7122         (__ieee754_gamma_r): Do intermediate computations in
7123         round-to-nearest then adjust overflowing and underflowing results
7124         as needed.
7125         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
7126         of X_ADJ not X when adjusting exponent.
7127         (__ieee754_gammaf_r): Do intermediate computations in
7128         round-to-nearest then adjust overflowing and underflowing results
7129         as needed.
7130         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
7131         log of X_ADJ not X when adjusting exponent.
7132         (__ieee754_gammal_r): Do intermediate computations in
7133         round-to-nearest then adjust overflowing and underflowing results
7134         as needed.  Use 1.0L not 1.0f as numerator of division.
7135         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
7136         log of X_ADJ not X when adjusting exponent.
7137         (__ieee754_gammal_r): Do intermediate computations in
7138         round-to-nearest then adjust overflowing and underflowing results
7139         as needed.  Use 1.0L not 1.0f as numerator of division.
7140         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
7141         of X_ADJ not X when adjusting exponent.
7142         (__ieee754_gammal_r): Do intermediate computations in
7143         round-to-nearest then adjust overflowing and underflowing results
7144         as needed.  Use 1.0L not 1.0f as numerator of division.
7145         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
7146         to auto-libm-test-in.
7147         (tgamma_test): Use ALL_RM_TEST.
7148         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
7149         tests of tgamma with spurious-overflow.
7150         * math/auto-libm-test-out: Regenerated.
7151         * math/gen-libm-have-vector-test.sh: Do not check for START.
7152         * sysdeps/i386/fpu/libm-test-ulps: Update.
7153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7155         [BZ #18612]
7156         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
7157         arguments, just return 0.5 times the argument, with underflow
7158         forced as needed.
7159         * math/auto-libm-test-in: Add more tests of j1.
7160         * math/auto-libm-test-out: Regenerated.
7162         [BZ #16559]
7163         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
7164         (__ieee754_j1): Force underflow exception for small results.
7165         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
7166         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
7167         (__ieee754_j1f): Force underflow exception for small results.
7168         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
7169         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7170         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7171         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
7172         (__ieee754_j1l): Force underflow exception for small results.
7173         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7174         * math/auto-libm-test-in: Add more tests of j1 and jn.
7175         * math/auto-libm-test-out: Regenerated.
7177         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
7178         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
7179         (PF_MPLS): Likewise.
7180         (AF_IB): Likewise.
7181         (AF_MPLS): Likewise.
7182         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
7183         value and macro.
7184         (MS_RMT_MASK): Include MS_LAZYTIME.
7186 2015-06-26  Mel Gorman  <mgorman@suse.de>
7188         [BZ #18502]
7189         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
7190         already minimal.
7192 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
7194         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
7195         (DT_MIPS_NUM): Update.
7196         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
7197         DT_MIPS_RLD_MAP_REL.
7199 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
7201         [BZ #16559]
7202         [BZ #18602]
7203         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
7204         round-to-nearest internally then recompute results that
7205         underflowed to zero in the original rounding mode.
7206         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
7207         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7208         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7209         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
7210         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
7211         * sysdeps/i386/fpu/libm-test-ulps: Update.
7212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7214 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
7216         * NEWS: Fixed description of link with vector math library.
7218 2015-06-25  Andreas Schwab  <schwab@suse.de>
7220         [BZ #18549]
7221         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
7222         * libio/test-fmemopen.c (do_test): Add test for it.
7224 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
7226         [BZ #17841]
7227         * Makeconfig (no-pie-ldflag): New.
7228         (+link): Set to $(+link-pie) if default to PIE.
7229         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
7230         * config.make.in (build-pie-default): New.
7231         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
7232         is default.  AC_SUBST.
7233         * configure: Regenerated.
7234         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
7236 2015-06-24  Roland McGrath  <roland@hack.frob.com>
7238         * nptl/descr.h (struct pthread): Change type of field setxid_futex
7239         to 'unsigned int'.
7241         * resolv/gai_misc.h (struct waitlist): Change type of field
7242         counterp to 'volatile unsigned int *'.
7243         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
7244         FUTEXADDR and OLDVAL.
7245         * resolv/getaddrinfo_a.c (getaddrinfo_a):
7246         Give local variable TOTAL type 'volatile unsigned int'.
7247         (struct async_waitlist): Change type of field counter to 'unsigned int'.
7248         * resolv/gai_suspend.c (gai_suspend):
7249         Give local variable CNTR type 'unsigned int'.
7251         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
7252         counterp to 'volatile unsigned int *'.
7253         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
7254         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
7255         (aio_suspend): Give local variable CNTR type 'unsigned int'.
7256         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
7257         Give local variable TOTAL type 'volatile unsigned int'.
7258         (struct async_waitlist): Change type of field counter to 'unsigned int'.
7260 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
7262         [BZ #18383]
7263         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
7264         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
7265         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
7266         comment for i386/x86-64.
7267         (test-xfail-tst-tlsalign-extern-static): Removed.
7269 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
7271         * math/test-double.h: New file.
7272         * math/test-float.h: Likewise.
7273         * math/test-ldouble.h: Likewise.
7274         * math/test-math-inline.h: Likewise.
7275         * math/test-math-no-inline.h: Likewise.
7276         * math/test-math-scalar.h: Likewise.
7277         * math/test-math-vector.h: Likewise.
7278         * math/test-vec-loop.h: Remove file.  Contents moved into
7279         test-math-vector.h.
7280         * math/libm-test.inc (MATHCONST): Do not document macro.
7281         * math/test-double.c: Include test-double.h, test-math-no-inline.h
7282         and test-math-scalar.h.
7283         (FUNC): Remove macro.
7284         (FUNC_TEST): Likewise.
7285         (FLOAT): Likewise.
7286         (MATHCONST): Likewise.
7287         (PRINTF_EXPR): Likewise.
7288         (PRINTF_XEXPR): Likewise.
7289         (PRINTF_NEXPR): Likewise.
7290         (TEST_DOUBLE): Likewise.
7291         (TEST_MATHVEC): Likewise.
7292         (__NO_MATH_INLINES): Likewise.
7293         * math/test-float.c: Include test-float.h, test-math-no-inline.h
7294         and test-math-scalar.h.
7295         (FUNC): Remove macro.
7296         (FUNC_TEST): Likewise.
7297         (FLOAT): Likewise.
7298         (MATHCONST): Likewise.
7299         (PRINTF_EXPR): Likewise.
7300         (PRINTF_XEXPR): Likewise.
7301         (PRINTF_NEXPR): Likewise.
7302         (TEST_FLOAT): Likewise.
7303         (TEST_MATHVEC): Likewise.
7304         (__NO_MATH_INLINES): Likewise.
7305         * math/test-idouble.c: Include test-double.h, test-math-inline.h
7306         and test-math-scalar.h.
7307         (FUNC): Remove macro.
7308         (FUNC_TEST): Likewise.
7309         (FLOAT): Likewise.
7310         (MATHCONST): Likewise.
7311         (PRINTF_EXPR): Likewise.
7312         (PRINTF_XEXPR): Likewise.
7313         (PRINTF_NEXPR): Likewise.
7314         (TEST_DOUBLE): Likewise.
7315         (TEST_MATHVEC): Likewise.
7316         (TEST_INLINE): Likewise.
7317         (__NO_MATH_INLINES): Likewise.
7318         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
7319         test-math-scalar.h.
7320         (FUNC): Remove macro.
7321         (FUNC_TEST): Likewise.
7322         (FLOAT): Likewise.
7323         (MATHCONST): Likewise.
7324         (PRINTF_EXPR): Likewise.
7325         (PRINTF_XEXPR): Likewise.
7326         (PRINTF_NEXPR): Likewise.
7327         (TEST_FLOAT): Likewise.
7328         (TEST_MATHVEC): Likewise.
7329         (TEST_INLINE): Likewise.
7330         (__NO_MATH_INLINES): Likewise.
7331         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
7332         and test-math-scalar.h.
7333         (FUNC): Remove macro.
7334         (FUNC_TEST): Likewise.
7335         (FLOAT): Likewise.
7336         (MATHCONST): Likewise.
7337         (PRINTF_EXPR): Likewise.
7338         (PRINTF_XEXPR): Likewise.
7339         (PRINTF_NEXPR): Likewise.
7340         (TEST_LDOUBLE): Likewise.
7341         (TEST_MATHVEC): Likewise.
7342         (TEST_INLINE): Likewise.
7343         (__NO_MATH_INLINES): Likewise.
7344         * math/test-ldouble.c: Include test-ldouble.h,
7345         test-math-no-inline.h and test-math-scalar.h.
7346         (FUNC): Remove macro.
7347         (FUNC_TEST): Likewise.
7348         (FLOAT): Likewise.
7349         (MATHCONST): Likewise.
7350         (PRINTF_EXPR): Likewise.
7351         (PRINTF_XEXPR): Likewise.
7352         (PRINTF_NEXPR): Likewise.
7353         (TEST_LDOUBLE): Likewise.
7354         (TEST_MATHVEC): Likewise.
7355         (__NO_MATH_INLINES): Likewise.
7356         * math/test-double-vlen2.h: Include test-double.h,
7357         test-math-no-inline.h and test-math-vector.h.
7358         (FLOAT): Remove macro.
7359         (FUNC): Likewise.
7360         (MATHCONST): Likewise.
7361         (PRINTF_EXPR): Likewise.
7362         (PRINTF_XEXPR): Likewise.
7363         (PRINTF_NEXPR): Likewise.
7364         (TEST_DOUBLE): Likewise.
7365         (TEST_MATHVEC): Likewise.
7366         (__NO_MATH_INLINES): Likewise.
7367         (CNCT): Likewise.
7368         (CONCAT): Likewise.
7369         (WRAPPER_NAME): Likewise.
7370         (WRAPPER_DECL): Likewise.
7371         (WRAPPER_DECL_ff): Likewise.
7372         (WRAPPER_DECL_fFF): Likewise.
7373         (VECTOR_WRAPPER): Likewise.
7374         (VECTOR_WRAPPER_ff): Likewise.
7375         (VECTOR_WRAPPER_fFF): Likewise.
7376         (VEC_LEN): New macro.
7377         * math/test-double-vlen4.h: Include test-double.h,
7378         test-math-no-inline.h and test-math-vector.h.
7379         (FLOAT): Remove macro.
7380         (FUNC): Likewise.
7381         (MATHCONST): Likewise.
7382         (PRINTF_EXPR): Likewise.
7383         (PRINTF_XEXPR): Likewise.
7384         (PRINTF_NEXPR): Likewise.
7385         (TEST_DOUBLE): Likewise.
7386         (TEST_MATHVEC): Likewise.
7387         (__NO_MATH_INLINES): Likewise.
7388         (CNCT): Likewise.
7389         (CONCAT): Likewise.
7390         (WRAPPER_NAME): Likewise.
7391         (WRAPPER_DECL): Likewise.
7392         (WRAPPER_DECL_ff): Likewise.
7393         (WRAPPER_DECL_fFF): Likewise.
7394         (VECTOR_WRAPPER): Likewise.
7395         (VECTOR_WRAPPER_ff): Likewise.
7396         (VECTOR_WRAPPER_fFF): Likewise.
7397         (VEC_LEN): New macro.
7398         * math/test-double-vlen8.h: Include test-double.h,
7399         test-math-no-inline.h and test-math-vector.h.
7400         (FLOAT): Remove macro.
7401         (FUNC): Likewise.
7402         (MATHCONST): Likewise.
7403         (PRINTF_EXPR): Likewise.
7404         (PRINTF_XEXPR): Likewise.
7405         (PRINTF_NEXPR): Likewise.
7406         (TEST_DOUBLE): Likewise.
7407         (TEST_MATHVEC): Likewise.
7408         (__NO_MATH_INLINES): Likewise.
7409         (CNCT): Likewise.
7410         (CONCAT): Likewise.
7411         (WRAPPER_NAME): Likewise.
7412         (WRAPPER_DECL): Likewise.
7413         (WRAPPER_DECL_ff): Likewise.
7414         (WRAPPER_DECL_fFF): Likewise.
7415         (VECTOR_WRAPPER): Likewise.
7416         (VECTOR_WRAPPER_ff): Likewise.
7417         (VECTOR_WRAPPER_fFF): Likewise.
7418         (VEC_LEN): New macro.
7419         * math/test-float-vlen4.h: Include test-float.h,
7420         test-math-no-inline.h and test-math-vector.h.
7421         (FLOAT): Remove macro.
7422         (FUNC): Likewise.
7423         (MATHCONST): Likewise.
7424         (PRINTF_EXPR): Likewise.
7425         (PRINTF_XEXPR): Likewise.
7426         (PRINTF_NEXPR): Likewise.
7427         (TEST_FLOAT): Likewise.
7428         (TEST_MATHVEC): Likewise.
7429         (__NO_MATH_INLINES): Likewise.
7430         (CNCT): Likewise.
7431         (CONCAT): Likewise.
7432         (WRAPPER_NAME): Likewise.
7433         (WRAPPER_DECL): Likewise.
7434         (WRAPPER_DECL_ff): Likewise.
7435         (WRAPPER_DECL_fFF): Likewise.
7436         (VECTOR_WRAPPER): Likewise.
7437         (VECTOR_WRAPPER_ff): Likewise.
7438         (VECTOR_WRAPPER_fFF): Likewise.
7439         (VEC_LEN): New macro.
7440         * math/test-float-vlen8.h: Include test-float.h,
7441         test-math-no-inline.h and test-math-vector.h.
7442         (FLOAT): Remove macro.
7443         (FUNC): Likewise.
7444         (MATHCONST): Likewise.
7445         (PRINTF_EXPR): Likewise.
7446         (PRINTF_XEXPR): Likewise.
7447         (PRINTF_NEXPR): Likewise.
7448         (TEST_FLOAT): Likewise.
7449         (TEST_MATHVEC): Likewise.
7450         (__NO_MATH_INLINES): Likewise.
7451         (CNCT): Likewise.
7452         (CONCAT): Likewise.
7453         (WRAPPER_NAME): Likewise.
7454         (WRAPPER_DECL): Likewise.
7455         (WRAPPER_DECL_ff): Likewise.
7456         (WRAPPER_DECL_fFF): Likewise.
7457         (VECTOR_WRAPPER): Likewise.
7458         (VECTOR_WRAPPER_ff): Likewise.
7459         (VECTOR_WRAPPER_fFF): Likewise.
7460         (VEC_LEN): New macro.
7461         * math/test-float-vlen16.h: Include test-float.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_FLOAT): 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         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
7483         test-vec-loop.h.
7484         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
7485         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
7486         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
7487         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
7488         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
7489         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
7490         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
7492 2015-06-24  Roland McGrath  <roland@hack.frob.com>
7494         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
7495         (__getlogin_r): ... this.
7497 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
7499         [BZ #18594]
7500         * math/s_ccosh.c (__ccosh): Compare with least normal value
7501         instead of comparing class with FP_SUBNORMAL.
7502         * math/s_ccoshf.c (__ccoshf): Likewise.
7503         * math/s_ccoshl.c (__ccoshl): Likewise.
7504         * math/s_cexp.c (__cexp): Likewise.
7505         * math/s_cexpf.c (__cexpf): Likewise.
7506         * math/s_cexpl.c (__cexpl): Likewise.
7507         * math/s_csin.c (__csin): Likewise.
7508         * math/s_csinf.c (__csinf): Likewise.
7509         * math/s_csinh.c (__csinh): Likewise.
7510         * math/s_csinhf.c (__csinhf): Likewise.
7511         * math/s_csinhl.c (__csinhl): Likewise.
7512         * math/s_csinl.c (__csinl): Likewise.
7513         * math/s_ctan.c (__ctan): Likewise.
7514         * math/s_ctanf.c (__ctanf): Likewise.
7515         * math/s_ctanh.c (__ctanh): Likewise.
7516         * math/s_ctanhf.c (__ctanhf): Likewise.
7517         * math/s_ctanhl.c (__ctanhl): Likewise.
7518         * math/s_ctanl.c (__ctanl): Likewise.
7519         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
7520         csin, csinh, ctan and ctanh.
7521         * math/auto-libm-test-out: Regenerated.
7522         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
7523         * sysdeps/i386/fpu/libm-test-ulps: Update.
7524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7526 2015-06-24  Roland McGrath  <roland@hack.frob.com>
7528         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
7529         return value is wrong, print the expected value too.
7531 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
7533         [BZ #18585]
7534         * elf/readlib.c (is_gdb_python_file): New.
7535         (process_file): Don't issue errors on filenames with -gdb.py
7536         suffix.
7538 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
7540         * math/auto-libm-test-in: Add more tests of csin and csinh.
7541         * math/auto-libm-test-out: Regenerated.
7542         * math/libm-test.inc (csin_test_data): Remove tests moved to
7543         auto-libm-test-in.
7544         (csinh_test_data): Likewise.
7546         [BZ #18593]
7547         * math/s_csin.c (__csin): Negate before rather than after possibly
7548         overflowing multiplication.
7549         * math/s_csinf.c (__csinf): Likewise.
7550         * math/s_csinh.c (__csinh): Likewise.
7551         * math/s_csinhf.c (__csinhf): Likewise.
7552         * math/s_csinhl.c (__csinhl): Likewise.
7553         * math/s_csinl.c (__csinl): Likewise.
7554         * math/auto-libm-test-in: Add some tests of csin and csinh.
7555         * math/auto-libm-test-out: Regenerated.
7556         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
7557         (csinh_test_data): Likewise.
7558         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7560         [BZ #18586]
7561         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
7562         underflow exception for small results.
7564 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
7566         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
7567         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
7568         variable and included header.
7569         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
7570         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
7571         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
7572         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
7573         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
7574         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
7575         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
7576         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
7577         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
7578         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
7579         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
7580         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
7581         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
7582         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
7583         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
7584         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
7586 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
7588         [BZ #16526]
7589         [BZ #16538]
7590         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
7591         (__sin): Force underflow exception for arguments with small
7592         absolute value.
7593         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
7594         (__kernel_sinf): Force underflow exception for arguments with
7595         small absolute value.
7596         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
7597         (__kernel_sincosl): Force underflow exception for arguments with
7598         small absolute value.
7599         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
7600         (__kernel_sinl): Force underflow exception for arguments with
7601         small absolute value.
7602         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
7603         (__kernel_sincosl): Force underflow exception for arguments with
7604         small absolute value.
7605         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
7606         (__kernel_sinl): Force underflow exception for arguments with
7607         small absolute value.
7608         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
7609         (__kernel_sinl): Force underflow exception for arguments with
7610         small absolute value.
7611         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
7612         (__kernel_sinf): Force underflow exception for arguments with
7613         small absolute value.
7614         * math/auto-libm-test-in: Add more tests of sin and sincos.
7615         * math/auto-libm-test-out: Regenerated.
7617         [BZ #18245]
7618         [BZ #18583]
7619         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
7620         (__kernel_standard_l): Use feholdexcept and fesetenv around
7621         conversion to double instead of special-casing overflow and
7622         underflow.
7623         * math/libm-test.inc (fmod_test_data): Add more tests.
7624         (remainder_test_data): Likewise.
7625         (sqrt_test_data): Likewise.
7627 2015-06-23  Torvald Riegel  <triegel@redhat.com>
7629         [BZ #17403]
7630         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
7631         atomic_read_barrier, atomic_write_barrier): Define.
7632         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
7633         atomic_read_barrier, atomic_write_barrier): Define.
7635 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
7637         * math/Makefile [$(PERL) != no]
7638         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
7639         dependency on libm-test.stmp below the inclusion of Rules.
7641 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
7643         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
7644         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
7645         and included header.
7646         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
7647         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
7648         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
7649         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
7650         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
7651         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
7652         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
7653         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
7654         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
7655         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
7656         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
7657         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
7658         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
7659         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
7660         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
7661         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
7662         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
7663         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
7664         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
7666 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
7668         [BZ #18371]
7669         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
7670         intermediate but not final result might underflow.
7671         * math/s_csqrtf.c (__csqrtf): Likewise.
7672         * math/s_csqrtl.c (__csqrtl): Likewise.
7673         * math/auto-libm-test-in: Add more tests of csqrt.
7674         * math/auto-libm-test-out: Regenerated.
7675         * sysdeps/i386/fpu/libm-test-ulps: Update.
7677         [BZ #18219]
7678         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
7679         threshold on absolute value of exponent for which scaling is used.
7680         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
7681         * math/auto-libm-test-in: Add more tests of exp2.
7682         * math/auto-libm-test-out: Regenerated.
7684 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
7686         [BZ #17977]
7687         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
7688         when initializing interface list, based on the bug analysis
7689         and the patch proposed by Eric Newton.
7690         * resolv/tst-res_hconf_reorder.c: New test.
7691         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
7692         tst-res_hconf_reorder.
7693         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
7694         and $(shared-thread-library).
7695         (tst-res_hconf_reorder-ENV): New variable.
7697         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
7698         in comment.
7700 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
7702         [BZ #16353]
7703         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
7704         (__expm1): Force underflow exception for arguments with small
7705         absolute value.
7706         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
7707         (__expm1f): Force underflow exception for arguments with small
7708         absolute value.
7709         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
7710         (__expm1): Force underflow exception for arguments with small
7711         absolute value.
7712         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
7713         (__expm1f): Force underflow exception for arguments with small
7714         absolute value.
7715         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
7716         Check for small arguments before calling __expm1.
7717         * math/auto-libm-test-in: Do not mark underflow exceptions as
7718         possibly missing for bug 16353.
7719         * math/auto-libm-test-out: Regenerated.
7721 2015-06-22  Andreas Schwab  <schwab@suse.de>
7723         [BZ #18513]
7724         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
7725         PTR queries.
7727 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
7729         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
7731         * string/strcoll_l.c: Remove unused struct element idxnow.
7733 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
7735         [BZ #18569]
7736         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
7737         underflow and return argument in case of subnormal argument.
7738         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7739         Likewise.
7740         * math/auto-libm-test-in: Add more tests of expm1.
7741         * math/auto-libm-test-out: Regenerated.
7743         [BZ #16361]
7744         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
7745         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
7746         tiny results.
7747         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
7748         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
7749         tiny results.
7750         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
7751         mark underflow exceptions as possibly missing for bug 16361.
7752         * math/auto-libm-test-out: Regenerated.
7754 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
7756         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
7757         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
7758         Remove variable.
7759         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
7760         (test-xfail-XOPEN2K8/utmpx.h/conform).
7762         * conform/conformtest.pl ($xerrors): New variable.
7763         (note_error): New function.
7764         (compiletest): New argument $xfail.  Use not_error.
7765         (runtest): Likewise.
7766         (top level): Handle xfail- lines.  Update calls to compiletest and
7767         runtest.  Handle xfail- and optional- in headers listed with
7768         allow-header.
7769         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
7770         (O_EXEC): Likewise.
7771         (O_SEARCH): Likewise.
7772         * conform/data/stropts.h-data (ioctl): Likewise.
7773         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
7774         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
7775         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
7776         (msghdr.msg_controllen): Likewise.
7777         (cmsghdr.cmsg_len): Likewise.
7778         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
7779         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
7780         variable.
7781         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
7782         (test-xfail-XPG4/stropts.h/conform): Likewise.
7783         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
7784         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
7785         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
7786         (test-xfail-UNIX98/stropts.h/conform): Likewise.
7787         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
7788         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
7789         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
7790         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
7791         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
7792         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
7793         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
7794         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
7795         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
7796         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
7797         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
7798         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
7799         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
7800         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
7801         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
7803 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
7805         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
7806         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
7807         definitions for proper unfolding of __MATHDECL_VEC.
7809 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
7811         * benchtests/bench-strcoll.c:
7812         Include string.h.
7813         (main): Remove unused variable res.
7815 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
7817         * timezone/Makefile (%/UTC %/Universal):
7818         Generate test-result files for UTC and Universal.
7820 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
7822         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7824 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
7826         [BZ #16350]
7827         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
7828         for arguments with small absolute value.
7829         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
7830         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
7831         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
7832         (__asinh): Force underflow exception for arguments with small
7833         absolute value.
7834         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
7835         (__asinhf): Force underflow exception for arguments with small
7836         absolute value.
7837         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
7838         (__asinhl): Force underflow exception for arguments with small
7839         absolute value.
7840         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
7841         (__asinhl): Force underflow exception for arguments with small
7842         absolute value.
7843         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
7844         (__asinhl): Force underflow exception for arguments with small
7845         absolute value.
7846         * math/auto-libm-test-in: Do not mark underflow exceptions as
7847         possibly missing for bug 16350.
7848         * math/auto-libm-test-out: Regenerated.
7850         * include/bits/ipc.h: Remove file.
7851         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
7852         variable.
7853         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
7854         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
7855         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
7856         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
7857         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
7858         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
7859         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
7860         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
7861         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
7863         * math/auto-libm-test-in: Remove spurious underflow allowance for
7864         tests of cexp.
7865         * math/auto-libm-test-out: Regenerated.
7867         [BZ #18558]
7868         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
7869         unconditional definition.
7870         (MCAST_BLOCK_SOURCE): Likewise.
7871         (MCAST_UNBLOCK_SOURCE): Likewise.
7872         (MCAST_LEAVE_GROUP): Likewise.
7873         (MCAST_JOIN_SOURCE_GROUP): Likewise.
7874         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
7875         (MCAST_MSFILTER): Likewise.
7876         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
7877         Remove variable.
7878         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
7879         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
7880         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
7881         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
7882         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
7884 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
7886         * NEWS: Mention addition of x86_64 vector sincosf.
7887         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
7888         * math/test-float-vlen4.h: Likewise.
7889         * math/test-float-vlen8.h: Likewise.
7890         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
7891         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
7892         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
7893         * sysdeps/x86_64/fpu/Versions: New versions added.
7894         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7895         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
7896         Added build of SSE, AVX2 and AVX512 IFUNC versions.
7897         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
7898         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
7899         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
7900         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
7901         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
7902         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
7903         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
7904         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
7905         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
7906         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
7907         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
7908         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
7909         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
7910         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
7911         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
7912         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
7913         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
7914         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
7915         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
7916         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
7917         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
7919         * NEWS: Mention addition of x86_64 vector sincos.
7920         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
7921         * math/math.h (__MATHDECL_VEC): New macro.
7922         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
7923         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
7924         declaration under condition.
7925         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
7926         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
7927         TEST_VEC_LOOP change.
7928         * math/test-double-vlen4.h: Likewise.
7929         * math/test-double-vlen8.h: Likewise.
7930         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
7931         * math/test-float-vlen4.h: Likewise.
7932         * math/test-float-vlen8.h: Likewise.
7933         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
7934         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
7935         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
7936         * sysdeps/x86_64/fpu/Versions: New versions added.
7937         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7938         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
7939         Added build of SSE, AVX2 and AVX512 IFUNC versions.
7940         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
7941         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
7942         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
7943         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
7944         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
7945         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
7946         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
7947         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
7948         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
7949         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
7950         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
7951         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
7952         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
7953         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
7954         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
7955         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
7956         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
7957         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
7958         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
7959         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
7960         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
7962         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
7963         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
7964         redirections for powf.
7965         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
7966         * sysdeps/x86_64/fpu/Versions: New versions added.
7967         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7968         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
7969         Added build of SSE, AVX2 and AVX512 IFUNC versions.
7970         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
7971         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
7972         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
7973         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
7974         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
7975         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
7976         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
7977         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
7978         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
7979         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
7980         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
7981         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
7982         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
7983         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
7984         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
7985         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
7986         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
7987         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
7988         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
7989         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
7990         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
7991         * math/test-float-vlen16.h: Fixed 2 argument macro.
7992         * math/test-float-vlen4.h: Likewise.
7993         * math/test-float-vlen8.h: Likewise.
7994         * NEWS: Mention addition of x86_64 vector powf.
7996 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
7998         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7999         and redefine.
8000         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8001         and redefine.
8002         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
8003         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
8004         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8006         [BZ #18553]
8007         * resource/getpriority.c (getpriority): Rename to __getpriority
8008         and define as weak alias of __getpriority.
8009         * resource/setpriority.c (setpriority): Rename to __setpriority
8010         and define as weak alias of __setpriority.
8011         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
8012         __getpriority and define as weak alias of __getpriority.
8013         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
8014         __setpriority and define as weak alias of __setpriority.
8015         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
8016         strong name.
8017         (setpriority): Use __setpriority as strong name.
8018         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
8019         __getpriority and define as weak alias of __getpriority.
8020         * include/sys/resource.h (__getpriority): Declare.  Use
8021         libc_hidden_proto.
8022         (__setpriority): Likewise.
8023         (getpriority): Don't use libc_hidden_proto.
8024         (setpriority): Likewise.
8025         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
8026         getpriority.  Call __setpriority instead of setpriority.
8027         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
8028         Remove variable.
8030         [BZ #18547]
8031         * misc/getttyent.c (getttynam): Rename to __getttynam and define
8032         as weak alias of __getttynam.  Use prototype function definition.
8033         Call __setttyent, __getttyent and __endttyent instead of
8034         setttyent, getttyent and endttyent.
8035         (getttyent): Rename to __getttyent and define as weak alias of
8036         __getttyent.  Call __setttyent instead of setttyent.  Call
8037         __fgets_unlocked instead of fgets_unlocked.
8038         (setttyent): Rename to __setttyent and define as weak alias of
8039         __setttyent.
8040         (endttyent): Rename to __endttyent and define as weak alias of
8041         __endttyent.
8042         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
8043         (__setttyent): Likewise.
8044         (__endttyent): Likewise.
8045         (getttyent): Don't use libc_hidden_proto.
8046         (setttyent): Likewise.
8047         (endttyent): Likewise.
8048         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
8049         __endttyent instead of setttyent, getttyent and endttyent.
8050         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
8051         Remove variable.
8053         [BZ #18546]
8054         * socket/recv.c (__recv): Use libc_hidden_def.
8055         * socket/socket.c (__socket): Likewise.
8056         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
8057         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
8058         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
8059         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
8060         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
8061         libc_hidden_def.
8062         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
8063         libc_hidden_weak.
8064         * include/sys/socket.h (__socket): Do not use attribute_hidden.
8065         Use libc_hidden_proto.
8066         (__recv): Likewise.
8067         * socket/Versions (libc): Export __recv and __socket at version
8068         GLIBC_PRIVATE.
8069         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
8070         instead of recv.
8071         (init_mq_netlink): Call __socket instead of socket.
8072         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
8073         Remove variable.
8075         [BZ #18545]
8076         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
8077         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
8078         hidden_weak.
8079         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
8080         define as alias of __mq_timedsend.  Use hidden_weak.
8081         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
8082         __mq_timedsend as strong name.
8083         (mq_timedreceive): Use __mq_timedreceive as strong name.
8084         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
8085         (__mq_timedreceive): Likewise.
8086         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
8087         __mq_timedreceive instead of mq_timedreceive.
8088         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
8089         instead of mq_timedsend.
8090         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
8091         Remove variable.
8093         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
8094         hidden_def and hidden_weak instead of libc_hidden_def and
8095         libc_hidden_weak.
8096         (top level): Refer to hidden_def in comment.
8097         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
8098         macro.  Use it instead of libc_hidden_def.
8099         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
8100         specify __GI_* name explicitly.
8101         (mq_timedreceive): Likewise.
8102         (mq_setattr): Likewise.
8104         [BZ #18544]
8105         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
8106         __pthread_barrier_init and define as weak alias of
8107         __pthread_barrier_init.
8108         * sysdeps/sparc/nptl/pthread_barrier_init.c
8109         (pthread_barrier_init): Likewise.
8110         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
8111         __pthread_barrier_wait and define as weak alias of
8112         __pthread_barrier_wait.
8113         * sysdeps/sparc/nptl/pthread_barrier_wait.c
8114         (pthread_barrier_wait): Likewise.
8115         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
8116         (pthread_barrier_wait): Likewise.
8117         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
8118         (pthread_barrier_wait): Likewise.
8119         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
8120         (pthread_barrier_wait): Likewise.
8121         * nptl/Versions (libpthread): Export __pthread_barrier_init and
8122         __pthread_barrier_wait at version GLIBC_PRIVATE.
8123         * include/pthread.h (__pthread_barrier_init): Declare.
8124         (__pthread_barrier_wait): Likewise.
8125         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
8126         Call __pthread_barrier_wait instead of pthread_barrier_wait.
8127         (helper_thread): Likewise.
8128         (init_mq_netlink): Call __pthread_barrier_init instead of
8129         pthread_barrier_init.
8131         [BZ #18542]
8132         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
8133         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
8134         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
8135         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
8136         vswscanf.
8137         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
8138         Remove variable.
8140         [BZ #18540]
8141         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
8142         strong alias of _IO_fflush.  Use libc_hidden_def.
8143         * libio/iofflush_u.c (fflush_unlocked): Rename to
8144         __fflush_unlocked and define as weak alias of __fflush_unlocked.
8145         Use libc_hidden_weak.
8146         * include/stdio.h (__fflush_unlocked): Declare.  Use
8147         libc_hidden_proto.
8148         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
8149         fflush_unlocked.
8150         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
8151         Remove variable.
8153         [BZ #18539]
8154         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
8155         define as weak alias of __addseverity.
8156         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
8157         Remove variable.
8158         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
8159         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
8160         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
8162         [BZ #18536]
8163         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
8164         (__tfind): Likewise.
8165         (__tdelete): Likewise.
8166         (__twalk): Likewise.
8167         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
8168         __twalk to GLIBC_PRIVATE.
8169         * include/search.h (__tsearch): Use libc_hidden_proto.
8170         (__tfind): Likewise.
8171         (__tdelete): Likewise.
8172         (__twalk): Likewise.
8173         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
8174         Call __tdelete instead of tdelete.
8175         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
8176         tfind.  Call __tsearch instead of tsearch.
8177         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
8178         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
8179         Remove variable.
8180         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
8182         [BZ #18534]
8183         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
8184         (dprintf): Define as a weak alias of __dprintf, not a strong
8185         alias.
8186         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
8187         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
8188         dprintf.
8189         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
8190         Remove variable.
8191         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
8192         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
8194         [BZ #18533]
8195         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
8196         not a strong alias.
8197         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
8198         Remove variable.
8200         [BZ #18532]
8201         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
8202         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
8203         (in6addr_loopback): Rename to __in6addr_loopback and define as
8204         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
8205         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
8206         libc_hidden_proto.
8207         (__in6addr_any): Likewise.
8208         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
8209         in6addr_any.
8210         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
8211         variable.
8212         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
8214 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
8216         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
8217         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
8218         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
8219         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
8220         redirections for pow.
8221         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8222         * sysdeps/x86_64/fpu/Versions: New versions added.
8223         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8224         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
8225         build of SSE, AVX2 and AVX512 IFUNC versions.
8226         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
8227         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
8228         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
8229         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
8230         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
8231         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
8232         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
8233         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
8234         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
8235         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
8236         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
8237         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
8238         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
8239         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
8240         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8241         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8242         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8243         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8244         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8245         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8246         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8247         * NEWS: Mention addition of x86_64 vector pow.
8249         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
8250         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
8251         redirections for expf.
8252         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8253         * sysdeps/x86_64/fpu/Versions: New versions added.
8254         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8255         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
8256         build of SSE, AVX2 and AVX512 IFUNC versions.
8257         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
8258         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
8259         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
8260         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
8261         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
8262         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
8263         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
8264         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
8265         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
8266         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
8267         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
8268         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
8269         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
8270         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
8271         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8272         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8273         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8274         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8275         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8276         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8277         * NEWS: Mention addition of x86_64 vector expf.
8279         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
8280         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
8281         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
8282         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
8283         redirections for exp.
8284         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8285         * sysdeps/x86_64/fpu/Versions: New versions added.
8286         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8287         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
8288         build of SSE, AVX2 and AVX512 IFUNC versions.
8289         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
8290         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
8291         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
8292         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
8293         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
8294         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
8295         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
8296         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
8297         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
8298         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
8299         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
8300         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
8301         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
8302         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8303         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8304         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8305         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8306         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8307         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8308         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8309         * NEWS: Mention addition of x86_64 vector exp.
8311         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
8312         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
8313         redirections for logf.
8314         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8315         * sysdeps/x86_64/fpu/Versions: New versions added.
8316         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8317         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
8318         build of SSE, AVX2 and AVX512 IFUNC versions.
8319         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
8320         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
8321         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
8322         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
8323         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
8324         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
8325         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
8326         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
8327         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
8328         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
8329         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
8330         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
8331         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
8332         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
8333         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8334         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8335         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8336         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8337         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8338         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8339         * NEWS: Mention addition of x86_64 vector logf.
8341         * bits/libm-simd-decl-stubs.h: Added stubs for log.
8342         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
8343         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
8344         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
8345         redirections for log.
8346         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8347         * sysdeps/x86_64/fpu/Versions: New versions added.
8348         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8349         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
8350         build of SSE, AVX2 and AVX512 IFUNC versions.
8351         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
8352         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
8353         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
8354         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
8355         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
8356         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
8357         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
8358         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
8359         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
8360         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
8361         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
8362         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
8363         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
8364         test.
8365         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8366         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8367         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8368         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8369         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8370         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8371         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8372         * NEWS: Mention addition of x86_64 vector log.
8374 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8376         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
8377         cfi_adjust_cfa_offset argument.
8378         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
8379         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
8381         [BZ #18034]
8382         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
8383         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
8384         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
8385         ordering using ldar.
8386         (_dl_tlsdesc_dynamic): Likewise.
8387         (_dl_tlsdesc_return_lazy): Likewise.
8388         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
8389         relaxed atomics instead of volatile and synchronize with release store.
8390         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
8391         volatile.
8392         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
8394 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
8396         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
8397         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
8398         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8399         * sysdeps/x86_64/fpu/Versions: New versions added.
8400         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8401         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
8402         build of SSE, AVX2 and AVX512 IFUNC versions.
8403         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
8404         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
8405         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
8406         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
8407         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
8408         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
8409         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
8410         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
8411         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
8412         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
8413         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
8414         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
8415         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
8416         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
8417         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8418         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8419         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8420         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8421         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8422         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8423         * NEWS: Mention addition of x86_64 vector sinf.
8425 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
8427         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
8428         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
8429         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
8430         Remove variable.
8431         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
8432         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
8434 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
8436         [BZ #18530]
8437         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
8438         strong alias of _IO_fputs.  Use libc_hidden_def.
8439         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
8440         and define as weak alias of __fputs_unlocked.  Use
8441         libc_hidden_weak.
8442         * include/stdio.h (__fputs_unlocked): Declare.  Use
8443         libc_hidden_proto.
8444         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
8445         fputs_unlocked.
8447         [BZ #18529]
8448         * resolv/netdb.h [__USE_POSIX]: Change condition to
8449         [__USE_XOPEN2K].
8450         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
8451         not expect.
8452         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
8453         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
8454         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
8455         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
8456         [XPG4 || UNIX98] (AI_ALL): Likewise.
8457         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
8458         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
8459         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
8460         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
8461         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
8462         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
8463         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
8464         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
8465         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
8466         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
8467         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
8468         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
8469         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
8470         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
8471         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
8472         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
8473         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
8474         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
8475         [XPG4 || UNIX98] (gai_strerror): Likewise.
8476         [XPG4 || UNIX98] (getaddrinfo): Likewise.
8477         [XPG4 || UNIX98] (getnameinfo): Likewise.
8479         [BZ #18528]
8480         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
8481         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
8482         __USE_XOPEN2K8].
8483         (getgrent): Likewise.
8484         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
8485         expect.
8486         [XPG3 || POSIX2008] (endgrent): Likewise.
8487         [XPG3] (setgrent): Likewise.
8488         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
8489         variable.
8490         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
8492         [BZ #18527]
8493         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
8494         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
8495         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
8496         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
8497         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
8498         * include/unistd.h (__getlogin_r): Declare.  Use
8499         libc_hidden_proto.
8500         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
8501         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
8502         variable.
8503         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
8504         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
8505         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
8507 2015-06-12  Martin Sebor  <msebor@redhat.com>
8509         [BZ #18512]
8510         * Makerules (check-install-supported): New target.
8511         (install): Add check-install-supported as a dependency.
8512         * manual/install.texi (Installing the C Library): Document
8513         that overriding prefix and exec_prefix is not supported.
8514         Mention DESTDIR.
8515         * INSTALL: Regenerate from the above.
8517 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
8519         [BZ #18519]
8520         * posix/Versions (libc): Export __libc_pread at version
8521         GLIBC_PRIVATE.
8522         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
8523         instead of pread.
8524         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
8525         variable.
8527         [BZ #18522]
8528         * misc/efgcvt_r.c
8529         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
8530         (cvt_symbol): Use weak_alias instead of strong_alias.
8531         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
8532         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
8533         Remove variable.
8534         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
8535         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
8537         [BZ #18520]
8538         * inet/herrno.c (h_errno): Rename to __h_errno.
8539         (__libc_h_errno): Define as alias of __h_errno not h_errno.
8540         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
8541         to __h_errno instead of h_errno.
8542         * nptl/herrno.c (h_errno): Rename to __h_errno.
8543         (__h_errno_location): Refer to __h_errno not h_errno.
8544         * resolv/Versions (h_errno): Rename to __h_errno.
8545         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
8546         Remove variable.
8547         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
8549 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
8551         * configure.ac: More strict check for AVX512 assembler support.
8552         * configure: Regenerated.
8554         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
8555         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
8556         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
8557         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
8558         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8559         * sysdeps/x86_64/fpu/Versions: New versions added.
8560         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8561         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
8562         Added build of SSE, AVX2 and AVX512 IFUNC versions.
8563         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
8564         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
8565         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
8566         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
8567         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
8568         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
8569         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
8570         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
8571         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
8572         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
8573         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
8574         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
8575         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
8576         test.
8577         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8578         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8579         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8580         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8581         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8582         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8583         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8584         * NEWS: Mention addition of x86_64 vector sin.
8586 2015-06-11  Florian Weimer  <fweimer@redhat.com>
8588         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
8589         comment.
8591 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
8593         [BZ #18479]
8594         * nptl/pt-interp.c: New file.
8595         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
8596         Add pt-interp.
8597         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
8598         $(common-objpfx)runtime-linker.h.
8600 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
8602         * Makeconfig (+interp): Remove unused variable.
8603         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
8604         only.  Depend on $(common-objpfx)runtime-linker.h instead of
8605         $(elf-objpfx)runtime-linker.h.
8606         ($(elf-objpfx)runtime-linker.h): Rename to
8607         $(common-objpfx)runtime-linker.h and move ...
8608         * Makerules [$(build-shared) = yes]: ... here.
8609         * elf/interp.c: Include <runtime-linker.h> instead of
8610         <elf/runtime-linker.h>.
8612 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8614         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
8615         (__gettimeofday_syscall): Remove vsyscall fallback.
8616         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
8617         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
8618         Add syscall fallback function.
8619         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
8620         if vDSO is not present.
8621         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
8622         fallback function.
8623         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
8624         present.
8625         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
8626         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
8628 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
8630         [BZ #18497]
8631         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
8632         of wcscmp.
8633         (wcscmp): Define as weak alias of WCSCMP.
8634         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
8635         wcscoll.
8636         (USE_HIDDEN_DEF): Define.
8637         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
8638         __wcscoll.  Don't use libc_hidden_weak.
8639         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
8640         wcscmp.
8641         * sysdeps/i386/i686/multiarch/wcscmp-c.c
8642         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
8643         __GI_wcscmp.
8644         (weak_alias): Undefine and redefine.
8645         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
8646         __wcscmp and define as weak alias of __wcscmp.
8647         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
8648         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
8649         (__wcscoll): Likewise.
8650         (wcscmp): Don't use libc_hidden_proto.
8651         (wcscoll): Likewise.
8652         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
8653         wcscoll.
8654         * posix/regexec.c (check_node_accept_bytes): Likewise.
8655         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
8656         variable.
8657         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
8658         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
8660         [BZ #18507]
8661         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
8662         __fstatvfs and define as weak alias of __fstatvfs.  Use
8663         libc_hidden_weak.
8664         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
8665         and define as weak alias of __statvfs.  Use libc_hidden_weak.
8666         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
8667         Define as alias of __fstatvfs, not fstatvfs.
8668         (fstatvfs64): Likewise.
8669         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
8670         Define as alias of __statvfs, not statvfs.
8671         (statvfs64): Likewise.
8672         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
8673         Remove variable.
8675 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8678         (HAVE_GETCPU_VSYSCALL): Define.
8679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8680         (HAVE_GETCPU_VSYSCALL): Likewise.
8681         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
8682         * sysdeps/unix/sysv/linux/sched_getcpu.c
8683         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
8684         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
8685         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
8686         prototype.
8687         * sysdeps/unix/sysv/linux/x86_64/init-first.c
8688         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
8689         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
8690         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
8691         Define.
8692         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
8693         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8694         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
8695         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8697 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
8699         * sysdeps/x86_64/fpu/Makefile: New file.
8700         * sysdeps/x86_64/fpu/Versions: New file.
8701         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
8702         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
8703         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
8704         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
8705         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
8706         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
8707         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
8708         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
8709         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
8710         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
8711         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
8712         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
8713         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
8714         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
8715         Added build of SSE, AVX2 and AVX512 IFUNC versions.
8716         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
8717         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
8718         * sysdeps/x86_64/configure.ac: Options for libmvec build.
8719         * sysdeps/x86_64/configure: Regenerated.
8720         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
8721         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
8722         * manual/install.texi (Configuring and compiling): Document
8723         --disable-mathvec.
8724         * INSTALL: Regenerated.
8725         * NEWS: Mention addition of libmvec and x86_64 vector cos.
8727         * math/Makefile: Added rules for vector tests.
8728         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
8729         declaration under condition.
8730         * math/test-double-vlen2.h: New file.
8731         * math/test-double-vlen4.h: New file.
8732         * math/test-double-vlen8.h: New file.
8733         * math/test-vec-loop.h: Added initialization macro.
8734         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
8735         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
8736         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
8737         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
8738         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
8739         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
8740         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
8741         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
8742         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
8743         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
8744         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
8746         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8747         * sysdeps/x86_64/fpu/Versions: New versions added.
8748         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
8749         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
8750         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
8751         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
8752         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
8753         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
8754         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
8755         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
8756         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
8757         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
8758         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
8759         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
8760         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
8761         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
8762         Added build of SSE, AVX2 and AVX512 IFUNC versions.
8763         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
8764         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
8765         * NEWS: Mention addition of x86_64 vector cosf.
8767         * math/Makefile: Added CFLAGS for new tests.
8768         * math/test-float-vlen16.h: New file.
8769         * math/test-float-vlen4.h: New file.
8770         * math/test-float-vlen8.h: New file.
8771         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
8772         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
8773         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8774         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
8775         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
8776         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
8777         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
8778         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
8779         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
8780         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
8781         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
8783 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
8785         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
8786         * locale/programs/ld-ctype.c: Likewise.
8788 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
8790         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
8791         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
8792         bit_ZMM16_31_state): New macro.
8793         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8794         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
8796 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
8798         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
8800 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
8802         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
8804 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
8806         [BZ #18498]
8807         * libio/memstream.c (open_memstream): Rename to __open_memstream
8808         and define as weak alias of __open_memstream.
8809         * include/stdio.h (__open_memstream): Declare.  Use
8810         libc_hidden_proto.
8811         (open_memstream): Don't use libc_hidden_proto.
8812         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
8813         open_memstream.
8814         * posix/getopt.c (_getopt_internal_r): Likewise.
8815         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
8816         variable.
8817         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
8818         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
8819         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
8821         [BZ #18496]
8822         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
8823         instead of wcrtomb.
8825         [BZ #18483]
8826         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
8827         [__USE_XOPEN2K8].  Remove redundant #endif.
8828         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
8829         Remove redundant #if.
8830         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
8831         Remove variable.
8832         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
8833         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
8835         [BZ #18495]
8836         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
8837         (__iswlower): Likewise.
8838         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
8839         (__iswlower): Likewise.
8840         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
8841         instead of towlower.
8842         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
8843         instead of iswlower.  Call __towupper instead of towupper.
8844         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
8845         instead of iswalnum.
8847 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8849         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
8850         errors to stderr.
8852 2015-06-05  Florian Weimer  <fweimer@redhat.com>
8854         [BZ #15661]
8855         [BZ #17322]
8856         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
8857         Check for overflow properly.  Check for O_APPEND.  Ignore large
8858         file system block sizes.  Add comments about problems.
8859         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
8860         * manual/filesys.texi (Storage Allocation): New node.
8862 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8864         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
8865         cancellable syscalls.
8866         (SYS_ify): Add guard to no redefine it.
8867         (INLINE_SYSCALL): Likewise.
8868         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
8869         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
8870         SYSCALL_CANCEL instead.
8871         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
8872         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
8873         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
8874         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
8875         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
8876         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
8877         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
8878         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
8879         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
8880         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
8881         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
8882         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
8883         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
8884         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
8885         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
8886         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
8887         Likewise.
8888         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
8889         (__libc_pread64): Likewise.
8890         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
8891         (__libc_preadv): Likewise.
8892         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
8893         (__libc_readv64): Likewise.
8894         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
8895         (__libc_pwrite): Likewise.
8896         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
8897         (__libc_pwrite64): Likewise.
8898         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
8899         (__libc_pwritev): Likewise.
8900         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
8901         (__libc_pwritev64): Likewise.
8902         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
8903         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
8904         (sync_file_range): Likewise.
8905         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
8906         Likewise.
8907         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
8908         Likewise.
8909         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
8910         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
8911         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
8912         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
8913         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
8914         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
8915         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
8916         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
8917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
8918         Likewise.
8919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8920         (__libc_read64): Likewise.
8921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
8922         Likewise.
8923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
8924         Likewise.
8925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
8926         Likewise.
8927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
8928         Likewise.
8929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
8930         (__libc_pread64): Likewise.
8931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
8932         Likewise.
8933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
8934         (__libc_pwrite64): Likewise.
8935         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
8936         (sync_file_range): Likewise.
8937         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
8938         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
8939         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
8940         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
8941         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
8942         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
8943         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
8944         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
8945         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
8946         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
8947         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
8948         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
8949         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
8950         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
8951         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
8952         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
8953         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
8954         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
8955         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
8956         Likewise.
8957         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
8958         Likewise.
8959         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
8960         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
8961         Likewise.
8962         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
8963         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
8964         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
8965         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
8966         Likewise.
8967         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
8968         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
8969         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
8970         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
8971         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
8973 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
8975         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
8976         Include dl-vdso.
8977         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
8978         Use VDSO routines for gettimeofday, clock_gettime if
8979         available.
8980         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
8981         Declare VDSO symbols.
8982         * sysdeps/unix/sysv/linux/arm/sysdep.h:
8983         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
8984         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
8985         * sysdeps/unix/sysv/linux/arm/Versions: Add
8986         __vdso_clock_gettime.
8988 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8990         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
8991         be an inline implementation regardless of library is built within.
8992         (open_not_cancel_2): Likewise.
8993         (__read_nocancel): Likewise.
8994         (__write_nocancel): Likewise.
8995         (openat_not_cancel): Likewise.
8996         (openat_not_cancel_3): Likewise.
8997         (openat64_not_cancel): Likewise.
8998         (openat64_not_cancel_3): Likewise.
8999         (__close_nocancel): Likewise.
9000         (pause_not_cancel): Likewise.
9001         (nanosleep_not_cancel): Likewise.
9002         (sigsuspend_not_cancel): Likewise.
9004 2015-06-04  Torvald Riegel  <triegel@redhat.com>
9006         [BZ #14958]
9007         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
9008         wake-up.
9009         (__pthread_rwlock_rdlock_slow): Likewise.
9010         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
9011         Likewise.
9012         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
9013         Likewise.
9014         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
9015         * nptl/tst-rwlock16.c: New file.
9016         * nptl/Makefile (tests): Add new test.
9018 2015-06-04  Torvald Riegel  <triegel@redhat.com>
9020         [BZ #18324]
9021         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
9022         missing wake-up of readers.
9023         * nptl/tst-rwlock15.c: New file.
9024         * nptl/Makefile (tests): Add new test.
9026 2015-06-03  Roland McGrath  <roland@hack.frob.com>
9028         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
9029         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
9030         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
9031         and __nacl_supply_interface_rtld.
9032         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
9033         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
9034         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
9035         Add __nacl_supply_interface_rtld.
9036         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
9038 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
9040         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
9041         isfinite.
9042         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9043         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
9045 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
9047         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
9048         __signbit* with standard C99 macros.
9049         * math/e_exp10l.c: Likewise.
9050         * math/e_exp2l.c: Likewise.
9051         * math/e_scalb.c: Likewise.
9052         * math/e_scalbf.c: Likewise.
9053         * math/e_scalbl.c: Likewise.
9054         * math/s_ldexp.c: Likewise.
9055         * math/s_ldexpf.c: Likewise.
9056         * math/s_ldexpl.c: Likewise.
9057         * math/w_atan2.c: Likewise.
9058         * math/w_atan2f.c: Likewise.
9059         * math/w_atan2l.c: Likewise.
9060         * math/w_cosh.c: Likewise.
9061         * math/w_coshf.c: Likewise.
9062         * math/w_coshl.c: Likewise.
9063         * math/w_exp10.c: Likewise.
9064         * math/w_exp10f.c: Likewise.
9065         * math/w_exp10l.c: Likewise.
9066         * math/w_exp2.c: Likewise.
9067         * math/w_exp2f.c: Likewise.
9068         * math/w_exp2l.c: Likewise.
9069         * math/w_fmod.c: Likewise.
9070         * math/w_fmodf.c: Likewise.
9071         * math/w_fmodl.c: Likewise.
9072         * math/w_hypot.c: Likewise.
9073         * math/w_hypotf.c: Likewise.
9074         * math/w_hypotl.c: Likewise.
9075         * math/w_jnl.c: Likewise.
9076         * math/w_lgamma.c: Likewise.
9077         * math/w_lgamma_r.c: Likewise.
9078         * math/w_lgammaf.c: Likewise.
9079         * math/w_lgammaf_r.c: Likewise.
9080         * math/w_lgammal.c: Likewise.
9081         * math/w_lgammal_r.c: Likewise.
9082         * math/w_pow.c: Likewise.
9083         * math/w_powf.c: Likewise.
9084         * math/w_powl.c: Likewise.
9085         * math/w_remainder.c: Likewise.
9086         * math/w_remainderf.c: Likewise.
9087         * math/w_remainderl.c: Likewise.
9088         * math/w_scalb.c: Likewise.
9089         * math/w_scalbf.c: Likewise.
9090         * math/w_scalbl.c: Likewise.
9091         * math/w_scalbln.c: Likewise.
9092         * math/w_scalblnf.c: Likewise.
9093         * math/w_scalblnl.c: Likewise.
9094         * math/w_sinh.c: Likewise.
9095         * math/w_sinhf.c: Likewise.
9096         * math/w_sinhl.c: Likewise.
9097         * math/w_tgamma.c: Likewise.
9098         * math/w_tgammaf.c: Likewise.
9099         * math/w_tgammal.c: Likewise.
9100         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9101         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
9102         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9103         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9104         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9105         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9106         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
9107         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9108         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9109         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9110         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9111         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
9112         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9113         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9114         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9115         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9116         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9117         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9118         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9119         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9120         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9121         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9122         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9123         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9124         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9125         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9126         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
9127         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9128         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9129         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9130         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
9131         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
9132         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
9133         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
9134         * stdio-common/printf_fp.c: Likewise.
9135         * stdio-common/printf_fphex.c: Likewise.
9136         * stdio-common/printf_size.c: Likewise.
9138 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
9140         [BZ #18470]
9141         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
9142         strnlen.
9143         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
9144         Remove variable.
9145         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
9146         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
9147         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
9148         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
9149         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
9150         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
9151         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
9152         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
9153         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
9154         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
9156         [BZ #18468]
9157         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
9158         weak alias of __wmemchr.  Use libc_hidden_weak.
9159         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
9160         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
9161         instead of wmemchr.
9163 2015-06-02  Roland McGrath  <roland@hack.frob.com>
9165         [BZ #18383]
9166         * elf/tst-tlsalign-extern.c: New file.
9167         * elf/tst-tlsalign-extern-static.c: New file.
9168         * elf/tst-tlsalign-vars.c: New file.
9169         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
9170         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
9171         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
9172         ($(objpfx)tst-tlsalign-extern-static): Likewise.
9173         (test-xfail-tst-tlsalign-extern-static): New variable.
9175 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
9177         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
9178         Use variable name _sc_err instead of err.
9179         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
9180         instead of ret.
9181         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
9182         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
9183         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
9184         (INLINE_SYSCALL): Likewise.
9186         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
9187         * include/string.h (__strnlen): Use libc_hidden_proto.
9188         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
9189         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
9190         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
9191         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
9192         (libc_hidden_def): Undefine and redefine.
9193         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
9194         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
9195         __GI_strnlen.
9196         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
9197         libc_hidden_def.
9198         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
9200         [BZ #18469]
9201         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
9202         weak alias of __towlower.  Use libc_hidden_weak.
9203         (towupper): Rename to __towupper and define as weak alias of
9204         __towupper.  Use libc_hidden_weak.
9205         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
9206         (__towupper): Likewise.
9207         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
9208         __towlower instead of towlower.
9210 2015-06-02  Roland McGrath  <roland@hack.frob.com>
9212         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
9213         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
9215 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9217         * sysdeps/aarch64/libm-test-ulps: Update.
9219 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9221         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
9222         Define.
9223         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
9224         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
9225         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
9226         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
9227         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
9228         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
9229         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
9231 2015-06-01  Martin Sebor  <msebor@redhat.com>
9233         [BZ #18116]
9234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
9235         (__setcontext): Use extended four-operand version of mtsf whenever
9236         possible.
9237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
9238         (__novec_swapcontext): Likewise.
9240 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
9242         * benchtests/scripts/compare_bench.py: New file.
9243         * benchtests/scripts/import_bench.py (mean): New function.
9244         (split_list): Likewise.
9245         (do_for_all_timings): Likewise.
9246         (compress_timings): Likewise.
9248         * benchtests/scripts/import_bench.py: New file.
9249         * benchtests/scripts/validate_benchout.py: Import import_bench
9250         instead of jsonschema.
9251         (validate_bench): Remove function.
9252         (main): Use import_bench.
9254 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
9256         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
9257         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
9259 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9261         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9263 2015-05-28  Roland McGrath  <roland@hack.frob.com>
9265         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
9266         set THREAD_SELF->tid to a magic value and futex-wake it.
9267         Pass its address to the thread_exit system call.
9268         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
9269         bit is clear.
9270         * sysdeps/nacl/lowlevellock.h: New file.
9271         * sysdeps/nacl/lll_timedwait_tid.c: New file.
9273         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
9274         Add TIMEOUT to current time, don't subtract it.
9276 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
9278         [BZ #2981]
9279         [BZ #18422]
9280         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
9281         ($(objpfx)tst-audit2.out): Also depend on
9282         $(objpfx)tst-auditmod9b.so.
9283         * elf/tst-audit2.c: Include <dlfcn.h>.
9284         (calloc_called): New.
9285         (calloc): Allow to be called more than once.
9286         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
9288 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
9290         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
9291         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
9293 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
9295         * stdlib/monetary.h: Fix comment.
9297 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
9299         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
9300         Avoid using variables in #defines that might cause shadowing.
9301         (INTERNAL_VSYSCALL_CALL): Likewise.
9303 2015-05-26  Roland McGrath  <roland@hack.frob.com>
9305         * sysdeps/nacl/lll_timedlock_wait.c: New file.
9307         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
9308         * nptl/lll_timedlock_wait.c: ... to this new file.
9309         * nptl/Makefile (libpthread-routines): Add it.
9310         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
9311         * nptl/lll_timedwait_tid.c: ... to this new file.
9312         * nptl/Makefile (libpthread-routines): Add it.
9313         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
9314         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
9315         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
9316         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
9317         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
9318         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
9319         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
9320         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
9321         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
9322         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
9324 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9326         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
9327         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
9328         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
9329         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
9330         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
9331         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
9332         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
9333         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
9334         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
9335         * sysdeps/unix/sysv/linux/tile/sysdep.h
9336         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
9337         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
9338         using vDSO syscall macro.
9340 2015-05-26  Andriy Rysin  <arysin@gmail.com>
9342         [BZ #17293]
9343         * uk_UA: Fix sorting order for Ukrainian locale
9345 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
9347         * stdlib/monetary.h: Fix comment.
9349 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9351         [BZ #18234]
9352         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
9353         st_mtim and st_ctim members.
9354         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
9355         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
9356         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
9357         (struct stat64): Likewise.
9358         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
9359         (struct stat64): Likewise.
9360         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
9361         (struct stat64): Likewise.
9363 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9365         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
9366         Define and include sysdep-vdso.h.
9367         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
9368         Likewise.
9369         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
9370         Likewise.
9371         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
9372         Define with VDSO_SYMBOL and use PTR_MANGLE.
9373         (__vdso_clock_gettime): Likewise.
9374         (__vdso_clock_getres): Likewise.
9375         (_libc_vdso_platform_setup): Likewise.
9376         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
9377         Likewise.
9378         (_libc_vdso_platform_setup): Likewise.
9379         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
9380         Likewise.
9381         (__vdso_clock_gettime): Likewise.
9382         (__vdso_clock_getres): Likewise.
9383         (__vdso_get_tbfreq): Likewise.
9384         (__vdso_getcpu): Likewise.
9385         (__vdso_time): Likewise.
9386         (__vdso_sigtramp_rt64): Likewise.
9387         (__vdso_signtramp32): Likewise.
9388         (__vdso_sigtramp_rt32): Likewise.
9389         (_libc_vdso_platform_setup): Likewise.
9390         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
9391         Likewise.
9392         (__vdso_clock_gettime): Likewise.
9393         (__vdso_clock_getres): Likewise.
9394         (_libc_vdso_platform_setup): Likewise.
9395         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
9396         Likewise.
9397         (__vdso_clock_gettime): Likewise.
9398         (_libc_vdso_platform_setup): Likewise.
9399         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
9400         Likewise.
9401         (__vdso_getcpu): Likewise.
9402         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
9403         Use VDSO_SYMBOL macro to define.
9404         (__vdso_clock_gettime): Likewise.
9405         (__vdso_clock_getres): Likewise.
9406         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
9407         Likewise.
9408         (__vdso_clock_gettime): Likewise.
9409         (__vdso_clock_getres): Likewise.
9410         (__vdso_get_tbfreq): Likewise.
9411         (__vdso_getcpu): Likewise.
9412         (__vdso_time): Likewise.
9413         (__vdso_sigtramp_rt64): Likewise.
9414         (__vdso_signtramp32): Likewise.
9415         (__vdso_sigtramp_rt32): Likewise.
9416         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
9417         Likewise.
9418         (__vdso_clock_gettime): Likewise.
9419         (__vdso_clock_getres): Likewise.
9420         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
9421         Likewise.
9422         (__vdso_clock_gettime): Likewise.
9423         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
9424         Likewise.
9425         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
9426         macro.
9427         (INTERNAL_VSYSCALL): Likewise.
9428         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
9429         Remove macro.
9430         (INTERNAL_VSYSCALL): Likewise.
9431         (INTERNAL_VSYSCALL_NCS): Likewise.
9432         (INTERNAL_VSYSCALL_CALL): New macro.
9433         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
9434         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
9435         Likewise.
9436         (INTERNAL_VSYSCALL): Likewise.
9437         (INTERNAL_VSYSCALL_NCS): Likewise.
9438         (INTERNAL_VSYSCALL_CALL): New macro.
9439         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
9440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9441         (INLINE_VSYSCALL): Remove macro.
9442         (INTERNAL_VSYSCALL): Remove macro.
9443         (INTERNAL_VSYSCALL_NCS): Remove macro.
9444         (INTERNAL_VSYSCALL_CALL): New macro.
9445         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
9446         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
9447         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
9448         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
9449         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
9450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9451         (INLINE_VSYSCALL): Remove macro.
9452         (INTERNAL_VSYSCALL): Likewise.
9453         (INTERNAL_VSYSCALL_NCS): Likewise.
9454         (INTERNAL_VSYSCALL_CALL): New macro.
9455         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
9456         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
9457         PTR_DEMANGLE on vDSO pointer.
9458         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
9459         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
9460         macro.
9461         (INTERNAL_SYSCALL): Likewise.
9462         (INTERNAL_VSYSCALL_NCS): Remove macro.
9463         (INTERNAL_VSYSCALL_CALL): New macro.
9464         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
9465         Remove macro.
9466         (INTERNAL_VSYSCALL): Likewise.
9467         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
9468         sysdep-vdso.h instead of libc-vdso.h.
9469         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
9470         definition.
9471         (INLINE_VSYSCALL): Likewise.
9472         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
9473         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
9474         definition.
9475         (INLINE_VSYSCALL): Likewise.
9476         (INTERNAL_VSYSCALL): Likewise.
9477         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
9478         * sysdeps/unix/sysv/linux/timespec_get.c
9479         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
9480         (timespec_get): Use ANSI prototype.
9481         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
9482         and definition for Linux.
9484 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
9486         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
9487         * include/libc-symbols.h: libmvec_hidden_* macro series added.
9489 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
9491         [BZ #2981]
9492         [BZ #18410]
9493         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
9494         for missing DT_PLTRELSZ.
9496 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
9498         Remove obsolete aliases that broke 'locale -a'
9499         [BZ #18412]
9500         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
9501         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
9502         breaking some applications that use 'locale -a' output.
9503         Change the encoding of this file from Latin-1 to ASCII to avoid
9504         other potential problems with people grepping this file.
9506 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9508         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
9509         -fasynchronous-unwind-tables.
9510         (CFLAGS-sendto.c): Likewise.
9511         (CFLAGS-sendmsg.c): Likewise.
9512         (CFLAGS-connect.c): Likewise.
9513         (CFLAGS-recvmsg.c): Likewise.
9514         (CFLAGS-recvfrom.c): Likewise.
9515         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
9516         (SOCKETCALL): New macro: non-cancellable socketcall.
9517         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
9518         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
9519         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
9520         * sysdeps/unix/sysv/linux/accept.c: New file.
9521         * sysdeps/unix/sysv/linux/bind.c: Likewise.
9522         * sysdeps/unix/sysv/linux/connect.c: Likewise.
9523         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
9524         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
9525         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
9526         * sysdeps/unix/sysv/linux/listen.c: Likewise.
9527         * sysdeps/unix/sysv/linux/recv.c: Likewise.
9528         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
9529         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
9530         * sysdeps/unix/sysv/linux/send.c: Likewise.
9531         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
9532         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
9533         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
9534         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
9535         * sysdeps/unix/sysv/linux/socket.c: Likewise.
9536         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
9537         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
9538         prototype.
9539         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
9540         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
9541         instead of __internal_xxx function.
9542         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
9543         prototype.
9544         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
9545         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
9546         instead of __internal_xxx function.
9547         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
9548         prototype.
9549         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
9550         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
9551         instead of __internal_xxx function.
9552         * sysdeps/unix/sysv/linux/accept.S: Remove file.
9553         * sysdeps/unix/sysv/linux/bind.S: Likewise.
9554         * sysdeps/unix/sysv/linux/connect.S: Likewise.
9555         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
9556         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
9557         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
9558         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
9559         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
9560         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
9561         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
9562         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
9563         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
9564         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
9565         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
9566         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
9567         * sysdeps/unix/sysv/linux/listen.S: Likewise.
9568         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
9569         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
9570         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
9571         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
9572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
9573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
9574         * sysdeps/unix/sysv/linux/recv.S: Likewise.
9575         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
9576         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
9577         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
9578         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
9579         * sysdeps/unix/sysv/linux/send.S: Likewise.
9580         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
9581         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
9582         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
9583         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
9584         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
9585         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
9586         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
9587         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
9588         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
9589         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
9590         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
9591         socketcall is implemented in GLIBC.
9593 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
9595         * soft-fp/fmadf4.c: Include <libc-internal.h>.
9596         (__fma): Ignore uninitialized warnings around packing.
9597         * soft-fp/fmasf4.c: Include <libc-internal.h>.
9598         (__fmaf): Ignore uninitialized warnings around packing.
9599         * soft-fp/fmatf4.c: Include <libc-internal.h>.
9600         (__fmal): Ignore uninitialized warnings around packing.
9602         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
9603         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
9604         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
9605         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
9607         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
9608         switch statement into default case.
9609         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
9611         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
9612         a conditional in forcing "inexact".
9613         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9614         Likewise.
9616 2015-05-22  Roland McGrath  <roland@hack.frob.com>
9618         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
9619         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
9620         for each INTERNAL_SYSCALL use.
9622 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
9624         [BZ #438]
9625         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
9626         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
9627         variable.
9629         [BZ #18444]
9630         * string/basename.c (basename): Rename to __basename and define as
9631         weak alias of __basename.  Use libc_hidden_weak.
9632         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
9633         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
9634         __basename instead of basename.
9635         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
9636         Remove variable.
9637         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
9639 2015-05-18  Florian Weimer  <fweimer@redhat.com>
9641         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
9642         (_IO_JUMPS_FILE_plus): New.
9643         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
9644         _IO_CAST_FIELD_ACCESS.
9645         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
9646         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
9647         * libio/freopen.c (freopen): Likewise.
9648         * libio/freopen64.c (freopen64): Likewise.
9649         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
9650         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
9651         * libio/iofwide.c (_IO_fwide): Likewise.
9652         * libio/memstream.c (open_memstream): Likewise.
9653         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
9654         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
9655         * libio/oldiopopen.c (_IO_old_popen): Likewise.
9657 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
9659         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
9660         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
9661         NADJ.
9662         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
9663         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
9664         NADJ.
9665         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
9666         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
9667         NADJ.
9669         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
9670         (p == 4) case.
9672         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
9673         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
9674         Remove variable.
9675         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
9676         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
9677         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
9679 2015-05-21  Florian Weimer  <fweimer@redhat.com>
9681         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
9682         Adjust jump table label generation macros.
9684 2015-05-21  Florian Weimer  <fweimer@redhat.com>
9686         * stdio-common/vfprintf.c (vfprintf): Move local variables
9687         args_malloced, specs, specs_malloced, and the code after
9688         do_positional to the printf_positional function.
9689         (printf_positional): New function.
9691 2015-05-21  Florian Weimer  <fweimer@redhat.com>
9693         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
9694         function.
9695         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
9696         STEP4_TABLE, process_arg): Move macro definitions
9697         out of the vfprintf function.  (Cosmetic change only.)
9699 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
9701         * benchtests/Makefile (stdio-common-bench): Define.
9702         (benchset): Add stdio-common-bench.
9703         * sprintf-inputs: New file.
9704         * sprintf-source.c: New file.
9706 2015-05-21  Andreas Schwab  <schwab@suse.de>
9708         [BZ #13028]
9709         [BZ #17053]
9710         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
9711         of struct __res_state.
9712         * resolv/res_send.c (__libc_res_nsend): Likewise.
9713         (get_nsaddr): New function.
9714         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
9715         statp directly.
9717 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
9719         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
9720         -D_POSIX_C_SOURCE=199506L.
9722         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
9724         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
9725         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
9726         Do not mention otherwise.
9727         [POSIX] (_XOPEN_VERSION): Do not expect.
9728         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
9729         [POSIX] (_POSIX2_C_BIND): Likewise.
9730         [POSIX] (_POSIX2_VERSION): Likewise.
9731         [POSIX] (_XOPEN_XPG2): Likewise.
9732         [POSIX] (_XOPEN_XPG3): Likewise.
9733         [POSIX] (_XOPEN_XPG4): Likewise.
9734         [POSIX] (_XOPEN_UNIX): Likewise.
9735         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
9736         [POSIX] (_POSIX_BARRIERS): Likewise.
9737         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
9738         [POSIX] (_POSIX_CPUTIME): Likewise.
9739         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
9740         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
9741         [POSIX] (_POSIX_SHELL): Likewise.
9742         [POSIX] (_POSIX_SPAWN): Likewise.
9743         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
9744         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
9745         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
9746         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
9747         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
9748         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
9749         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
9750         [POSIX] (_XBS5_LP64_OFF64): Likewise.
9751         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
9752         [POSIX] (_POSIX_TIMEOUTS): Likewise.
9753         [POSIX] (_POSIX2_PBS): Likewise.
9754         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
9755         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
9756         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
9757         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
9758         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
9759         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
9760         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
9761         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
9762         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
9763         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
9764         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
9765         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
9766         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
9767         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
9768         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
9769         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
9770         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
9771         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
9772         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
9773         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
9774         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
9775         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
9776         [POSIX] (_SC_2_C_BIND): Likewise.
9777         [POSIX] (_SC_2_C_VERSION): Likewise.
9778         [POSIX] (_SC_2_PBS): Likewise.
9779         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
9780         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
9781         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
9782         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
9783         [POSIX] (_SC_2_PBS_TRACK): Likewise.
9784         [POSIX] (_SC_ATEXIT_MAX): Likewise.
9785         [POSIX] (_SC_BARRIERS): Likewise.
9786         [POSIX] (_SC_BASE): Likewise.
9787         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
9788         [POSIX] (_SC_DEVICE_IO): Likewise.
9789         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
9790         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
9791         [POSIX] (_SC_FD_MGMT): Likewise.
9792         [POSIX] (_SC_FIFO): Likewise.
9793         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
9794         [POSIX] (_SC_FILE_LOCKING): Likewise.
9795         [POSIX] (_SC_FILE_SYSTEM): Likewise.
9796         [POSIX] (_SC_IOV_MAX): Likewise.
9797         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
9798         [POSIX] (_SC_NETWORKING): Likewise.
9799         [POSIX] (_SC_PAGE_SIZE): Likewise.
9800         [POSIX] (_SC_PASS_MAX): Likewise.
9801         [POSIX] (_SC_PIPE): Likewise.
9802         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
9803         [POSIX] (_SC_REGEXP): Likewise.
9804         [POSIX] (_SC_SHELL): Likewise.
9805         [POSIX] (_SC_SIGNALS): Likewise.
9806         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
9807         [POSIX] (_SC_SPIN_LOCKS): Likewise.
9808         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
9809         [POSIX] (_SC_USER_GROUPS): Likewise.
9810         [POSIX] (_SC_USER_GROUPS_R): Likewise.
9811         [POSIX] (_SC_STREAMS): Likewise.
9812         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
9813         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
9814         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
9815         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
9816         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
9817         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
9818         [POSIX] (_PC_FILESIZEBITS): Likewise.
9819         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
9820         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
9821         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
9822         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
9823         [POSIX] (uid_t): Likewise.
9824         [POSIX] (gid_t): Likewise.
9825         [POSIX] (off_t): Likewise.
9826         [POSIX] (pid_t): Likewise.
9827         [POSIX] (cuserid): Allow.
9828         (_SC_2_CHAR_TERM): Require constant.
9829         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
9830         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
9831         variable.
9833 2015-05-20  Roland McGrath  <roland@hack.frob.com>
9835         * sysdeps/nacl/pthread-pids.h: New file.
9836         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
9837         (create_thread): Use __nacl_get_tid to initialize PD->tid.
9839         * nptl/pthread-pids.h: New file.
9840         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
9841         * nptl/nptl-init.c: Include <pthread-pids.h>.
9842         (__pthread_initialize_minimal_internal):
9843         Call __pthread_initialize_pids instead of set_tid_address syscall.
9845         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
9846         * sysdeps/posix/usleep.c: ... here.
9848 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9850         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
9851         call_pselect6 object.
9852         [$(subdir) = io]: Remove call_sync_file_range object.
9853         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
9854         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
9855         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
9856         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
9858 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
9860         * math/s_cproj.c: Add include "math_private.h".
9861         * math/s_cprojf.c: Likewise.
9862         * math/s_cprojl.c: Likewise.
9864 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
9866         [BZ #18244]
9867         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
9868         high mantissa bit when testing whether P is a NaN.
9869         * math/libm-test.inc (remainder_test_data): Add more tests.
9870         (remquo_test_data): Likewise.
9872         [BZ #18049]
9873         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
9874         below -32, return the argument, with underflow if subnormal.
9875         * math/auto-libm-test-in: Add more tests of atanh.
9876         * math/auto-libm-test-out: Regenerated.
9878 2015-05-19  Roland McGrath  <roland@hack.frob.com>
9880         [BZ #18434]
9881         * nptl/tst-sem15.c: New file.
9882         * nptl/Makefile (tests): Add it.
9883         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
9884         s/<</>>/ to fix typo in EOVERFLOW check.
9885         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
9887 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9889         * manual/strings.texi (envz_remove): Fix typo in safety
9890         annotations.
9892 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
9893             Steve Ellcey  <sellcey@imgtec.com>
9895         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
9896         in order to avoid strict alias warnings.
9897         (iruserok_af): Ditto for ra.
9899 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
9901         [BZ #17581]
9902         * malloc/hooks.c
9903         (magicbyte): Convert to a function and avoid returning 0x01.
9904         (mem2mem_check): Avoid using a length byte equal to the magic byte.
9905         (mem2chunk_check): Fix unsigned comparisons to zero.
9906         Hoist defs of sz and magic.
9908 2015-05-19  Richard Henderson  <rth@redhat.com>
9910         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
9912         * sysdeps/alpha/fpu/libm-test-ulps: Update.
9914 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9916         [BZ #16159]
9917         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
9918         * malloc/arena.c (arena_lock): Check if arena is corrupt.
9919         (reused_arena): Find a non-corrupt arena.
9920         (heap_trim): Pass arena to unlink.
9921         * malloc/hooks.c (malloc_check_get_size): Pass arena to
9922         malloc_printerr.
9923         (top_check): Likewise.
9924         (free_check): Likewise.
9925         (realloc_check): Likewise.
9926         * malloc/malloc.c (malloc_printerr): Add arena argument.
9927         (unlink): Likewise.
9928         (munmap_chunk): Adjust.
9929         (ARENA_CORRUPTION_BIT): New macro.
9930         (arena_is_corrupt): Likewise.
9931         (set_arena_corrupt): Likewise.
9932         (sysmalloc): Use mmap if there are no usable arenas.
9933         (_int_malloc): Likewise.
9934         (__libc_malloc): Don't fail if arena_get returns NULL.
9935         (_mid_memalign): Likewise.
9936         (__libc_calloc): Likewise.
9937         (__libc_realloc): Adjust for additional argument to
9938         malloc_printerr.
9939         (_int_free): Likewise.
9940         (malloc_consolidate): Likewise.
9941         (_int_realloc): Likewise.
9942         (_int_memalign): Don't touch corrupt arenas.
9943         * malloc/tst-malloc-backtrace.c: New test case.
9945         * Makefile (summarize-tests): Fix return value on success.
9947         * manual/string.texi (Envz Functions): Add envz_remove.
9949 2015-05-18  Roland McGrath  <roland@hack.frob.com>
9951         * sysdeps/posix/opendir.c: Include <stdbool.h>.
9952         (invalid_name): New function, broken out of ...
9953         (__opendirat): ... here.  Call it.
9954         (need_isdir_precheck): New function, broken out of ...
9955         (__opendirat): ... here.  Call it.
9956         Use __fxstatat64, not __xstatat64.
9957         (opendir_oflags): New function, broken out of ...
9958         (__opendirat): ... here.  Call it.
9959         (opendir_tail): New function, broken out of ...
9960         (__opendirat): ... here.  Call it.
9961         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
9962         opendir_tail, rather than punting to __opendirat.
9963         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
9965 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
9967         * .gitignore: Ignore generated *.pyc.
9969 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
9971         * include/stdio.h: Define __need_wint_t.
9972         * test-skeleton.c: Avoid `for' loop initial declaration.
9973         * nptl/tst-initializers1.c: Use test-skeleton.c.
9975 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9977         [BZ #18418]
9978         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
9980 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
9982         [BZ #16352]
9983         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
9984         (__ieee754_atanh): Force underflow exception for results with
9985         small absolute value.
9986         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
9987         (__ieee754_atanhf): Force underflow exception for results with
9988         small absolute value.
9989         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
9990         (__ieee754_atanh): Force underflow exception for results with
9991         small absolute value.
9992         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
9993         (__ieee754_atanhf): Force underflow exception for results with
9994         small absolute value.
9995         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
9996         (__ieee754_atanhl): Force underflow exception for results with
9997         small absolute value.
9998         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
9999         (__ieee754_atanhl): Force underflow exception for results with
10000         small absolute value.
10001         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
10002         (__ieee754_atanhl): Force underflow exception for results with
10003         small absolute value.
10004         * math/auto-libm-test-in: Do not allow missing underflow
10005         exceptions from atanh.
10006         * math/auto-libm-test-out: Regenerated.
10008         [BZ #18221]
10009         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
10010         2**-28 as threshold for returning x or +/- 1/x.
10011         * math/auto-libm-test-in: Add more tests of tan.
10012         * math/auto-libm-test-out: Regenerated.
10014         [BZ #18220]
10015         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10016         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
10017         * math/auto-libm-test-in: Add another test of lgamma.
10018         * math/auto-libm-test-out: Regenerated.
10020 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
10022         * stdio-common/printf_fp.c (___printf_fp): Use abs.
10023         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
10024         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
10025         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
10026         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
10027         (ADD2A): Use fabs.  (SUB2A): Use fabs.
10028         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
10029         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
10030         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
10031         (log1): Use fabs.  (my_log2): Use fabs.
10032         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
10033         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
10034         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
10035         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
10036         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
10037         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
10038         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
10039         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
10040         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
10041         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
10042         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
10044 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
10046         [BZ #18217]
10047         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
10048         as threshold for returning 1 - x.
10049         * math/auto-libm-test-in: Add more tests of erfc.
10050         * math/auto-libm-test-out: Regenerated.
10052 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
10054         [BZ #18196]
10055         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
10056         threshold for large arguments.
10057         * math/auto-libm-test-in: Add another test of atan.
10058         * math/auto-libm-test-out: Regenerated.
10060         [BZ #16339]
10061         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
10062         (__log1p): Force underflow exception for results with small
10063         absolute value.
10064         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
10065         (__log1pf): Force underflow exception for results with small
10066         absolute value.
10067         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
10068         (__log1p): Force underflow exception for results with small
10069         absolute value.
10070         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
10071         (__log1pf): Force underflow exception for results with small
10072         absolute value.
10073         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
10074         (__log1pl): Force underflow exception for results with small
10075         absolute value.
10076         * math/auto-libm-test-in: Do not allow missing underflow
10077         exceptions from log1p.
10078         * math/auto-libm-test-out: Regenerated.
10080 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
10081             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10083         [BZ #16704]
10084         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
10086 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
10088         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
10089         (libmvec): New variable.
10090         * configure.ac: Added option for mathvec build.
10091         * configure: Regenerated.
10092         * mathvec/Depend: New file.
10093         * mathvec/Makefile: New file.
10094         * shlib-versions: Added libmvec.
10095         * math/Makefile: Added rule for libm.so installation.
10097         * bits/math-vector.h: New file.
10098         * bits/libm-simd-decl-stubs.h: New header.
10099         * math/Makefile (headers): Added new header
10100         libm-simd-decl-stubs.h.
10101         * math/math.h (__MATHCALL_VEC): New macro.
10103         * math/gen-libm-have-vector-test.sh: Script generates series of macros
10104         for conditions in testing functions.
10105         * math/Makefile: Added call of libm-have-vector-test.sh.
10106         * math/libm-test.inc (HAVE_VECTOR): New macros.
10108         * math/libm-test.inc: START refactored.
10109         * math/test-double.c (TEST_MATHVEC): Add define.
10110         * math/test-float.c: Likewise.
10111         * math/test-idouble.c: Likewise.
10112         * math/test-ifloat.c: Likewise.
10113         * math/test-ildoubl.c: Likewise.
10114         * math/test-ldouble.c: Likewise.
10115         * sysdeps/generic/math-tests-arch.h
10116         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
10117         architecture check.
10119         * math/test-double.c (FUNC_TEST): New macro.
10120         * math/test-float.c: Likewise.
10121         * math/test-idouble.c: Likewise.
10122         * math/test-ifloat.c: Likewise.
10123         * math/test-ildoubl.c: Likewise.
10124         * math/test-ldouble.c: Likewise.
10125         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
10127 2015-05-13  Roland McGrath  <roland@hack.frob.com>
10129         * sysdeps/nacl/fdopendir.c: New file.
10131         * dirent/scandir-tail.c: New file.
10132         * dirent/scandir64-tail.c: New file.
10133         * dirent/Makefile (routines): Add them.
10134         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
10135         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
10136         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
10137         [!SCANDIR] (SCANDIR_TAIL): New macro.
10138         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
10139         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
10140         (SCANDIRAT): Macro removed.
10141         (SCANDIR_TAIL): New macro.
10142         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
10143         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
10144         (SCANDIRAT): Just call __opendirat and __scandir_tail.
10145         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
10146         (READDIR): Macro removed.
10147         (SCANDIR_TAIL): New macro.
10148         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
10149         (SCANDIR_TAIL): New macro.
10151         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
10152         * dirent/scandir-cancel.c: ... to this new file.
10153         * dirent/Makefile (routines): Add it.
10154         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
10155         * sysdeps/unix/sysv/linux/i386/scandir64.c
10156         (SKIP_SCANDIR_CANCEL): Macro removed.
10157         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
10159         * dirent/tst-scandir.c: New file.
10160         * dirent/tst-scandir64.c: New file.
10161         * dirent/Makefile (tests): Add them.
10163 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
10165         [BZ #18409]
10166         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
10168 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10170         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
10171         list.
10173 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
10175         * benchtests/bench-strcoll.c: New benchmark.
10176         * benchtests/Makefile: Generate locales and run benchmark.
10177         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
10178         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
10179         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
10180         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
10181         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
10182         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
10183         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
10184         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
10185         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
10186         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
10187         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
10188         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
10189         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
10190         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
10191         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
10192         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
10193         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
10194         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
10195         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
10196         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
10197         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
10198         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
10199         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
10200         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
10202 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
10204         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
10205         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10207 2015-05-12  Roland McGrath  <roland@hack.frob.com>
10209         * posix/uname-values.h: New file.
10210         * posix/uname.c: Include that instead of <config-name.h>.
10211         * sysdeps/nacl/uname-values.h: New file.
10212         * sysdeps/arm/nacl/uname-values.h: New file.
10214 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
10216         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
10217         splitting into fields.
10219 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
10221         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
10222         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
10223         * locale/localeinfo.h: Add enum collation_encoding_type.
10224         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
10225         * programs/ld-collate.c (collate_output): Add encoding type info.
10226         * string/strcoll_l.c (STRDIFF): New function.
10227         * (STRCOLL): Use STRDIFF to skip over equal prefix.
10228         * wcsmbs/wcscoll_l.c: Define STRDIFF.
10230 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
10232         [BZ #18397]
10233         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
10234         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
10235         <fpu_control.h> instead of <math/fpu_control.c>.
10236         * sysdeps/mips/mips32/fpu/Makefile: New file.
10238 2015-05-11  Andreas Schwab  <schwab@suse.de>
10240         [BZ #18007]
10241         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
10242         nss_endgrent.
10243         (_nss_compat_endgrent): Call nss_endgrent.
10244         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
10245         nss_endpwent.
10246         (_nss_compat_endpwent): Call nss_endpwent.
10247         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
10248         needent, call nss_setspent only if non-zero.
10249         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
10250         (internal_endspent): Don't call nss_endspent.
10251         (_nss_compat_endspent): Call nss_endspent.
10252         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
10253         Remove.  All uses removed.
10254         (internal_setent): Remove parameter stayopen, add parameter
10255         stream.  Use it instead of global variable.
10256         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
10257         (internal_endent, internal_getent): Add parameter stream.  Use it
10258         instead of global variable.
10259         (CONCAT(_nss_files_end,ENTNAME))
10260         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
10261         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
10262         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
10263         uses removed.
10264         (internal_setent, internal_endent): Add parameter stream.  Use it
10265         instead of global variable.
10266         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
10267         stream.
10268         (get_next_alias): Add parameter stream.
10269         (_nss_files_getaliasent_r): Pass global stream.
10270         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
10271         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
10272         (_nss_files_gethostbyname4_r): Pass local stream to
10273         internal_setent, internal_getent and internal_endent.  Remove
10274         locking.
10276 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10278         * tst-strfmon1.c (tests): Update expected currency symbol.
10280 2015-05-08  Roland McGrath  <roland@hack.frob.com>
10282         * sysdeps/nacl/gethostname.c: New file.
10284 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
10286         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
10287         and sinh.
10288         * math/auto-libm-test-out: Regenerated.
10289         * sysdeps/i386/fpu/libm-test-ulps: Update.
10290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10292 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
10294         [BZ #18125]
10295         * stdlib/tst-setcontext3.c: New file.
10296         * stdlib/tst-setcontext3.sh: New file.
10297         * stdlib/Makefile (tests): Add tst-setcontext3.
10298         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
10299         to verify test program created output file.
10300         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
10301         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
10302         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
10303         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
10305 2015-05-06  Roland McGrath  <roland@hack.frob.com>
10307         [BZ #18383]
10308         * elf/tst-tlsalign.c: New file.
10309         * elf/tst-tlsalign-static.c: New file.
10310         * elf/tst-tlsalign-lib.c: New file.
10311         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
10312         (tests-static): Add tst-tlsalign-static.
10313         (modules-names): Add tst-tlsalign-lib.
10314         (test-xfail-tst-tlsalign): New variable.
10315         (test-xfail-tst-tlsalign-static): New variable.
10317         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
10318         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
10320 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
10322         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
10323         csqrt, erfc, sin and sincos.
10324         * math/auto-libm-test-out: Regenerated.
10325         * sysdeps/i386/fpu/libm-test-ulps: Update.
10326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10328 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10330         * sysdeps/aarch64/libm-test-ulps: Update.
10332 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
10334         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
10335         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
10336         * math/auto-libm-test-out: Regenerated.
10337         * sysdeps/i386/fpu/libm-test-ulps: Update.
10338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10340 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
10342         [BZ #18265]
10343         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
10344         (wcsncpy): Likewise.
10346 2015-05-05  Florian Weimer  <fweimer@redhat.com>
10348         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10349         Assume __ASSUME_FALLOCATE is always true.
10350         * sysdeps/unix/sysv/linux/posix_fallocate64.c
10351         (__posix_fallocate64_l64): Likweise.
10352         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
10353         (posix_fallocate): Likewise.
10354         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
10355         (__posix_fallocate64_l64): Likewise.
10356         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10357         [!__ASSUME_FALLOCATE]: Add comment.
10359 2015-05-05  Florian Weimer  <fweimer@redhat.com>
10361         * sysdeps/unix/sysv/linux/i386/Makefile
10362         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
10363         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
10364         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
10365         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
10366         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
10367         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
10368         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
10370 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
10372         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
10373         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
10374         tgamma.
10375         * math/auto-libm-test-out: Regenerated.
10376         * sysdeps/i386/fpu/libm-test-ulps: Update.
10377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10379 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
10381         * math/auto-libm-test-in: Add more tests of tgamma.
10382         * math/auto-libm-test-out: Regenerated.
10383         * sysdeps/i386/fpu/libm-test-ulps: Update.
10384         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10386         * math/auto-libm-test-in: Add more tests of tanh.
10387         * math/auto-libm-test-out: Regenerated.
10388         * sysdeps/i386/fpu/libm-test-ulps: Update.
10389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10391         * math/auto-libm-test-in: Add more tests of tan.
10392         * math/auto-libm-test-out: Regenerated.
10393         * sysdeps/i386/fpu/libm-test-ulps: Update.
10394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10396         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
10397         * math/auto-libm-test-out: Regenerated.
10398         * sysdeps/i386/fpu/libm-test-ulps: Update.
10399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10401         * math/auto-libm-test-in: Add another test of pow.
10402         * math/auto-libm-test-out: Regenerated.
10403         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10405         * math/auto-libm-test-in: Add more tests of lgamma.
10406         * math/auto-libm-test-out: Regenerated.
10407         * sysdeps/i386/fpu/libm-test-ulps: Update.
10408         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10410         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
10411         log1p.
10412         * math/auto-libm-test-out: Regenerated.
10413         * sysdeps/i386/fpu/libm-test-ulps: Update.
10414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10416 2015-05-01  Mark Wielaard  <mjw@redhat.com>
10418         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
10419         Elf64_Chdr structs and ELFCOMPRESS constants.
10421 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
10423         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
10424         expm1.
10425         * math/auto-libm-test-out: Regenerated.
10426         * sysdeps/i386/fpu/libm-test-ulps: Update.
10427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10429         * math/auto-libm-test-in: Add more tests of erf and erfc.
10430         * math/auto-libm-test-out: Regenerated.
10431         * sysdeps/i386/fpu/libm-test-ulps: Update.
10432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10434 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10436         * config.h.in (HAVE_AARCH64_BE): Add.
10438 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
10440         * math/auto-libm-test-in: Add more tests of csqrt.
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         * math/auto-libm-test-in: Add more tests of cosh and sinh.
10446         * math/auto-libm-test-out: Regenerated.
10447         * sysdeps/i386/fpu/libm-test-ulps: Update.
10448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10450         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
10452 2015-04-29  Roland McGrath  <roland@hack.frob.com>
10454         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
10455         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
10457         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
10458         (euidaccess, eaccess): Define as weak aliases.
10460         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
10461         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
10462         but __suseconds_t is often 'long int' so some sources assume that
10463         type is being used (e.g. they use %ld to print tv_usec).
10465 2015-04-29  Florian Weimer  <fweimer@redhat.com>
10467         [BZ #18007]
10468         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
10469         (CVE-2014-8121)
10470         * nss/tst-nss-getpwent.c: New file.
10471         * nss/Makefile (tests): Add new test.
10473 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
10475         [BZ #18346]
10476         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
10477         exponents less than 48 as cases where high part of mantissa needs
10478         examining to determine whether argument is integral.
10479         * math/libm-test.inc (round_test_data): Add more tests.
10481 2015-04-28  Mark Wielaard  <mjw@redhat.com>
10483         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
10485 2015-04-27  David S. Miller  <davem@davemloft.net>
10487         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
10488         __tls_get_addr.
10489         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
10491 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
10493         [BZ#18333]
10494         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
10496 2015-04-27  Florian Weimer  <fweimer@redhat.com>
10498         [BZ#18333]
10499         * time/tzset.c (parse_tzname): Return error on memory allocation
10500         failure.
10501         * test-skeleton.c (struct temp_name_list): Change type of name
10502         member to non-const.
10503         (add_temp_file): Create a copy of the file name.
10504         (delete_temp_files): Deallocate memory.
10505         (create_temp_file): Add comment.
10507 2015-04-24  Florian Weimer  <fweimer@redhat.com>
10509         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
10510         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
10512 2015-04-24  Roland McGrath  <roland@hack.frob.com>
10514         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
10515         * sysdeps/arm/configure: Regenerated.
10517 2015-04-24  Florian Weimer  <fweimer@redhat.com>
10519         [BZ #17715]
10520         * time/tzfile.c (__tzfile_read): Check for large values of
10521         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
10522         * time/tzset.c (__tzstring_len): New function, based on the old
10523         __tzstring function.
10524         (__tzstring): Call __tzstring_len.
10525         (parse_tzname): New helper function extracted from
10526         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
10527         the input string.
10528         (parse_offset): New helper function extracted from
10529         __tzset_parse_tz.  Replace switch with fallthrough with
10530         initialization before sscanf.
10531         (parse_rule): Likewise.
10532         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
10533         new-style function definition.
10534         * timezone/Makefile (tests): Add tst-tzset.
10535         (tst-tzset.out): Dependencies on time zone files.
10536         (tst-tzset-ENV): Set TZDIR.
10537         (testdata/XT%): Copy crafted time zone files.
10538         * timezone/README: Mention crafted time zone files.
10539         * timezone/testdata/XT1, timezone/testdata/XT2,
10540         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
10541         files.
10542         * timezone/tst-tzset.c: New test.
10544 2015-04-24  Florian Weimer  <fweimer@redhat.com>
10546         * Makeconfig (+gccwarn): Remove -Winline.
10548 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10550         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
10552 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10554         * NEWS: Mention sysconf() cache information support for s390.
10555         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
10557 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
10559         * math/k_casinh.c (__kernel_casinh): Use __copysign.
10560         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
10561         (__nearbyint): Likewise.
10562         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
10563         (copysignl): Likewise.
10565 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
10567         [BZ #18287]
10568         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
10569         based on padding.  (CVE-2015-1781)
10571 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10573         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
10574         libc-vdso.h.
10575         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
10576         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
10577         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
10578         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
10579         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
10580         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
10581         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
10582         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
10583         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
10584         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
10585         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
10586         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
10587         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
10588         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
10589         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
10590         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
10591         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
10592         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
10593         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
10594         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
10595         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
10596         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
10597         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
10599 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
10601         * stdlib/setenv.c (__add_to_environ):
10602         Dump core quickly if setenv (..., NULL, ...) is called.
10603         This time, do it the right way, and pacify GCC with a pragma.
10605 2015-04-17  Roland McGrath  <roland@hack.frob.com>
10607         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
10608         IMAP->l_prev cannot be null, and #if out the code for the contrary
10609         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
10610         believe that NS (&_dl_ns[NSID]) could point outside the array.
10612         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
10613         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
10614         before using NSID as an index.
10616 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
10618         [BZ #17825]
10619         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
10620         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
10621         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
10623 2015-04-17  Roland McGrath  <roland@hack.frob.com>
10625         Add preliminary port to Google Native Client on ARM.
10626         * abi-tags (.*-.*-nacl.*): New entry.
10627         * sysdeps/arm/nacl: New directory.
10628         * sysdeps/nacl: New directory.
10630 2015-04-16  David S. Miller  <davem@davemloft.net>
10632         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
10633         lowlevellock-futex.h
10635 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
10637         * sysdeps/tile/configure.ac: New file.
10638         * sysdeps/tile/configure: Regenerated.
10640 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10642         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
10643         conditionals for weak_alias and libc_hidden_weak.
10644         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
10645         libc_hidden_weak and weak_alias.
10646         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
10647         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
10648         and weak_alias for static one.
10650 2015-04-15  David S. Miller  <davem@davemloft.net>
10652         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
10654 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10656         [BZ #18206]
10657         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
10658           Use signed comparision instead of substraction to avoid
10659           overflow bug.
10660         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
10661           Take the sign of ret.
10662         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
10663           Do not expect precise return values. Only the sign matters.
10664         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
10665         * wcsmbs/test-wcsncmp.c: New File.
10666         * string/test-strncmp.c: Add wcsncmp support.
10668 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10670         [BZ #6792]
10671         * math/w_log1p.c: New file.
10672         * math/w_log1pf.c: Likewise.
10673         * math/w_log1pl.c: Likewise.
10674         * math/Makefile (libm-calls): Add w_log1p.
10675         * math/s_log1pl.c (log1pl): Remove weak_alias.
10676         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
10677         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
10678         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
10679         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
10680         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
10681         [NO_LONG_DOUBLE] (log1pl): Likewise.
10682         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
10683         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
10684         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
10685         (log1p): Remove long_double_symbol.
10686         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
10687         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
10688         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
10689         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
10690         remove weak_alias for corresponding log1p function.
10691         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
10692         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
10693         * sysdeps/ia64/fpu/w_log1p.c: New file.
10694         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
10695         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
10696         * math/libm-test.inc (log1p_test_data): Add errno expectations.
10698 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
10700         [BZ #18247]
10701         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
10702         decimal exponent by 1.
10703         * stdlib/tst-strtod-round-data: Add more tests.
10704         * stdlib/tst-strtod-round.c (tests): Regenerated.
10706 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
10708         * math/auto-libm-test-in: Add more tests of clog and clog10.
10709         * math/auto-libm-test-out: Regenerated.
10710         * sysdeps/i386/fpu/libm-test-ulps: Update.
10711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10713 2015-04-09  Roland McGrath  <roland@hack.frob.com>
10715         * Makeconfig (module-cppflags): Exclude all .v.i files.
10716         (skip-module-cppflags): Variable removed.
10718         * configure.ac (libc_config_ok): Initialize before reading
10719         preconfigure scripts, not after.
10720         * configure: Regenerated.
10722         * test-skeleton.c (TIMEOUT): Move #define to top level.
10723         (main): Grok environment variable TEST_DIRECT.  If set, print
10724         test expectation details into that file and then behave as if
10725         given --direct.
10727 2015-04-09  Florian Weimer  <fweimer@redhat.com>
10729         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
10730         warning on 32-bit.
10732 2015-04-08  David S. Miller  <davem@davemloft.net>
10734         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10736 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
10738         * math/auto-libm-test-in: Add more tests of atanh.
10739         * math/auto-libm-test-out: Regenerated.
10740         * sysdeps/i386/fpu/libm-test-ulps: Update.
10741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10743         * math/auto-libm-test-in: Add more tests of atan.
10744         * math/auto-libm-test-out: Regenerated.
10745         * sysdeps/i386/fpu/libm-test-ulps: Update.
10746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10748 2015-04-08  Florian Weimer  <fweimer@redhat.com>
10750         * elf/pldd.c (main): Rewrite to use struct
10751         scratch_buffer instead of extend_alloca.
10752         * elf/pldd-xx.c (find_maps): Likewise.
10753         * grp/initgroups.c: Include <scratch_buffer.h> instead of
10754         <alloca.h>.
10755         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
10756         scratch_buffer instead of extend_alloca.
10757         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
10758         grp/compat-initgroups.c.
10759         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
10760         Rewrite to use struct scratch_buffer instead of extend_alloca.
10761         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
10762         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10764 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
10766         * math/auto-libm-test-in: Add more tests of cbrt.
10767         * math/auto-libm-test-out: Regenerated.
10768         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10770         * math/auto-libm-test-in: Add more tests of cabs.
10771         * math/auto-libm-test-out: Regenerated.
10772         * sysdeps/i386/fpu/libm-test-ulps: Update.
10773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10775         [BZ #18210]
10776         [BZ #18211]
10777         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
10778         (__ieee754_atan2): Set FE_TONEAREST mode for internal
10779         computations.
10780         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
10781         clog10.
10782         * math/auto-libm-test-out: Regenerated.
10783         * sysdeps/i386/fpu/libm-test-ulps: Update.
10784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10786         [BZ #18197]
10787         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
10788         (atan): Set FE_TONEAREST mode for internal computations.
10789         * math/auto-libm-test-in: Add more tests of atan.
10790         * math/auto-libm-test-out: Regenerated.
10792 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
10794         [BZ #17930]
10795         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
10797 2015-04-07  Florian Weimer  <fweimer@redhat.com>
10799         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
10801 2015-04-07  Florian Weimer  <fweimer@redhat.com>
10803         * include/scratch_buffer.h: New file.
10804         * malloc/scratch_buffer_grow.c: Likewise.
10805         * malloc/scratch_buffer_grow_preserve.c: Likewise.
10806         * malloc/scratch_buffer_set_array_size.c: Likewise.
10807         * malloc/tst-scratch_buffer.c: Likewise.
10808         * malloc/Makefile (routines): Add scratch_buffer_grow.
10809         (tests): Add test case.
10810         * malloc/Versions (GLIBC_PRIVATE): Export
10811         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
10812         __libc_scratch_buffer_set_array_size.
10814 2015-04-06  Richard Henderson  <rth@redhat.com>
10816         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
10817         * sysdeps/alpha/fpu/libm-test-ulps: Update.
10819         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
10820         unsigned int before printing.
10822 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10824         [BZ #17596]
10825         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
10826         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10828 2015-04-02  Florian Weimer  <fweimer@redhat.com>
10830         * include/libc-internal.h (libc_max_align_t): Define.
10832 2015-04-02  Andreas Schwab  <schwab@suse.de>
10834         [BZ #16850]
10835         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
10837 2015-04-02  Mel Gorman  <mgorman@suse.de>
10839         [BZ #17195]
10840         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
10841         as well as the main arena.
10843 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
10845         [BZ #18185]
10846         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
10847         sharing L2 cache to 2 for Silvermont/Knights Landing.
10849 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
10851         [BZ #17711]
10852         * config.make.in (have-protected-data): New.
10853         * configure.ac: Check linker support for protected data symbol.
10854         * configure: Regenerated.
10855         * elf/Makefile (modules-names): Add tst-protected1moda and
10856         tst-protected1modb if $(have-protected-data) is yes.
10857         (tests): Add tst-protected1a and tst-protected1b if
10858         $(have-protected-data) is yes.
10859         ($(objpfx)tst-protected1a): New.
10860         ($(objpfx)tst-protected1b): Likewise.
10861         (tst-protected1modb.so-no-z-defs): Likewise.
10862         * elf/tst-protected1a.c: New file.
10863         * elf/tst-protected1b.c: Likewise.
10864         * elf/tst-protected1mod.h: Likewise.
10865         * elf/tst-protected1moda.c: Likewise.
10866         * elf/tst-protected1modb.c: Likewise.
10868 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
10870         [BZ #17711]
10871         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
10872         indicates it is called from do_lookup_x on relocation against
10873         protected data, skip the data definion in the executable from
10874         copy reloc.
10875         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
10876         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
10877         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
10878         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
10879         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
10880         otherwise to 0.
10881         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
10882         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
10883         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
10884         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
10885         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
10886         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
10888 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
10890         * sysdeps/nptl/pthread.h: Remove duplicate definition of
10891         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
10893 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
10895         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
10896         THREAD_SETMEM_NC.
10897         * sysdeps/x86_64/nptl/tls.h: Ditto.
10899 2015-03-27  Roland McGrath  <roland@hack.frob.com>
10901         * dlfcn/tststatic.c (main): Converted to ...
10902         (do_test): ... this.
10903         (TEST_FUNCTION): New macro.
10904         Include test-skeleton.c.
10906 2015-03-26  Alan Modra  <amodra@gmail.com>
10908         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
10909         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
10910         zero for undefined weak.
10911         (elf_machine_plt_conflict): Similarly.
10913 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
10915         * math/auto-libm-test-in: Add more tests of acosh, asinh and
10916         atanh.
10917         * math/auto-libm-test-out: Regenerated.
10918         * sysdeps/i386/fpu/libm-test-ulps: Update.
10919         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10921         * math/auto-libm-test-in: Add another test of asin.
10922         * math/auto-libm-test-out: Regenerated.
10923         * sysdeps/i386/fpu/libm-test-ulps: Update.
10924         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10926         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
10927         Remove macro.
10928         (LLL_EBX_REG): Likewise.
10929         (LLL_ENTER_KERNEL): Likewise.
10931         * math/auto-libm-test-in: Add more tests of asin.
10932         * math/auto-libm-test-out: Regenerated.
10933         * sysdeps/i386/fpu/libm-test-ulps: Update.
10934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10936         [BZ #18138]
10937         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
10938         libc_do_syscall_args): New structure.
10939         (INTERNAL_SYSCALL_MAIN_0): New macro.
10940         (INTERNAL_SYSCALL_MAIN_1): Likewise.
10941         (INTERNAL_SYSCALL_MAIN_2): Likewise.
10942         (INTERNAL_SYSCALL_MAIN_3): Likewise.
10943         (INTERNAL_SYSCALL_MAIN_4): Likewise.
10944         (INTERNAL_SYSCALL_MAIN_5): Likewise.
10945         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
10946         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
10947         Replace conditional definitions by conditional definitions of ....
10948         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
10949         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
10950         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
10951         (libpthread-sysdep_routines): Add libc-do-syscall.
10952         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
10953         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
10954         to __NR_futex not 240.
10956 2015-03-25  Alan Modra  <amodra@gmail.com>
10958         * NEWS: Advertise TLS optimization.
10959         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
10960         (DT_PPC_NUM): Increment.
10961         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
10962         (CHECK_STATIC_TLS): Use here.
10963         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
10964         TLS descriptors.
10965         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10966         * sysdeps/powerpc/dl-tls.c: New file.
10967         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
10968         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
10969         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
10970         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
10971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
10972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
10973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
10975 2015-03-25  Alan Modra  <amodra@gmail.com>
10977         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
10978         for overlapping .opd entries" to "support...".
10979         * sysdeps/powerpc/powerpc64/configure: Regenerate
10981 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
10983         * math/auto-libm-test-in: Add more tests of acos.
10984         * math/auto-libm-test-out: Regenerated.
10985         * sysdeps/i386/fpu/libm-test-ulps: Update.
10986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10988         * math/auto-libm-test-in: Add more tests of expm1.
10989         * math/auto-libm-test-out: Regenerated.
10990         * sysdeps/i386/fpu/libm-test-ulps: Update.
10991         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10993 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
10995         * math/auto-libm-test-in: Add more tests of cosh and sinh.
10996         * math/auto-libm-test-out: Regenerated.
10997         * sysdeps/i386/fpu/libm-test-ulps: Update.
10998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11000         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11003         * math/auto-libm-test-in: Add more tests of log2.
11004         * math/auto-libm-test-out: Regenerated.
11005         * sysdeps/i386/fpu/libm-test-ulps: Update.
11006         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11008 2015-03-23  Roland McGrath  <roland@hack.frob.com>
11010         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
11011         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
11012         _IO_IS_APPENDING bit in READ_WRITE instead.
11014 2015-03-23  Florian Weimer  <fweimer@redhat.com>
11016         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
11017         (__determine_cpumask_size): Replace extend_alloca with a
11018         variable-length array.  Do not treat res == 0 as an error.
11020 2015-03-23  Florian Weimer  <fweimer@redhat.com>
11022         [BZ #18100]
11023         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
11024         and integer overflow.
11025         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
11026         (main): Add integer overflow tests.
11027         * manual/pattern.texi (Calling Wordexp): Document additional use
11028         for WRDE_SYNTAX.
11030 2015-03-23  Alan Modra  <amodra@gmail.com>
11032         * config.h.in: Remove HAVE_ASM_PPC_REL16.
11033         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
11034         and false branch of conditional.
11035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
11036         Likewise.
11038 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
11040         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
11041         libc-modules.h
11042         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
11043         unused declaration of _hurd_intr_rpc_msg_in_trap.
11044         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
11045         defined instead of whether it is non-zero.
11046         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
11047         input constraint instead of both input and output constraint.  Use ecx
11048         clobber instead of %ecx.
11049         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
11050         mutex_unlock): Use a statement expression instead of an expression list.
11051         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
11052         type to vm_size_t instead of vm_address_t.
11053         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
11054         defined instead of whether it is non-zero.
11055         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
11056         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
11057         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
11058         comparisons with mapaddr.
11059         * nscd/nscd-client.h: Include <time.h>.
11060         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
11061         9th parameter to __vm_region instead of int.
11062         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
11063         * scripts/check-local-headers.sh (exclude): Add device/,
11064         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
11065         cthreads.h.
11067 2015-03-19  Roland McGrath  <roland@hack.frob.com>
11069         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
11070         to account for alignment padding.
11071         * sysdeps/arm/memmove.S: Likewise.
11073 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
11075         * sysdeps/unix/sysv/linux/generic/README: New file.
11077 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
11079         [BZ #18138]
11080         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
11081         (futex_abstimed_wait)
11082         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
11083         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
11084         of lll_futex_timed_wait.
11086 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
11088         [BZ #17542]
11089         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
11091 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
11093         [BZ #17090]
11094         [BZ #17620]
11095         [BZ #17621]
11096         [BZ #17628]
11097         * NEWS: Update.
11098         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
11099         entries with Static TLS too.  Skip entries past the end of the
11100         allocated DTV, from Alan Modra.
11101         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
11102         Static TLS DTV entry set up from...
11103         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
11104         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
11105         * nptl/allocatestack.c (init_one_static_tls): ... and here...
11106         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
11107         for Static TLS.
11108         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
11109         that the slot we find is associated with the given map before
11110         using its generation count.
11111         * nptl_db/db_info.c: Include ldsodefs.h.
11112         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
11113         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
11114         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
11115         (link_map::l_tls_offset): New struct field.
11116         (dtv_t::counter): Likewise.
11117         (rtld_global): New struct.
11118         (_rtld_global): New rtld variable.
11119         (dl_tls_dtv_slotinfo_list): New rtld global field.
11120         (dtv_slotinfo_list): New struct.
11121         (dtv_slotinfo): Likewise.
11122         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
11123         (td_lookup): Rename to...
11124         (td_mod_lookup): ... this.  Use new mod parameter instead of
11125         LIBPTHREAD_SO.
11126         * nptl_db/td_thr_tlsbase.c: Include link.h.
11127         (dtv_slotinfo_list, dtv_slotinfo): New functions.
11128         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
11129         addresses even if the DTV is out of date or missing them.
11130         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
11131         index zero-length arrays.
11132         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
11133         (td_lookup): Make it a macro implemented in terms of...
11134         (td_mod_lookup): ... this declaration.
11135         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
11136         (DB_MAIN_VARIABLE): Likewise.
11138 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
11140         [BZ #18134]
11141         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
11143 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
11145         * stdlib/setenv.c (__add_to_environ): Revert previous change.
11147 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
11149         [BZ #18128]
11150         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
11151         (atomic_add, atomic_increment_and_test)
11152         (atomic_decrement_and_test): Fix 64-bit arithmetic.
11154 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
11156         * stdlib/setenv.c (__add_to_environ):
11157         Dump core quickly if setenv (..., NULL, ...) is called.
11159 2015-03-13  Roland McGrath  <roland@hack.frob.com>
11161         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
11162         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
11163         all the necessary asm magic in one place.
11164         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
11165         using those.
11167 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
11169         [BZ #14906]
11170         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
11171         traced file mtime. Use consistent log message.
11172         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
11173         (register_traced_file): Call install_watches. Always set mtime.
11174         (invalidate_cache): Iterate over all trace files. Call install_watches.
11175         (inotify_check_files): Don't inline. Handle watching parent
11176         directories and configuration file movement in and out.
11177         (handle_inotify_events): New function.
11178         (main_loop_poll): Call handle_inotify_events.
11179         (main_loop_epoll): Likewise.
11180         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
11181         (struct traced_file): Use array of inotify fds. Add parent directory,
11182         and basename.
11183         (struct database_dyn): Remove unused file_mtime.
11184         (init_traced_file): New inline function.
11185         (define_traced_file): New macro.
11186         * nss/nss_db/db-init.c: Use define_traced_file.
11187         (_nss_db_init): Use init_traced_file.
11188         * nss/nss_files/files-init.c: Use define_traced_file.
11189         (_nss_files_init): Use init_traced_file.
11191 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
11193         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
11194         [_LIBC]: Do not include <stdlib.h>.
11195         [!_LIBC] (abort): Remove declaration.
11196         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
11197         _FP_STATIC_ASSERT instead of conditionally calling abort.
11198         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
11199         (_FP_EXTEND_CNAN): Likewise.
11200         (FP_TRUNC): Likewise.
11201         (__FP_CLZ): Likewise.
11202         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
11204 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
11206         * manual/string.texi (XPG basename): Fix prototype.
11208 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
11210         [BZ #18080]
11211         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
11212         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
11213         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
11214         (__setcontext): Likewise.
11215         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
11216         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
11217         Call rt_sigprocmask syscall one time to set new signal mask
11218         and retrieve the current signal mask instead of two calls.
11219         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
11220         (__swapcontext): Likewise.
11221         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
11222         * stdlib/tst-setcontext2.c: New file.
11224 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
11226         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11228 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
11230         [BZ #18093]
11231         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
11232         the wrong size.
11234 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
11236         [BZ #18043]
11237         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
11239 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
11241         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
11242         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
11243         Remove define.
11244         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
11245         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
11246         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
11247         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
11248         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
11249         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
11250         define.
11251         * nptl_db/td_symbol_list.c (td_lookup): Remove
11252         HAVE_ASM_GLOBAL_DOT_NAME code.
11253         * sysdeps/powerpc/powerpc64/configure.ac: Remove
11254         HAVE_ASM_GLOBAL_DOT_NAME check.
11255         * sysdeps/powerpc/powerpc64/configure: Regenerate.
11256         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
11257         (DOT_LABEL): Remove define.
11258         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
11259         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
11260         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
11261         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
11262         (__TLS_GET_ADDR): Likewise.
11263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
11264         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
11266 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
11268         [BZ #18111]
11269         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
11270         (_FPU_SETCW): Initialize cw from fpsr before storing.
11271         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
11272         (fesetexceptflag): Rewrite using fpu_control.h.
11273         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
11275 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
11277         [BZ #18110]
11278         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
11279         asms.
11280         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
11282 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
11284         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
11285         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
11286         abort.
11287         (_FP_FMA): Likewise.
11288         (_FP_DIV): Likewise.
11290 2015-03-10  Roland McGrath  <roland@hack.frob.com>
11292         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
11293         with 0 in that case.
11294         * Makefile (summarize-tests): New canned sequence, factored out of
11295         commands for targets tests and xtests.  Display summary lines that
11296         don't start with PASS: or XFAIL: rather than ones that do start with
11297         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
11298         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
11299         do start with ERROR: or FAIL:.
11300         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
11301         (except for [$(build-shared) = yes]).
11302         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
11303         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
11304         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
11305         * nptl/Makefile: Revert 2015-03-04 changes.
11306         [$(CXX) empty] (tests-unsupported): New variable.
11307         * debug/Makefile: Likewise.
11309         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
11310         gnulib file.  Replace __attribute with __attribute__ throughout.
11312 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
11314         * sysdeps/hppa/fpu/libm-test-ulps: Update.
11316 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
11318         [BZ #18104]
11319         * math/auto-libm-test-in: Add another test of pow.
11320         * math/auto-libm-test-out: Regenerated.
11322 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11324         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
11325         $(config-cflags-nofma).
11327 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
11329         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
11330         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
11331         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
11332         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
11333         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
11334         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
11335         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
11336         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
11337         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
11338         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
11339         Add comment on closing #endif.
11341 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
11343         * posix/wordexp.c (CHAR_IN_SET): New macro.
11344         (parse_param): Use it.
11346 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11348         * sysdeps/powerpc/fpu/libm-test-ulps: update.
11350 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
11352         [BZ #18043]
11353         * posix/wordexp.c (parse_param): Fix buffer overflow.
11354         * posix/wordexp-test.c (test_case): Add test case.
11356 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
11358         [BZ #18042]
11359         * posix/wordexp.c (parse_backtick): Fix off-by-one.
11360         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
11362 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
11364         [BZ #18043]
11365         * posix/wordexp-test.c (test_case): Add test for BZ #18043
11366         (do_bz18043): Delete.
11367         (at_page_end): New.
11368         (testit): Refactor to have words at the edge of unreadable page.
11370 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
11372         [BZ #16734]
11373         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
11374         Cleanup read-only streams as well.
11375         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
11377 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11379         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
11380         <bits/libc-lockP.h>
11382 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
11384         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
11385         on [__KERNEL__].
11386         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
11387         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
11388         * soft-fp/op-common.h (_FP_DECL): Likewise.
11390 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
11392         * elf/ifuncdep2.c (global): Replace
11393         __attribute__((visibility("protected"))) with
11394         asm (".protected global").
11395         * elf/ifuncmod1.c (global): Likewise.
11396         * elf/ifuncmod5.c (global): Likewise.
11398 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
11400         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
11401         <asm/sfp-machine.h> instead of <sfp-machine.h>.
11403 2015-03-06  Roland McGrath  <roland@hack.frob.com>
11405         * manual/install.texi (Configuring and compiling):
11406         Document test-wrapper-env-only.
11407         * INSTALL: Regenerated.
11409 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
11411         [BZ #18043]
11412         * posix/wordexp.c (parse_param): Fix buffer overflow.
11413         * posix/wordexp-test.c (do_bz18043): Add test case.
11415 2015-03-06  Vincent Bernat  <vincent@bernat.im>
11417         * time/tst-strptime2.c (do_test): Ensure failing tests are
11418         reported correctly.
11419         * time/tst-strptime3.c (do_test): Likewise.
11421 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
11423         Fix aio_error thread-safety.
11424         * sysdeps/pthread/aio_error.c: New file
11425         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
11426         synchronization.
11428 2015-03-06  Florian Weimer  <fweimer@redhat.com>
11430         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
11431         (group_number, vfprintf): Use it.
11432         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
11433         (JUMP, REF): Use it.
11434         (WORK_BUFFER_SIZE): New enum constant.
11435         (process_arg, vfprintf): Use it.
11437 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
11439         * manual/errno.texi (Error Messages): Complete example function
11440         by adding missing #define.
11441         (program_invocation_name): Add statement indicating GNU
11442         extension and reference which header file declares the variable.
11443         (program_invocation_short_name): Likewise.
11445 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
11447         * manual/errno.texi (Error Messages): Delete strerror ISO C89
11448         compatibility note.
11450 2015-03-05  Roland McGrath  <roland@hack.frob.com>
11452         * Makeconfig (test-wrapper-env-only): New variable.
11453         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
11454         then use that with $(test-wrapper-env-only) rather than using
11455         $(test-wrapper-env) $(run-program-env) $($*-ENV).
11457 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
11459         [BZ #18082]
11460         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
11461         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
11462         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
11463         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
11464         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
11465         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
11466         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
11467         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
11468         Likewise.
11469         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
11470         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
11471         Likewise.
11472         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
11473         Likewise.
11474         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
11475         Likewise.
11476         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
11477         Likewise.
11478         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
11479         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
11480         Likewise.
11481         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
11482         Likewise.
11483         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
11484         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
11486 2015-03-04  Roland McGrath  <roland@hack.frob.com>
11488         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
11489         (ETH_ALEN): New macro.
11490         (struct ether_addr): Use it for length of ether_addr_octet.
11492         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
11493         (setdb): Don't call __nss_configure_lookup for "rpc".
11494         (do_test): Don't call test_rpc.
11495         (output_rpcent, test_rpc): Functions moved ...
11496         * sunrpc/test-rpcent.c: ... to this new file.
11497         * sunrpc/Makefile (tests): Add it.
11499         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
11500         __xpg_sigpause.
11501         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
11502         * nptl/tst-signal6.c: Likewise.
11503         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
11504         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
11506         * configure.ac (libc_cv_cxx_link_ok): New check.
11507         Reset CXX to empty if it fails to link.
11508         * configure: Regenerated.
11509         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
11510         bug-atexit3-lib only if $(CXX) is nonempty.
11511         * nptl/Makefile (tests): Likewise for tst-cancel24.
11512         (tests, tests-static): Likewise for tst-cancel24-static.
11513         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
11514         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
11515         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
11516         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
11518 2015-03-04  Andreas Schwab  <schwab@suse.de>
11520         [BZ #17631]
11521         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
11522         for non-GCC compilers.
11523         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11524         Likewise.
11526 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
11528         [BZ #17776]
11529         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
11530         integer before bitwise and assembly operations.
11531         (feclearexcept): Likewise.
11532         * math/test-fenvinline.c: New file.
11533         * math/Makefile: Add test-fenvinline test.
11535 2015-03-03  Alan Modra  <amodra@gmail.com>
11537         [BZ #16512]
11538         * scripts/localplt.awk: Strip off symbol version.
11539         * NEWS: Mention bug fix.
11541 2015-03-02  Roland McGrath  <roland@hack.frob.com>
11543         * sysdeps/pthread/timer_routines.c
11544         (timer_free_list, thread_free_list, thread_active_list): Make static.
11546 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
11548         [BZ #17779]
11549         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11550         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
11551         Undefine.
11552         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11553         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
11554         Likewise.
11555         * sysdeps/unix/sysv/linux/sh/kernel-features.h
11556         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
11557         Likewise.
11559 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
11561         [BZ #18036]
11562         * posix/fnmatch_loop.c (END): Detect invalid pattern.
11563         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
11565 2015-03-02  Andreas Schwab  <schwab@suse.de>
11567         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
11568         variable name.
11570 2015-03-02  Florian Weimer  <fweimer@redhat.com>
11572         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
11573         Return error status.
11575 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
11577         [BZ #15969]
11578         * locale/findlocale.c (_nl_find_locale): Introduce const
11579         version of loc_name and drop unsafe type casts.
11581 2015-02-27  Roland McGrath  <roland@hack.frob.com>
11583         * dlfcn/tststatic2.c (main): Converted to ...
11584         (do_test): ... this.
11585         (TEST_FUNCTION): New macro.
11586         Include test-skeleton.c.
11588 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
11590         [BZ #17711]
11591         * elf/Makefile (tests): Add vismain only if PIE is enabled.
11592         (tests-pie): Add vismain.
11593         (CFLAGS-vismain.c): New.
11594         * elf/vismain.c: Add comments for PIE requirement.
11596 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
11598         [BZ #18046]
11599         [BZ #18047]
11600         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
11601         0x1p-56L as threshold for just returning the argument.
11602         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
11603         0x1p-32L as threshold for just returning the argument.
11604         * math/auto-libm-test-in: Add more tests of atanh.
11605         * math/auto-libm-test-out: Regenerated.
11606         * sysdeps/i386/fpu/libm-test-ulps: Update.
11607         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
11609 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
11611         * string/bcopy.c (bcopy): Call memmove for performance.
11613 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
11615         * string/bzero.c (__bzero): Call memset for performance.
11617 2015-02-27  John David Anglin  <dave.anglin@bell.net>
11619         [BZ #18068]
11620         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
11621         to 00100000.
11623 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
11625         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
11627 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
11629         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
11630         (__kernel_standard): Use CSTR macro when setting exc.name.
11631         * sysdeps/ieee754/Makefile [$(subdir) = math]
11632         (CFLAGS-k_standard.c): Remove variable.
11634         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
11635         setting p and q from "else if" to "else".
11636         (qzero): Likewise.
11637         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
11638         (qone): Likewise.
11639         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
11640         (qzerof): Likewise.
11641         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
11642         (qonef): Likewise.
11643         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
11644         (qzero): Likewise.
11645         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
11646         (qone): Likewise.
11648         [BZ #18038]
11649         [BZ #18039]
11650         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
11651         return pi/2 for arguments below 0x1p-113L.
11652         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
11653         return pi/2 for arguments below 0x1p-106L.
11654         * math/auto-libm-test-in: Add more tests of acos.
11655         * math/auto-libm-test-out: Regenerated.
11657         [BZ #16351]
11658         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
11659         (MO): New macro.
11660         (__ieee754_asin): Force underflow exception for results with small
11661         absolute value.
11662         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
11663         (MO): New macro.
11664         (__ieee754_asinf): Force underflow exception for results with
11665         small absolute value.
11666         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
11667         (__ieee754_asin): Force underflow exception for results with small
11668         absolute value.
11669         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
11670         (__ieee754_asinf): Force underflow exception for results with
11671         small absolute value.
11672         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
11673         (__ieee754_asinl): Force underflow exception for results with
11674         small absolute value.
11675         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
11676         (__ieee754_asinl): Force underflow exception for results with
11677         small absolute value.
11678         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
11679         (__ieee754_asinl): Force underflow exception for results with
11680         small absolute value.
11681         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
11682         Include <math.h>.
11683         * math/auto-libm-test-in: Do not mark underflow exceptions as
11684         possibly missing for bug 16351.
11685         * math/auto-libm-test-out: Regenerated.
11687         [BZ #18030]
11688         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
11689         of power of 2 down when low part has opposite sign.
11690         * math/libm-test.inc (logb_test_data): Add more tests.
11692 2015-02-26  Andreas Schwab  <schwab@suse.de>
11694         [BZ #18032]
11695         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
11696         over collating symbol inside a bracket expression.  Minor cleanup.
11697         * posix/tst-fnmatch3.c (do_test): Add test case.
11699 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
11701         [BZ #18029]
11702         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
11703         Adjust exponent of power of 2 down when low part has opposite
11704         sign.
11705         * math/libm-test.inc (ilogb_test_data): Add more tests.
11707 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
11709         [BZ #15969]
11710         * locale/findlocale.c (_nl_find_locale): Fix constness error in
11711         the previous change.
11713         [BZ #15969]
11714         * locale/findlocale.c (_nl_find_locale): Retry archive search
11715         after alias expansion.
11717 2015-02-25  Roland McGrath  <roland@hack.frob.com>
11719         * iconv/tst-iconv3.c (main): Converted to ...
11720         (do_test): ... this.
11721         (TEST_FUNCTION): New macro.
11722         Include test-skeleton.c.
11724         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
11725         (convert): Make function static.
11726         (test_unalign): Likewise.  Add const to argument pointee types.
11727         (main): Replace with static function do_test.
11728         Print "Succeeded." only if RET is zero.
11729         (TEST_FUNCTION): New macro.
11730         Include test-skeleton.c.
11732         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
11733         returns a null pointer.
11735 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11737         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
11738         to __memcpy_ppc only for static builds.
11740 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
11742         [BZ #18020]
11743         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
11744         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
11745         * math/auto-libm-test-in: Add more tests of asinh.
11746         * math/auto-libm-test-out: Regenerated.
11747         * sysdeps/i386/fpu/libm-test-ulps: Update.
11748         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11750 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
11752         [BZ #15850]
11753         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
11754         and ip6_mtuinfo definitions here.
11755         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
11756         in this define too.  Update comment.
11758 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
11760         * elf/sprof.c (load_shobj): Tweak error message to match others.
11762 2015-02-24  Kevin Easton  <kevin@guarana.org>
11764         [BZ #16145] (partial fix)
11765         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
11766         to reduce lock contention.
11768 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
11770         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
11771         (struct timex): Update time comment.
11772         (ADJ_SETOFFSET): Define.
11774 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
11776         [BZ #18019]
11777         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
11778         2**56 not 2**28 as threshold for log (2x) formula.
11779         * math/auto-libm-test-in: Add more tests of acosh.
11780         * math/auto-libm-test-out: Regenerated.
11781         * sysdeps/i386/fpu/libm-test-ulps: Update.
11782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11784 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
11786         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
11787         parenthesis around the buf assignment.
11788         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
11790 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
11792         [BZ #16783]
11793         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
11794         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
11795         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
11796         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
11797         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
11798         * math/libm-test.inc (scalb_test_data): Add more tests.
11800 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
11802         [BZ #17916]
11803         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
11804         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
11806 2015-02-24  Eric Rannaud  <e@nanocritical.com>
11808         [BZ #17523]
11809         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
11810         * io/bits/fcntl2.h (open): Use it.
11811         (openat): Likewise.
11812         * io/open.c (__libc_open): Likewise.
11813         * io/open64.c (__libc_open64): Likewise.
11814         * io/open64_2.c (__open64_2): Likewise.
11815         * io/open_2.c (__open_2): Likewise.
11816         * io/openat.c (__openat): Likewise.
11817         * io/openat64.c (__openat64): Likewise.
11818         * io/openat64_2.c (__openat64_2): Likewise.
11819         * io/openat_2.c (__openat_2): Likewise.
11820         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
11821         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
11822         * sysdeps/posix/open64.c (__libc_open64): Likewise.
11823         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
11824         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
11825         (__open_nocancel): Likewise.
11826         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
11827         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
11828         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
11830 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11832         [BZ #14841]
11833         * resolv/gethnamaddr.c (getanswer): Skip logging if
11834         RES_USE_DNSSEC is set.
11835         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
11837 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
11839         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
11841 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
11843         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
11844         201304L, for Unicode 7.
11846 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
11848         [BZ #17836]
11849         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
11850         shared library.  Add gmon-start.os otherwise.
11851         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
11852         $(objpfx)gmon-start.os if builing shared library.
11853         ($(objpfx)g$(static-start-installed-name)): Likewise.
11855 2015-02-23  Andreas Schwab  <schwab@suse.de>
11857         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
11859 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
11861         [BZ #17269]
11862         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
11863         (enlarge_userbuf): Likewise.
11865 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
11867         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
11868         * math/atest-exp.c (TIMEOUT): Adjust to 200.
11869         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
11870         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
11872 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
11874         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
11875         expression inside statement expression.
11877 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11879         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
11880         <sysdeps/nptl/lowlevellock.h> and remove macros and
11881         functions that are now defined there.
11882         (SYS_futex): Remove.
11883         (lll_compare_and_swap): Remove.
11884         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
11886 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
11888         [BZ #17999]
11889         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
11890         instead of scandirat.
11891         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
11892         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
11893         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
11894         __scandirat.
11895         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
11896         (__scandirat): Declare.  Use libc_hidden_proto.
11897         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
11898         Remove variable.
11899         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
11901 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
11903         [BZ #15319]
11904         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
11905         (MO): New macro.
11906         (__ieee754_atan2): For results with small absolute value, force
11907         underflow exception and remove excess range and precision from
11908         return value.
11909         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
11910         (MO): New macro.
11911         (__ieee754_atan2f): For results with small absolute value, force
11912         underflow exception and remove excess range and precision from
11913         return value.
11914         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
11915         (MO): New macro.
11916         (__atan): For results with small absolute value, force underflow
11917         exception and remove excess range and precision from return value.
11918         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
11919         (MO): New macro.
11920         (__atanf): For results with small absolute value, force underflow
11921         exception and remove excess range and precision from return value.
11922         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
11923         <math.h>.
11924         (__ieee754_atan2): Force underflow exception for results with
11925         small absolute value.
11926         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
11927         <math_private.h>.
11928         (atan): Force underflow exception for results with small absolute
11929         value.
11930         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
11931         (__atanf): Force underflow exception for results with small
11932         absolute value.
11933         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
11934         <math.h>.
11935         (__atanl): Force underflow exception for results with small
11936         absolute value.
11937         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
11938         (__atanl): Force underflow exception for results with small
11939         absolute value.
11940         * sysdeps/x86/fpu/bits/mathinline.h
11941         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
11942         (__ieee754_atan2): Only define inline for long double.
11943         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
11944         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
11945         * math/auto-libm-test-in: Do not mark underflow exceptions as
11946         possibly missing for bug 15319.  Add more tests of atan2.
11947         * math/auto-libm-test-out: Regenerated.
11948         * math/libm-test.inc (casin_test_data): Do not mark underflow
11949         exceptions as possibly missing for bug 15319.
11950         (casinh_test_data): Likewise.
11951         * sysdeps/i386/fpu/libm-test-ulps: Update.
11953 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
11955         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
11956         * sysdeps/mips/bits/endian.h: Fix comments.
11958 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
11960         [BZ #17996]
11961         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
11962         (hdestroy_r): Likewise.
11963         (hsearch_r): Likewise.
11964         (__hcreate_r): Declare and use libc_hidden_proto.
11965         (__hdestroy_r): Likewise.
11966         (__hsearch_r): Likewise.
11967         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
11968         (hcreate): Call __hcreate_r instead of hcreate_r.
11969         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
11970         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
11971         as weak alias of __hcreate_r.
11972         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
11973         __hdestroy_r.
11974         (hsearch_r): Rename to __hsearch_r and define as weak alias of
11975         __hsearch_r.
11976         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
11977         Remove variable.
11978         (test-xfail-XPG4/search.h/linknamespace): Likewise.
11979         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
11980         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
11981         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
11983 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11985         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
11986         arena_lock into a single arena_get.
11988 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
11990         * dl-reloc.c: Inlucde libc-internal.h.
11991         (_dl_try_allocate_static_tls): Call ALIGN_UP.
11992         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
11993         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
11994         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
11995         (grow_heap): Likewise.
11996         * malloc/malloc.c: Include libc-internal.h.
11997         (do_check_malloc): Call powerof2.
11998         (sysmalloc): Use pagesize. Call ALIGN_UP.
11999         (systrim): Use pagesize.
12000         (mremap_chunk): Use pagesize. Call ALIGN_UP.
12001         (__libc_valloc): Use pagesize.
12002         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
12004 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
12006         [BZ #17991]
12007         * include/sys/resource.h (__getrlimit64): Declare.  Use
12008         libc_hidden_proto.
12009         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
12010         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
12011         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
12012         getrlimit64.
12013         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
12014         __getrlimit64.
12015         [!getrlimit64] (getrlimit64): Define as weak alias of
12016         __getrlimit64.  Use libc_hidden_weak.
12017         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
12018         using __getrlimit64 not __new_getrlimit64.
12019         (__GI_getrlimit64): Likewise.
12020         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
12021         Likewise.
12022         (__GI_getrlimit64): Likewise.
12023         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
12024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
12025         (getrlimit): Add __getrlimit64 alias.
12026         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
12027         Likewise.
12028         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
12029         Remove variable.
12030         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
12031         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
12033 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
12035         * libio/fileops.c: Add missing sys/mman.h
12036         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
12038 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
12040         * manual/math.texi (Errors in Math Functions): Clarify goals
12041         regarding inexact and underflow exceptions.
12043 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
12045         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
12046         * sysdeps/mips/memset.S: Ditto.
12048 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
12050         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
12052 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
12054         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
12055         (__v1longjmp): Remove versioned symbol.
12056         (__v1siglongjmp): Remove alias and versioned symbol.
12057         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
12058         (__v2siglongjmp): Likewise.
12060 2015-02-16  Torvald Riegel  <triegel@redhat.com>
12062         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
12064 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
12066         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
12068 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
12070         [BZ #17987]
12071         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
12072         zero result does not depend on the sign resulting from
12073         subtraction.
12074         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
12075         Likewise.
12076         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
12077         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
12078         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
12079         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
12080         * math/libm-test.inc (remquo_test_data): Add more tests.
12082 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
12084         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
12085         Problem reported by J William Piggott.
12087 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
12089         [BZ #17978]
12090         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
12091         products 4 * y and 2 * y where those would overflow.
12092         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
12093         Likewise.
12094         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
12095         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
12096         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
12097         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
12098         * math/libm-test.inc (remquo_test_data): Add more tests.
12100         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
12102         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
12103         [defined _COMPILING_NEWLIB].
12104         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
12105         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
12107         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
12108         [!defined __mips_isa_rev || __mips_isa_rev < 6].
12110 2015-02-16  Torvald Riegel  <triegel@redhat.com>
12112         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
12113         acquired.
12115 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
12117         [BZ #17792]
12118         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
12119         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
12120         HOST_STACK_END_ADDR): Likewise.
12122 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
12124         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
12125         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
12126         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
12128 2015-02-13  Roland McGrath  <roland@hack.frob.com>
12130         * sysdeps/generic/c++-types.data: New file.
12131         * sysdeps/generic/ld.abilist: New file.
12132         * sysdeps/generic/libBrokenLocale.abilist: New file.
12133         * sysdeps/generic/libanl.abilist: New file.
12134         * sysdeps/generic/libc.abilist: New file.
12135         * sysdeps/generic/libcrypt.abilist: New file.
12136         * sysdeps/generic/libdl.abilist: New file.
12137         * sysdeps/generic/libm.abilist: New file.
12138         * sysdeps/generic/libpthread.abilist: New file.
12139         * sysdeps/generic/libresolv.abilist: New file.
12140         * sysdeps/generic/librt.abilist: New file.
12142 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
12144         [BZ #17569]
12145         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
12146         Compute absolute value of x as modified by fmod, not original
12147         value of x.
12148         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
12149         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
12150         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
12151         RUN_TEST_ffI_f1_mod8.
12152         (remquo_test_data): Add more tests.
12154 2015-02-13  Roland McGrath  <roland@hack.frob.com>
12156         * sysdeps/init_array/pt-crti.S: New file.
12158 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
12160         [BZ #17967]
12161         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
12162         __builtin_fmaf instead of relying on contraction of a * b + c.
12164 2015-02-12  J William Piggott  <elseifthen@gmx.com>
12166         [BZ #17969]
12167         * manual/time.texi: correct the zoneinfo path in the TZ Variable
12168         node.
12170 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
12172         [BZ #17964]
12173         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
12174         __builtin_fma instead of relying on contraction of a * b + c.
12176 2015-02-12  Roland McGrath  <roland@hack.frob.com>
12178         * Makeconfig (ASFLAGS): Add -Werror=undef.
12179         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
12180         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
12181         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
12183         * Makeconfig (after-link): New variable.
12184         (+link-pie, +link-pie-tests): Use it.
12185         (+link-static, +link-static-tests): Likewise.
12186         (+link, +link-tests): Likewise.
12187         * Makerules (build-module, build-module-asneeded): Likewise.
12188         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
12189         Likewise.
12190         * elf/Makefile ($(objpfx)ld.so): Likewise.
12192 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
12194         [BZ #17965]
12195         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
12196         both struct timeval and struct timespec.
12198 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
12200         [BZ #16560]
12201         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12202         and redefine.
12203         (__ieee754_exp2l): Do not multiply small fractional parts by
12204         M_LN2l.
12205         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
12206         small argument.
12207         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
12208         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
12209         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
12210         * math/auto-libm-test-in: Add more tests of exp2.
12211         * math/auto-libm-test-out: Regenerated.
12213 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12215         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
12216         unaligned path.
12218 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12220         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
12221         little endian.
12223 2015-02-12  Andreas Schwab  <schwab@suse.de>
12225         [BZ #15790]
12226         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
12227         Filter out elision flags from value returned in kind.
12228         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
12229         * nptl/tst-pthread-mutexattr.c: New file.
12231 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12233         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
12234         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
12235         into gnu-gnu, and update comment to refer to abi-tags.
12237 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
12239         [BZ #15467]
12240         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
12241         (__sincos): Set errno to EDOM for infinite argument.
12242         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
12243         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
12244         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
12245         (__sincosl): Set errno to EDOM for infinite argument.
12246         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
12247         (__sincosl): Set errno to EDOM for infinite argument.
12248         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
12249         (__sincosl): Set errno to EDOM for infinite argument.
12250         * math/libm-test.inc (sincos_test_data): Test errno setting.
12252 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
12254         * string/strxfrm_l.c: Remove #define STRCMP.
12255         * string/strcoll_l.c: Remove #define STRLEN.
12256         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
12257         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
12259 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
12261         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
12262         * sysdeps/mips/mips32/sfp-machine.h: ... here.
12263         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
12264         * sysdeps/mips/mips64/Makefile: ... here.
12265         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
12266         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
12267         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
12268         * sysdeps/mips/mips64/sfp-machine.h: ... here.
12269         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
12270         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
12271         * sysdeps/mips/mips64/n64/Implies: Likewise.
12273 2015-02-10  Roland McGrath  <roland@hack.frob.com>
12275         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
12276         <sys/time.h>, <string.h>, and <errno.h>.
12277         (dest_offset, dest_address, value, zero): Remove unused variables.
12278         (ldouble): Remove typedef.
12279         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
12280         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
12281         1).  Fix code style.
12282         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
12283         (check): Function removed.
12284         (CHECK): New macro.
12285         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
12286         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
12287         Don't call set_sigaction_FP and remove_sigaction_FP here.
12288         (ldouble_test): Just use 'long double' as macro argument, no need for
12289         the 'ldouble' typedef.
12290         (do_test): Set up SIGFPE handler at start, using plain signal rather
12291         than sigaction.  Fix code style.
12293 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
12295         [BZ #17949]
12296         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
12297         jump label.
12299 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
12301         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
12302         * sysdeps/powerpc/powerpc32/configure: Regenerated.
12304         * sysdeps/powerpc/configure.ac: Remove file.
12305         * sysdeps/powerpc/configure: Likewise.
12307         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
12308         [sysdep_routines]: Remove wordcopy-power6 object.
12309         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
12310         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
12311         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
12312         (__memmove_ppc32): Likewise.
12313         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
12314         file.
12315         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
12316         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
12317         Remove preprocessor.
12319         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
12320         [sysdep_routines]: Remove wide chars objects.
12321         [wcsmbs]: New rule for wide char objects.
12323         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12324         Remove wordcopy-power6 obejct.
12325         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
12326         Use local call for wordcopy and memcpy symbols.
12327         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
12328         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
12329         implementation for loader.
12330         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
12332         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12333         Remove wordcopy-power7 object.
12334         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
12335         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
12336         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
12337         (_wordcopy_fwd_dest_aligned): Likewise.
12338         (_wordcopy_bwd_aligned): Likewise.
12339         (_wordcopy_bwd_dest_aligned): Likewise.
12341         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
12342         Rewrite to call __memmove_ppc instead of include default
12343         implementation.
12345         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12346         Remove wide chars objects.
12347         [wcsmbs]: New rule for wide char objects.
12349 2015-02-09  Andreas Schwab  <schwab@suse.de>
12351         [BZ #17912]
12352         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
12353         in terms of __O_DIRECTORY.
12355 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12357         * time/getdate.c: Include <stdbool.h>.
12358         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
12359         call PTR_MANGLE.
12360         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
12361         PTR_DEMANGLE.
12363 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
12365         Add ersatz _Static_assert on older C hosts
12366         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
12367         pre-C11 C platform that is not known to support _Static_assert.
12369 2015-02-07  Richard Braun  <rbraun@sceen.net>
12371         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
12372         sigstate.
12373         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
12375 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12377         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
12378         priority against unexistent AIO_PRIO_DELTA_MAX.
12379         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
12380         instead of int.
12381         * misc/fchflags.c (fchflags): Likewise.
12382         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
12383         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
12384         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
12385         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
12386         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
12387         Declare macros.
12388         [__USE_MISC] (chflags, fchflags): Declare functions.
12389         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
12390         EINVAL when nfds is greater than FD_SETSIZE.
12391         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
12392         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
12393         45.
12394         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
12395         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
12396         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
12397         MACH_RCV_TIMED_OUT.
12398         * hurd/hurd/signal.h (_hurd_self_sigstate,
12399         _hurd_critical_section_lock, _hurd_critical_section_unlock):
12400         Explicit casts from void *.
12401         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
12402         * abi-tags: Rename gnu-gnu os into gnu.
12404         [BZ #4719]
12405         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
12406         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
12407         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
12408         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
12409         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
12410         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
12412         [BZ #17944]
12413         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
12414         duplicates ADDR->sun_path with sockaddr LEN limitation.
12415         * sysdeps/mach/hurd/connect.c: Include <string.h>
12416         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
12417         * sysdeps/mach/hurd/sendmsg.c: Likewise.
12418         * sysdeps/mach/hurd/sendto.c: Likewise.
12419         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
12420         implementing it by hand.
12422 2015-02-06  Roland McGrath  <roland@hack.frob.com>
12424         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
12425         Use sfi_breg on ldr.
12426         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
12427         Likewise.
12429         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
12430         it's defined.
12431         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
12432         Test SIGSETXID only if it's defined.
12434         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
12436         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
12437         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
12439         * nptl/tst-align2.c: Moved ...
12440         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
12441         * nptl/Makefile (tests): Remove tst-align2.
12442         * sysdeps/unix/sysv/linux/Makefile
12443         [$(subdir) = nptl] (tests): Add tst-align-clone.
12444         * nptl/tst-getpid1.c: Moved ...
12445         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
12446         * nptl/tst-getpid2.c: Moved ...
12447         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
12448         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
12449         * sysdeps/unix/sysv/linux/Makefile
12450         [$(subdir) = nptl] (tests): ... here.
12451         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
12452         * sysdeps/unix/sysv/linux/Makefile
12453         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
12455         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
12456         Drop trailing \n from perror argument.  Use return rather than exit.
12458         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
12459         on [SA_SIGINFO].
12460         * nptl/tst-cancel21.c (do_test): Likewise.
12461         * debug/tst-backtrace6.c: Include <signal.h> first thing.
12462         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
12463         [!SA_SIGINFO]: Make it a stub test.
12465         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
12466         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
12468         * posix/tst-getlogin.c: Move to ...
12469         * login/tst-getlogin.c: ... here.
12470         * posix/Makefile (tests): Move tst-getlogin to ...
12471         * login/Makefile (tests): ... here.
12473         * libio/tst-atime.c (do_test): Move local variables SV and E
12474         inside [ST_NOATIME] conditional.
12476         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
12478         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
12480         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
12481         (wait_code): New function replaces macro.
12482         Call nanosleep rather than syscall.
12484         * nptl/pt-system.c: Rewritten.  Put everything under
12485         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
12486         Use IFUNC to redirect when possible.
12488         * nptl/pt-longjmp.c: Rewritten.  Put everything under
12489         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
12490         Use IFUNC to redirect when possible.
12492         * nptl/pt-fork.c: Rewritten.  Put everything under
12493         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
12494         Use IFUNC to redirect when possible.
12495         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
12497         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
12498         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
12499         unconditionally nowadays.  This included the only reference to
12500         __vdso_clock_gettime that appears outside libc proper.
12501         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
12502         Remove version set (containing only __vdso_clock_gettime).
12503         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
12504         Add attribute_hidden.
12505         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
12506         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
12507         libc_hidden_data_def.
12508         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
12509         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12511         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
12512         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
12513         setrpcent, and getrpcport to ...
12514         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
12515         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
12516         getrpcbynumber_r, and getrpcent_r to ...
12517         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
12518         * inet/getrpcbyname.c: Moved ...
12519         * sunrpc/getrpcbyname.c: ... here.
12520         * inet/getrpcbyname_r.c: Moved ...
12521         * sunrpc/getrpcbyname_r.c: ... here.
12522         * inet/getrpcbynumber.c: Moved ...
12523         * sunrpc/getrpcbynumber.c: ... here.
12524         * inet/getrpcbynumber_r.c: Moved ...
12525         * sunrpc/getrpcbynumber_r.c: ... here.
12526         * inet/getrpcent.c: Moved ...
12527         * sunrpc/getrpcent.c: ... here.
12528         * inet/getrpcent_r.c: Moved ...
12529         * sunrpc/getrpcent_r.c: ... here.
12530         * inet/Makefile (routines): Move those to ...
12531         * sunrpc/Makefile (routines): ... here.
12532         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
12533         the $(subdirs) list.
12534         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
12535         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
12536         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
12537         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
12539         * elf/Makefile (routines): Include $(all-dl-routines), not just
12540         $(dl-routines).
12541         (rtld-routines): Likewise.  Use = rather than :=.
12542         * sysdeps/aarch64/Makefile [$(subdir) = elf]
12543         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
12544         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
12545         * sysdeps/arm/Makefile: Likewise.
12546         * sysdeps/i386/Makefile: Likewise.
12547         * sysdeps/x86_64/Makefile: Likewise.
12548         * sysdeps/hppa/Makefile [$(subdir) = elf]
12549         (sysdep_routines, sysdep-rtld-routines): Don't add
12550         $(sysdep-dl-routines) to these.
12551         * sysdeps/ia64/Makefile: Likewise.
12552         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
12553         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
12554         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
12555         Don't add dl-static to these; sysdep-dl-routines alone is enough.
12556         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
12557         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
12558         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
12559         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
12560         * sysdeps/powerpc/Makefile [$(subdir) = elf]
12561         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
12562         these; sysdep-dl-routines alone is enough.
12564 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
12566         [BZ #17932]
12567         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
12568         where multiplication results in zero and third argument is finite
12569         and nonzero.
12570         * math/auto-libm-test-in: Add more tests of fma.
12571         * math/auto-libm-test-out: Regenerated.
12573         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
12574         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
12575         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
12576         (_FP_CMP_EQ): Likewise.
12577         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
12579         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
12580         extra argument CHECK_NAN.  Redefine as wrapper around
12581         _FP_EXTEND_CNAN.
12583 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
12585         * version.h (RELEASE): Set to "stable".
12586         (VERSION): Set to "2.21"
12587         * include/features.h (__GLIBC_MINOR__): Set to 21.
12589         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
12591 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
12592             Paul Eggert  <eggert@cs.ucla.edu>
12594         [BZ #16618]
12595         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
12596         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
12597         size in bytes. Store needed elements in wpmax. Use needed size
12598         in bytes for extend_alloca.
12600 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
12602         * manual/install.texi: Latest tested versions are GCC 4.9.2,
12603         binutls 2.25, and texinfo 5.2.
12604         * INSTALL: Regenerate.
12605         * sysdeps/nios2/configure: Regenerate.
12606         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
12607         * manual/contrib.texi: Update.
12608         * po/be.po: Update.
12609         * po/bg.po: Update.
12610         * po/ca.po: Update.
12611         * po/cs.po: Update.
12612         * po/da.po: Update.
12613         * po/de.po: Update.
12614         * po/el.po: Update.
12615         * po/eo.po: Update.
12616         * po/es.po: Update.
12617         * po/fi.po: Update.
12618         * po/fr.po: Update.
12619         * po/gl.po: Update.
12620         * po/hr.po: Update.
12621         * po/hu.po: Update.
12622         * po/ia.po: Update.
12623         * po/id.po: Update.
12624         * po/it.po: Update.
12625         * po/ja.po: Update.
12626         * po/ko.po: Update.
12627         * po/lt.po: Update.
12628         * po/nb.po: Update.
12629         * po/nl.po: Update.
12630         * po/pl.po: Update.
12631         * po/pt_BR.po: Update.
12632         * po/ru.po: Update.
12633         * po/rw.po: Update.
12634         * po/sk.po: Update.
12635         * po/sl.po: Update.
12636         * po/sv.po: Update.
12637         * po/tr.po: Update.
12638         * po/uk.po: Update.
12639         * po/vi.po: Update.
12640         * po/zh_CN.po: Update.
12641         * po/zh_TW.po: Update.
12643         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
12644         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
12645         * sysdeps/hppa/dl-irel.h: Remove #warning.
12646         * sysdeps/hppa/entry.h: Provide prototype for
12647         __canonicalize_funcptr_for_compare and cast argument.
12648         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
12649         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
12650         * sysdeps/hppa/sotruss-lib.c: New file.
12651         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
12652         (atomic_compare_and_exchange_val_acq): Use __typeof__.
12653         (atomic_compare_and_exchange_bool_acq): Likewise.
12654         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
12655         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
12657         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
12658         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
12659         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
12661 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
12663         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
12664         called function in non-PIC case.
12666 2015-01-31  David S. Miller  <davem@davemloft.net>
12668         * sysdeps/sparc/sparc32/bits/atomic.h
12669         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
12670         unlock not after it.
12671         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
12672         volatile register usage warnings from the compiler.
12674         * sysdeps/sparc/nptl/sem_init.c: Delete.
12675         * sysdeps/sparc/nptl/sem_post.c: Delete.
12676         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
12677         * sysdeps/sparc/nptl/sem_wait.c: Delete.
12678         * sysdeps/sparc/sparc32/sem_init.c: New file.
12679         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
12680         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
12681         padding explicitly initialized.
12682         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
12683         padding for in-semaphore spinlock.
12684         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
12685         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
12686         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
12687         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
12688         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
12689         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
12690         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
12691         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
12692         version.
12693         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
12694         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
12696 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
12698         [BZ #17801]
12699         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12700         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
12701         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
12702         New.
12703         (index_AVX_Fast_Unaligned_Load): Likewise.
12704         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
12705         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
12706         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
12707         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
12708         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
12709         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
12710         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
12711         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
12712         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
12714 2015-01-29  Andreas Schwab  <schwab@suse.de>
12716         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
12718 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
12720         [BZ #17892]
12721         * nscd/nscd_stat.c (send_stats): Initialize DATA.
12723 2015-01-28  Martin Sebor  <msebor@redhat.com>
12725         * math/README.libm-test: Clarify. Add "How to read the test output."
12727 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
12729         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
12730         Define to 0.
12732 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
12734         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
12735         (__HAVE_64B_ATOMICS): Define to 0.
12737 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
12739         [BZ #17885]
12740         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
12741         value to set as new flag.
12743         [BZ #16576]
12744         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
12745         and use _ARCH_PPCSQ instead.
12746         (__ieee754_sqrt): Likewise.
12747         (__ieee754_sqrtf): Likewise.
12748         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
12749         _ARCH_PPCSQ is defined.
12750         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
12751         fsqrt instruction.
12752         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
12753         _ARCH_PPCSQ is defined.
12754         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
12755         fsqrts instruction.
12756         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
12758 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12760         * iconv/loop.c: Suppress array out of bound warning caused by GCC
12761         bug (GCC BZ #64739).
12763 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
12765         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
12766         Mark _retval as used.
12767         (lll_futex_wake_unlock): Likewise.
12768         (lll_futex_timed_wait_requeue_pi): Likewise.
12770         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
12771         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
12772         register variables.
12774         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
12775         libm_hidden_def.
12777         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
12778         (__bswap_64): Mark as __always_inline.
12780 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
12782         [BZ #15378]
12783         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
12784         when none of the search directories exist.
12786 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
12788         [BZ #17869]
12789         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
12790         power8 in .machine directive.
12792         [BZ #17868]
12793         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
12794         set dependency from opd value.
12796 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
12798         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12799         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
12800         architecture.
12802 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
12804         [BZ #17870]
12805         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
12806         with uint64_t.
12807         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
12808         (uint64_t) 1.
12809         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
12810         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
12811         Replace 1UL with (uint64_t) 1.
12812         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
12813         int with uint64_t.
12815 2015-01-23  Roland McGrath  <roland@hack.frob.com>
12817         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
12818         (if_freenameindex): Likewise.
12820         * resource/getrlimit64.c: Add missing libc_hidden_def.
12822 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
12824         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
12825         __label__.
12826         (_FP_FMA): Likewise.
12827         (_FP_TO_INT_ROUND): Likewise.
12828         (_FP_FROM_INT): Likewise.
12830 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12832         [BZ #16418]
12833         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
12834         Make code racy and cancel safe.
12836 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
12838         * sysdeps/arm/unwind-resume.h: Fix copyright year.
12839         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
12840         attribution.
12842         * pwd/tst-getpw.c: Rewrite.
12844         [BZ #17702]
12845         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
12846         (modules-names): Add moddummy1 and moddummy2.
12847         ($(objpfx)tst-rec-dlopen): Define.
12848         * dlfcn/moddummy1.c: New file.
12849         * dlfcn/moddummy2.c: New file.
12850         * dlfcn/tst-rec-dlopen.c: New file.
12851         * elf/dl-cache.c (_dl_load_cache_lookup):
12852         Return char*. Copy result with alloca/strcpy/strdup.
12853         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
12854         returns char*. Free cached. If not saving realname
12855         free cached.
12856         * elf/dl-open.c (dl_open_worker): Do not assert that
12857         _r_debug->r_state is RT_CONSISTENT.
12858         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
12859         returns char*.
12861 2015-01-21  Torvald Riegel  <triegel@redhat.com>
12862             Carlos O'Donell  <carlos@redhat.com>
12864         [BZ #12674]
12865         * nptl/sem_waitcommon.c: New file.
12866         * nptl/sem_wait.c: Include sem_waitcommon.c.
12867         (__sem_wait_cleanup, do_futex_wait): Remove.
12868         (__new_sem_wait): Adapt.
12869         (__new_sem_trywait): New function.
12870         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
12871         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
12872         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
12873         (sem_timedwait): Adapt.
12874         * nptl/sem_post.c (__new_sem_post): Adapt.
12875         (futex_wake): New function.
12876         (__old_sem_post): Add release MO fence.
12877         * nptl/sem_open.c (sem_open): Adapt.
12878         * nptl/sem_init.c (__new_sem_init): Adapt.
12879         (futex_private_if_supported): New function.
12880         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
12881         (__old_sem_getvalue): Add using previous code.
12882         * sysdeps/nptl/internaltypes.h: Adapt.
12883         * nptl/tst-sem13.c (do_test): Adapt.
12884         * nptl/tst-sem11.c (main): Adapt.
12885         * nptl/sem_trywait.c: Remove.
12886         * nptl/DESIGN-sem.txt: Remove.
12887         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
12888         (gen-as-const-headers): Remove structsem.sym.
12889         * nptl/structsem.sym: Remove.
12890         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
12891         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
12892         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
12893         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
12894         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
12895         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
12896         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
12897         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
12898         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
12899         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
12900         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
12901         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
12902         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
12903         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
12904         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
12905         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
12906         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
12907         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
12908         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
12909         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
12910         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
12911         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
12913 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
12915         * INSTALL: Regenerated.
12917         * po/libc.pot: Regenerated.
12919 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
12920             Sandra Loosemore  <sandra@codesourcery.com>
12921             Andrew Jenner  <andrew@codesourcery.com>
12922             Joseph Myers  <joseph@codesourcery.com>
12923             Nathan Sidwell  <nathan@codesourcery.com>
12925         * NEWS: Mention new Nios II port.
12926         * sysdeps/nios2/Implies: New file.
12927         * sysdeps/nios2/Makefile: New file.
12928         * sysdeps/nios2/Subdirs: New file.
12929         * sysdeps/nios2/Versions: New file.
12930         * sysdeps/nios2/__longjmp.S: New file.
12931         * sysdeps/nios2/abort-instr.h: New file.
12932         * sysdeps/nios2/backtrace.c: New file.
12933         * sysdeps/nios2/bits/endian.h: New file.
12934         * sysdeps/nios2/bits/fenv.h: New file.
12935         * sysdeps/nios2/bits/link.h: New file.
12936         * sysdeps/nios2/bits/setjmp.h: New file.
12937         * sysdeps/nios2/bsd-_setjmp.S: New file.
12938         * sysdeps/nios2/bsd-setjmp.S: New file.
12939         * sysdeps/nios2/configure: New generated file.
12940         * sysdeps/nios2/configure.ac: New file.
12941         * sysdeps/nios2/crti.S: New file.
12942         * sysdeps/nios2/crtn.S: New file.
12943         * sysdeps/nios2/dl-init.c: New file.
12944         * sysdeps/nios2/dl-machine.h: New file.
12945         * sysdeps/nios2/dl-sysdep.h: New file.
12946         * sysdeps/nios2/dl-tls.h: New file.
12947         * sysdeps/nios2/dl-trampoline.S: New file.
12948         * sysdeps/nios2/gccframe.h: New file.
12949         * sysdeps/nios2/gmp-mparam.h: New file.
12950         * sysdeps/nios2/jmpbuf-offsets.h: New file.
12951         * sysdeps/nios2/jmpbuf-unwind.h: New file.
12952         * sysdeps/nios2/ldsodefs.h: New file.
12953         * sysdeps/nios2/libc-tls.c: New file.
12954         * sysdeps/nios2/libm-test-ulps: New file.
12955         * sysdeps/nios2/machine-gmon.h: New file.
12956         * sysdeps/nios2/math-tests.h: New file.
12957         * sysdeps/nios2/math_private.h: New file.
12958         * sysdeps/nios2/memusage.h: New file.
12959         * sysdeps/nios2/nptl/Makefile: New file.
12960         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
12961         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
12962         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
12963         * sysdeps/nios2/nptl/pthreaddef.h: New file.
12964         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
12965         * sysdeps/nios2/nptl/tls.h: New file.
12966         * sysdeps/nios2/preconfigure: New file.
12967         * sysdeps/nios2/s_fma.c: New file.
12968         * sysdeps/nios2/s_fmaf.c: New file.
12969         * sysdeps/nios2/setjmp.S: New file.
12970         * sysdeps/nios2/sfp-machine.h: New file.
12971         * sysdeps/nios2/sotruss-lib.c: New file.
12972         * sysdeps/nios2/stackguard-macros.h: New file.
12973         * sysdeps/nios2/stackinfo.h: New file.
12974         * sysdeps/nios2/start.S: New file.
12975         * sysdeps/nios2/sysdep.h: New file.
12976         * sysdeps/nios2/tls-macros.h: New file.
12977         * sysdeps/nios2/tst-audit.h: New file.
12978         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
12979         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
12980         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
12981         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
12982         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
12983         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
12984         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
12985         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
12986         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
12987         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
12988         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
12989         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
12990         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
12991         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
12992         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
12993         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
12994         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
12995         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
12996         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
12997         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
12998         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
12999         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
13000         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
13001         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
13002         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
13003         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
13004         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
13005         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
13006         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
13007         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
13008         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
13009         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
13010         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
13011         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
13012         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
13013         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
13014         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
13015         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
13016         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
13017         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
13018         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
13019         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
13020         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
13021         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
13023 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
13025         [BZ #17844]
13026         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
13027         (getutent): Use weak_alias in non SHARED case
13028         and default_symbol_version in SHARED case.
13029         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
13030         (getutent_r, pututline): Likewise.
13031         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
13032         (getutid): Likewise.
13033         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
13034         (getutid_r): Likewise.
13035         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
13036         (getutline): Likewise.
13037         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
13038         (getutline_r): Likewise.
13039         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
13040         (updwtmp): Likewise.
13042 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
13044         [BZ #17848]
13045         * sysdeps/s390/s390-32/memcmp.S
13046         (memcmp_g5): Rename to __memcmp_g5.
13047         * sysdeps/s390/s390-32/memcpy.S
13048         (memcpy_g5): Rename to __memcpy_g5.
13049         Jump to __memcpy_mvcle instead of memcpy_mvcle.
13050         (memcpy_mvcle) Rename to __memcpy_mvcle.
13051         * sysdeps/s390/s390-32/memset.S
13052         (memset_g5): Rename to __memset_g5.
13053         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
13054         (IFUNC_RESOLVE): Prefix ifunc-resolve function
13055         and use prefixed functions.
13056         * sysdeps/s390/s390-32/multiarch/memcmp.S
13057         (memcmp_z196): Rename to __memcmp_z196.
13058         (memcmp_z10): Rename to __memcmp_z10.
13059         (memcmp): Set alias to __memcmp_g5.
13060         (bcmp): Set alias to __memcmp_g5.
13061         * sysdeps/s390/s390-32/multiarch/memcpy.S
13062         (memcpy_z196): Rename to __memcpy_z196.
13063         Jump to __memcpy_mvcle instead of memcpy_mvcle.
13064         (memcpy_z10): Rename to __memcpy_z10.
13065         Jump to __memcpy_mvcle instead of memcpy_mvcle.
13066         (memcpy): Set alias to __memcpy_g5.
13067         * sysdeps/s390/s390-32/multiarch/memset.S
13068         (memset_z196): Rename to __memset_z196.
13069         Jump to __memset_mvcle instead of memset_mvcle.
13070         (memset_z10): Rename to __memset_z10.
13071         Jump to __memset_mvcle instead of memset_mvcle.
13072         (memset_mvcle) Rename to __memset_mvcle.
13073         (memset): Set alias to __memset_g5.
13074         * sysdeps/s390/s390-64/memcmp.S
13075         (memcmp_z900): Rename to __memcmp_z900.
13076         * sysdeps/s390/s390-64/memcpy.S
13077         (memcpy_z900): Rename to __memcpy_z900.
13078         Jump to __memcpy_mvcle instead of memcpy_mvcle.
13079         (memcpy_mvcle) Rename to __memcpy_mvcle.
13080         * sysdeps/s390/s390-64/memset.S
13081         (memset_z900): Rename to __memset_z900.
13082         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
13083         (IFUNC_RESOLVE): Prefix ifunc-resolve function
13084         and use prefixed functions.
13085         * sysdeps/s390/s390-64/multiarch/memcmp.S
13086         (memcmp_z196): Rename to __memcmp_z196.
13087         (memcmp_z10): Rename to __memcmp_z10.
13088         (memcmp): Set alias to __memcmp_z900.
13089         (bcmp): Set alias to __memcmp_z900.
13090         * sysdeps/s390/s390-64/multiarch/memcpy.S
13091         (memcpy_z196): Rename to __memcpy_z196.
13092         Jump to __memcpy_mvcle instead of memcpy_mvcle.
13093         (memcpy_z10): Rename to __memcpy_z10.
13094         Jump to __memcpy_mvcle instead of memcpy_mvcle.
13095         (memcpy): Set alias to __memcpy_z900.
13096         * sysdeps/s390/s390-64/multiarch/memset.S
13097         (memset_z196): Rename to __memset_z196.
13098         Jump to __memset_mvcle instead of memset_mvcle.
13099         (memset_z10): Rename to __memset_z10.
13100         Jump to __memset_mvcle instead of memset_mvcle.
13101         (memset_mvcle) Rename to __memset_mvcle.
13102         (memset): Set alias to __memset_z900.
13104 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
13106         [BZ #17748]
13107         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
13108         __fesetenv instead of fesetenv.
13110 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13112         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
13113         macro.
13115 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13117         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
13118         regression on LE.
13120         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
13121         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
13122         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
13123         strncmp-power8 object.
13124         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13125         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
13126         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
13127         * NEWS: Update.
13129 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13130             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13132         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
13133         trailing byte check.
13135 2015-01-13  David S. Miller  <davem@davemloft.net>
13137         * include/signal.h (__sigreturn): Guard with __USE_MISC.
13139 2015-01-13  Roland McGrath  <roland@hack.frob.com>
13141         * login/logout.c (logout): Use memset rather than bzero.
13142         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
13143         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
13144         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
13145         (_gethtbyaddr): Likewise.
13146         * locale/programs/simple-hash.c (bcopy): Macro removed.
13148 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13150         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13151         Add strcmp-power8 object.
13152         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13153         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
13154         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
13155         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
13156         __strcmp_power8 implementation.
13157         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
13158         * NEWS: Update.
13160         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13161         Add strncpy-power8 and stpncpy-power8 objects.
13162         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13163         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
13164         implementations.
13165         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
13166         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
13167         __stpncpy_power8 implementation.
13168         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
13169         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
13170         __strncpy_power8 implementation.
13171         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
13172         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
13173         * NEWS: Update.
13175         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
13176         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
13177         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
13179         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
13180         strncat-power8 object.
13181         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
13182         __strcat_power8 implementation.
13183         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13184         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
13185         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
13186         optimized strcat for power8.
13188         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
13189         strcpy-power8 and stpcpy-power8 objects.
13190         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13191         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
13192         implementations.
13193         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
13194         multiarch stpcpy implementation for POWER8.
13195         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
13196         multiarch strcpy implementation for POWER8.
13197         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
13198         __strcpy_power8 function.
13199         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
13200         stpcpy for POWER8.
13201         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
13202         strcpy for POWER8.
13203         * NEWS: Update.
13205 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
13207         [BZ #16009]
13208         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
13209         weights and rules. Use do_xfrm_cached if data fits in cache,
13210         do_xfrm otherwise.  Moved former main loop to...
13211         * (do_xfrm_cached): New function.
13212         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
13213         find_idx, find_position and stack_push.
13214         * (find_idx): New function.
13215         * (find_position): Likewise.
13216         * localedata/sort-test.sh: Added test run for do_xfrm.
13217         * localedata/xfrm-test.c (main): Added command line option
13218         -nocache to run the test with strings that are too large for
13219         the STRXFRM cache.
13221 2015-01-13  Torvald Riegel  <triegel@redhat.com>
13223         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
13224         variable to lll_futex_wake call, not the value itself.
13226 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
13228         [BZ #17803]
13229         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
13230         twom64.  Adjust value to 0x1p-64L.
13231         (__scalblnl): Only return standard underflowing result for K <=
13232         -64 not K <= -63; adjust exponent for underflowing result by 64
13233         not 63.
13234         * math/libm-test.inc (scalbn_test_data): Add more tests.
13235         (scalbln_test_data): Likewise.
13237         [BZ #17834]
13238         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
13239         0x1p63L.
13240         (__scalblnl): Get new exponent of adjusted subnormal value from ES
13241         not HX.
13242         * math/libm-test.inc (scalbn_test_data): Add more tests.
13243         (scalbln_test_data): Likewise.
13245 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13246             Stefani Seibold  <stefani@seibold.net>
13248         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
13249         (sysdep_routines): Add dl-vdso here, ...
13250         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
13251         (sysdep_routines): ... not here.
13252         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
13253         fallback when vDSO is not presented.
13254         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
13255         Define with libc_hidden_proto/libc_hidden_data_def definitions.
13256         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
13257         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
13258         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
13259         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
13260         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
13261         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
13262         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
13263         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
13264         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
13265         fallback configurable symbol when vDSO is not available.
13266         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
13267         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
13268         be able to redefine fallback symbol when vDSO is not available.
13269         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
13270         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
13272 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13274         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
13275         (TLS_INIT_TP): Add tm_capable initialization.
13276         (TLS_DEFINE_INIT_TP): Likewise.
13277         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
13278         TCB.
13279         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
13280         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
13281         calculation.
13282         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
13283         transactoion is lock elision is built and TCB tm_capable is set.
13284         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
13285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13286         (INTERNAL_SYSCALL_NCS): Likewise.
13287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13288         (INTERNAL_SYSCALL_NCS): Likewise.
13289         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
13291         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
13292         for powerpc.
13293         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13294         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
13295         and remove it for 32 bits case.
13296         [pthread_rwlock_t] (__rwelision): New field for lock elision.
13297         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
13298         initialization.
13299         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
13300         Disable lock elision with rdlocks if elision is not available.
13302         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
13303         (sysdep_routines): Add lock elision objects.
13304         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13305         [pthread_mutex_t] (__spins): Rework to add lock elision field.
13306         [pthread_mutex_t] (__elision): Add field.
13307         [__PTHREAD_SPINS]: Adjust to init lock elision field.
13308         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
13309         elision definitions for powerpc.
13310         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
13311         implementation of lock elision for powerpc.
13312         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
13313         implementation of timed lock elision for powerpc.
13314         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
13315         implementation of trylock with lock elision for powerpc.
13316         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
13317         implementaion of unlock for lock elision for powerpc.
13318         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
13319         automatic enable lock elision for mutexes.
13320         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
13321         transaction execution definitions for powerpc.
13322         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
13323         definitions.
13324         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
13325         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
13326         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
13327         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
13328         * NEWS: Update.
13330 2015-01-09  Roland McGrath  <roland@hack.frob.com>
13332         * sysdeps/posix/shm-directory.c: Use <> rather than ""
13333         for #include of <shm-directory.h>.
13335 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
13337         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
13338         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
13340 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
13342         [BZ #17791]
13343         * NEWS: Mention bug fix.
13344         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
13345         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
13346         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
13348 2015-01-09  Torvald Riegel <triegel@redhat.com>
13350         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
13352 2015-01-09  Torvald Riegel <triegel@redhat.com>
13354         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
13356 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
13358         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
13359         pointer and cast to uintptr_t.
13361 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
13363         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
13364         removed.
13365         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
13367 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
13369         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
13370         of 0.
13372 2015-01-08  Roland McGrath  <roland@hack.frob.com>
13374         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
13375         <nptl/pthreadP.h> instead.
13376         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
13378         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
13379         already defined.
13380         [__SIGRTMIN] (init): Function removed.
13381         [__SIGRTMIN] (initialized): Variable removed.
13382         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
13383         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
13384         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
13385         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
13386         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
13387         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
13388         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
13389         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
13390         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
13391         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
13392         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
13393         * sysdeps/nptl/allocrtsig.c: New file.
13394         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
13395         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
13396         * sysdeps/generic/testrtsig.h: File removed.
13398         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
13399         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
13401         * nptl/nptl-init.c (pthread_functions): Conditionalize
13402         .ptr__nptl_setxid initialization on [SIGSETXID].
13404         * sysdeps/nptl/sys/procfs.h: New file.
13405         * nptl_db/Makefile (headers): Add it.
13406         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
13408         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
13409         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
13410         * nptl/pthread_attr_setaffinity.c: Include it.
13411         * nptl/pthread_setattr_default_np.c: Likewise.
13412         * nptl/check-cpuset.h: New file.
13414 2015-01-08  Richard Henderson  <rth@redhat.com>
13416         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
13417         (CFLAGS-tst-execstack-prog.c): Likewise.
13418         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
13420 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
13421             Sandra Loosemore  <sandra@codesourcery.com>
13422             Andrew Jenner  <andrew@codesourcery.com>
13423             Joseph Myers  <joseph@codesourcery.com>
13424             Nathan Sidwell  <nathan@codesourcery.com>
13426         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
13427         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
13428         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
13429         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
13430         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
13431         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
13432         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
13433         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
13434         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
13435         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
13436         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
13437         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
13438         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
13439         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
13440         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
13441         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
13442         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
13444 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13446         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
13447         timespec struct member in syscall macro.
13448         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
13449         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
13450         first timeval struct member in syscall macro.
13451         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
13453 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
13455         [BZ #17748]
13456         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
13457         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
13458         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
13459         __feupdateenv and define as weak alias of __feupdateenv.  Use
13460         libm_hidden_weak.
13461         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
13462         libm_hidden_def.
13463         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
13464         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
13465         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
13466         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
13467         libm_hidden_def.
13468         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
13469         __feupdateenv and define as weak alias of __feupdateenv.  Use
13470         libm_hidden_weak.
13471         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
13472         libm_hidden_def.
13473         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
13474         __feupdateenv and define as weak alias of __feupdateenv.  Use
13475         libm_hidden_weak.
13476         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
13477         libm_hidden_def.
13478         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13479         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
13480         (__feupdateenv): Likewise.
13481         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
13482         __feupdateenv and define as weak alias of __feupdateenv.  Use
13483         libm_hidden_weak.
13484         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
13485         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
13486         libm_hidden_def.
13487         * sysdeps/tile/math_private.h (__feupdateenv): New inline
13488         function.
13489         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
13490         libm_hidden_def.
13491         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
13492         __feupdateenv instead of feupdateenv.
13493         (default_libc_feupdateenv_test): Likewise.
13494         (libc_feresetround_ctx): Likewise.
13496 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13498         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
13499         prototype.
13501 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
13503         * posix/regcomp.c (parse_bracket_exp): Initialize type to
13504         COLL_SYM in a couple of places to avoid uninitialized variable
13505         wanings on tilegx gcc 4.8.2.
13507 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
13509         * sysdeps/aarch64/strcpy.S: New file.
13510         * sysdeps/aarch64/stpcpy.S: New file.
13511         * NEWS: Updated.
13513 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
13515         * sysdeps/aarch64/strrchr.S: New file.
13516         * NEWS: Updated.
13518 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
13520         [BZ #17658]
13521         * stdlib/setenv.c: Fix memory leak when setting large,
13522         duplicate string.
13524 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
13526         [BZ #17273]
13527         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
13528         and tabs from buffer before parsing fstab entry.
13529         * misc/tst-mntent.c (main): Add test for mount entry with
13530         trailing spaces and tabs.
13532 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
13534         [BZ #17748]
13535         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
13536         * math/fesetround.c (fesetround): Rename to __fesetround and
13537         define as weak alias of __fesetround.  Use libm_hidden_weak.
13538         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
13539         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
13540         * sysdeps/arm/fesetround.c (fesetround): Likewise.
13541         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
13542         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
13543         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
13544         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
13545         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
13546         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
13547         __fesetround_inline.
13548         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
13549         __fesetround_inline instead of __fesetround.
13550         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
13551         __fesetround and define as weak alias of __fesetround.  Use
13552         libm_hidden_weak.  Call __fesetround_inline instead of
13553         __fesetround.
13554         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
13555         __fesetround and define as weak alias of __fesetround.  Use
13556         libm_hidden_weak.
13557         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
13558         Likewise.
13559         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
13560         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
13561         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
13562         * sysdeps/tile/math_private.h (__fesetround): New inline function.
13563         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
13564         __fesetround and define as weak alias of __fesetround.  Use
13565         libm_hidden_weak.
13566         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
13567         __fesetround instead of fesetround.
13568         (default_libc_feholdexcept_setround): Likewise.
13569         (libc_feholdsetround_ctx): Likewise.
13570         (libc_feholdsetround_noex_ctx): Likewise.
13572         [BZ #17748]
13573         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
13574         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
13575         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
13576         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
13577         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
13578         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
13579         define as weak alias of __fesetenv.  Use libm_hidden_weak.
13580         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
13581         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
13582         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
13583         define as weak alias of __fesetenv.  Use libm_hidden_weak.
13584         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
13585         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
13586         define as weak alias of __fesetenv.  Use libm_hidden_weak.
13587         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
13588         libm_hidden_def.
13589         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
13590         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
13591         Likewise.
13592         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
13593         define as weak alias of __fesetenv.  Use libm_hidden_weak.
13594         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
13595         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
13596         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
13597         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
13598         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
13599         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
13600         __fesetenv instead of fesetenv.
13601         (libc_feresetround_noex_ctx): Likewise.
13602         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
13603         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
13604         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
13605         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
13606         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
13607         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
13608         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13609         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
13610         (__feupdateenv): Likewise.
13611         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
13612         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
13613         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13614         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
13616 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
13618         [BZ #17806]
13619         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
13620         addresses have been freed.
13622 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
13624         * resolv/res_init.c (__res_vinit): Improve comments about nserv
13625         and nservall.
13627 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
13629         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
13630         Clean up check_pf allocation pattern. addresses
13632 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13634         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
13635         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
13636         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
13637         * nptl/pthread_exit.c (__pthread_exit): Likewise.
13638         * nptl/pthread_join.c (pthread_join): Likewise.
13639         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
13640         * sysdeps/posix/waitid.c (__waitid): Likewise.
13641         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
13642         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
13643         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
13644         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
13645         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
13646         Likewise.
13647         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
13648         (__libc_pread64): Likewise.
13649         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
13650         (__libc_pwrite): Likewise.
13651         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
13652         (__libc_pwrite64): Likewsie.
13653         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
13654         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
13655         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
13656         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
13657         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
13658         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
13659         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
13660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
13661         Likewise.
13662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13663         (__libc_pread64): Likewise.
13664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
13665         Likewise.
13666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
13667         (__libc_pwrite64): Likewise.
13668         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
13669         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
13670         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
13671         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
13672         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
13673         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
13674         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
13675         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
13676         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
13677         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
13678         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
13679         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
13680         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
13681         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
13682         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
13683         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
13684         Likewise.
13686 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
13688         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
13689         (CFLAGS-test-double.c): Likewise.
13690         (CFLAGS-test-ldouble.c): Likewise.
13691         (CPPFLAGS-test-ifloat.c): Likewise.
13692         (CPPFLAGS-test-idouble.c): Likewise.
13693         (CPPFLAGS-test-ildoubl.c): Likewise.
13694         (CFLAGS-test-test-fenv.c): Remove variable.
13695         (CFLAGS-test-misc.c): Likewise.
13697 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
13699         [BZ #17797]
13700         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
13701         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
13702         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
13703         CLOCKS_PER_SEC == 1000000.
13704         * time/clocktest.c (main): Replace %ld with %jd and cast to
13705         intmax_t.
13707 2015-01-05  Roland McGrath  <roland@hack.frob.com>
13709         * sysdeps/generic/unwind-resume.h: New file.
13710         * sysdeps/gnu/unwind-resume.c: Include it.
13711         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
13712         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
13713         argument list.
13714         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
13715         global rather than static.
13716         (_Unwind_Resume): Update user.
13717         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
13718         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
13719         rather than static.  Add __attribute__ ((cold)).
13720         (_Unwind_Resume, __gcc_personality_v0): Update callers.
13721         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
13722         * sysdeps/arm/arm-unwind-resume.S: New file.
13723         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
13724         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
13725         * sysdeps/arm/Makefile [$(subdir) = csu]
13726         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
13727         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
13728         Add rt-arm-unwind-resume.
13729         [$(subdir) = nptl]
13730         (libpthread-sysdep_routines, libpthread-shared-only-routines):
13731         Add pt-arm-unwind-resume.
13732         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
13733         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
13735 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
13737         [BZ #17748]
13738         * include/fenv.h (__feholdexcept): Declare.  Use
13739         libm_hidden_proto.
13740         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
13741         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
13742         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
13743         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
13744         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
13745         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
13746         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
13747         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
13748         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
13749         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
13750         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
13751         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
13752         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
13753         (feholdexcept): Likewise.
13754         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
13755         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
13756         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
13757         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
13758         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
13759         __feholdexcept instead of feholdexcept.
13760         (default_libc_feholdexcept_setround): Likewise.
13762 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
13764         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
13765         to avoid using stl/str to align destination.
13767 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
13769         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
13771 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
13773         [BZ #17796]
13774         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
13775         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
13776         Define as weak alias not strong alias.
13778 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
13780         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
13781         bltzal with addiupc.
13782         (RTLD_START): Ditto.
13784 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
13786         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
13787         for __vdso_* functions in declarations.
13788         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
13789         definitions.
13790         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
13791         INTERNAL_VSYSCALL): Use struct return types to check for error.
13793         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
13794         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
13795         function with cast from llround().
13796         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
13797         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
13798         Define.
13800 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
13802         [BZ #17793]
13803         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
13804         Define as weak alias not strong alias.
13806         [BZ #17635]
13807         * ctype/ctype-c99.c: New file.  isblank implementation moved from
13808         ...
13809         * ctype/ctype-extn.c: ... here.
13810         (__isblank_l): Move to ...
13811         * ctype/ctype-c99_l.c: ... here.  New file.
13812         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
13813         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
13814         Remove variable.
13815         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
13816         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
13817         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
13818         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
13819         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
13821         [BZ #17777]
13822         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
13823         (posix_fadvise64): Define as weak alias not strong alias.
13824         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13825         (posix_fallocate64): Likewise.
13826         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
13827         Remove variable.
13828         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
13829         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
13830         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
13831         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
13832         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
13834 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
13836         [BZ #16191]
13837         * NEWS: Mention bug fix.
13838         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
13839         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
13840         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
13841         (HOST_STACK_END_ADDR): Likewise.
13843 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
13845         [BZ #17748]
13846         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
13847         * math/fegetround.c (fegetround): Rename to __fegetround and
13848         define as weak alias of __fegetround.  Use libm_hidden_weak.
13849         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
13850         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
13851         * sysdeps/arm/fegetround.c (fegetround): Likewise.
13852         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
13853         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
13854         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
13855         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
13856         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
13857         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
13858         Undefine after rather than before function definition; use
13859         parentheses around function name in definition.
13860         (__fegetround): Also undefine macro after function definition.
13861         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
13862         __fegetround and define as weak alias of __fegetround.  Use
13863         libm_hidden_weak.  Do not undefine as macro.
13864         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
13865         Likewise.
13866         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
13867         __fegetround and define as weak alias of __fegetround.  Use
13868         libm_hidden_weak.
13869         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13870         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
13871         * sysdeps/tile/math_private.h (__fegetround): New inline function.
13872         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
13873         __fegetround and define as weak alias of __fegetround.  Use
13874         libm_hidden_weak.
13875         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
13876         __fegetround instead of fegetround.
13878         [BZ #17782]
13879         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
13880         Condition macro definition on [__USE_MISC].
13882         [BZ #17781]
13883         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
13884         (struct sigaction): Change type of sa_flags field to int.
13886         [BZ #17780]
13887         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
13888         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
13889         __glibc_reserved0.
13891         * nptl/version.c (banner): Use single year in copyright notice.
13893         * NEWS: Update copyright dates.
13894         * catgets/gencat.c (print_version): Likewise.
13895         * csu/version.c (banner): Likewise.
13896         * debug/catchsegv.sh: Likewise.
13897         * debug/pcprofiledump.c (print_version): Likewise.
13898         * debug/xtrace.sh (do_version): Likewise.
13899         * elf/ldconfig.c (print_version): Likewise.
13900         * elf/ldd.bash.in: Likewise.
13901         * elf/pldd.c (print_version): Likewise.
13902         * elf/sotruss.sh: Likewise.
13903         * elf/sprof.c (print_version): Likewise.
13904         * iconv/iconv_prog.c (print_version): Likewise.
13905         * iconv/iconvconfig.c (print_version): Likewise.
13906         * locale/programs/locale.c (print_version): Likewise.
13907         * locale/programs/localedef.c (print_version): Likewise.
13908         * login/programs/pt_chown.c (print_version): Likewise.
13909         * malloc/memusage.sh (do_version): Likewise.
13910         * malloc/memusagestat.c (print_version): Likewise.
13911         * malloc/mtrace.pl: Likewise.
13912         * manual/libc.texinfo: Likewise.
13913         * nptl/version.c (banner): Likewise.
13914         * nscd/nscd.c (print_version): Likewise.
13915         * nss/getent.c (print_version): Likewise.
13916         * nss/makedb.c (print_version): Likewise.
13917         * posix/getconf.c (main): Likewise.
13918         * scripts/test-installation.pl: Likewise.
13919         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
13921 2015-01-02  Will Newton  <will.newton@linaro.org>
13923         * sysdeps/arm/armv7/configure: Removed.
13924         * sysdeps/arm/armv7/configure.ac: Likewise.
13926 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
13928         * All files with FSF copyright notices: Update copyright dates
13929         using scripts/update-copyrights.
13930         * intl/plural.c: Regenerated.
13931         * locale/programs/charmap-kw.h: Likewise.
13932         * locale/programs/locfile-kw.h: Likewise.
13934 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13936         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
13938 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
13940         [BZ #17748]
13941         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
13942         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
13943         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
13944         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
13945         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
13946         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
13947         define as weak alias of __fegetenv.  Use libm_hidden_weak.
13948         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
13949         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
13950         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
13951         define as weak alias of __fegetenv.  Use libm_hidden_weak.
13952         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
13953         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
13954         define as weak alias of __fegetenv.  Use libm_hidden_weak.
13955         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
13956         libm_hidden_def.
13957         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
13958         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
13959         Likewise.
13960         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
13961         define as weak alias of __fegetenv.  Use libm_hidden_weak.
13962         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
13963         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
13964         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
13965         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
13966         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
13967         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
13968         __fegetenv instead of fegetenv.
13969         (libc_feholdsetround_noex_ctx): Likewise.
13971 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
13973         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
13974         (Elf_MIPS_ABIFlags_v0): New structure.
13975         (EF_MIPS_FP64): Define.
13976         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
13977         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
13978         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
13979         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
13980         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
13981         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
13982         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
13983         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
13984         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
13985         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
13986         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
13987         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
13988         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
13989         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
13990         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
13991         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
13992         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
13993         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
13994         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
13995         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
13996         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
13997         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
13998         field.
13999         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
14000         EF_MIPS_FP64.
14001         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
14002         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
14003         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
14004         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
14005         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
14006         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
14007         * sysdeps/mips/tst-abi-interlink.c: Likewise.
14008         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
14009         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
14010         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
14011         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
14012         record the current FP ABI extension.
14013         (mips-mode-switch): Define to show if kernel headers support mode
14014         switching.
14015         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
14016         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
14017         supported SYSV ABI version to 3.
14018         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
14019         feature.
14021 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14022             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14024         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
14025         path.
14026         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
14028 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
14030         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
14031         __fegetround and redefine to call __fegetround.  Remove condition
14032         on [!__NO_MATH_INLINES].
14033         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
14034         function.
14035         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
14036         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14037         Remove macro.
14038         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
14039         instead of <fenv_libc.h>.
14040         (__llrintl): Call fegetround instead of __fegetround.
14041         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
14042         instead of <fenv_libc.h>.
14043         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
14044         (__lrintl): Call fegetround instead of __fegetround.
14045         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
14046         instead of <fenv_libc.h>.
14047         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
14048         (__rintl): Call fegetround instead of __fegetround.
14050 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
14052         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
14053         arrays.
14055 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
14057         [BZ #17775]
14058         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
14059         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
14060         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
14062 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
14064         * sysdeps/i386/tls-macros.h: Include <features.h>.
14065         (TLS_LE): Use non-PIC version for GCC >= 5.0.
14066         (TLS_IE): Likewise.
14067         (TLS_LD): Likewise.
14068         (TLS_GD): Likewise.
14069         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
14070         define for GCC >= 5.0.
14072 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
14074         * math/test-fenv.c (test_single_exception, set_single_exc,
14075         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
14076         feexcp_mask_test, feenable_test, fe_single_test): Add
14077         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
14078         case where they are not used.
14079         * math/libm-test.inc: Likewise.
14080         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
14081         unused in the absence of FP rounding/exception support.
14082         * stdio-common/tst-printf-round.c: Likewise.
14083         * stdlib/tst-strtod-round.c: Likewise.
14084         * stdlib/tst-strtod-underflow.c: Likewise.
14086 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
14088         [BZ #17723]
14089         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
14090         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
14091         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
14092         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
14093         libm_hidden_weak.
14094         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
14095         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
14096         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
14097         libm_hidden_def.
14098         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
14099         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
14100         libm_hidden_weak.
14101         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
14102         Likewise.
14103         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
14104         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
14105         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
14106         libm_hidden_weak.
14107         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
14108         libm_hidden_def.
14109         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
14110         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
14111         (__feraiseexcept): Likewise.
14112         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
14113         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
14114         libm_hidden_weak.
14115         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
14116         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
14117         libm_hidden_def.
14118         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
14119         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
14120         Use libm_hidden_def.
14121         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
14122         libm_hidden_def.
14123         (feraiseexcept): Define as weak not strong alias.  Use
14124         libm_hidden_weak.
14125         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
14126         New inline function.  Factored out of ...
14127         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
14128         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
14129         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
14130         feraiseexcept.
14131         * math/w_acos.c (__acos): Likewise.
14132         * math/w_asin.c (__asin): Likewise.
14133         * math/w_ilogb.c (__ilogb): Likewise.
14134         * math/w_j0.c (y0): Likewise.
14135         * math/w_j1.c (y1): Likewise.
14136         * math/w_jn.c (yn): Likewise.
14137         * math/w_log.c (__log): Likewise.
14138         * math/w_log10.c (__log10): Likewise.
14139         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
14140         * sysdeps/aarch64/fpu/math_private.h
14141         (libc_feupdateenv_test_aarch64): Likewise.
14142         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
14143         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
14144         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
14145         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
14146         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
14147         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
14148         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
14149         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
14150         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
14151         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14153 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
14155         [BZ #17732]
14156         * io/test-utime.c (main): Replace %ld with %jd and cast to
14157         intmax_t.
14158         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
14159         * nptl/tst-mutex5.c: Include <stdint.h>.
14160         (do_test): Replace %ld with %jd and cast to intmax_t.
14161         * posix/tst-regex.c (run_test): Likewise.
14162         (run_test_backwards): Likewise.
14163         * rt/tst-clock.c: Include <stdint.h>.
14164         (clock_test): Replace %ld with %jd and cast to intmax_t.
14165         * rt/tst-cpuclock1.c: Include <stdint.h>.
14166         (do_test): Replace %lu with %ju and cast to uintmax_t.
14167         * rt/tst-cpuclock2.c: Include <stdint.h>.
14168         (do_test): Replace %lu with %ju and cast to uintmax_t.
14169         * rt/tst-mqueue1.c: Include <stdint.h>.
14170         (check_attrs): Replace %ld with %jd and cast to intmax_t.
14171         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
14172         intmax_t.
14173         * rt/tst-mqueue4.c (do_test): Likewise.
14174         * rt/tst-timer4.c: Include <stdint.h>.
14175         (check_ts): Replace %ld with %jd and cast to intmax_t.
14176         (do_test): Likewise.
14177         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
14178         and cast to intmax_t.
14179         * sysdeps/pthread/tst-timer.c (main): Likewise.
14180         * time/clocktest.c (main): Likewise.
14181         * time/tst-posixtz.c (do_test): Likewise.
14182         * timezone/tst-timezone.c (main): Likewise.
14184 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
14185             H.J. Lu  <hongjiu.lu@intel.com>
14187         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
14188         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
14189         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
14190         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
14191         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
14192         version if bit_Fast_Unaligned_Load is set.
14193         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14194         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14195         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14196         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14197         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14198         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14199         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14200         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
14201         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
14202         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
14203         to 4.
14204         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
14205         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
14206         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
14207         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
14209 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
14211         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
14212         instead of #if to avoid a Wundef warning.
14213         * stdlib/tst-limits.c (do_test): Likewise.
14215         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
14216         parallel other exception macros.
14217         (fegetenv): Convert from macro to extern inline so that it applies
14218         retroactively to inline functions already seen by the compiler.
14219         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
14221         * posix/Makefile (before-compile): Use $(objpfx) for
14222         posix-conf-vars-def.h.
14224 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14226         * posix/getconf.c (main): Use size_t for type of I.
14227         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
14228         NSPEC.
14230         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
14231         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
14232         * posix/posix-envs.def: Likewise.
14233         * sysdeps/posix/sysconf.c: Likewise.
14234         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
14235         (specs): Remove array.
14236         * scripts/gen-posix-conf-vars.awk: Support generation of specs
14237         array.
14239         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
14240         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
14241         (__sysconf): Use CONF_IS_* macros.
14243         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
14244         ($(objpfx)posix-conf-vars-def.h): New target.
14245         * posix/posix-conf-vars.list: New file.
14246         * posix/posix-conf-vars.h: New file.
14247         * posix/confstr.c: Include posix-conf-vars.h.
14248         (confstr): Use CONF_IS_* macros.
14249         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
14250         CONF_IS_* macros.
14251         * scripts/gen-posix-conf-vars.awk: New file.
14253 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
14255         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
14256         fegetround): Add no-op macros to avoid linknamespace issues.
14258         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
14259         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
14261         * sysdeps/unix/sysv/linux/tile/sysdep.h
14262         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
14263         assembly-specific section to avoid a redefinition warning.
14265         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
14266         long before casting to pointer to avoid a cast warning.
14268 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
14270         * sysdeps/tile/tilegx/Implies: New file.
14272 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
14274         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
14276 2014-12-23  Florian Weimer  <fweimer@redhat.com>
14278         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
14280 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
14282         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
14283         not define.
14284         * sysdeps/unix/sysv/linux/utimes.c: Do not include
14285         <kernel-features.h>.
14286         (__utimes) [__NR_utimes]: Make code unconditional.
14287         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
14288         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14289         (__ASSUME_UTIMES): Do not undefine.
14290         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14291         (__ASSUME_UTIMES): Likewise.
14292         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14293         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
14294         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
14295         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
14297 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
14299         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
14301 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
14303         [BZ #17747]
14304         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
14305         alias to weak alias for j0l, y0l.
14306         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
14307         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
14309         [BZ #17746]
14310         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
14311         conversion.
14313 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
14315         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
14316         to zero if not already defined.
14318 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
14320         [BZ #17724]
14321         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
14322         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
14323         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
14324         (char *) casts added.
14325         * sysdeps/ieee754/k_standardf.c: New file.
14326         * sysdeps/ieee754/k_standardl.c: Likewise.
14327         * math/Makefile (libm-support): Remove k_standard.
14328         (libm-calls): Add k_standard.
14330 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
14332         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
14333         Optimize to avoid an unnecessary FPCR read.
14335 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
14337         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
14338         Optimize to reduce FPCR/FPSR accesses.
14340 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
14342         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
14343         Call libc_fetestexcept_aarch64.
14345 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
14347         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
14348         Call libc_fesetround_aarch64.
14350 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
14352         [BZ #17733]
14353         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
14354         (__bind): Do not define as weak alias.
14355         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
14356         define.
14357         (__getsockname): Do not define as weak alias.
14359 2014-12-22  Will Newton  <will.newton@linaro.org>
14361         * manual/install.texi: Document that we require bison 2.7
14362         or above.
14363         * INSTALL: Regenerate.
14364         * configure.ac: Use AC_CHECK_PROG_VER instead of
14365         AC_PATH_PROG when checking for bison and check for
14366         version 2.7 or above.
14367         * configure: Regenerate.
14369 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
14371         [BZ #17745]
14372         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
14373         * sysdeps/tile/ffsll.c (ffsll): To here.
14375         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
14377 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
14379         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
14380         if not defined.
14381         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
14382         definition.
14383         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
14384         hidden ___tls_get_addr.
14385         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
14386         hidden __tls_get_addr.
14387         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
14388         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
14389         Likewise.
14391 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
14393         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
14394         _dl_init call.
14396 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
14398         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
14399         from "call _dl_init@PLT".
14400         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
14402 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
14404         * manual/search.texi: (Array Sort Function): Clarify stable sorting
14405         guarantees.
14407 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
14409         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
14411 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
14413         [BZ #17744]
14414         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
14415         strnlen.
14417 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
14419         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
14420         of multu on MIPSr6.
14421         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
14422         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
14423         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
14424         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
14425         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
14427 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
14429         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
14430         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
14431         (PTR_SUBU): Use subu for mips32r6/mips64r6.
14432         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
14433         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
14434         mips32r6/mips64r6.
14435         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
14437 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
14439         * string/strncat.c (STRNCAT): Simplify implementation.
14441 2014-12-19  David S. Miller  <davem@davemloft.net>
14443         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
14444         access the quad as both a long double and as a series of 4 words.
14446         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
14447         link_map->l_info array access.
14449 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
14451         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
14453         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
14454         * math/atest-exp2.c (TIMEOUT): Likewise.
14455         * math/atest-sincos.c (TIMEOUT): Likewise.
14457 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
14459         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
14460         -Wno-error with -fno-builtin-lround.
14462 2014-12-19  Torvald Riegel  <triegel@redhat.com>
14464         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
14465         Contains futex constants and functions moved over from ...
14466         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
14467         <lowlevellock-futex.h>.
14468         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
14469         (lll_timedwait_tid): Add comments and parentheses around macro
14470         arguments.
14472 2014-12-19  Torvald Riegel  <triegel@redhat.com>
14474         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
14475         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
14476         (__lll_private_flag): Remove.
14477         (lll_futex_wait): Likewise.
14478         (lll_futex_timed_wait): Likewise.
14479         (lll_futex_wake): Likewise.
14480         (lll_futex_requeue): Likewise.
14481         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
14482         (__lll_timedwait_tid): Spell out argument names.
14483         (lll_timedwait_tid): Add comments and parentheses around macro
14484         arguments.
14485         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
14486         LLL_SHARED and LLL_PRIVATE usable from assembly code.
14488 2014-12-19  Torvald Riegel  <triegel@redhat.com>
14490         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
14491         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
14492         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
14493         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
14494         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
14495         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
14496         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
14497         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
14498         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
14499         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
14500         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
14501         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
14502         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
14503         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
14504         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
14505         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
14506         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
14507         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
14508         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
14510 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
14512         * sysdeps/x86_64/x32/Makefile: New file.
14514 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
14516         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
14517         1L with (mp_limb_t) 1.
14519 2014-12-17  Roland McGrath  <roland@hack.frob.com>
14521         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
14522         * nptl/libc_pthread_init.c: ... here.
14523         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
14524         * nptl/register-atfork.c: ... here.
14526         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
14527         Use pthread_sigmask rather than INTERNAL_SYSCALL.
14528         Use assert_perror to check its return value.
14529         (__gai_create_helper_thread): Likewise.
14531         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
14533         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
14535 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
14537         [BZ #17725]
14538         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
14539         __profil_counter.
14540         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
14541         Likewise.
14542         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
14543         Likewise.
14544         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
14545         Likewise.
14546         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
14547         (profil_counter): Likewise.
14548         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
14549         (profil_counter): Likewise.
14550         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
14551         Likewise.
14552         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
14553         Likewise.
14554         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
14555         (profil_counter): Likewise.
14556         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
14557         Likewise.
14558         [!__profil_counter] (profil_counter): Define as weak alias of
14559         __profil_counter.
14560         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
14561         (profil_counter): Rename to __profil_counter.
14562         [!__profil_counter] (profil_counter): Define as weak alias of
14563         __profil_counter.
14564         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
14565         (profil_counter): Rename to __profil_counter.
14566         [!__profil_counter] (profil_counter): Define as weak alias of
14567         __profil_counter.
14568         * sysdeps/posix/profil.c: Update comment referring to
14569         profil_counter.
14570         (__profil): Use __profil_counter instead of profil_counter.
14571         * sysdeps/posix/sprofil.c (profil_counter): Rename to
14572         __profil_counter.  Use __profil_counter_ushort and
14573         __profil_counter_uint in definitions.
14574         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
14575         instead of profil_counter_uint and profil_counter_ushort.
14577         [BZ #17722]
14578         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
14579         define as weak alias of __inet_makeaddr.
14580         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
14581         as weak alias of __inet_addr.
14582         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
14583         as weak alias of __inet_pton.  Use libc_hidden_weak.
14584         * include/arpa/inet.h (__inet_pton): Declare.  Use
14585         libc_hidden_proto.
14586         (inet_makeaddr): Don't use libc_hidden_proto.
14587         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
14588         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
14589         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
14590         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
14591         Remove variable.
14592         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
14593         (test-xfail-POSIX/time.h/linknamespace): Likewise.
14595 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
14597         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
14599 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
14601         * stdio-common/bug-vfprintf-nargs.c (do_test):
14602         Cast value to intptr_t to avoid format warning
14603         for usage with PRIdPTR printing macro.
14605 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
14607         * libio/tst-widetext.c (do_test):
14608         Use format type %td instead of %Zd for ptrdiff_t
14609         in order to avoid format warning.
14611 2014-12-17  Andreas Schwab  <schwab@suse.de>
14613         * nscd/mem.c (gc): Add size_t cast to match printf format.
14615 2014-12-16  Roland McGrath  <roland@hack.frob.com>
14617         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
14618         (init): Apply PTR_MANGLE to pointers before storing them.
14619         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
14620         before using them.
14622 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
14624         [BZ #17719]
14625         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
14626         define as weak alias of __memrchr.
14627         (__memrchr): Do not define as strong alias of memrchr.
14628         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
14629         Remove variable.
14630         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
14631         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
14632         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
14634         [BZ #17717]
14635         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
14636         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
14637         (if_indextoname): Rename to __if_indextoname and define as weak
14638         alias of __if_indextoname.  Use libc_hidden_weak.
14639         (if_freenameindex): Rename to __if_freenameindex and define as
14640         weak alias of __if_freenameindex.
14641         (if_nameindex): Rename to __if_nameindex and define as weak alias
14642         of __if_nameindex.
14643         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
14644         __if_nametoindex and define as weak alias of __if_nametoindex.
14645         Use libc_hidden_weak.
14646         (if_freenameindex): Rename to __if_freenameindex and define as
14647         weak alias of __if_freenameindex.
14648         (if_nameindex): Rename to __if_nameindex and define as weak alias
14649         of __if_nameindex.
14650         (if_indextoname): Rename to __if_indextoname and define as weak
14651         alias of __if_indextoname.  Use libc_hidden_weak.
14652         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
14653         __if_nametoindex and define as weak alias of __if_nametoindex.
14654         Use libc_hidden_weak.
14655         (if_freenameindex): Rename to __if_freenameindex and define as
14656         weak alias of __if_freenameindex.  Use libc_hidden_weak.
14657         (if_nameindex_netlink): Use __if_freenameindex instead of
14658         if_freenameindex.
14659         (if_nameindex): Rename to __if_nameindex and define as weak alias
14660         of __if_nameindex.  Use libc_hidden_weak.
14661         (if_indextoname): Rename to __if_indextoname and define as weak
14662         alias of __if_indextoname.  Use libc_hidden_weak.
14663         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
14664         libc_hidden_proto.
14665         [!_ISOMAC] (__if_freenameindex): Likewise.
14666         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
14667         if_nametoindex.
14668         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
14669         variable.
14670         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
14671         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
14672         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
14673         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
14674         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
14675         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
14676         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
14678         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
14679         Remove variable.
14680         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
14681         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
14683 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14685         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
14686         subscript above bounds'
14688         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
14689         bounds.
14691 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
14693         * libio/tst-fopenloc.c: Use test-skeleton.c.
14695         * stdlib/tst-bsearch.c: Use test-skeleton.c.
14696         (entry): Rename to ITEM.
14697         (do_test, comp): Adjust.
14699         * stdio-common/tst-fseek.c: Use test-skeleton.c.
14701 2014-12-16  Torvald Riegel  <triegel@redhat.com>
14703         * string/tester.c: Include <libc-internal.h>.
14704         (test_memset): Ignore -Wmemset-transposed-args.
14706 2014-12-16  Torvald Riegel  <triegel@redhat.com>
14708         * misc/tst-mntent2.c (do_test): Fix warning.
14710 2014-12-16  Torvald Riegel  <triegel@redhat.com>
14712         * elf/tst-unique4lib.cc(a): Mark as used.
14714 2014-12-16  Florian Weimer  <fweimer@redhat.com>
14716         [BZ #17630]
14717         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
14718         names.
14720 2014-12-16  Allan McRae  <allan@archlinux.org>
14722         * stdio-common/Makefile (tests): Re-add bug26.
14724 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
14726         [BZ #17657]
14727         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
14728         static array.
14730 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
14732         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
14733         (__lll_lock_wait): Likewise.
14734         (__lll_timedlock_wait): Likewise.
14735         (__lll_timedwait_tid): Likewise.
14736         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
14737         (__lll_robust_timedlock_wait): Likewise.
14738         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
14739         (lll_cond_trylock): Likewise.
14740         (__lll_lock): Likewise.
14741         (__lll_robust_lock): Likewise.
14742         (__lll_cond_lock): Likewise.
14743         (lll_robust_cond_lock): Likewise.
14744         (__lll_timedlock): Likewise.
14745         (__lll_robust_timedlock): Likewise.
14746         (__lll_unlock): Likewise.
14747         (__lll_robust_unlock): Likewise.
14748         (lll_wait_tid): Likewise.
14749         (lll_timedwait_tid): Likewise.
14751 2014-12-15  Torvald Riegel  <triegel@redhat.com>
14753         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
14755 2014-12-15  Torvald Riegel  <triegel@redhat.com>
14757         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
14759 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
14761         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
14762         * stdio-common/tst-sprintf.c: Likewise.
14764 2014-12-15  Torvald Riegel  <triegel@redhat.com>
14766         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
14768 2014-12-15  Jeff Law  <law@redhat.com>
14770         [BZ #16617]
14771         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
14772         on the heap.  (CVE-2012-3406)
14773         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
14774         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
14775         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
14777 2014-12-15  Will Newton  <will.newton@linaro.org>
14779         * manual/install.texi: Bump required version of texinfo
14780         to 4.7 from 4.5.
14781         * INSTALL: Regenerated.
14782         * configure.ac: Check for makeinfo version 4.7 and above.
14783         * configure: Regenerated.
14785 2014-12-12  Roland McGrath  <roland@hack.frob.com>
14787         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
14788         PREFIX, string constant to insert between directory and name.
14789         * sysdeps/posix/shm_open.c: Update caller.
14790         * sysdeps/posix/shm_unlink.c: Likewise.
14791         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
14792         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
14793         (SEM_SHM_PREFIX): New macro.
14794         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
14795         [$(have-thread-library) = no].
14796         * nptl/Makefile (libpthread-routines): Add shm-directory.
14797         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
14798         * sysdeps/nptl/shm-directory.h: New file.
14799         * sysdeps/posix/shm-directory.c
14800         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
14801         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
14802         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
14803         INTERNAL_SYSCALL.
14804         (__where_is_shmfs): Function removed.
14805         (mountpoint, defaultmount, defaultdir, __namedsem_once):
14806         Variables removed.
14807         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
14808         Use SHM_GET_NAME.
14809         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
14811         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
14812         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
14813         unconditional for use inside libpthread.
14814         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
14816 2014-12-12  Roland McGrath  <roland@hack.frob.com>
14818         * nptl/pthread_getaffinity.c: New file.
14819         * nptl/pthread_setaffinity.c: New file.
14820         * nptl/pthread_getname.c: New file.
14821         * nptl/pthread_setname.c: New file.
14823         * nptl/pthread_create.c (START_THREAD_DEFN)
14824         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
14826 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
14827             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14829         * resolv/res_send.c (send_vc): Disable warning resplen may
14830         be used uninitialized.
14832 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
14834         * nptl/tst-mutex6.c
14835         (ATTR_NULL): New define checks ATTR against NULL.
14836         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
14837         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
14839 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
14841         [BZ #17581]
14842         * malloc/hooks.c
14843         (mem2mem_check): Revert my previous change.
14844         (malloc_check_get_size): Revert my previous change.
14845         (mem2chunk_check): Revert my previous change.
14847 2014-12-11  Roland McGrath  <roland@hack.frob.com>
14849         * sysdeps/posix/shm-directory.c: New file.
14850         * sysdeps/posix/shm-directory.h: New file.
14851         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
14852         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
14853         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
14854         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
14855         Transmute EPERM to EACCES.
14856         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
14857         from ...
14858         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
14859         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
14861 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14863         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
14864         pointer and cast to uintptr_t.
14865         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
14866         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
14867         Add cast to avoid warning.
14868         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
14870 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
14872         * nptl/semaphore.h: Move to ...
14873         * sysdeps/pthread/semaphore.h: ... here.
14874         * Makefile (installed-headers): Change nptl/semaphore.h to
14875         sysdeps/pthread/semaphore.h.
14877 2014-12-11  Roland McGrath  <roland@hack.frob.com>
14879         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
14880         generated error format strings.
14882         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
14883         -Wformat-extra-args warnings for scanf formats.
14884         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
14885         test of zero-length format (duh).
14886         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
14887         corner-case scanf format test.
14888         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
14889         generated fprintf format string.
14890         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
14891         corner-case sprintf format tests.
14892         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
14893         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
14894         -Wformat-extra-args warnings throughout.
14895         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
14896         (CFLAGS-scanf4.c): Likewise.
14897         (CFLAGS-scanf7.c): Likewise.
14898         (CFLAGS-tst-sprintf.c): Likewise.
14899         (CFLAGS-tst-printf.c): Likewise.
14900         (CFLAGS-tst-printfsz.c): Likewise.
14902 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
14904         * include/cpio.h: New file.
14905         * include/fmtmsg.h: Likewise.
14907         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
14908         corresponding format argument to size_t.
14909         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
14910         arguments.
14911         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
14912         corresponding format argument to size_t.
14913         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
14914         arguments.
14915         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
14916         corresponding format argument to size_t.
14917         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
14918         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
14919         (CFLAGS-tst-mbswcs2.c): Likewise.
14920         (CFLAGS-tst-mbswcs3.c): Likewise.
14921         (CFLAGS-tst-mbswcs4.c): Likewise.
14922         (CFLAGS-tst-mbswcs5.c): Likewise.
14923         (CFLAGS-tst-trans.c): Likewise
14925 2014-12-11  Roland McGrath  <roland@hack.frob.com>
14927         * posix/regexbug1.c (main): Use "%s" format with regerror results,
14928         rather than assuming they won't contain any '%'s.
14930 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
14932         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
14933         inhibit_loop_to_libcall to avoid recursive calls.
14934         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
14935         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
14937 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
14939         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
14940         prototype.
14942 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
14944         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
14945         integer value instead of boolean.
14947 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
14949         * malloc/malloc.c: Fix powerof2 check.
14951 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
14953         * locale/programs/locfile.h (maybe_swap_uint32):
14954         Remove inline and add unused attribute.
14956 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
14958         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
14959         Truncating assembler expression to a .long expression.
14961 2014-12-11  Andreas Schwab  <schwab@suse.de>
14963         * elf/rtld.c (struct map_args): Constify str member.
14964         (do_preload): Constify fname argument.
14966 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14968         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
14969         constants definition.
14971 2014-12-11  Andreas Schwab  <schwab@suse.de>
14973         [BZ #16657]
14974         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
14975         FORCE_ELISION instead of DO_ELISION.
14976         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
14977         Remove.
14978         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
14979         Likewise.
14981         * iconvdata/gconv-modules: Remove duplicate entry.
14983 2014-12-11  Will Newton  <will.newton@linaro.org>
14985         Merge gettext 0.19.3 into intl/.
14987         This involves a number of cosmetic changes to comments
14988         and ANSI function definitions and prototypes throughout
14989         all the files. The gettext copyright header is used but
14990         with the date ranges taken from the glibc copy.
14992         * NEWS: Add gettext merge to 2.21.
14993         * intl/bindtextdom.c: Switch to gettext copyright.
14994         Use ANSI definitions and prototypes.
14995         Use gl_* locking primitives rather than __libc_* ones.
14996         Use __builtin_expect rather than __glibc_likely/unlikely.
14997         * intl/dcgettext.c: Switch to gettext copyright.
14998         Use ANSI definitions and prototypes.
14999         * intl/dcigettext.c: Switch to gettext copyright.
15000         Use ANSI definitions and prototypes.
15001         (INTDIV0_RAISES_SIGFPE): New define.
15002         Use gl_* locking primitives rather than __libc_* ones.
15003         Include eval-plural.h instead of plural-eval.c.
15004         Use __builtin_expect rather than __glibc_likely/unlikely.
15005         * intl/dcngettext.c: Switch to gettext copyright.
15006         Use ANSI definitions and prototypes.
15007         * intl/dgettext.c: Likewise.
15008         * intl/dngettext.c: Likewise.
15009         * intl/plural-eval.c: Renamed to...
15010         * intl/eval-plural.h: ...this.
15011         * intl/explodename.c: Switch to gettext copyright.
15012         Use ANSI definitions and prototypes.
15013         (_nl_explode_name): Use strchr instead of __rawmemchr.
15014         * intl/finddomain.c: Switch to gettext copyright.
15015         Use ANSI definitions and prototypes.
15016         Use gl_* locking primitives rather than __libc_* ones.
15017         (_nl_find_domain): Use malloc rather than alloca for
15018         allocation of temporary locale name.
15019         * intl/gettext.c: Switch to gettext copyright.
15020         Use ANSI definitions and prototypes.
15021         * intl/gettextP.h: Switch to gettext copyright.
15022         Use ANSI definitions and prototypes.
15023         Use gl_* locking primitives rather than __libc_* ones.
15024         * intl/gmo.h: Switch to gettext copyright.
15025         (struct sysdep_string): Move struct segment_pair outside of
15026         struct definition.
15027         * intl/hash-string.c: Use ANSI definitions and prototypes.
15028         * intl/hash-string.h: Switch to gettext copyright.
15029         Use ANSI definitions and prototypes.
15030         * intl/l10nflist.c: Switch to gettext copyright.
15031         Use ANSI definitions and prototypes.
15032         (_nl_normalize_codeset): Avoid integer overflow.
15033         * intl/loadinfo.h: Switch to gettext copyright.
15034         Use ANSI definitions and prototypes.
15035         (LIBINTL_DLL_EXPORTED): New define.
15036         (PATH_SEPARATOR): New define.
15037         * intl/loadmsgcat.c: Switch to gettext copyright.
15038         * intl/localealias.c: Switch to gettext copyright.
15039         Use ANSI definitions and prototypes.
15040         (_nl_expand_alias): Use PATH_SEPARATOR.
15041         * intl/ngettext.c: Switch to gettext copyright.
15042         Use ANSI definitions and prototypes.
15043         * intl/plural-exp.c: Likewise.
15044         * intl/plural-exp.h: Switch to gettext copyright.
15045         Use ANSI definitions and prototypes.
15046         (struct expression): Move definition of enum operator outside
15047         of struct definition.
15048         * intl/plural.c: Regenerate.
15049         * intl/plural.y: Switch to gettext copyright.
15050         Use ANSI definitions and prototypes.
15051         Port to bison 3.0.
15052         * intl/textdomain.c: Switch to gettext copyright.
15053         Use ANSI definitions and prototypes.
15054         Use gl_* locking primitives rather than __libc_* ones.
15056 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
15058         * debug/warning-nop.c: Add used atrribute.
15060 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
15062         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
15064         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
15065         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
15066         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
15068 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
15069             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15071         [BZ #17634]
15072         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
15073         Undefine after defining function.  Define as weak alias of
15074         __wcschr.  Use libc_hidden_weak.
15075         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
15076         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
15077         (libc_hidden_def): Also define __GI___wcschr alias.
15078         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
15079         __wcschr and define as weak alias of __wcschr.
15080         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
15081         __wcschr.
15082         [!WCSCHR] (DEFAULT_WCSCHR): Define.
15083         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
15084         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
15085         libc_hidden_weak.  Do not use libc_hidden_def.
15086         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
15087         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
15088         __GI___wcschr alias.
15089         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
15090         [IS_IN (libc)] (wcschr): Define as macro expanding to
15091         __redirect_wcschr.
15092         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
15093         [IS_IN (libc)] (__wcschr_power6): Likewise.
15094         [IS_IN (libc)] (__wcschr_power7): Likewise.
15095         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
15096         instead of wcschr.
15097         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
15098         __libc_wcschr.
15099         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
15100         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
15101         __wcschr and define as weak alias of __wcschr.  Use
15102         libc_hidden_builtin_def.
15103         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
15104         as weak alias of __wcschr.  Use libc_hidden_weak.
15105         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
15106         wcschr.
15107         * time/era.c (_nl_init_era_entries): Likewise.
15108         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
15109         variable.
15110         (test-xfail-XPG3/time.h/linknamespace): Likewise.
15111         (test-xfail-XPG4/time.h/linknamespace): Likewise.
15113 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
15115         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
15116         format for long int variable.
15118 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
15120         [BZ #10672]
15121         * manual/search.texi: (Array Sort Function): Remove claim how to make
15122         qsort stable.
15124 2014-12-10  Andreas Schwab  <schwab@suse.de>
15126         [BZ #12847]
15127         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
15128         user-controlled locks.
15130 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
15132         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
15133         register.
15135 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
15137         * configure.ac (--disable-werror): New configure option.
15138         (enable_werror): New AC_SUBST.
15139         * configure: Regenerated.
15140         * config.make.in (enable-werror): New variable.
15141         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
15142         -Wno-error=undef.
15143         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
15144         * manual/install.texi (Configuring and compiling): Document
15145         --disable-werror.
15146         * INSTALL: Regenerated.
15147         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
15148         (CFLAGS-tst-chk2.c): Likewise.
15149         (CFLAGS-tst-chk3.c): Likewise.
15150         (CFLAGS-tst-chk4.cc): Likewise.
15151         (CFLAGS-tst-chk5.cc): Likewise.
15152         (CFLAGS-tst-chk6.cc): Likewise.
15153         (CFLAGS-tst-lfschk1.c): Likewise.
15154         (CFLAGS-tst-lfschk2.c): Likewise.
15155         (CFLAGS-tst-lfschk3.c): Likewise.
15156         (CFLAGS-tst-lfschk4.cc): Likewise.
15157         (CFLAGS-tst-lfschk5.cc): Likewise.
15158         (CFLAGS-tst-lfschk6.cc): Likewise.
15160         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
15161         (main): Disable -Wdeprecated-declarations around calls to
15162         register_printf_function.
15164         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
15165         (do_test): Disable -Wdiv-by-zero around some calls to
15166         fwrite_unlocked and fread_unlocked.
15168         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
15169         (DIAG_POP_NEEDS_COMMENT): Likewise.
15170         (_DIAG_STR1): Likewise.
15171         (_DIAG_STR): Likewise.
15172         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
15173         * stdio-common/bug21.c: Include <libc-internal.h>.
15174         (do_test): Disable -Wformat around call to sscanf.
15175         * stdio-common/scanf14.c: Include <libc-internal.h>.
15176         (main): Disable -Wformat around some calls to scanf functions.
15178 2014-12-09  Torvald Riegel  <triegel@redhat.com>
15180         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
15182 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15184         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
15185         stack variable alignment.
15187 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
15189         [BZ #17682]
15190         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
15191         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
15192         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
15193         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
15194         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
15195         __getrlimit instead of getrlimit.
15196         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
15197         __gettimeofday instead of gettimeofday.
15198         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
15199         Likewise.
15200         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
15201         Likewise.
15202         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
15203         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
15204         Remove variable.
15205         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
15206         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
15208 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15210         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
15211         for wide-character tests.
15213 2014-12-04  Roland McGrath  <roland@hack.frob.com>
15215         * io/openat64.c: #include <libc-internal.h>
15216         (__openat64): Prototypify.  Use ignore_value on MODE.
15217         * io/openat.c: Likewise.
15218         * misc/reboot.c: #include <libc-internal.h>
15219         (reboot): Prototypify.  Use ignore_value on HOWTO.
15220         * misc/ptrace.c: #include <libc-internal.h>
15221         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
15223 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
15225         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
15226         XPG4, UNIX98 and XOPEN2K.
15227         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
15228         Remove variable.
15229         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
15231 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15233         * libio/fileops.c: Use ISO C style for function definitions.
15234         * libio/iofopen.c: Likewise.
15235         * libio/wfileops.c: Likewise.
15237         [BZ #17653]
15238         * libio/fileops.c (_IO_new_file_underflow): Unset cached
15239         offset on EOF.
15240         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
15241         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
15242         (fgets_func): Function pointer to fgets and fgetws.
15243         (do_ftell_test): Add test to verify ftell value after read
15244         EOF.
15245         (do_test): Set fgets_func.
15247         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
15248         O_TRUNC flag for w and w+ modes.
15249         (do_rewind_test): Likewise.
15250         (do_ftell_test): Likewise.
15251         (do_write_test): Likewise.
15253         [BZ #17647]
15254         * libio/fileops.c (do_ftell): Seek only when there are
15255         unflushed writes.
15256         * libio/wfileops.c (do_ftell_wide): Likewise.
15257         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
15258         test case.
15259         (do_one_test): Call it.
15261 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
15263         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
15264         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
15265         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
15266         Remove variable.
15267         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
15268         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
15269         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
15271 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
15273         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
15274         Remove variable.
15275         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
15277         [BZ #17668]
15278         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
15279         as weak alias of __getifaddrs.  Use libc_hidden_weak.
15280         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
15281         __freeifaddrs.  Use libc_hidden_weak.
15282         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
15283         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
15284         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
15285         __freeifaddrs.  Use libc_hidden_weak.
15286         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
15287         __getifaddrs and define as weak alias of __getifaddrs.  Use
15288         libc_hidden_weak.
15289         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
15290         __freeifaddrs.  Use libc_hidden_weak.
15291         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
15292         Remove variable.
15293         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
15294         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
15296 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
15298         [BZ #17601]
15299         * sysdeps/mips/start.S (__start): Use indirect jump to call
15300         __libc_start_main.
15302 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
15304         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
15306         * nptl/tst-mutex1.c: Include <stdbool.h>.
15307         [!ATTR] (ATTR_NULL): New macro.
15308         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
15309         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
15310         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
15312         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
15313         to char *.
15315         [BZ #17665]
15316         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
15317         Change conditional to [__USE_MISC].
15319         [BZ #17664]
15320         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
15321         fgets_unlocked.
15322         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
15323         __fgets_unlocked.
15324         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
15325         fgets_unlocked.
15326         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
15327         Remove variable.
15328         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
15329         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
15330         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
15331         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
15332         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
15333         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
15334         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
15335         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
15336         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
15338         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
15340 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15342         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15343         Remove strpbrk objects.
15344         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15345         (__libc_ifunc_impl_list): Remove strpbrk implementation.
15346         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
15347         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
15348         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
15349         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
15351         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15352         Remove strcspn objects.
15353         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15354         (__libc_ifunc_impl_list): Remove strcspn implementation.
15355         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
15356         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
15357         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
15358         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
15360         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15361         Remove strspn objetcs.
15362         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15363         (__libc_ifunc_impl_list): Remove strspn implementation.
15364         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
15365         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
15366         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
15367         * sysdeps/powerpc/powerpc64/strspn.S: New file.
15369 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
15371         [BZ #17581]
15372         * malloc/hooks.c
15373         (mem2mem_check): Add a terminator to the chain of checking blocks.
15374         (malloc_check_get_size): Use it here.
15375         (mem2chunk_check): Ditto.
15377 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15379         * sysdeps/powerpc/powerpc64/strtok.S: New file.
15380         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
15382 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
15384         * bits/ioctl-types.h: Indent preprocessor directives correctly.
15386         * nptl/nptl-init.c: Include libc-internal.h.
15387         (__pthread_initialize_minimal_internal): Use ROUND_UP.
15389         * elf/ldconfig.c (search_dir): Expand comment.
15391 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
15393         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
15394         variable.
15395         (linknamespace-symlist-stdlibs-tests): Likewise.
15396         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
15397         instead of $(objpfx)symlist-stdlibs.
15398         (linknamespace-libs-isoc): New variable.
15399         (linknamespace-libs): Use $(linknamespace-libs-isoc).
15400         (linknamespace-libs-ISO): New variable.
15401         (linknamespace-libs-ISO99): Likewise.
15402         (linknamespace-libs-ISO11): Likewise.
15403         (linknamespace-libs-XPG3): Likewise.
15404         (linknamespace-libs-XPG4): Likewise.
15405         (linknamespace-libs-POSIX): Likewise.
15406         (linknamespace-libs-UNIX98): Likewise.
15407         (linknamespace-libs-XOPEN2K): Likewise.
15408         (linknamespace-libs-POSIX2008): Likewise.
15409         (linknamespace-libs-XOPEN2K8): Likewise.
15410         ($(objpfx)symlist-stdlibs): Replace by
15411         $(linknamespace-symlist-stdlibs-tests).  Use
15412         $(linknamespace-libs-$*) as set of libraries.
15413         ($(linknamespace-header-tests)): Update dependencies.  Use
15414         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
15415         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
15416         * conform/linknamespace.pl: Remove comment about considering
15417         definitions of symbols from irrelevant libraries.
15419 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
15421         [BZ #13862]
15422         * elf/dl-tls.c: Include <atomic.h>.
15423         (oom): Remove #ifdef SHARED/#endif.
15424         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
15425         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
15426         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
15427         big enough.
15428         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
15429         * nptl/Makefile (tests): Add tst-stack4.
15430         (modules-names): Add tst-stack4mod.
15431         ($(objpfx)tst-stack4): New.
15432         (tst-stack4mod.sos): Likewise.
15433         ($(objpfx)tst-stack4.out): Likewise.
15434         ($(tst-stack4mod.sos)): Likewise.
15435         (clean): Likewise.
15436         * nptl/tst-stack4.c: New file.
15437         * nptl/tst-stack4mod.c: Likewise.
15439 2014-11-27  J. Brown  <jb999@gmx.de>
15441         * sysdeps/x86/bits/string.h: Add recent CPUs.
15443 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
15445         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
15446         sigblock.
15448         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
15449         feof.
15451         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
15452         variable.
15454 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
15456         * nscd/connections.c: Include libc-internal.h because of macro
15457         usage ignore_value.
15459 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15461         * string/bits/string3.h (__warn_memset_zero_len): Don't
15462         declare for gcc newer than 5.0.
15463         (memset): Don't test for zero-length __LEN for gcc newer than
15464         5.0.
15466 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
15468         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
15469         size_t for %zu format.
15471         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
15472         difference, not %ju.
15474 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
15476         * include/libc-internal.h (ignore_value): New macro.
15477         * nscd/connections.c (restart): Wrap calls to setuid and setgid
15478         with ignore_value.
15480         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
15481         definition.
15483         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
15484         pthread_cleanup_push to void *.
15486         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
15487         Undefine.
15489         [BZ #16619]
15490         [BZ #16740]
15491         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
15492         instead of 1L << 52.
15494         * libio/bug-rewind.c (do_test): Check fwscanf return values.
15495         * libio/bug-rewind2.c (do_test): Likewise.
15497         * debug/test-stpcpy_chk-ifunc.c: Remove file.
15498         * debug/test-strcpy_chk-ifunc.c: Likewise.
15499         * wcsmbs/test-wcschr-ifunc.c: Likewise.
15500         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
15501         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
15502         * wcsmbs/test-wcslen-ifunc.c: Likewise.
15503         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
15504         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
15505         * Rules [$(multi-arch) = no] (tests): Do not filter out
15506         $(tests-ifunc).
15507         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
15508         * debug/Makefile (tests-ifunc): Remove variable.
15509         (tests): Do not add $(tests-ifunc).
15510         * wcsmbs/Makefile (tests-ifunc): Remove variable.
15511         (tests): Do not add $(tests-ifunc).
15512         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
15513         [TEST_IFUNC]: Remove conditionals.
15514         * string/test-string.h (TEST_IFUNC): Remove macro.
15515         [TEST_IFUNC]: Remove conditionals.
15517         * string/test-strchr.c [!WIDE] (L): New macro.
15518         [WIDE] (L): Likewise.
15519         (check1): Use CHAR instead of char.  Use L on string and character
15520         constants.
15522 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
15524         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
15525         tests.
15526         * sysdeps/powerpc/bits/atomic.h
15527         (__arch_atomic_exchange_and_add_32_acq): Add definition.
15528         (__arch_atomic_exchange_and_add_32_rel): Likewise.
15529         (atomic_exchange_and_add_acq): Likewise.
15530         (atomic_exchange_and_add_rel): Likewise.
15531         * sysdeps/powerpc/powerpc32/bits/atomic.h
15532         (__arch_atomic_exchange_and_add_64_acq): Add definition.
15533         (__arch_atomic_exchange_and_add_64_rel): Likewise.
15534         * sysdeps/powerpc/powerpc64/bits/atomic.h
15535         (__arch_atomic_exchange_and_add_64_acq): Add definition.
15536         (__arch_atomic_exchange_and_add_64_rel): Likewise.
15538 2014-11-26  Torvald Riegel  <triegel@redhat.com>
15540         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
15541         Change synchronization of __sched_fifo_min_prio and
15542         __sched_fifo_max_prio.
15543         * nptl/pthread_mutexattr_getprioceiling.c
15544         (pthread_mutexattr_getprioceiling): Likewise.
15545         * nptl/pthread_mutexattr_setprioceiling.c
15546         (pthread_mutexattr_setprioceiling): Likewise.
15547         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
15548         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
15549         Likewise.
15551 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
15553         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
15554         void.
15556 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
15558         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
15559         third argument const.
15561 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
15563         fnmatch: work around GCC compiler warning bug with uninit var
15564         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
15565         This works around a bug with x86-64 GCC 4.9.2 and earlier
15566         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
15567         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
15568         used uninitialized in this function [-Wmaybe-uninitialized]".
15570 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
15572         * posix/bug-regex31.c (main): Return RES not 0.
15574 2014-11-25  Anton Blanchard <anton@samba.org>
15576         * sysdeps/powerpc/bits/atomic.h
15577         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
15579 2014-11-24  Sterling Augustine  <saugustine@google.com>
15581         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
15583 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
15585         [BZ #17608]
15586         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
15588 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
15590         [BZ #17633]
15591         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
15592         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
15593         variable.
15594         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
15595         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
15597 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
15599         * string/strncpy.c (strncpy): Improve performance by using memset.
15601 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
15603         * string/strcpy.c (strcpy):
15604         Improve performance by using strlen and memcpy.
15606 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
15608         * string/strcoll_l.c (get_next_seq): __always_inline.
15609         * string/strcoll_l.c (do_compare): __always_inline.
15611 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15613         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
15614         defined.
15615         * include/mqueue.h: Likewise.
15616         * include/stdlib.h: Likewise.
15618         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
15619         (get_null_defines): Adjust.
15620         * sunrpc/Makefile: Adjust comment.
15621         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
15622         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
15623         (CFLAGS-interp.c): Likewise.
15624         (CFLAGS-ldconfig.c): Likewise.
15625         (CPPFLAGS-.os): Likewise.
15626         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
15627         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
15628         * extra-modules.mk (extra-modules.mk): Likewise.
15629         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
15630         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
15631         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
15632         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
15633         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
15634         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
15635         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
15636         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
15637         * iconvdata/Makefile (CPPFLAGS): Likewise.
15638         (cpp-srcs-left): Add libof for all iconvdata routines.
15639         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
15640         * include/assert.h: Likewise.
15641         * include/ctype.h: Likewise.
15642         * include/errno.h: Likewise.
15643         * include/libc-symbols.h: Likewise.
15644         * include/math.h: Likewise.
15645         * include/netdb.h: Likewise.
15646         * include/resolv.h: Likewise.
15647         * include/stdio.h: Likewise.
15648         * include/stdlib.h: Likewise.
15649         * include/string.h: Likewise.
15650         * include/sys/stat.h: Likewise.
15651         * include/wctype.h: Likewise.
15652         * intl/l10nflist.c: Likewise.
15653         * libidn/idn-stub.c: Likewise.
15654         * libio/libioP.h: Likewise.
15655         * nptl/libc_multiple_threads.c: Likewise.
15656         * nptl/pthreadP.h: Likewise.
15657         * posix/regex_internal.h: Likewise.
15658         * resolv/res_hconf.c: Likewise.
15659         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
15660         * sysdeps/arm/memmove.S: Likewise.
15661         * sysdeps/arm/sysdep.h: Likewise.
15662         * sysdeps/generic/_itoa.h: Likewise.
15663         * sysdeps/generic/symbol-hacks.h: Likewise.
15664         * sysdeps/gnu/errlist.awk: Likewise.
15665         * sysdeps/gnu/errlist.c: Likewise.
15666         * sysdeps/i386/i586/memcpy.S: Likewise.
15667         * sysdeps/i386/i586/memset.S: Likewise.
15668         * sysdeps/i386/i686/memcpy.S: Likewise.
15669         * sysdeps/i386/i686/memmove.S: Likewise.
15670         * sysdeps/i386/i686/mempcpy.S: Likewise.
15671         * sysdeps/i386/i686/memset.S: Likewise.
15672         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
15673         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15674         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
15675         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
15676         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15677         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15678         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
15679         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15680         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
15681         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15682         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15683         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15684         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15685         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15686         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15687         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15688         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
15689         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
15690         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
15691         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15692         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15693         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15694         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15695         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15696         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15697         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15698         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
15699         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15700         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
15701         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
15702         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15703         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15704         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15705         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15706         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15707         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
15708         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15709         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15710         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15711         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15712         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15713         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15714         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15715         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
15716         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15717         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15718         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
15719         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
15720         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15721         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
15722         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15723         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
15724         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
15725         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15726         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
15727         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
15728         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15729         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
15730         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
15731         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15732         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
15733         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15734         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
15735         * sysdeps/nptl/bits/libc-lock.h: Likewise.
15736         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
15737         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
15738         * sysdeps/posix/closedir.c: Likewise.
15739         * sysdeps/posix/opendir.c: Likewise.
15740         * sysdeps/posix/readdir.c: Likewise.
15741         * sysdeps/posix/rewinddir.c: Likewise.
15742         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
15743         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
15744         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
15745         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15746         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15747         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
15748         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
15749         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
15750         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
15751         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
15752         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
15753         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
15754         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
15755         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
15756         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
15757         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
15758         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
15759         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
15760         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
15761         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
15762         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
15763         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
15764         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
15765         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
15766         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
15767         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
15768         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
15769         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
15770         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
15771         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
15772         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
15773         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
15774         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
15775         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
15776         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
15777         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
15778         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15779         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15780         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
15781         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
15782         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
15783         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
15784         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
15785         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
15786         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
15787         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
15788         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
15789         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
15790         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
15791         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
15792         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
15793         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
15794         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
15795         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
15796         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
15797         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
15798         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
15799         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
15800         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
15801         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
15802         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
15803         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
15804         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
15805         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
15806         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
15807         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
15808         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
15809         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
15810         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
15811         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
15812         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
15813         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
15814         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
15815         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
15816         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
15817         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
15818         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
15819         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
15820         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
15821         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
15822         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
15823         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
15824         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
15825         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
15826         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
15827         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
15828         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
15829         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
15830         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
15831         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15832         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
15833         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
15834         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
15835         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
15836         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15837         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
15838         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
15839         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15840         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
15841         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
15842         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15843         * sysdeps/unix/alpha/sysdep.S: Likewise.
15844         * sysdeps/unix/alpha/sysdep.h: Likewise.
15845         * sysdeps/unix/make-syscalls.sh: Likewise.
15846         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
15847         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
15848         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
15849         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
15850         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
15851         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
15852         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
15853         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
15854         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
15855         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
15856         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
15857         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
15858         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15859         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
15860         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
15861         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
15862         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
15863         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
15864         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
15865         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
15866         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
15867         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
15868         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
15869         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
15870         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
15871         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
15872         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
15873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
15874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
15875         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
15876         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
15877         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
15878         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
15879         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15880         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
15881         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
15882         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
15883         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15884         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
15885         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
15886         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
15887         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
15888         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15889         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
15890         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
15891         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
15892         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15893         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15894         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
15895         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15896         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
15897         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
15898         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
15899         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
15900         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
15901         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
15902         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
15903         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15904         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
15905         * sysdeps/x86_64/memcpy.S: Likewise.
15906         * sysdeps/x86_64/memmove.c: Likewise.
15907         * sysdeps/x86_64/memset.S: Likewise.
15908         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
15909         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15910         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15911         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
15912         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
15913         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15914         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15915         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
15916         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15917         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
15918         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15919         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15920         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
15921         * sysdeps/x86_64/multiarch/memset.S: Likewise.
15922         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15923         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
15924         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
15925         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
15926         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
15927         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
15928         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
15929         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15930         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15931         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
15932         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
15933         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
15934         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
15935         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
15936         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
15937         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
15938         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
15939         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
15940         * sysdeps/x86_64/strcmp.S: Likewise.
15942         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
15944         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
15945         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
15946         * elf/rtld-Rules: Likewise.
15947         * elf/setup-vdso.h: Likewise.
15948         * include/assert.h: Likewise.
15949         * include/bits/stdlib-float.h: Likewise.
15950         * include/errno.h: Likewise.
15951         * include/sys/stat.h: Likewise.
15952         * include/unistd.h: Likewise.
15953         * sysdeps/aarch64/setjmp.S: Likewise.
15954         * sysdeps/alpha/setjmp.S: Likewise.
15955         * sysdeps/arm/__longjmp.S: Likewise.
15956         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
15957         * sysdeps/arm/setjmp.S: Likewise.
15958         * sysdeps/arm/sysdep.h: Likewise.
15959         * sysdeps/generic/_itoa.h: Likewise.
15960         * sysdeps/generic/dl-sysdep.h: Likewise.
15961         * sysdeps/generic/ldsodefs.h: Likewise.
15962         * sysdeps/i386/dl-tls.h: Likewise.
15963         * sysdeps/i386/setjmp.S: Likewise.
15964         * sysdeps/m68k/setjmp.c: Likewise.
15965         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
15966         * sysdeps/mach/hurd/opendir.c: Likewise.
15967         * sysdeps/posix/getcwd.c: Likewise.
15968         * sysdeps/posix/opendir.c: Likewise.
15969         * sysdeps/posix/profil.c: Likewise.
15970         * sysdeps/powerpc/dl-procinfo.h: Likewise.
15971         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
15972         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
15973         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
15974         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
15975         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
15976         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
15977         * sysdeps/s390/dl-tls.h: Likewise.
15978         * sysdeps/s390/s390-32/setjmp.S: Likewise.
15979         * sysdeps/s390/s390-64/setjmp.S: Likewise.
15980         * sysdeps/sh/sh3/setjmp.S: Likewise.
15981         * sysdeps/sh/sh4/setjmp.S: Likewise.
15982         * sysdeps/unix/alpha/sysdep.h: Likewise.
15983         * sysdeps/unix/arm/sysdep.S: Likewise.
15984         * sysdeps/unix/i386/sysdep.S: Likewise.
15985         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
15986         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
15987         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
15988         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
15989         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15990         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
15991         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
15992         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
15993         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
15994         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
15995         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
15996         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
15997         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
15998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16000         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
16001         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16002         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16003         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16004         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16005         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
16006         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16007         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16008         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
16009         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
16010         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
16011         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16012         * sysdeps/unix/x86_64/sysdep.S: Likewise.
16013         * sysdeps/x86_64/setjmp.S: Likewise.
16015         * include/math.h: Use IS_IN instead of IS_IN_libm.
16016         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
16017         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16018         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
16019         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
16020         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16021         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
16022         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
16023         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16024         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16025         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
16026         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
16027         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
16028         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
16029         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
16030         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
16031         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
16032         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
16033         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
16034         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
16035         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
16036         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
16037         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
16038         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
16039         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
16040         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
16041         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
16042         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
16043         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
16044         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
16045         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
16046         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
16047         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16048         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
16049         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
16050         Likewise.
16051         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
16052         Likewise.
16053         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
16054         Likewise.
16055         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
16056         Likewise.
16057         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
16058         Likewise.
16059         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16060         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
16061         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16062         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16063         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16064         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
16066         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
16067         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
16068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
16069         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
16070         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
16071         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
16072         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
16073         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
16074         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
16075         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
16076         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
16077         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
16078         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16079         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
16080         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
16081         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
16082         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
16083         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
16084         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
16085         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
16087         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
16088         * nptl/pthreadP.h: Likewise.
16089         * nptl_db/structs.def: Likewise.
16090         * sysdeps/arm/sysdep.h: Likewise.
16091         * sysdeps/nptl/bits/libc-lock.h: Likewise.
16092         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
16093         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
16094         * sysdeps/unix/alpha/sysdep.h: Likewise.
16095         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
16096         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
16097         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
16098         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
16099         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
16100         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
16101         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16102         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
16103         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
16104         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
16105         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
16106         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
16107         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
16108         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
16109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
16110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
16111         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
16112         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
16113         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
16114         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
16115         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
16116         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
16117         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
16118         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
16119         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
16120         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
16122         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
16123         * nptl/pthreadP.h: Likewise.
16124         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
16125         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
16126         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
16127         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
16128         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
16129         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
16130         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
16131         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
16132         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
16133         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
16134         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
16135         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
16136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
16137         Likewise.
16138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
16139         Likewise.
16140         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
16141         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
16142         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
16143         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
16144         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
16145         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
16146         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
16147         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
16149         * dlfcn/dladdr.c: Use IS_IN.
16150         * dlfcn/dladdr1.c: Likewise.
16151         * dlfcn/dlclose.c: Likewise.
16152         * dlfcn/dlerror.c: Likewise.
16153         * dlfcn/dlinfo.c: Likewise.
16154         * dlfcn/dlmopen.c: Likewise.
16155         * dlfcn/dlopen.c: Likewise.
16156         * dlfcn/dlsym.c: Likewise.
16157         * dlfcn/dlvsym.c: Likewise.
16159         * include/ifaddrs.h: Use IS_IN.
16160         * inet/check_pf.c: Likewise.
16161         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16162         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
16164         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
16165         IS_IN_ldconfig.
16166         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
16167         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
16169         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
16170         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
16171         IS_IN (libc).
16173         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
16175         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
16176         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
16177         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
16178         * include/libc-symbols.h (IS_IN_LIB): New macro.
16179         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
16180         * include/netdb.h: Likewise.
16181         * include/stap-probe.h: Remove all uses of IN_LIB.
16183         * Makeconfig (module-cppflags-real): Define MODULE_NAME
16184         instead of IN_MODULE.
16185         * include/libc-symbols.h (IN_MODULE): Define using
16186         MODULE_NAME.
16187         (PASTE_NAME, PASTE_NAME1): New macros.
16188         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
16189         of IN_LIB.
16190         (STAP_PROBE_ASM): Likewise.
16192 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16194         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
16195         __mach_init in dlopened libc.
16197 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
16199         * sysdeps/arm/preconfigure.ac: Delete EABI check.
16200         * sysdeps/arm/preconfigure: Regenerate.
16202 2014-11-21  Roland McGrath  <roland@hack.frob.com>
16204         * nptl/pthread_create.c (__pthread_create_2_1): Set
16205         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
16206         when copying values from IATTR into PD.
16208 2014-11-21  Will Newton  <will.newton@linaro.org>
16209             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
16211         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
16212         Refactor inline-asm.  Also add comment.
16214         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
16215         ElfW macro instead of hardcoded Elf64 types.
16216         (la_aarch64_gnu_pltenter): Likewise.
16217         * sysdeps/aarch64/dl-machine.h
16218         (elf_machine_runtime_setup): Use ElfW(Addr).
16220         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
16221         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
16222         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
16223         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
16224         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
16225         (R_AARCH64_TLS_DTPMOD64): Rename to ..
16226         (R_AARCH64_TLS_DTPMOD): This.
16227         (R_AARCH64_TLS_DTPREL64): Rename to ...
16228         (R_AARCH64_TLS_DTPREL): This.
16229         (R_AARCH64_TLS_TPREL64): Rename to ...
16230         (R_AARCH64_TLS_TPREL): This.
16231         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
16232         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
16233         R_AARCH64_TLS_TPREL64.
16234         (elf_machine_rela): Likewise.
16236 2014-11-21  Torvald Riegel  <triegel@redhat.com>
16238         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
16239         by setting it to 0.  64b atomics are not supported currently.
16241 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
16243         [BZ #16469]
16244         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
16245         search domain names.
16247 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
16249         [BZ #16469]
16250         * NEWS: Update.
16251         * resolv/res_query.c (__libc_res_nquerydomain): Retain
16252         trailing dot.
16253         * posix/tst-getaddrinfo5.c: New.
16254         * posix/Makefile (tests): Add it.
16256 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
16258         [BZ #14498]
16259         * NEWS: Fixed.
16260         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
16261         after parsing line but before break_if_match.
16262         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
16263         if there is a protocol mismatch.
16265 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
16267         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
16268         because the potential race is on the user-supplied stream.
16270 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
16272         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
16273         string literal if not passed a buffer.
16274         * manual/job.texi (ctermid): Update reasoning, note deviation
16275         from posix, suggest mtasurace when not passed a buffer, for
16276         future non-preliminary safety notes.
16278 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
16280         * manual/users.texi (cuserid): Fix MT-Safety note for the case
16281         of not passing it a buffer.
16282         Reported by Peng Haitao.
16284 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
16286         * manual/Makefile ($(objpfx)stamp-summary): Require
16287         check-safety.sh to pass.
16288         * manual/check-safety.sh: Wish for verification that every
16289         @deftypefn and @deftypefun is followed by a @safety remark.
16291 2014-11-20  Roland McGrath  <roland@hack.frob.com>
16293         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
16295         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
16296         PTHREAD_CANCEL_ASYNCHRONOUS.
16297         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
16298         send SIGCANCEL.
16300         * nptl/default-sched.h: New file.
16301         * sysdeps/unix/sysv/linux/default-sched.h: New file.
16302         * nptl/pthread_create.c: Include it.
16303         (__pthread_create_2_1): Use collect_default_sched instead of making
16304         Linux syscalls here directly.
16306 2014-11-20  Torvald Riegel  <triegel@redhat.com>
16308         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
16309         __pthread_once): Use C11 atomics.
16311 2014-11-20  Torvald Riegel  <triegel@redhat.com>
16313         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
16315 2014-11-20  Torvald Riegel  <triegel@redhat.com>
16317         * include/atomic.h (__atomic_link_error, __atomic_check_size,
16318         atomic_thread_fence_acquire, atomic_thread_fence_release,
16319         atomic_thread_fence_seq_cst, atomic_load_relaxed,
16320         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
16321         atomic_compare_exchange_weak_relaxed,
16322         atomic_compare_exchange_weak_acquire,
16323         atomic_compare_exchange_weak_release,
16324         atomic_exchange_acquire, atomic_exchange_release,
16325         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
16326         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
16327         atomic_fetch_and_acquire,
16328         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
16330 2014-11-20  Torvald Riegel  <triegel@redhat.com>
16332         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
16333         USE_ATOMIC_COMPILER_BUILTINS): Define.
16334         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
16335         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16336         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
16337         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16338         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
16339         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16340         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
16341         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16342         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
16343         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16344         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
16345         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16346         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
16347         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16348         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
16349         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16350         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
16351         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16352         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
16353         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16354         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
16355         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16356         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
16357         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16358         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
16359         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16360         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
16361         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16362         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
16363         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16364         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
16365         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16366         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
16367         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16368         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
16369         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16370         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
16371         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16372         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
16373         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16375 2014-11-19  Roland McGrath  <roland@hack.frob.com>
16377         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
16378         the sched_priority value here.  It was already checked when the user
16379         called pthread_attr_setschedparam.
16381         * nptl/tst-bad-schedattr.c: New file.
16382         * nptl/Makefile (tests): Add it.
16384 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
16385             Florian Weimer  <fweimer@redhat.com>
16386             Joseph Myers  <joseph@codesourcery.com>
16387             Adam Conrad  <adconrad@0c3.net>
16388             Andreas Schwab  <schwab@suse.de>
16389             Brooks  <bmoses@google.com>
16391         [BZ #17625]
16392         * wordexp-test.c (__dso_handle): Add prototype.
16393         (__register_atfork): Likewise.
16394         (__app_register_atfork): New function.
16395         (registered_forks): New global.
16396         (register_fork): New function.
16397         (test_case): Add 3 new tests for WRDE_CMDSUB.
16398         (main): Call __app_register_atfork.
16399         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
16400         fork count is non-zero fail the test.
16401         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
16402         is set.
16403         (parse_dollars): Remove check for WRDE_NOCMD.
16404         (parse_dquote): Likewise.
16406 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16408         * Makeconfig (built-modules): List non-library modules to be
16409         built.
16410         (module-cppflags): Include libc-modules.h for
16411         everything except shlib-versions.v.i.
16412         (CPPFLAGS): Use it.
16413         (before-compile): Add libc-modules.h.
16414         ($(common-objpfx)libc-modules.h,
16415         $(common-objpfx)libc-modules.stmp): New targets.
16416         (common-generated): Add libc-modules.h and libc-modules.stmp.
16417         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
16418         * include/libc-symbols.h: Don't include libc-modules.h.
16419         * include/libc-modules.h: Remove file.
16420         * scripts/gen-libc-modules.awk: New script to generate
16421         libc-modules.h.
16422         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
16423         Depend on libc-modules.stmp.
16425         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
16427         * Makeconfig (in-module): Get value of libof set for the
16428         translation unit.
16429         (CPPFLAGS): Use $(in-module).
16430         * Makerules: Don't suffix routine names for nonlib.
16431         * include/libc-modules.h: New file.
16432         * include/libc-symbols.h: Include libc-modules.h
16433         (IS_IN): New macro to replace IS_IN_* macros.
16434         * elf/Makefile: Set libof-* for each routine.
16435         * elf/rtld-Rules: Likewise.
16436         * extra-modules.mk: Likewise.
16437         * iconv/Makefile: Likewise.
16438         * iconvdata/Makefile: Likewise.
16439         * locale/Makefile: Likewise.
16440         * malloc/Makefile: Likewise.
16441         * nss/Makefile: Likewise.
16442         * sysdeps/gnu/Makefile: Likewise.
16443         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
16444         * sysdeps/unix/sysv/linux/Makefile: Likewise.
16445         * sysdeps/s390/s390-64/Makefile: Likewise.
16446         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
16447         CPPFLAGS for nscd instead of nonlib.
16449 2014-11-18  Roland McGrath  <roland@hack.frob.com>
16451         * nptl/createthread.c: New file.
16453         * nptl/createthread.c: Moved ...
16454         * sysdeps/unix/sysv/linux/createthread.c: ... here.
16456         * nptl/createthread.c: Add proper top-line comment.
16457         (do_clone): Folded into ...
16458         (create_thread): ... here.  Take new arguments STOPPED_START and
16459         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
16460         increment __nptl_threads, do event-reporting logic, do
16461         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
16462         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
16463         resource cleanup if sched_setaffinity or sched_setscheduler fails,
16464         just send SIGCANCEL.
16465         * nptl/pthread_create.c: Forward-declare create_thread before
16466         including createthread.c.
16467         (start_thread): Use new macro START_THREAD_DEFN to replace defining
16468         declaration, and new macro START_THREAD_SELF to replace argument.
16469         Remove return statement.
16470         (report_thread_creation): New function.
16471         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
16472         synchronization logic, and __nptl_nthreads increment here, around
16473         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
16474         PD->parent_cancelhandling here, before create_thread.  When
16475         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
16476         __deallocate_stack, and ENOMEM translation here.
16478 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
16480         [BZ #17616]
16481         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
16482         (mptwo): Rename to __mptwo.
16483         (__inv): Use __mptwo instead of mptwo.
16484         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
16485         (mptwo): Rename to __mptwo.
16486         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
16487         of mpone and __mptwo instead of mptwo.
16488         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
16489         instead of mpone.
16490         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16491         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
16492         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
16493         of mpone and __mptwo instead of mptwo.
16494         (__mpranred): Use __mpone instead of mpone.
16495         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
16496         variable.
16497         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
16498         (test-xfail-ISO99/math.h/linknamespace): Likewise.
16499         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
16500         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
16501         (test-xfail-ISO11/math.h/linknamespace): Likewise.
16502         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
16503         (test-xfail-XPG3/math.h/linknamespace): Likewise.
16504         (test-xfail-XPG4/math.h/linknamespace): Likewise.
16505         (test-xfail-POSIX/math.h/linknamespace): Likewise.
16506         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
16507         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
16508         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
16509         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
16510         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
16511         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
16512         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
16513         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
16514         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
16515         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
16517 2014-11-18  Tom de Vries  <tom@codesoucery.com>
16519         * manual/signal.texi (Primitives Interrupted by Signals): In section,
16520         replace BSD Handler xref with BSD Signal Handling.
16522 2014-11-17  Richard Henderson  <rth@redhat.com>
16524         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
16525         (_FP_PACK_RAW_2): Remove.
16526         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
16527         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
16528         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
16529         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
16530         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
16531         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
16532         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
16533         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
16534         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
16535         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
16536         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
16537         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
16538         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
16539         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
16540         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
16541         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
16543 2014-11-14  Roland McGrath  <roland@hack.frob.com>
16545         * signal/signal.h [__USE_MISC]
16546         (struct sigvec): Remove type.
16547         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
16548         (sigvec): Remove declaration.
16549         * sysdeps/posix/sigvec.c: Moved ...
16550         * signal/sigvec.c: ... here, replacing old file.
16551         (struct sigvec): New type, copied from old signal.h definition.
16552         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
16553         (__sigvec): Convert definition to prototype.
16554         (sigvec): Replace weak_alias with compat_symbol.
16555         * signal/Versions (libc: GLIBC_2.21): New version set.
16556         * include/signal.h: Remove __sigvec declaration.
16557         * sysdeps/unix/bsd/sigvec.c: Remove file.
16558         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
16559         * manual/signal.texi (BSD Handler): Remove subsection.
16560         Move siginterrupt up to ...
16561         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
16562         (Blocking in BSD): Fold subsection into its parent.
16563         * NEWS: Mention sigvec removal.
16565 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
16567         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
16568         (DLA_FMS): Make definition conditional only on [__FMA4__].
16569         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
16570         definition.
16572         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
16573         Make definition conditional only on [PROF].
16574         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
16575         definition.
16576         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
16577         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
16579         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
16580         !__GNUC__].
16581         * include/signal.h (__sigpause): Move declaration above call to
16582         libc_hidden_proto.
16583         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
16584         variable.
16585         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
16586         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
16588 2014-11-14  David S. Miller  <davem@davemloft.net>
16590         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
16591         Define before including <string/memcpy.c> and <string/mempcpy.c>.
16593 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
16595         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
16596         * configure: Regenerated.
16597         * manual/install.texi (Tools for Compilation): Document a
16598         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
16599         compiler verified to work.
16600         * INSTALL: Regenerated.
16602         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
16603         redeclare with asm name.
16604         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
16605         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
16606         including <string.h>.
16607         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
16608         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
16609         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
16610         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
16611         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
16612         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
16613         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
16615 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
16617         * stdlib/strtol.c (__strtol): Use prototype definition.
16619         [BZ #17594]
16620         * stdlib/strtol.c (SYM__): New macro.
16621         (SYM__1): Likewise.
16622         (__strtol): Likewise.
16623         (strtol): Rename to __strtol and define as weak alias of
16624         __strtol.  Use libc_hidden_weak.
16626 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16628         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
16629         Use numbered labels in inline assembly.
16631 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16633         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
16634         Add setjmp LIBC_PROBE.
16635         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
16636         Likewise.
16637         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
16638         Add longjmp, longjmp_target LIBC_PROBE.
16639         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
16640         Likewise.
16642 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16644         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16645         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
16646         to get rid of unused variable warning.
16648 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16650         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
16651         Check for unwind_backtrace ==  NULL only in SHARED case.
16652         (__backchain_backtrace): Compile only in SHARED case.
16653         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
16654         Likewise.
16655         (__backchain_backtrace): Declare as static.
16657 2014-11-12  Roland McGrath  <roland@hack.frob.com>
16659         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
16660         (__libc_multiple_threads_ptr): Variable moved ...
16661         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
16663 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
16665         * conform/GlibcConform.pm: New file.
16666         * conform/conformtest.pl: Use GlibcConform module.
16667         * conform/linknamespace.pl: New file.
16668         * conform/list-header-symbols.pl: Likewise.
16669         * conform/Makefile (linknamespace-symlists-base): New variable.
16670         (linknamespace-symlists-tests): Likewise.
16671         (linknamespace-header-base): Likewise.
16672         (linknamespace-header-tests): Likewise.
16673         (tests-special): Add new tests.
16674         ($(linknamespace-symlists-tests)): New rule.
16675         (linknamespace-libs): New variable.
16676         ($(objpfx)symlist-stdlibs): New rule.
16677         ($(linknamespace-header-tests)): Likewise.
16678         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
16679         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
16680         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
16681         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
16682         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
16683         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
16684         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
16685         (test-xfail-ISO/math.h/linknamespace): Likewise.
16686         (test-xfail-ISO/signal.h/linknamespace): Likewise.
16687         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
16688         (test-xfail-ISO/time.h/linknamespace): Likewise.
16689         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
16690         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
16691         (test-xfail-ISO99/math.h/linknamespace): Likewise.
16692         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
16693         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
16694         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
16695         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
16696         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
16697         (test-xfail-ISO11/math.h/linknamespace): Likewise.
16698         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
16699         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
16700         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
16701         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
16702         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
16703         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
16704         (test-xfail-XPG3/math.h/linknamespace): Likewise.
16705         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
16706         (test-xfail-XPG3/search.h/linknamespace): Likewise.
16707         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
16708         (test-xfail-XPG3/time.h/linknamespace): Likewise.
16709         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
16710         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
16711         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
16712         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
16713         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
16714         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
16715         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
16716         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
16717         (test-xfail-XPG4/math.h/linknamespace): Likewise.
16718         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
16719         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
16720         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
16721         (test-xfail-XPG4/search.h/linknamespace): Likewise.
16722         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
16723         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
16724         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
16725         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
16726         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
16727         (test-xfail-XPG4/time.h/linknamespace): Likewise.
16728         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
16729         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
16730         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
16731         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
16732         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
16733         (test-xfail-POSIX/math.h/linknamespace): Likewise.
16734         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
16735         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
16736         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
16737         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
16738         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
16739         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
16740         (test-xfail-POSIX/time.h/linknamespace): Likewise.
16741         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
16742         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
16743         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
16744         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
16745         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
16746         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
16747         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
16748         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
16749         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
16750         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
16751         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
16752         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
16753         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
16754         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
16755         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
16756         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
16757         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
16758         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
16759         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
16760         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
16761         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
16762         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
16763         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
16764         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
16765         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
16766         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
16767         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
16768         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
16769         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
16770         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
16771         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
16772         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
16773         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
16774         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
16775         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
16776         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
16777         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
16778         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
16779         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
16780         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
16781         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
16782         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
16783         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
16784         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
16785         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
16786         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
16787         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
16788         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
16789         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
16790         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
16791         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
16792         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
16793         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
16794         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
16795         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
16796         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
16797         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
16798         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
16799         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
16800         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
16801         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
16802         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
16803         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
16804         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
16805         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
16806         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
16807         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
16808         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
16809         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
16810         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
16811         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
16812         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
16813         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
16814         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
16815         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
16816         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
16817         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
16818         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
16819         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
16820         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
16821         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
16822         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
16823         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
16824         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
16825         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
16826         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
16827         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
16828         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
16829         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
16830         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
16831         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
16832         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
16833         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
16834         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
16835         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
16836         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
16837         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
16838         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
16840         [BZ #17589]
16841         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
16842         of fgets_unlocked.
16844         [BZ #17585]
16845         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
16846         (memmem): Rename to __memmem and define as weak alias of
16847         __memmem.  Use libc_hidden_weak.
16848         (__memmem): Use libc_hidden_def.
16849         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
16850         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
16851         memmem.
16853         [BZ #17582]
16854         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
16855         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
16856         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
16857         and define as weak alias of __fgets_unlocked.  Use
16858         libc_hidden_weak.
16859         (__fgets_unlocked): Use libc_hidden_def.
16860         * include/stdio.h (__fgets_unlocked): Declare.  Use
16861         libc_hidden_proto.
16862         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
16863         __fgets_unlocked instead of fgets_unlocked.
16864         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
16865         (GET_NPROCS_CONF_PARSER): Likewise.
16866         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
16867         (GET_NPROCS_CONF_PARSER): Likewise.
16869         [BZ #17574]
16870         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
16871         weak alias of __wmemset.  Use libc_hidden_weak.
16872         (__wmemset): Use libc_hidden_def.
16873         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
16874         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
16875         of wmemset.
16877         [BZ #17573]
16878         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
16879         with asm name __mempcpy.
16880         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
16882         [BZ #17572]
16883         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
16884         and define as weak alias of __rawmemchr.
16885         (__rawmemchr): Do not define as strong alias of rawmemchr.
16887         [BZ #17571]
16888         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
16889         alias of __qsort_r.
16890         (qsort): Call __qsort_r instead of qsort_r.
16891         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
16892         (__qsort_r): Declare.  Call libc_hidden_proto.
16893         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
16894         instead of qsort_r.
16895         * nscd/gai.c (__qsort_r): Define to qsort_r.
16896         * posix/tst-rfc3484.c (__qsort_r): Likewise.
16897         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
16898         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
16900         [BZ #17570]
16901         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
16902         define as weak alias of __malloc_info.
16904         [BZ #17584]
16905         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
16906         as weak alias of __rewinddir.  Don't use libc_hidden_def.
16907         (__rewinddir): Use libc_hidden_def.
16908         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
16909         as weak alias of __rewinddir.  Don't use libc_hidden_def.
16910         (__rewinddir): Use libc_hidden_def.
16911         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
16912         weak alias of __rewinddir.  Don't use libc_hidden_def.
16913         (__rewinddir): Use libc_hidden_def.
16914         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
16915         (__rewinddir): Use libc_hidden_proto.
16916         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
16917         rewinddir.
16918         (__getcwd): Use __rewinddir instead of rewinddir.
16920         [BZ #17583]
16921         * libio/fileno.c (fileno): Rename to __fileno and define as weak
16922         alias of __fileno.  Use libc_hidden_weak.
16923         (__fileno): Use libc_hidden_def.
16924         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
16925         * libio/ftello.c (ftello): Rename to __ftello and define as weak
16926         alias of __ftello.
16927         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
16928         __ftello.
16929         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
16930         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
16931         libc_hidden_def.
16932         (fread_unlocked): Don't use libc_hidden_ver.
16933         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
16934         and define as weak alias of __fread_unlocked.  Don't use
16935         libc_hidden_def.
16936         (__fread_unlocked): Use libc_hidden_def.
16937         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
16938         (ftello): Don't use libc_hidden_proto.
16939         (__ftello): Declare.  Use libc_hidden_proto.
16940         (fread_unlocked): Don't use libc_hidden_proto.
16941         (__fread_unlocked): Declare.  Use libc_hidden_proto.
16942         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
16943         and __ftello instead of fileno, fread_unlocked and ftello.
16945 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
16947         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
16948         GOT12.
16949         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
16950         Likewise.
16951         (_dl_start_user): Likewise.
16952         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
16954 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
16955             Siddhesh Poyarekar  <siddhesh@redhat.com>
16957         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
16958         Move argv and envp down instead of moving argc up.
16959         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
16961 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
16963         [BZ #17506]
16964         * test-skeleton.c (main): Return successful if one of
16965         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
16966         * string/tst-strcoll-overflow.c: Define expected status.
16968 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
16970         [BZ #17475]
16971         * locale/iso-639.def: Define Bhili and Tulu language codes.
16973 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
16975         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
16977 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
16979         [BZ #17555]
16980         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
16982 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
16984         * configure.ac: Updated check of minimal required version to
16985         2.22.
16986         * manual/install.texi (Tools for Compilation): Updated version
16987         number.
16988         * configure: Regenerated.
16989         * INSTALL: Likewise.
16991 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
16993         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
16994         __tls_get_addr.
16996 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
16998         * include/sys/wait.h (__libc_waitpid): Remove declaration.
16999         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
17000         (__waitpid): Don't define as alias.  Use libc_hidden_def not
17001         libc_hidden_weak.
17002         (waitpid): Define as alias of __waitpid.
17003         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
17004         __waitpid.
17005         (__waitpid): Don't define as alias.  Use libc_hidden_def not
17006         libc_hidden_weak.
17007         (waitpid): Define as alias of __waitpid.
17008         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
17009         __libc_waitpid alias.
17010         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
17011         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
17012         Likewise.
17013         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
17014         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
17015         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
17016         alias.
17017         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
17018         __waitpid.
17019         (__waitpid): Don't define as alias.  Use libc_hidden_def not
17020         libc_hidden_weak.
17021         (waitpid): Define as alias of __waitpid.
17023 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
17025         * manual/llio.texi: Add comment that write safety has been
17026         fixed in Linux.
17028         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
17029         (localplt-build-dso): Add elf/ld.so.
17030         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
17031         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
17032         and free for ld.so.
17033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
17034         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
17035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
17036         Likewise.
17037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
17038         Likewise.
17039         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
17040         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
17041         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
17042         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
17043         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
17044         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
17045         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
17046         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
17047         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
17048         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
17049         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
17051 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
17053         [BZ #14132]
17054         * include/libc-symbols.h (INTUSE): Remove macro.
17055         (INTDEF): Likewise.
17056         (INTVARDEF): Likewise.
17057         (_INTVARDEF): Likewise.
17058         (INTDEF2): Likewise.
17059         (INTVARDEF2): Likewise.
17060         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
17061         rtld_hidden_def instead of INTVARDEF.
17062         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
17063         (_dl_starting_up_internal): Remove declaration.
17064         (_dl_starting_up): Use rtld_hidden_proto.
17065         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
17066         declaration.
17067         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
17068         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
17069         _dl_starting_up.
17070         * elf/dl-writev.h (_dl_writev): Likewise.
17071         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
17072         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
17073         _dl_starting_up_internal.
17075 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17077         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
17078         test-skeleton.c.
17080 2014-11-05  Will Newton  <will.newton@linaro.org>
17082         * benchtests/Makefile: (bench-malloc): Add malloc thread
17083         scalability benchmark.
17084         * benchtests/bench-malloc-threads.c: New file.
17086 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
17088         * sysdeps/aarch64/strchrnul.S: New file.
17090 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17092         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
17093         definition.
17094         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
17095         Likwise.
17096         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
17097         Likewise.
17098         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
17099         Likewise.
17100         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
17101         Likewise.
17102         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
17103         Likewise.
17105 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
17107         * catgets/test-gencat.c: Use test-skeleton.c.
17108         * catgets/tst-catgets.c: Likewise.
17109         * csu/tst-empty.c: Likewise.
17110         * elf/tst-audit2.c: Likewise.
17111         * elf/tst-global1.c: Likewise.
17112         * elf/tst-pathopt.c: Likewise.
17113         * elf/tst-piemod1.c: Likewise.
17114         * elf/tst-tls10.c: Likewise.
17115         * elf/tst-tls11.c: Likewise.
17116         * elf/tst-tls12.c: Likewise.
17117         * gnulib/tst-gcc.c: Likewise.
17118         * iconvdata/tst-e2big.c: Likewise.
17119         * iconvdata/tst-loading.c: Likewise.
17120         * iconv/tst-iconv1.c: Likewise.
17121         * iconv/tst-iconv2.c: Likewise.
17122         * inet/test-inet6_opt.c: Likewise.
17123         * inet/tst-gethnm.c: Likewise.
17124         * inet/tst-network.c: Likewise.
17125         * inet/tst-ntoa.c: Likewise.
17126         * intl/tst-codeset.c: Likewise.
17127         * intl/tst-gettext2.c: Likewise.
17128         * intl/tst-gettext3.c: Likewise.
17129         * intl/tst-ngettext.c: Likewise.
17130         * intl/tst-translit.c: Likewise.
17131         * io/test-stat.c: Likewise.
17132         * libio/test-fmemopen.c: Likewise.
17133         * libio/tst-freopen.c: Likewise.
17134         * libio/tst-sscanf.c: Likewise.
17135         * libio/tst-ungetwc1.c: Likewise.
17136         * libio/tst-ungetwc2.c: Likewise.
17137         * libio/tst-widetext.c: Likewise.
17138         * localedata/tst-ctype.c: Likewise.
17139         * localedata/tst-digits.c: Likewise.
17140         * localedata/tst-leaks.c: Likewise.
17141         * localedata/tst-mbswcs1.c: Likewise.
17142         * localedata/tst-mbswcs2.c: Likewise.
17143         * localedata/tst-mbswcs3.c: Likewise.
17144         * localedata/tst-mbswcs4.c: Likewise.
17145         * localedata/tst-mbswcs5.c: Likewise.
17146         * localedata/tst-setlocale.c: Likewise.
17147         * localedata/tst-trans.c: Likewise.
17148         * localedata/tst-wctype.c: Likewise.
17149         * localedata/tst-xlocale1.c: Likewise.
17150         * login/tst-grantpt.c: Likewise.
17151         * malloc/tst-calloc.c: Likewise.
17152         * malloc/tst-malloc.c: Likewise.
17153         * malloc/tst-mallocstate.c: Likewise.
17154         * malloc/tst-mcheck.c: Likewise.
17155         * malloc/tst-mtrace.c: Likewise.
17156         * malloc/tst-obstack.c: Likewise.
17157         * math/atest-exp2.c: Likewise.
17158         * math/atest-exp.c: Likewise.
17159         * math/atest-sincos.c: Likewise.
17160         * math/test-matherr.c: Likewise.
17161         * math/test-misc.c: Likewise.
17162         * math/test-powl.c: Likewise.
17163         * math/tst-definitions.c: Likewise.
17164         * misc/tst-dirname.c: Likewise.
17165         * misc/tst-efgcvt.c: Likewise.
17166         * misc/tst-fdset.c: Likewise.
17167         * misc/tst-hsearch.c: Likewise.
17168         * misc/tst-mntent2.c: Likewise.
17169         * nptl/tst-sem7.c: Likewise.
17170         * nptl/tst-sem8.c: Likewise.
17171         * nptl/tst-sem9.c: Likewise.
17172         * nss/test-netdb.c: Likewise.
17173         * posix/tst-fnmatch.c: Likewise.
17174         * posix/tst-getlogin.c: Likewise.
17175         * posix/tst-gnuglob.c: Likewise.
17176         * posix/tst-mmap.c: Likewise.
17177         * pwd/tst-getpw.c: Likewise.
17178         * resolv/tst-inet_ntop.c: Likewise.
17179         * rt/tst-timer.c: Likewise.
17180         * stdio-common/test-fseek.c: Likewise.
17181         * stdio-common/test-popen.c: Likewise.
17182         * stdio-common/test-vfprintf.c: Likewise.
17183         * stdio-common/tst-cookie.c: Likewise.
17184         * stdio-common/tst-fileno.c: Likewise.
17185         * stdio-common/tst-gets.c: Likewise.
17186         * stdio-common/tst-obprintf.c: Likewise.
17187         * stdio-common/tst-perror.c: Likewise.
17188         * stdio-common/tst-sprintf2.c: Likewise.
17189         * stdio-common/tst-sprintf3.c: Likewise.
17190         * stdio-common/tst-sprintf.c: Likewise.
17191         * stdio-common/tst-swprintf.c: Likewise.
17192         * stdio-common/tst-tmpnam.c: Likewise.
17193         * stdio-common/tst-unbputc.c: Likewise.
17194         * stdio-common/tst-wc-printf.c: Likewise.
17195         * stdlib/tst-environ.c: Likewise.
17196         * stdlib/tst-fmtmsg.c: Likewise.
17197         * stdlib/tst-limits.c: Likewise.
17198         * stdlib/tst-rand48-2.c: Likewise.
17199         * stdlib/tst-rand48.c: Likewise.
17200         * stdlib/tst-random2.c: Likewise.
17201         * stdlib/tst-random.c: Likewise.
17202         * stdlib/tst-strtol.c: Likewise.
17203         * stdlib/tst-strtoll.c: Likewise.
17204         * stdlib/tst-tls-atexit.c: Likewise.
17205         * stdlib/tst-xpg-basename.c: Likewise.
17206         * string/test-ffs.c: Likewise.
17207         * string/tst-bswap.c: Likewise.
17208         * string/tst-inlcall.c: Likewise.
17209         * string/tst-strtok.c: Likewise.
17210         * string/tst-strxfrm.c: Likewise.
17211         * sysdeps/x86_64/tst-audit10.c: Likewise.
17212         * sysdeps/x86_64/tst-audit3.c: Likewise.
17213         * sysdeps/x86_64/tst-audit4.c: Likewise.
17214         * sysdeps/x86_64/tst-audit5.c: Likewise.
17215         * time/tst-ftime_l.c: Likewise.
17216         * time/tst-getdate.c: Likewise.
17217         * time/tst-mktime3.c: Likewise.
17218         * time/tst-mktime.c: Likewise.
17219         * time/tst-posixtz.c: Likewise.
17220         * time/tst-strptime2.c: Likewise.
17221         * time/tst-strptime3.c: Likewise.
17222         * wcsmbs/tst-btowc.c: Likewise.
17223         * wcsmbs/tst-mbrtowc.c: Likewise.
17224         * wcsmbs/tst-mbsrtowcs.c: Likewise.
17225         * wcsmbs/tst-wchar-h.c: Likewise.
17226         * wcsmbs/tst-wcpncpy.c: Likewise.
17227         * wcsmbs/tst-wcrtomb.c: Likewise.
17228         * wcsmbs/tst-wcsnlen.c: Likewise.
17229         * wcsmbs/tst-wcstof.c: Likewise.
17231 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
17233         [BZ #14132]
17234         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
17235         INTDEF.
17236         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
17237         declaration.
17238         (_dl_mcount): Use rtld_hidden_proto.
17239         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
17240         _dl_mcount.
17241         * elf/rtld.c (_rtld_global_ro): Likewise.
17243         [BZ #14132]
17244         * elf/dl-init.c (_dl_init): Don't use INTDEF.
17245         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
17246         of _dl_init_internal.
17247         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
17248         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
17249         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
17250         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
17251         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
17252         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
17253         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
17254         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
17255         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
17256         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
17257         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
17258         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
17259         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
17260         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
17261         * sysdeps/tile/dl-start.S (_start): Likewise.
17262         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
17263         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
17265         [BZ #14132]
17266         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
17267         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
17268         (rtld_progname): Make macro definition unconditional.
17269         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
17270         INTDEF.
17271         (dlmopen_doit): Do not use INTUSE with _dl_argv.
17272         (dl_main): Likewise.
17273         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
17274         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
17275         instead of _dl_argv_internal.
17276         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
17277         __GI__dl_argv instead of INTUSE(_dl_argv).
17278         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
17279         __GI__dl_argv instead of _dl_argv_internal.
17281         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
17282         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
17283         macro.
17284         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
17285         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
17286         New macro.
17287         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
17288         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
17289         macro.
17290         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
17291         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
17293 2014-11-04  Andreas Schwab  <schwab@suse.de>
17295         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
17297 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17299         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
17300         mtvsrd instruction in binary form.
17302 2014-11-03  Andreas Schwab  <schwab@suse.de>
17304         [BZ #17522]
17305         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
17306         for less than MB_LEN_MAX use a local buffer of that size.
17307         * libio/tst-fputws.c: New file.
17308         * libio/Makefile (tests): Add tst-fputws.
17310 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
17312         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
17313         the size of the fpu_fr.fpu_dregs[] array.
17315 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
17317         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
17318         (__nanosleep): Do not define as alias.
17319         (nanosleep): Define as alias of __nanosleep.
17320         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
17321         __libc_nanosleep name.
17323 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
17325         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
17326         install.texi in comment.
17328 2014-10-31  Torvald Riegel  <triegel@redhat.com>
17330         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
17331         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
17332         ... add here and use lwsync or sync ...
17333         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
17334         ... and add here using lwsync.
17336 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
17338         * elf/dl-machine-reject-phdr.h: New file.
17339         * elf/dl-load.c: #include that.
17340         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
17341         if that returned true.
17343 2014-10-31  Roland McGrath  <roland@hack.frob.com>
17345         [BZ #17496]
17346         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
17347         gen-as-const-headers chunk.  Add a big scare comment after the last
17348         safe place to touch before-compile.
17350 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
17352         * manual/install.texi (Tools for Compilation): Update autoconf
17353         version requirements.
17354         * INSTALL: Regenerated.
17356         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
17357         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
17358         (__libc_pselect): Likewise.
17360         [BZ #14138]
17361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
17362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17366 2014-10-31  Torvald Riegel  <triegel@redhat.com>
17368         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
17369         correct barrier instruction.
17370         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
17371         Likewise.
17372         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
17373         Likewise.
17375 2014-10-30  Roland McGrath  <roland@hack.frob.com>
17377         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
17378         after defining inlines.  Instead, just use parens to defeat macro
17379         expansion of __isctype in its declaration.
17381 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
17383         * include/sys/uio.h (__libc_readv): Remove declaration.
17384         (__libc_writev): Likewise.
17385         * misc/readv.c (__libc_readv): Rename to __readv.
17386         (__readv): Do not define as alias.
17387         (readv): Define as alias of __readv.
17388         * misc/writev.c (__libc_writev): Rename to __writev.
17389         (__writev): Do not define as alias.
17390         (writev): Define as alias of __writev.
17391         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
17392         (__readv): Do not define as alias.
17393         (readv): Define unconditionally as alias of __readv.
17394         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
17395         (__writev): Do not define as alias.
17396         (writev): Define unconditionally as alias of __writev.
17397         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
17398         name.
17399         (writev): Do not define __libc_writev name.
17401 2014-10-30  Roland McGrath  <roland@hack.frob.com>
17403         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
17404         (convert_charseq): New function, broken out of ...
17405         (use_from_charmap): ... here.  Call it.
17406         (use_to_charmap): Use convert_charseq and free instead of duplicating
17407         its code with a variable-length stack struct.
17409 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
17411         * include/fcntl.h (__libc_creat): Remove declaration.
17412         * io/creat.c (__libc_creat): Rename to creat.
17413         (creat): Do not define as alias.
17414         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
17415         of creat instead of __libc_creat.
17416         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
17417         to creat.
17418         (creat): Do not define as alias.
17419         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
17420         __libc_creat.
17421         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
17422         __libc_creat name.
17423         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
17424         Likewise.
17426 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
17428         * manual/llio.texi: Add comments discussing why write() may be
17429         considered MT-unsafe on Linux.
17431 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
17433         * dl-load.c (local_strdup): Remove.
17434         (expand_dynamic_string_token): Use __strdup.
17435         (decompose_rpath): Likewise.
17436         (_dl_map_object): Likewise.
17438 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
17440         [BZ #14132]
17441         * sysdeps/generic/unwind-dw2-fde.c
17442         (__register_frame_info_bases_internal): Do not declare.
17443         (__register_frame_info_table_bases_internal): Likewise.
17444         (__deregister_frame_info_bases_internal): Likewise.
17445         (__register_frame_info_bases): Declare and use hidden_proto before
17446         definition.  Use hidden_def instead of INTDEF.
17447         (__register_frame_info_table_bases): Likewise.
17448         (__deregister_frame_info_bases): Likewise.
17449         (__register_frame_info): Do not use INTUSE.
17450         (__register_frame): Likewise.
17451         (__register_frame_info_table): Likewise.
17452         (__register_frame_table): Likewise.
17453         (__deregister_frame_info): Likewise.
17454         (__deregister_frame): Likewise.
17456 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
17458         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17459         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
17460         not undefine.
17461         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
17462         Likewise.
17463         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
17464         Likewise.
17466 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
17468         [BZ #14138]
17469         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
17470         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
17471         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
17472         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
17473         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
17474         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
17475         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
17476         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
17477         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
17478         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
17479         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
17480         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
17481         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
17482         syscall.
17483         (setfsuid): Likewise.
17484         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
17485         (setfsuid): Likewise.
17486         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
17487         (setfsuid): Likewise.
17488         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
17489         Likewise.
17490         (setfsuid): Likewise.
17491         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
17492         (setfsuid): Likewise.
17493         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
17494         Likewise.
17495         (setfsuid): Likewise.
17497 2014-10-27  Andreas Schwab  <schwab@suse.de>
17499         [BZ #17501]
17500         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
17501         check for Slow_SSE4_2 feature bit.
17502         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
17503         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17504         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
17505         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
17507 2014-10-24  Roland McGrath  <roland@hack.frob.com>
17509         * configure.ac: Validate compiler version with a empirical test of
17510         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
17511         $CC -v output.
17512         * configure: Regenerated.
17514         * inet/htons.c (htons): Prototypify.
17515         * inet/htonl.c (htonl): Likewise.
17517 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
17519         * string/strncat.c (strncat): Improve performance by using strlen.
17521 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
17523         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
17525 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
17527         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
17528         Call libc_fetestexcept_aarch64.
17530 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
17532         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
17533         Call libc_feholdexcept_aarch64.
17535 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
17537         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
17538         Call get_rounding_mode.
17540 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
17542         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
17543         Simplify logic.
17545 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
17547         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
17548         Simplify logic.
17550 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
17552         [BZ #14138]
17553         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
17554         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
17555         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
17556         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
17557         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
17558         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
17559         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
17560         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
17561         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
17562         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
17563         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
17564         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
17565         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
17566         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
17567         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
17568         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
17569         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
17570         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
17571         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
17572         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
17573         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
17574         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
17575         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
17576         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
17577         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
17578         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
17579         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
17580         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
17581         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
17582         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
17583         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
17584         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
17585         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
17586         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
17587         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
17588         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
17589         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
17590         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
17591         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
17592         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
17593         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
17594         syscall.
17595         (geteuid): Likewise.
17596         (getgid): Likewise.
17597         (getuid): Likewise.
17598         (getresgid): Likewise.
17599         (getresuid): Likewise.
17600         (getgroups): Likewise.
17601         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
17602         (geteuid): Likewise.
17603         (getgid): Likewise.
17604         (getuid): Likewise.
17605         (getresgid): Likewise.
17606         (getresuid): Likewise.
17607         (getgroups): Likewise.
17608         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
17609         (geteuid): Likewise.
17610         (getgid): Likewise.
17611         (getuid): Likewise.
17612         (getresgid): Likewise.
17613         (getresuid): Likewise.
17614         (getgroups): Likewise.
17615         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
17616         Likewise.
17617         (geteuid): Likewise.
17618         (getgid): Likewise.
17619         (getuid): Likewise.
17620         (getresgid): Likewise.
17621         (getresuid): Likewise.
17622         (getgroups): Likewise.
17623         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
17624         (geteuid): Likewise.
17625         (getgid): Likewise.
17626         (getuid): Likewise.
17627         (getresgid): Likewise.
17628         (getresuid): Likewise.
17629         (getgroups): Likewise.
17630         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
17631         Likewise.
17632         (geteuid): Likewise.
17633         (getgid): Likewise.
17634         (getuid): Likewise.
17635         (getgroups): Likewise.
17637         [BZ #14138]
17638         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
17639         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
17640         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
17641         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17642         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
17643         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
17644         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
17645         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
17646         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
17647         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
17648         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
17649         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
17650         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
17651         __chown.
17652         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
17653         (lchown): Likewise.
17654         (fchown): Likewise.
17655         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
17656         Likewise.
17657         (lchown): Likewise.
17658         (fchown): Likewise.
17659         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
17660         (lchown): Likewise.
17661         (fchown): Likewise.
17662         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
17663         Likewise.
17664         (lchown): Likewise.
17665         (fchown): Likewise.
17667 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
17669         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
17670         Simplify logic.
17672 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
17674         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
17675         Cleanup logic.
17677 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
17679         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
17680         Remove unused include.
17682 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
17684         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
17685         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
17686         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
17687         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
17689 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
17690             Helge Deller <deller@gmx.de>
17692         [BZ #17508]
17693         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
17694         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
17695         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
17697 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
17699         [BZ #14132]
17700         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
17701         Remove macro definition.
17702         (__ashrdi3_v_glibc20): Likewise.
17703         (__lshrdi3_v_glibc20): Likewise.
17704         (__cmpdi2_v_glibc20): Likewise.
17705         (__ucmpdi2_v_glibc20): Likewise.
17706         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
17707         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
17708         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
17709         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
17710         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
17711         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
17713 2014-10-22  Roland McGrath  <roland@hack.frob.com>
17715         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
17716         old GNU extension [0] syntax.
17717         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
17718         alloca rather than an array member with variable length.
17719         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
17720         * nscd/nscd.c (invalidate_db): New function, broken out of ...
17721         (parse_opt): ... here.  Likewise use alloca there.
17722         Validate the -i argument before checking for rootness.
17723         (send_shutdown): New function, broken out of ...
17724         (parse_opt): ... here.
17726 2014-10-22  Roland McGrath  <roland@hack.frob.com>
17728         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
17729         macro to get at the _rt_local_ro field.
17730         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
17731         ([PIC] case) or _dl_hwcap ([!PIC] case).
17732         * sysdeps/arm/setjmp.S: Likewise.
17734         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
17735         * sysdeps/arm/configure.ac: New check to define it.
17736         * sysdeps/arm/configure: Regenerated.
17737         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
17738         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
17739         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
17740         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
17741         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
17742         Use move/movt pair instead of a load.
17743         (LDST_GLOBAL): Macro removed.
17744         (LDR_GLOBAL): New macro replaces it.
17745         (LDR_HIDDEN): New macro.
17746         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
17747         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
17749         * setjmp/tst-setjmp-static.c: New file.
17750         * setjmp/Makefile (tests): Add it.
17751         (tests-static): New variable.
17753 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
17755         [BZ #17485]
17756         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
17758 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
17760         [BZ #14132]
17761         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
17763 2014-10-21  Roland McGrath  <roland@hack.frob.com>
17765         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
17767 2014-10-20  Roland McGrath  <roland@hack.frob.com>
17769         * io/fts.c (dirent_not_directory): New function.
17770         (fts_build): Call it.
17772 2014-10-20  Roland McGrath  <roland@hack.frob.com>
17774         * nptl/version.c (__nptl_main): Use normal __write rather than
17775         INTERNAL_SYSCALL.
17776         (banner): Update copyright years.
17778         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
17779         gettimeofday.
17780         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
17781         * nptl/pthread_cond_timedwait.c: Likewise.
17782         * nptl/pthread_mutex_timedlock.c: Likewise.
17783         * nptl/sem_timedwait.c: Likewise.
17785         * sysdeps/nptl/bits/libc-lock.h
17786         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
17787         (__libc_lock_init_recursive): Return void, not 0.
17788         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
17789         (__libc_rwlock_init): Likewise.
17790         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
17792 2014-10-20  Torvald Riegel  <triegel@redhat.com>
17794         [BZ #15215]
17795         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
17796         (__pthread_once_slow): ... here.
17797         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
17798         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
17800 2014-10-20  Torvald Riegel  <triegel@redhat.com>
17802         [BZ #15215]
17803         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
17804         __PTHREAD_ONCE_FORK_GEN_INCR): New.
17805         * sysdeps/nptl/fork.c (__libc_fork): Use them.
17806         * nptl/pthread_once.c (__pthread_once): Likewise.
17807         Update comments.
17809 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
17811         [BZ #14138]
17812         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
17813         name.
17814         (writev): Use __libc_writev as strong name.
17815         * sysdeps/unix/sysv/linux/readv.c: Remove file.
17816         * sysdeps/unix/sysv/linux/writev.c: Likewise.
17818 2014-10-17  Roland McGrath  <roland@hack.frob.com>
17820         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
17822         * sysdeps/i386/nptl/tls.h
17823         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
17824         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
17825         New macros.
17826         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
17827         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
17828         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
17829         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
17830         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
17831         Call CHECK_THREAD_SYSINFO instead of doing an assert.
17833         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
17834         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
17835         on [__NR_futex].
17836         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
17837         broken out of ...
17838         (__pthread_mutex_init): ... here.  Call it.
17839         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
17840         Conditionalize PI cases on [__NR_futex].
17841         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
17842         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
17843         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
17845         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
17846         conditional on [SIGSETXID].
17847         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
17848         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
17849         is defined.  Likewise for SIGSETXID.
17850         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
17851         Conditionalize definitions on [SIGSETXID].
17852         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
17853         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
17854         unblocking on [SIGCANCEL].
17856         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
17857         [__NR_set_robust_list].
17859 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
17861         * string/strcoll_l.c (get_next_seq): Fix up formatting.
17862         (do_compare): Likewise.
17864 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
17866         [BZ #15884]
17867         * string/strcoll_l.c: Don't include stdio.h.
17868         (coll_seq): Remove members idxarr and rulearr.
17869         (get_next_seq_cached): Remove function.
17870         (get_next_seq): Likewise.
17871         (get_next_seq_nocache): Rename to get_next_seq.
17872         (do_compare): Remove function.
17873         (do_compare_nocache): Rename to do_compare.
17874         (STRCOLL): Remove weight and rules cache.
17876 2014-10-16  Roland McGrath  <roland@hack.frob.com>
17878         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
17879         * sysdeps/arm/sfp-machine.h: ... to here.
17880         * sysdeps/arm/Implies: Remove arm/soft-fp.
17882 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
17884         * conform/data/sys/utsname.h-data (*_t): Allow.
17885         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
17886         [POSIX] (WEXITED): Do not expect constant.
17887         [POSIX] (WSTOPPED): Likewise.
17888         [POSIX] (WNOHANG): Likewise.
17889         [POSIX] (WNOWAIT): Likewise.
17890         [POSIX] (siginfo_t): Do not expect type or elements.
17891         [POSIX] (pid_t): Do not expect type.
17892         [POSIX] (signal.h): Do not allow header.
17893         [POSIX] (sys/resource.h): Likewise.
17894         [POSIX] (si_*): Do not allow pattern.
17895         [POSIX] (W*): Likewise.
17896         [POSIX] (P_*): Likewise.
17897         [POSIX] (BUS_*): Likewise.
17898         [POSIX] (CLD_*): Likewise.
17899         [POSIX] (FPE_*): Likewise.
17900         [POSIX] (ILL_*): Likewise.
17901         [POSIX] (POLL_*): Likewise.
17902         [POSIX] (SEGV_*): Likewise.
17903         [POSIX] (SI_*): Likewise.
17904         [POSIX] (TRAP_*): Likewise.
17905         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
17906         variable.
17908 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
17910         [BZ #12926]
17911         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
17912         infinite loop when __recvmsg returns 0.
17914 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
17916         * CANCEL-FCT-WAIVE: Remove file.
17917         * CANCEL-FILE-WAIVE: Likewise.
17919         [BZ #14132]
17920         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
17921         instead of INTVARDEF.
17922         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
17923         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
17924         rtld_hidden_data_def instead of INTVARDEF.
17925         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
17926         * elf/dl-deps.c (expand_dst): Likewise.
17927         * elf/dl-load.c (_dl_dst_count): Likewise.
17928         (_dl_dst_substitute): Likewise.
17929         (decompose_rpath): Likewise.
17930         (_dl_init_paths): Likewise.
17931         (open_path): Likewise.
17932         (_dl_map_object): Likewise.
17933         * elf/rtld.c (dl_main): Likewise.
17934         (process_dl_audit): Likewise.
17935         (process_envvars): Likewise.
17936         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
17937         Remove declaration.
17938         (__libc_enable_secure): Use rtld_hidden_proto.
17940 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
17942         * elf/dl-load.c
17943         (add_path): New function broken out of _dl_rtld_di_serinfo.
17944         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
17946 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
17948         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
17949         parentheses around macro arguments.
17950         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
17951         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
17952         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
17953         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
17954         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
17955         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
17956         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
17957         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
17958         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
17959         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
17960         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
17961         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
17962         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
17963         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
17964         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
17965         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
17966         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
17967         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
17968         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
17969         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
17970         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
17971         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
17972         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
17973         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
17974         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
17975         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
17976         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
17977         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
17978         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
17979         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
17980         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
17981         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
17982         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
17983         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
17984         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
17985         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
17986         Likewise.
17987         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
17988         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
17989         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
17990         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
17991         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
17992         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
17993         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
17994         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
17995         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
17996         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
17997         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
17998         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
17999         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
18000         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
18001         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
18002         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
18003         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
18004         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
18005         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
18006         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
18007         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
18008         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
18009         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
18010         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
18011         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
18012         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
18013         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
18014         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
18015         (_FP_FRAC_SRS_1): Likewise.
18016         (_FP_FRAC_CLZ_1): Likewise.
18017         (_FP_MUL_MEAT_1_imm): Likewise.
18018         (_FP_MUL_MEAT_1_wide): Likewise.
18019         (_FP_MUL_MEAT_1_hard): Likewise.
18020         (_FP_SQRT_MEAT_1): Likewise.
18021         (_FP_FRAC_ASSEMBLE_1): Likewise.
18022         (_FP_FRAC_DISASSEMBLE_1): Likewise.
18023         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
18024         (__FP_CLZ_2): Likewise.
18025         (_FP_MUL_MEAT_2_wide): Likewise.
18026         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
18027         (_FP_MUL_MEAT_2_gmp): Likewise.
18028         (_FP_MUL_MEAT_2_120_240_double): Likewise.
18029         (_FP_SQRT_MEAT_2): Likewise.
18030         (_FP_FRAC_ASSEMBLE_2): Likewise.
18031         (_FP_FRAC_DISASSEMBLE_2): Likewise.
18032         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
18033         (_FP_FRAC_CLZ_4): Likewise.
18034         (_FP_MUL_MEAT_4_wide): Likewise.
18035         (_FP_MUL_MEAT_4_gmp): Likewise.
18036         (_FP_SQRT_MEAT_4): Likewise.
18037         (_FP_FRAC_ASSEMBLE_4): Likewise.
18038         (_FP_FRAC_DISASSEMBLE_4): Likewise.
18039         * soft-fp/op-common.h (_FP_CMP): Likewise.
18040         (_FP_CMP_EQ): Likewise.
18041         (_FP_CMP_UNORD): Likewise.
18042         (_FP_TO_INT): Likewise.
18043         (_FP_FROM_INT): Likewise.
18044         [!__FP_CLZ] (__FP_CLZ): Likewise.
18045         (_FP_DIV_HELP_imm): Likewise.
18046         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
18047         Likewise.
18048         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
18049         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
18050         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
18051         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
18052         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
18053         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
18054         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
18055         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
18056         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
18057         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
18058         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
18059         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
18060         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
18061         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
18062         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
18063         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
18064         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
18065         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
18066         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
18067         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
18068         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
18069         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
18070         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
18071         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
18072         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
18073         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
18074         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
18075         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
18076         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
18077         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
18078         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
18079         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
18080         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
18081         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
18082         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
18083         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
18084         (FP_UNPACK_RAW_SP): Likewise.
18085         (FP_PACK_RAW_S): Likewise.
18086         (FP_PACK_RAW_SP): Likewise.
18087         (FP_UNPACK_S): Likewise.
18088         (FP_UNPACK_SP): Likewise.
18089         (FP_UNPACK_SEMIRAW_S): Likewise.
18090         (FP_UNPACK_SEMIRAW_SP): Likewise.
18091         (FP_PACK_S): Likewise.
18092         (FP_PACK_SP): Likewise.
18093         (FP_PACK_SEMIRAW_S): Likewise.
18094         (FP_PACK_SEMIRAW_SP): Likewise.
18095         (_FP_SQRT_MEAT_S): Likewise.
18096         (FP_CMP_S): Likewise.
18097         (FP_CMP_EQ_S): Likewise.
18098         (FP_CMP_UNORD_S): Likewise.
18099         (FP_TO_INT_S): Likewise.
18100         (FP_FROM_INT_S): Likewise.
18102         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
18104         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
18105         (FP_EX_INVALID_IMZ): Likewise.
18106         (FP_EX_INVALID_IMZ_FMA): Likewise.
18107         (FP_EX_INVALID_ISI): Likewise.
18108         (FP_EX_INVALID_ZDZ): Likewise.
18109         (FP_EX_INVALID_IDI): Likewise.
18110         (FP_EX_INVALID_SQRT): Likewise.
18111         (FP_EX_INVALID_CVI): Likewise.
18112         (FP_EX_INVALID_VC): Likewise.
18113         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
18114         "invalid" exceptions.
18115         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
18116         (_FP_ADD_INTERNAL): Likewise.
18117         (_FP_MUL): Likewise.
18118         (_FP_FMA): Likewise.
18119         (_FP_DIV): Likewise.
18120         (_FP_CMP_CHECK_NAN): Likewise.
18121         (_FP_SQRT): Likewise.
18122         (_FP_TO_INT): Likewise.
18123         (FP_EXTEND): Likewise.
18125 2014-10-09  Allan McRae  <allan@archlinux.org>
18127         * po/fr.po: Update French translation from translation project.
18129 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
18131         [BZ #14132]
18132         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
18133         of INTDEF.
18134         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
18135         (__cxa_atexit): Use libc_hidden_proto.
18136         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
18138         [BZ #14132]
18139         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
18140         declaration.
18141         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
18142         [!_ISOMAC] (__iswspace_l_internal): Likewise.
18143         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
18144         [!_ISOMAC] (__iswctype_internal): Likewise.
18145         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
18146         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
18147         alias.
18148         (fcntl): Remove __fcntl_internal alias.
18149         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
18150         __connect_internal alias.
18151         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
18152         Likewise.
18154         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
18155         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
18156         FP_DENORM_ZERO.
18157         (_FP_CHECK_FLUSH_ZERO): New macro.
18158         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
18159         (_FP_CMP): Likewise.
18160         (_FP_CMP_EQ): Likewise.
18161         (_FP_TO_INT): Do not set inexact for subnormal arguments if
18162         FP_DENORM_ZERO.
18163         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
18164         (FP_TRUNC): Likewise.
18166         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
18167         treated as invalid conversion, not as normal exponent.
18169         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
18170         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
18171         (_FP_CMP_EQ): Likewise.
18172         (_FP_CMP_UNORD): Likewise.
18173         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
18174         (FP_CMP_EQ_D): Likewise.
18175         (FP_CMP_UNORD_D): Likewise.
18176         * soft-fp/extended.h (FP_CMP_E): Likewise.
18177         (FP_CMP_EQ_E): Likewise.
18178         (FP_CMP_UNORD_E): Likewise.
18179         * soft-fp/quad.h (FP_CMP_Q): Likewise.
18180         (FP_CMP_EQ_Q): Likewise.
18181         (FP_CMP_UNORD_Q): Likewise.
18182         * soft-fp/single.h (FP_CMP_S): Likewise.
18183         (FP_CMP_EQ_S): Likewise.
18184         (FP_CMP_UNORD_S): Likewise.
18185         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
18186         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
18187         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
18188         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
18189         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
18190         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
18191         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
18192         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
18193         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
18194         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
18195         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
18196         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
18197         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
18198         to FP_CMP_Q.
18199         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
18200         FP_CMP_Q.
18201         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
18202         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
18203         FP_CMP_EQ_Q.
18204         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
18205         FP_CMP_Q.
18206         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
18207         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
18208         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
18209         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
18210         FP_CMP_EQ_Q.
18211         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
18212         FP_CMP_Q.
18213         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
18214         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
18215         FP_CMP_EQ_Q.
18216         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
18217         FP_CMP_Q.
18218         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
18219         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
18220         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
18221         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
18222         FP_CMP_EQ_Q.
18224         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
18225         a subnormal result, set the underflow exception if trapping on
18226         underflow is enabled.
18227         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
18228         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
18229         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
18230         redefine to 0.
18231         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
18232         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
18233         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
18234         * soft-fp/extendxftf2.c (__extendxftf2): Use
18235         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
18237         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
18238         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
18239         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
18240         FP_HANDLE_EXCEPTIONS.
18241         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
18242         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
18243         FP_HANDLE_EXCEPTIONS.
18244         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
18245         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
18246         FP_HANDLE_EXCEPTIONS.
18247         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
18248         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
18249         FP_HANDLE_EXCEPTIONS.
18251 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
18253         [BZ #14132]
18254         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
18255         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
18256         use INTUSE.
18257         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
18258         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
18259         Remove alias.
18260         (__adjtimex): Define using libc_hidden_ver.
18261         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
18262         Remove declaration.
18263         (ntp_gettime): Call __adjtimex directly.
18264         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
18265         Remove declaration.
18266         (ntp_gettimex): Call __adjtimex directly.
18267         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
18268         __adjtimex_internal alias.
18270 2014-10-08  Roland McGrath  <roland@hack.frob.com>
18272         [BZ #17460]
18273         * nscd/nscd.c (more_help): Rewrite list of tables collection
18274         using xstrdup and asprintf.
18276         * nscd/nscd_conf.c: Remove local xstrdup declaration.
18278 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18279             Roland McGrath  <roland@hack.frob.com>
18281         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
18282         (do_lookup_unique): ... local function 'enter' here; update callers.
18284 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
18286         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
18287         compat_symbol calls on [SHARED].
18288         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
18289         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
18290         Remove.
18291         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
18292         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
18293         (oldsetrlimit): Remove.
18294         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
18295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
18296         (lchown): New syscall entry.
18297         (oldsetrlimit): Remove.
18298         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
18299         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
18300         (oldsetrlimit): Remove.
18301         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
18303         [BZ #14138]
18304         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
18305         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
18306         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
18307         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
18308         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
18309         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
18310         (fchown): Likewise.
18311         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
18312         (fchown): Likewise.
18313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
18314         Likewise.
18316 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18318         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
18319         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
18320         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
18321         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
18322         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
18323         Likewise.
18324         (__old_sem_post): Likewise.
18326 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
18328         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
18329         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
18330         HAVE_CLOCK_GETTIME_VSYSCALL macros.
18331         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
18332         Use INLINE_VSYSCALL macro.
18333         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
18334         __vdso_clock_gettime.
18335         * sysdeps/unix/sysv/linux/tile/init-first.c
18336         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
18337         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
18338         __vdso_clock_gettime.
18340         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
18341         to set up frame more cleanly.
18343         * sysdeps/tile/memcmp.c: New file.
18345         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
18347         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
18348         * sysdeps/tile/tilegx/strcasestr.c: New file.
18349         * sysdeps/tile/tilegx/strnlen.c: New file.
18350         * sysdeps/tile/tilegx/strstr.c: New file.
18352         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
18354 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
18356         * nptl/tst-setuid3.c: Write errors to stdout.
18358 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18360         * elf/dl-deps.c
18361         (preload): New functions broken out of _dl_map_object_deps.
18362         (_dl_map_object_deps):  Remove a nested function. Update call sites.
18364 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
18366         [BZ #14138]
18367         * sysdeps/unix/sysv/linux/execve.c: Remove file.
18368         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
18370 2014-10-01  Steve Ellcey  <sellcey@mips.com>
18372         * sysdeps/mips/strcmp.S: New.
18374 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
18376         [BZ #14138]
18377         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
18378         (linkat): Likewise.
18379         (mkdirat): Likewise.
18380         (readlinkat): Likewise.
18381         (renameat): Likewise.
18382         (symlinkat): Likewise.
18383         (unlinkat): Likewise.
18384         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
18385         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
18386         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
18387         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
18388         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
18389         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
18390         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
18392 2014-09-30  Will Newton  <will.newton@linaro.org>
18394         * math/math.h: Define long double math functions if
18395         _LIBC_TEST is defined.
18396         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
18398         * localedata/Makefile: Move assignment to tests-special
18399         into an ifdef testing run-built-tests.
18400         * timezone/Makefile: Likewise.
18402 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
18404         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
18405         with $(BASH) not $(SHELL).
18407 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
18408             Matthew LeGendre  <legendre1@llnl.gov>
18410         [BZ #17411]
18411         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
18412         l_reloc_result.
18414 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18416         * stdio-common/printf_fp.c
18417         (hack_digit): New function, broken out of ...
18418         (__printf_fp): ... local function here.  Update call sites.
18419         hack_digit now takes an additional parameter that is a pointer
18420         to a struct of the referenced locals.  Those locals moved inside
18421         the struct and references updated.
18423 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
18425         * aclocal.m4: Require autoconf 2.69.
18426         * configure: Regenerated.
18427         * sysdeps/aarch64/configure: Likewise.
18428         * sysdeps/alpha/configure: Likewise.
18429         * sysdeps/arm/armv7/configure: Likewise.
18430         * sysdeps/arm/configure: Likewise.
18431         * sysdeps/ia64/configure: Likewise.
18432         * sysdeps/mach/configure: Likewise.
18433         * sysdeps/mips/configure: Likewise.
18434         * sysdeps/s390/configure: Likewise.
18435         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
18436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
18438         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
18439         file.
18440         * sysdeps/ia64/configure.ac: Likewise.
18442 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
18444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
18445         specify symbol version for ld.so.  Do not include entry for
18446         libpthread.
18447         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
18448         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
18449         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
18451         [BZ #14171]
18452         * Makeconfig [$(build-shared) = yes]
18453         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
18454         makefiles.
18455         [$(build-shared) = yes && $(soversions.mk-done) = t]
18456         ($(common-objpfx)gnu/lib-names.h): Remove rule.
18457         [$(build-shared) = yes && $(soversions.mk-done) = t]
18458         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
18459         to Makerules.
18460         [$(build-shared) = yes && $(soversions.mk-done) = t]
18461         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
18462         here.
18463         [$(build-shared) = yes && $(soversions.mk-done) = t]
18464         (common-generated): Don't append gnu/lib-names.h and
18465         gnu/lib-names.stmp here.
18466         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
18467         (lib-names-h-abi): New variable.
18468         [$(build-shared) = yes && $(soversions.mk-done) = t]
18469         (lib-names-stmp-abi): Likewise.
18470         [$(build-shared) = yes && $(soversions.mk-done) = t &&
18471         abi-variants] (before-compile): Append
18472         $(common-objpfx)$(lib-names-h-abi).
18473         [$(build-shared) = yes && $(soversions.mk-done) = t &&
18474         abi-variants] (common-generated): Append gnu/lib-names.h.
18475         [$(build-shared) = yes && $(soversions.mk-done) = t &&
18476         abi-variants] (install-others-nosubdir): Depend on
18477         $(inst_includedir)/$(lib-names-h-abi).
18478         [$(build-shared) = yes && $(soversions.mk-done) = t &&
18479         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
18480         [$(build-shared) = yes && $(soversions.mk-done) = t]
18481         ($(common-objpfx)$(lib-names-h-abi)): New rule.
18482         [$(build-shared) = yes && $(soversions.mk-done) = t]
18483         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
18484         [$(build-shared) = yes && $(soversions.mk-done) = t]
18485         (common-generated): Append $(lib-names-h-abi) and
18486         $(lib-names-stmp-abi).
18487         * scripts/lib-names.awk: Do not handle multi being set.
18488         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
18489         Remove variable.
18490         (abi-lp64_be-ld-soname): Likewise.
18491         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
18492         Likewise.
18493         (abi-hard-ld-soname): Likewise.
18494         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
18495         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
18496         Remove variable.
18497         (abi-o32_hard-ld-soname): Likewise.
18498         (abi-o32_soft_2008-ld-soname): Likewise.
18499         (abi-o32_hard_2008-ld-soname): Likewise.
18500         (abi-n32_soft-ld-soname): Likewise.
18501         (abi-n32_hard-ld-soname): Likewise.
18502         (abi-n32_soft_2008-ld-soname): Likewise.
18503         (abi-n32_hard_2008-ld-soname): Likewise.
18504         (abi-n64_soft-ld-soname): Likewise.
18505         (abi-n64_hard-ld-soname): Likewise.
18506         (abi-n64_soft_2008-ld-soname): Likewise.
18507         (abi-n64_hard_2008-ld-soname): Likewise.
18508         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
18509         Likewise.
18510         (abi-64-v2-ld-soname): Likewise.
18511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
18512         ld.so entries.
18513         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
18514         variable.
18515         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
18516         entry.
18517         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
18518         variable.
18519         (abi-64-ld-soname): Likewise.
18520         (abi-x32-ld-soname): Likewise.
18521         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
18522         entry.
18523         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
18525 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
18527         [BZ #14138]
18528         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
18529         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
18530         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
18531         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
18532         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
18533         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
18534         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
18535         syscall entry for GLIBC_2.2 symbol version.
18536         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
18537         Likewise.
18538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
18539         (setrlimit): Likewise.
18540         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
18541         Likewise.
18543 2014-09-23  Will Newton  <will.newton@linaro.org>
18545         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
18546         _LINUX_ARM_SYSDEP_H include guard too.
18547         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
18548         define.
18550 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
18552         * sysdeps/unix/sysv/linux/eventfd.c:
18553         Make first argument unsigned.
18554         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
18555         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
18557 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
18559         * socket/recvmmsg.c (recvmmsg): Drop const argument.
18560         * socket/sys/socket.h: Likewise
18561         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
18563 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18565         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
18567 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
18569         * time/tst-ftime.c: New test.
18570         * time/Makefile (tests): Add tst-ftime.
18572 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
18574         * soft-fp/extended.h: Fix comment formatting.
18575         * soft-fp/op-1.h: Likewise.
18576         * soft-fp/op-2.h: Likewise.
18577         * soft-fp/op-4.h: Likewise.
18578         * soft-fp/op-8.h: Likewise.
18579         * soft-fp/op-common.h: Likewise.
18580         * soft-fp/soft-fp.h: Likewise.
18582         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
18584 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
18586         [BZ #6652]
18587         * Makeconfig (soversions-default-setname): Remove variable.
18588         ($(common-objpfx)soversions.i): Don't pass default_setname to
18589         soversions.awk.
18590         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
18591         oldest_abi to abi-versions.awk.
18592         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
18593         * config.make.in (oldest-abi): Remove variable.
18594         * configure.ac (--enable-oldest-abi): Remove configure option.
18595         * configure: Regenerated.
18596         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
18597         text.
18598         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
18599         * scripts/soversions.awk: Do not handle default_setname variable.
18600         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
18601         variable.
18602         * sysdeps/mach/hurd/configure: Regenerated.
18603         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
18604         variable.
18605         * sysdeps/unix/sysv/linux/configure: Regenerated.
18607 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18609         * elf/Makefile (CFLAGS-interp.c): Remove.
18610         ($(elf-objpfx)runtime-linker.h): Generate header with linker
18611         path string.
18612         * elf/interp.c: Include generated runtime-linker.h
18614         * Makerules (lib%.so): Don't include $(+interp) in
18615         prerequisites.
18616         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
18617         * dlfcn/eval.c: Remove file.
18619         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
18620         macros.
18622         [BZ #17266]
18623         * misc/sys/cdefs.h: Define __extern_always_inline for clang
18624         4.2 and newer.
18626         [BZ #17370]
18627         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
18629 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18630             Jakub Jelinek  <jakub@redhat.com>
18632         [BZ #17266]
18633         * libio/stdio.h: Check definition of __fortify_function
18634         instead of __extern_always_inline to include bits/stdio2.h.
18635         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
18636         check if __extern_always_inline is defined.
18637         [__USE_MISC || __USE_XOPEN]: Likewise.
18638         [__USE_ISOC99] Likewise.
18639         * misc/sys/cdefs.h (__fortify_function): Define only if
18640         __extern_always_inline is defined.
18641         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
18642         __extern_always_inline and __extern_inline only for g++-4.3
18643         and newer or a compatible gcc.
18645 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
18647         [BZ #17371]
18648         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
18649         last change to handle zero prefix length.
18651 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18653         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
18654         _SC_REGEX_VERSION.
18656         * posix/getconf.c (vars): Add _POSIX_IPV6 and
18657         _POSIX_RAW_SOCKETS.
18659 2014-09-13  Allan McRae  <allan@archlinux.org>
18661         * po/ru.po: Update Russian translation from translation project.
18663 2014-09-12  Roland McGrath  <roland@hack.frob.com>
18665         * locale/programs/locale.c (show_locale_vars): Inline local function
18666         into its sole call site.  Clean up some style nits.
18667         (print_item): New function, broken out of ...
18668         (show_info): ... local function here.  Clean up style nits.
18670         * locale/programs/ld-ctype.c (set_one_default): New function, broken
18671         out of ...
18672         (set_class_defaults): ... local function set_default here.
18673         Define set_default as a macro locally to pass constant parameters.
18674         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
18675         rather than a shared local.
18677         * stdlib/rpmatch.c (try): New function, broken out of ...
18678         (rpmatch): ... local function here.  Also, prototypify definition.
18680 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
18682         * scripts/soversions.awk: Do not handle configuration names.
18683         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
18684         vendor and os variables to soversions.awk.
18685         * configure.ac: Do not modify gnu-* host_os.
18686         * configure: Regenerated
18687         * shlib-versions: Remove first column with configuration names.
18688         * nptl/shlib-versions: Likewise.
18689         * nptl_db/shlib-versions: Likewise.
18690         * sysdeps/hppa/shlib-versions: Likewise.
18691         * sysdeps/m68k/shlib-versions: Likewise.
18692         * sysdeps/mach/hurd/shlib-versions: Likewise.
18693         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
18694         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
18695         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
18696         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
18697         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
18698         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
18699         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
18700         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
18701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
18702         Likewise.
18703         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
18704         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
18705         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
18706         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
18707         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
18708         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
18709         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
18710         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
18712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
18713         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
18714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
18715         Regenerated.
18716         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
18717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
18718         Condition symbol version definitions on [HAVE_ELFV2_ABI].
18720         * shlib-versions: Remove OS-specific entries.  Moved to files in
18721         sysdeps.
18722         * sysdeps/mach/hurd/shlib-versions: New file.
18723         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
18725         * nptl/shlib-versions: Remove architecture-specific entries.
18726         Moved to files in sysdeps.
18727         * shlib-versions: Likewise.
18728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
18729         file.
18730         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
18731         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
18732         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
18733         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
18735         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
18736         (UDP_NO_CHECK6_RX): Likewise.
18738 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18740         * sysdeps/posix/sysconf.c (__sysconf): Spell
18741         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
18743 2014-08-12  Florian Weimer  <fweimer@redhat.com>
18745         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
18746         loading.
18747         * iconv/Versions (__gconv_transliterate): Export for use from
18748         gconv modules.
18749         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
18750         (struct __gconv_trans_data, __gconv_trans_fct,
18751         __gconv_trans_context_fct, __gconv_trans_query_fct,
18752         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
18753         definitions.
18754         (struct __gconv_step_data): Remove __trans member.
18755         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
18756         longer hidden.  Remove unused trans_data argument.
18757         * iconv/gconv_int.h (struct trans_struct): Remove definition.
18758         (__gconv_translit_find): Remove declaration.
18759         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
18760         prototype.
18761         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
18762         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
18763         trans_data argument.  Add hidden definition.
18764         (__gconv_translit_find): Remove.
18765         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
18766         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
18767         * iconv/skeleton.c: Remove transliteration initialization.
18768         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
18769         __gconv_step_data initialization.
18770         * libio/iofwide.c (__libio_translit_): Remove.
18771         (_IO_fwide): Adjust struct __gconv_step_data initialization.
18772         * wcsmbs/btowc.c (__btowc): Likewise.
18773         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
18774         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
18775         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
18776         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
18777         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
18778         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
18779         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
18780         * wcsmbs/wctob.c (wctob): Likewise.
18782 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18784         [BZ #16194]
18785         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
18786         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
18787         register usage.
18788         * sysdeps/x86/Makefile: Adjust.
18790 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18791             Roland McGrath  <roland@hack.frob.com>
18793         * locale/weight.h: Add include guard.
18794         (findidx): Make static rather than auto; take new parameters
18795         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
18796         * locale/weightwc.h: Likewise.
18797         * posix/fnmatch_loop.c
18798         (FCT): Change type of EXTRA from int32_t to wint_t.
18799         Don't include either header inside the function.
18800         Call FINDIDX rather than findidx, and pass new arguments.
18801         #undef FINDIDX at the end of the file.
18802         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
18803         FINDIDX before including fnmatch_loop.c for the non-wide version.
18804         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
18805         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
18806         for the wide version.
18807         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
18808         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
18809         Pass new arguments to findidx.
18810         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
18811         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
18812         Don't #include it inside the function.  Pass new arguments to findidx.
18813         * posix/regex_internal.h
18814         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
18815         (re_string_elem_size_at): Don't #include it inside the function.
18816         Pass new arguments to findidx.
18817         * string/strcoll_l.c: #include WEIGHT_H at top level.
18818         (get_next_seq): Don't #include it inside the function.
18819         Pass new arguments to findidx.
18820         (get_next_seq_nocache): Likewise.
18821         * string/strxfrm_l.c: #include WEIGHT_H at top level.
18822         (STRXFRM): Don't #include it inside the function.
18823         Pass new arguments to findidx.
18825 2014-09-11  Florian Weimer  <fweimer@redhat.com>
18827         [BZ #17344]
18828         * malloc/malloc.c (unlink): Turn asserts into a call to
18829         malloc_printerr.
18831 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
18833         [BZ #17370]
18834         * libio/wfileops (do_ftell_wide): Free OUT.
18836 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
18838         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
18840 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18842         [BZ #17363]
18843         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
18844         group if the current group is empty.
18846 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18848         * benchtests/bench-memset.c (test_main): Add more test from size
18849         from 32 to 512 bytes.
18850         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18851         Add POWER8 memset object.
18852         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18853         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
18854         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
18855         implementation.
18856         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
18857         Likewise.
18858         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
18859         multiarch POWER8 memset optimization.
18860         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
18861         POWER8 memset optimization.
18863         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18864         Remove bzero multiarch objects.
18865         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
18866         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
18867         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
18868         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
18869         Remove define.
18870         [__bzero]: Redefine to specific name.
18871         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
18872         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
18873         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
18874         define.
18875         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18876         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
18878 2014-09-10  Florian Weimer  <fweimer@redhat.com>
18880         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
18881         warnings into errors.
18883         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
18884         __cxa_thread_atexit_impl prototype.
18886 2014-09-09  Steve Ellcey  <sellcey@mips.com>
18888         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
18889         Fix capitalization of error message.
18891 2014-09-09  Steve Ellcey  <sellcey@mips.com>
18893         * sysdeps/mips/preconfigure: Modify ABI tests.
18895 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
18897         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
18899 2014-09-07  Roland McGrath  <roland@hack.frob.com>
18900             Carlos O'Donell  <carlos@systemhalted.org>
18902         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
18903         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
18904         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
18905         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
18906         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
18907         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
18908         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
18909         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
18910         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
18911         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
18912         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
18913         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
18914         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
18915         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
18916         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
18917         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
18918         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
18919         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
18920         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
18921         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
18922         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
18923         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
18924         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
18925         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
18926         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
18927         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
18928         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
18929         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
18930         Deconditionalize the code that was previously under [RESET_PID].
18931         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
18932         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
18933         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
18934         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
18935         include sysdep.h.
18937 2014-09-08  Allan McRae  <allan@archlinux.org>
18939         * version.h (RELEASE): Set to "development".
18940         (VERSION): Set to "2.20.90"
18942 2014-09-07  Allan McRae  <allan@archlinux.org
18944         * version.h (RELEASE): Set to "stable".
18945         (VERSION): Set to "2.20"
18946         * include/features.h (__GLIBC_MINOR__): Set to 20.
18948         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
18949         Liebler.
18951         * po/ko.po: Update Korean translation from translation project.
18953 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
18955         [BZ #17354]
18956         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
18957         macro for handling signed relocations.
18959 2014-09-03  Florian Weimer  <fweimer@redhat.com>
18961         [BZ #17325]
18962         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
18963         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
18964         assert.
18965         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
18966         * iconvdata/ibm935.c (BODY): Likewise.
18967         * iconvdata/ibm937.c (BODY): Likewise.
18968         * iconvdata/ibm939.c (BODY): Likewise.
18969         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
18970         assert.
18971         * iconvdata/Makefile (iconv-test.out): Pass module list to test
18972         script.
18973         * iconvdata/run-iconv-test.sh: New test loop for checking for
18974         decoder crashers.
18976 2014-09-02  Khem Raj  <raj.khem@gmail.com>
18978         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
18979         libm_hidden_ver.
18981 2014-09-01  Allan McRae  <allan@archlinux.org>
18983         * po/eo.po: Update Esperanto translation from translation project.
18985         * po/ca.po: Update Catalan translation from translation project.
18987 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18989         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
18990         __proc_dostop call.
18992 2014-08-27  Mark Wielaard  <mjw@redhat.com>
18994         [BZ #17319]
18995         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
18996         to call set_thread_area instead of hand written asm.
18997         (__NR_set_thread_area): Removed define.
18998         (TLS_FLAG_WRITABLE): Likewise.
18999         (__ASSUME_SET_THREAD_AREA): Remove check.
19000         (TLS_EBX_ARG): Remove define.
19001         (TLS_LOAD_EBX): Likewise.
19003 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19005         Simplify atomicity of socket creation in bind.
19007         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
19008         looking up the name after linking the file.
19010 2014-08-27  Allan McRae  <allan@archlinux.org>
19012         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
19014 2014-08-26  Florian Weimer  <fweimer@redhat.com>
19016         [BZ #17187]
19017         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
19018         trans_compare, open_translit, __gconv_translit_find):
19019         Remove module loading code.
19021 2014-08-26  Allan McRae  <allan@archlinux.org>
19023         * po/vi.po: Update Vietnamese translation from translation project.
19025         * po/uk.po: Update Ukrainian translation from translation project.
19027         * po/fr.po: Update French translation from translation project.
19029         * po/ru.po: Update Russian translation from translation project.
19031         * po/pl.po: Update Polish translation from translation project.
19033         * po/cs.po: Update Czech translation from translation project.
19035         * po/de.po: Update German translation from translation project.
19037         * po/bg.po: Update Bulgarian translation from translation project.
19039         * po/sv.po: Update Sweedish translation from translation project.
19041         * po/nl.po: Update Dutch translation from translation project.
19043         * po/es.po: Update Spanish translation from translation project.
19045 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19047         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
19049         * catgets/Makefile (CPPFLAGS-gencat): Remove.
19050         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
19051         (CPPFLAGS-iconvconfig): Likewise.
19052         * timezone/Makefile (CPPFLAGS-zic): Likewise.
19054         * include/libc-symbols.h: Remove unnecessary check for
19055         NOT_IN_libc.
19056         * nptl/pthreadP.h: Likewise.
19057         * sysdeps/aarch64/setjmp.S: Likewise.
19058         * sysdeps/alpha/setjmp.S: Likewise.
19059         * sysdeps/arm/sysdep.h: Likewise.
19060         * sysdeps/i386/setjmp.S: Likewise.
19061         * sysdeps/m68k/setjmp.c: Likewise.
19062         * sysdeps/posix/getcwd.c: Likewise.
19063         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
19064         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
19065         * sysdeps/s390/s390-32/setjmp.S: Likewise.
19066         * sysdeps/s390/s390-64/setjmp.S: Likewise.
19067         * sysdeps/sh/sh3/setjmp.S: Likewise.
19068         * sysdeps/sh/sh4/setjmp.S: Likewise.
19069         * sysdeps/unix/alpha/sysdep.h: Likewise.
19070         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
19071         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19072         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
19073         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19076         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19077         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19078         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19079         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19080         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19081         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
19082         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19083         * sysdeps/x86_64/setjmp.S: Likewise.
19085 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
19087         [BZ #17263]
19088         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
19089         <stdint.h>.
19090         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
19091         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
19093 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
19095         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
19097         [BZ #17262]
19098         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
19099         and __x86_64__ when disabling x87 inline functions.
19101 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
19103         [BZ #17259]
19104         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
19105         asm statement with __cpuid_count.
19107 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
19109         * configure.ac: Change __ehdr_start code to dereference the struct.
19110         Run readelf on the output to look for relocations.
19111         * configure: Regenerated.
19113 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
19115         [BZ #17261]
19116         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
19117         value to 0.
19118         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
19120 2014-08-12  Roland McGrath  <roland@hack.frob.com>
19122         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
19124 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
19126         [BZ #16892]
19127         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
19128         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
19130 2014-08-12  Sean Anderson  <seanga2@gmail.com>
19132         * malloc/malloc.c: Fix typo in comment.
19134 2014-08-09  Allan McRae  <allan@archlinux.org>
19136         * Regenerate libc.po.
19138 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
19140         * intl/tst-gettext2.sh: Check every lang file for creation.
19142 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
19144         * sysdeps/aarch64/fpu/math_private.h
19145         (libc_feholdsetround_noex_aarch64_ctx): New function.
19147 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
19149         * sysdeps/arm/armv6/strcpy.S (strcpy):
19150         Fix performance issue in misaligned cases.
19152 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19154         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
19155         Move definition from termios.h.
19156         (struct termio): Likewise.
19157         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
19158         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
19159         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
19160         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
19161         Likewise.
19162         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
19163         Move definition to ioctl-types.h
19164         (struct termio): Likewise.
19165         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
19166         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
19167         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
19168         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
19169         Likewise.
19171 2014-08-05  Richard Henderson  <rth@redhat.com>
19173         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
19174         exceptions.
19175         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
19176         Add fraiseexcpt.
19177         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
19178         Use __feraiseexcept.
19179         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
19180         Protect libm symbols with IS_IN_libm.
19182         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
19184 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
19186         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
19188 2014-08-04  Will Newton  <will.newton@linaro.org>
19190         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
19191         file.
19193 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
19195         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
19196         variants for each function.
19198 2014-08-04  Roland McGrath  <roland@hack.frob.com>
19200         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
19201         appended ...
19202         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
19203         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
19204         appended ...
19205         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
19206         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
19207         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
19208         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
19209         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
19210         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
19211         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
19212         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
19213         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
19214         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
19215         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
19216         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
19217         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
19218         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
19219         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
19220         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
19221         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
19222         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
19223         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
19224         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
19225         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
19226         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
19227         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
19228         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
19229         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
19230         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
19231         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
19232         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
19233         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
19234         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
19235         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
19236         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
19237         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
19238         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
19239         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
19240         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
19241         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
19242         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
19243         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
19244         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
19245         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
19246         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
19247         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
19248         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
19249         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
19250         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
19251         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
19252         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
19253         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
19254         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
19255         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
19256         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
19257         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
19258         Update #include.
19259         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
19260         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
19262 2014-08-04  Roland McGrath  <roland@hack.frob.com>
19264         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
19265         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
19266         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
19267         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
19268         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
19269         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
19271 2014-08-04  Roland McGrath  <roland@hack.frob.com>
19273         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
19274         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
19275         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19276         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
19278 2014-08-04  Roland McGrath  <roland@hack.frob.com>
19280         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
19281         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
19282         (__libc_vfork): Define function under this name.
19283         (__vfork): Define as an alias.
19284         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
19285         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
19287 2014-08-04  Roland McGrath  <roland@hack.frob.com>
19289         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
19290         that was previously under [RESET_PID].
19291         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
19293 2014-08-04  Andreas Schwab  <schwab@suse.de>
19295         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
19297 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
19299         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
19300         (main): Likewise.
19302 2014-08-01  Roland McGrath  <roland@hack.frob.com>
19304         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
19306 2014-08-01  Richard Henderon  <rth@redhat.com>
19308         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
19309         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
19310         typo in exact zero test.
19311         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19312         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19313         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19315 2014-08-01  Roland McGrath  <roland@hack.frob.com>
19317         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
19318         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
19319         * sysdeps/arm/sysdep.h: ... here.
19320         [!__ASSEMBLER__]: Include <stdint.h>.
19322 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
19324         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
19325         (HAVE_WCTYPE_H): Likewise.
19326         (HAVE_ISWCTYPE): Likewise.
19327         (ENABLE_NLS): Likewise.
19328         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
19329         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
19331         * posix/regex_internal.c: Check if DEBUG is defined and is
19332         set.
19334         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
19335         (HAVE_MBSRTOWCS): Likewise.
19336         * posix/fnmatch.c: Include string.h unconditionally.
19338 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
19340         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
19341         reversal.
19343 2014-07-31  Roland McGrath  <roland@hack.frob.com>
19345         * sysdeps/generic/safe-fatal.h: New file.
19346         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
19347         * nptl/forward.c: Include it.
19348         (__pthread_unwind): Use __safe_fatal as default action, rather
19349         than a bogus use of INTERNAL_SYSCALL that could never work.
19351         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
19352         * configure.ac (libc_cv_builtin_trap): New test.
19353         * configure: Regenerated.
19354         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
19355         (ABORT_INSTRUCTION): Define using __builtin_trap.
19357         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
19358         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
19359         * sysdeps/nptl/nptl-signals.h: New file.
19360         * nptl/pthreadP.h: Include <nptl-signals.h>.
19362 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
19364         * sysdeps/s390/s390-64/utf16-utf32-z9.c
19365         (ONE_DIRECTION): Define.
19366         * sysdeps/s390/s390-64/utf8-utf16-z9.c
19367         (ONE_DIRECTION): Define.
19368         * sysdeps/s390/s390-64/utf8-utf32-z9.c
19369         (ONE_DIRECTION): Define.
19371 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
19373         * sysdeps/s390/Makefile: Delete file.
19374         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
19375         * sysdeps/s390/__longjmp.c: Delete file.
19376         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
19377         Remove fields __flags and __reserved.
19378         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
19379         and add versioning.
19380         * sysdeps/s390/rtld-__longjmp.c: Delete file.
19381         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
19382         * sysdeps/s390/rtld-setjmp.S: Likewise.
19383         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
19384         * sysdeps/s390/s390-32/__longjmp.c: ... here.
19385         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
19386         * sysdeps/s390/s390-32/setjmp.S: ... here.
19387         Add versioning.
19388         (__sigsetjmp): Remove setting __flags field.
19389         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
19390         * sysdeps/s390/s390-64/__longjmp.c: ... here.
19391         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
19392         * sysdeps/s390/s390-64/setjmp.S: ... here.
19393         Add versioning.
19394         (__sigsetjmp): Remove setting __flags field.
19395         * sysdeps/s390/setjmp.S: Delete file.
19396         * sysdeps/s390/sigjmp.c: Likewise.
19397         * sysdeps/s390/v1-longjmp.c: Likewise.
19398         * sysdeps/s390/v1-setjmp.h: Likewise.
19399         * sysdeps/s390/v1-sigjmp.c: Likewise.
19400         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
19401         Remove v1-longjmp_chk.
19402         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
19403         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
19404         Include debug/longjmp_chk.c and add versioning.
19405         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
19406         Include nptl/pt-longjmp.c and add versioning.
19407         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
19408         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
19409         Include __longjmp.c.
19410         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
19411         Move to ...
19412         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
19413         (__getcontext): Remove setting __flags field.
19414         Add versioning.
19415         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
19416         Don't restore upper high grps.
19417         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
19418         Likewise.
19419         (__swapcontext): Remove setting uc_flags field.
19420         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
19421         Delete file.
19422         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
19423         Include __longjmp.c.
19424         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
19425         Move to ...
19426         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
19427         (__getcontext): Remove setting __flags field.
19428         Add versioning.
19429         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
19430         (__swapcontext): Remove setting uc_flags field.
19431         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
19432         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
19433         Remove fields uc_high_gprs and __reserved.
19434         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
19435         New file with reverted content.
19436         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
19437         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
19438         Regenerated.
19439         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
19440         Regenerated.
19442 2014-07-31  Andreas Schwab  <schwab@suse.de>
19444         * config.h.in (HAVE_IFUNC): Define to 0.
19445         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
19446         definedness.
19448 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
19450         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19451         memmove-avx-unaligned, memcpy-avx-unaligned and
19452         mempcpy-avx-unaligned.
19453         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19454         Add tests for AVX memcpy functions.
19455         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
19456         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
19457         memcpy_chk.
19458         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
19459         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
19460         memmove_chk.
19461         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
19462         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
19463         mempcpy_chk.
19464         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
19465         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
19466         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
19468 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19470         [BZ #17213]
19471         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
19472         powerpc64le.
19474 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
19476         [BZ #16839]
19477         * manual/llio.texi: Add section about open file description locks.
19478         * manual/examples/ofdlocks.c: Example of open file description
19479         lock usage.
19480         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
19481         F_OFD_SETLK, and F_OFD_SETLKW.
19483 2014-07-23  Allan McRae  <allan@archlinux.org>
19485         * po/es.po: Update Spanish translation from translation project.
19487 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
19489         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
19491 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
19493         [BZ #17078]
19494         * sysdeps/arm/dl-machine.h (elf_machine_rela)
19495         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
19496         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
19498 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
19500         [BZ #17088]
19501         * math/fesetenv.c (__fesetenv)
19502         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
19503         * math/feupdateenv.c (__feupdateenv)
19504         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
19506         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
19507         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
19508         (__ASSUME_SOCKETCALL): Do not define.
19510         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
19511         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
19512         (__ASSUME_SOCKETCALL): Do not define.
19513         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
19514         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
19515         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
19516         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
19517         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19518         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
19519         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19520         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19522         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
19523         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
19524         (__ASSUME_SOCKETCALL): Do not define.
19525         (__ASSUME_IPC64): Define unconditionally.
19526         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
19527         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
19528         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
19529         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19530         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
19531         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19532         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
19533         Likewise.
19535         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
19536         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
19537         (__ASSUME_SOCKETCALL): Do not define.
19538         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
19539         (__ASSUME_FUTEX_LOCK_PI): Likewise.
19540         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
19541         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
19542         (__ASSUME_REQUEUE_PI): Define unconditionally.
19543         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
19544         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
19545         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19546         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
19547         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19548         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19550         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
19551         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
19552         (__ASSUME_SOCKETCALL): Do not define.
19553         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
19554         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19555         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19556         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
19557         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19558         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19560         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
19561         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
19562         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
19563         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
19564         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19565         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
19566         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19567         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
19568         (__ASSUME_GETCPU_SYSCALL): Likewise.
19570         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
19571         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
19572         cases for individual architectures.
19573         * sysdeps/gnu/configure: Regenerated.
19574         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
19575         LIBC_SLIBDIR_RTLDDIR.
19576         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
19577         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
19578         LIBC_SLIBDIR_RTLDDIR.
19579         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
19580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
19581         LIBC_SLIBDIR_RTLDDIR.
19582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
19583         Regenerated.
19584         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
19585         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
19586         file.
19587         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
19588         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
19589         file.
19590         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
19591         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
19592         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
19593         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
19595         * sysdeps/aarch64/shlib-versions: Move to ...
19596         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
19597         * sysdeps/alpha/shlib-versions: Move to ...
19598         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
19599         * sysdeps/arm/shlib-versions: Move to ...
19600         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
19601         * sysdeps/hppa/shlib-versions: Move all contents except for
19602         libgcc_s entry to ...
19603         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
19604         entry from ...
19605         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
19606         * sysdeps/ia64/shlib-versions: Move to ...
19607         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
19608         entry from ...
19609         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
19610         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
19611         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
19612         * sysdeps/microblaze/shlib-versions: Move to ...
19613         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
19614         * sysdeps/mips/shlib-versions: Move to ...
19615         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
19616         entry from ...
19617         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
19618         * sysdeps/tile/shlib-versions: Move to ...
19619         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
19620         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
19621         from ...
19622         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
19623         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
19624         entry from ...
19625         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
19627 2014-07-17  Will Newton  <will.newton@linaro.org>
19629         * sysdeps/arm/bits/atomic.h
19630         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
19631         (__arch_compare_and_exchange_bool_16_int): Likewise.
19632         (__arch_compare_and_exchange_bool_64_int): Likewise.
19634         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
19635         into an #else block.
19637 2014-07-16  Roland McGrath  <roland@hack.frob.com>
19639         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
19640         just Linux configurations.  Test empirically that the compiler sets
19641         __ARM_EABI__, rather than using the tuple to decide.
19642         * sysdeps/arm/preconfigure: Regenerated.
19643         * sysdeps/unix/sysv/linux/arm/configure: File removed.
19644         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
19645         contents appended ...
19646         * sysdeps/arm/configure.ac: ... here.
19647         * sysdeps/arm/configure: Regenerated.
19649 2014-07-15  Roland McGrath  <roland@hack.frob.com>
19651         * nptl/pthread_kill.c: New file.
19652         * nptl/pthread_sigmask.c: New file.
19653         * nptl/pthread_sigqueue.c: New file.
19655         * sysdeps/nptl/lowlevellock.h: New file.
19656         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
19657         * sysdeps/nptl/lowlevellock-futex.h: New file.
19659         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
19660         Remove dead declarations.
19662 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
19664         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
19665         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
19666         config-cflags-avx2.
19667         * sysdeps/x86_64/configure.ac: Likewise.
19668         * sysdeps/i386/configure: Regenerated.
19669         * sysdeps/x86_64/configure: Likewise.
19670         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19671         memset-avx2 only if config-cflags-avx2 is yes.
19672         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19673         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
19674         defined.
19675         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
19676         only if HAVE_AVX2_SUPPORT is defined.
19677         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19679 2014-07-14  Alan Modra  <amodra@gmail.com>
19681         [BZ #17153]
19682         * elf/elf.h (DT_PPC64_NUM): Correct value.
19683         * NEWS: Add to fixed bug list.
19685 2014-07-13  Jim Meyering  <meyering@fb.com>
19687         [BZ 17150]
19688         regex: don't deref NULL upon heap allocation failure
19689         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
19690         failure in one more place.
19691         To trigger the segfault, configure grep -with-included-regex,
19692         build it, and run these commands:
19693         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
19695 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
19697         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
19699 2014-07-11  Richard Henderson  <rth@redhat.com>
19701         * sysdeps/aarch64/libm-test-ulps: Update.
19703 2014-07-10  Florian Weimer  <fweimer@redhat.com>
19705         [BZ #17135]
19706         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
19707         * nptl/allocatestack.c (__nptl_setxid_error): New function.
19708         (__nptl_setxid): Initialize error member.  Call
19709         __nptl_setxid_error.
19710         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
19711         * nptl/descr.h (struct xid_command): Add error member.
19712         * nptl/tst-setuid3.c: New file.
19713         * nptl/Makefile (tests): Add it.
19715 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19717         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
19718         New define.
19719         (__lll_trylock): Use __lll_base_trylock.
19720         (__lll_cond_trylock): Likewise.
19722 2014-07-10  Roland McGrath  <roland@hack.frob.com>
19724         * nptl/pthread_create.c (start_thread): Use atomic_or and
19725         lll_futex_wake directly rather than lll_robust_dead.
19726         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
19727         (lll_robust_dead): Macro removed.
19728         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
19729         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
19730         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
19731         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
19732         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
19733         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
19734         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
19735         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
19736         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
19737         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
19738         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
19739         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
19740         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
19741         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
19742         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
19744         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
19745         Use atomic_compare_and_exchange_val_acq directly rather than
19746         lll_robust_trylock.
19747         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
19748         (__lll_robust_trylock, lll_robust_trylock): Removed.
19749         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
19750         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
19751         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
19752         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
19753         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
19754         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
19755         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
19756         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
19757         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
19758         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
19759         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
19760         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
19761         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
19762         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
19764 2014-07-02  Florian Weimer  <fweimer@redhat.com>
19766         * manual/locale.texi (Locale Names): New section documenting
19767         locale name syntax.  Adjust menu and node chaining accordingly.
19768         (Choosing Locale): Reference Locale Names, Locale Categories.
19769         Mention setting LC_ALL=C.  Reflect that name syntax is now
19770         documented.
19771         (Locale Categories): New section title.  Reference Locale Names.
19772         LC_ALL is an environment variable, but not a category.
19773         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
19774         description, now in Locale Name.  Reference that section.  Locale
19775         name syntax is now documented.
19777 2014-07-02  Florian Weimer  <fweimer@redhat.com>
19779         [BZ #17137]
19780         * locale/findlocale.c (name_present, valid_locale_name): New
19781         functions.
19782         (_nl_find_locale): Use the loc_name variable to store name
19783         candidates.  Call name_present and valid_locale_name to check and
19784         validate locale names.  Return an error if the locale is invalid.
19786 2014-07-02  Florian Weimer  <fweimer@redhat.com>
19788         * locale/setlocale.c (setlocale): Use strdup for allocating
19789         composite name copy.
19791 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19793         Sync up with gnulib.
19794         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
19795         [!_LIBC && ENABLE_NLS]: Include gettext.h.
19796         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
19797         and _GL_ARG_NONNULL.
19798         [USE_UNLOCKED_IO]: Include unlocked-io.h.
19799         [!_LIBC]: Include code for Windows and Cygwin.
19800         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
19801         Include prototype for int strerror_r.
19802         [!_LIBC] (is_open): New function.
19803         (flush_stdout): New function.
19804         (print_errno_message): Use it.
19805         (error): Likewise.
19806         (error_at_line): Likewise.
19807         (error_tail) Add function attribute macros.  Use
19808         __builtin_expect.
19810         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
19812         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
19814         * io/ftw.c: Include sys/param.h unconditionally.
19816         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
19818         [BZ #17125]
19819         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
19820         libc_freeres_ptr.
19821         (freecache): New function to free CACHE on exit.
19823         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
19824         initialization.
19826 2014-07-09  David S. Miller  <davem@davemloft.net>
19828         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19830         * sysdeps/sparc/nptl/internaltypes.h: Delete.
19831         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
19832         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
19833         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
19834         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
19835         * sysdeps/sparc/nptl/sem_init.c: Likewise.
19836         * sysdeps/sparc/nptl/sem_post.c: Likewise.
19837         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
19838         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
19839         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
19840         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
19841         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
19842         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
19844 2014-07-09  Andreas Schwab  <schwab@suse.de>
19846         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
19847         output.
19848         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
19849         (do_test): Likewise.
19851         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
19853 2014-07-09  Will Newton  <will.newton@linaro.org>
19855         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
19856         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
19857         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
19858         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
19859         * sysdeps/hppa/start.S (_start): Likewise.
19861 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
19863         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
19865         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
19866         defined.
19868 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
19870         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
19871         after checking that it is non-NULL.
19873         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
19875 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19877         * sysdeps/powerpc/memmove.c: Remove file.
19878         * sysdeps/powerpc/powerpc32/power4/memcopy.h
19879         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
19880         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
19881         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
19882         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
19883         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
19884         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
19885         string memmove instead of removed powerpc one.
19887         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
19888         [weak_alias]: Fix compiler warning due trailing data.
19889         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
19890         [weak_alias]: Likewise.
19891         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
19892         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
19894         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19895         (__libc_ifunc_impl_list): Add memmove functions.
19897 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
19899         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
19900         Remove code.
19901         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
19902         Likewise
19903         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
19904         Likewise
19905         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
19906         Likewise
19907         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
19908         Likewise
19909         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
19910         Likewise
19911         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
19912         Likewise
19913         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
19914         Likewise
19915         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
19916         Likewise
19917         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
19918         Likewise
19919         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
19920         Likewise
19921         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
19922         Likewise
19923         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
19924         Likewise
19925         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
19926         Likewise
19927         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
19928         Likewise
19929         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
19930         Likewise
19931         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
19932         Likewise
19934 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19936         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
19937         to avoid alignment traps in non-cacheable memory.
19938         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
19940         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
19941         multiarch objects.
19942         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
19943         file: multiarch power7 memmove.
19944         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
19945         multiarch default memmove.
19946         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
19947         multiarch memove for powerpc32/power4.
19949         * string/bcopy.c: Use full path to include memmove.c.
19950         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
19951         multiarch objects.
19952         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
19953         bcopy for powerpc64.
19954         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
19955         bcopy for powerpc64.
19956         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
19957         and memmove implementations.
19958         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
19959         optimized multiarch memmove for POWER7/powerpc64.
19960         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
19961         default multiarch memmove for powerpc64.
19962         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
19963         multiarch for powerpc64.
19964         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
19965         for POWER7/powerpc64.
19966         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
19967         memmove for POWER7/powerpc64.
19969         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
19970         glibc default one.
19972         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
19973         __ELF_NATIVE_CLASS equal to 64.
19975 2014-07-07  Roland McGrath  <roland@hack.frob.com>
19977         * sysdeps/nptl/lowlevellock.h: File removed.
19979         * NEWS: NPTL is no longer an add-on!
19980         * nptl/internaltypes.h: Moved ...
19981         * sysdeps/nptl/internaltypes.h: ... here.
19982         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
19983         * sysdeps/nptl/fork.c: Likewise.
19984         * sysdeps/nptl/gai_misc.h: Likewise.
19985         * sysdeps/nptl/librt-cancellation.c: Likewise.
19986         * sysdeps/nptl/jmp-unwind.c: Likewise.
19987         * sysdeps/nptl/setxid.h: Likewise.
19988         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
19989         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
19990         * sysdeps/unix/sysv/linux/arm/Implies: New file.
19991         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
19992         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
19993         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
19994         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
19995         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
19996         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
19997         * sysdeps/unix/sysv/linux/mips/Implies: New file.
19998         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
19999         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
20000         * sysdeps/unix/sysv/linux/sh/Implies: New file.
20001         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
20002         * sysdeps/unix/sysv/linux/tile/Implies: New file.
20003         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
20004         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
20005         * nptl/Makeconfig: Moved ...
20006         * sysdeps/nptl/Makeconfig: ... here.
20007         * nptl/configure: File removed.
20008         * nptl/ANNOUNCE: File removed.
20009         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
20010         * sysdeps/unix/sysv/linux/configure: Regenerated.
20012         * nptl/Makefile (routines): Add libc_pthread_init,
20013         libc_multiple_threads, register-atfork and unregister-atfork.
20014         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
20015         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
20016         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
20017         pthread-pi-defines.sym, structsem.sym.
20018         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
20019         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
20020         [$(subdir) = nptl] (tests): Add tst-setgetname.
20021         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
20022         * sysdeps/unix/sysv/linux/sigaction.c: Just include
20023         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
20024         [!LIBC_SIGACTION]: Remove aliases.
20025         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
20026         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
20027         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
20028         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
20029         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
20030         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
20031         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
20032         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
20033         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
20034         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
20035         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
20036         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
20037         __libc_allocate_rtsig_private.
20038         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
20039         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
20040         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
20041         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
20042         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
20043         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
20044         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
20045         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
20046         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
20047         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
20048         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
20049         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
20050         * nptl/internaltypes.h: ... here.
20051         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
20052         * sysdeps/nptl/jmp-unwind.c: ... here.
20053         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
20054         * nptl/libc-lowlevellock.c: ... here.
20055         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
20056         * nptl/libc_multiple_threads.c: ... here.
20057         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
20058         * nptl/libc_pthread_init.c: ... here.
20059         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
20060         * nptl/lowlevelbarrier.sym: ... here.
20061         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
20062         * nptl/lowlevelcond.sym: ... here.
20063         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
20064         * nptl/lowlevellock.c: ... here.
20065         * nptl/lowlevellock.h: Moved ...
20066         * sysdeps/nptl/lowlevellock.h: ... here.
20067         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
20068         * nptl/lowlevelrobustlock.c: ... here.
20069         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
20070         * nptl/lowlevelrobustlock.sym: ... here.
20071         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
20072         * nptl/lowlevelrwlock.sym: ... here.
20073         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
20074         * nptl/pt-fork.c: ... here.
20075         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
20076         * nptl/pthread-pi-defines.sym: ... here.
20077         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
20078         * nptl/pthread_attr_getaffinity.c: ... here.
20079         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
20080         * nptl/pthread_attr_setaffinity.c: ... here.
20081         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
20082         * nptl/pthread_mutex_cond_lock.c: ... here.
20083         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
20084         Update #include.
20085         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
20086         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
20087         * nptl/pthread_once.c: ... here, replacing old file.
20088         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
20089         * nptl/pthread_yield.c: ... here.
20090         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
20091         * nptl/register-atfork.c: ... here.
20092         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
20093         * nptl/sem_post.c: ... here.
20094         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
20095         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
20096         * nptl/sem_timedwait.c: ... here.
20097         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
20098         * nptl/sem_trywait.c: ... here.
20099         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
20100         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
20101         * nptl/sem_wait.c: ... here.
20102         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
20103         * nptl/structsem.sym: ... here.
20104         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
20105         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
20106         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
20107         * nptl/unregister-atfork.c: ... here.
20108         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
20109         * nptl/unwindbuf.sym: ... here.
20110         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
20111         * sysdeps/nptl/fork.c: ... here.
20112         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
20113         * sysdeps/nptl/fork.h: ... here.
20114         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
20115         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
20116         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
20117         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
20118         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
20119         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
20120         * sysdeps/unix/sysv/linux/getpid.c: ... here.
20121         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
20122         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
20123         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
20124         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
20125         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
20126         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
20127         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
20128         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
20129         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
20130         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
20131         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
20132         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
20133         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
20134         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
20135         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
20136         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
20137         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
20138         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
20139         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
20140         * sysdeps/unix/sysv/linux/raise.c: ... here.
20141         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
20142         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
20143         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
20144         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
20145         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
20146         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
20147         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
20148         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
20149         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
20150         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
20151         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
20152         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
20153         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
20154         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
20155         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
20157 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20159         * sysdeps/generic/memcopy.h: Add comment for
20160         MEMCPY_OK_FOR_FWD_MEMMOVE.
20162 2014-07-04  Will Newton  <will.newton@linaro.org>
20164         * string/memchr.c: Merge from gnulib.
20165         [_LIBC]: Remove conditionals.
20166         (__ptr_t): Remove define.
20167         (LONG_MAX_32_BITS): Likewise.
20168         (LONG_MAX): Likewise.
20169         (MEMCHR): Use ANSI prototype and optimize algorithm.
20171         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
20173 2014-07-03  Roland McGrath  <roland@hack.frob.com>
20175         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
20176         (lll_futex_timed_wait_bitset): Fix syscall argument count.
20178         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
20179         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
20180         in a bare environment with no <stdlib.h> installed.
20181         * sysdeps/nptl/configure: Regenerated.
20183         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
20185         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
20186         AC_EGREP_CPP for kernel header checks, so they only succeed if
20187         including <linux/version.h> actually works right.
20188         * sysdeps/unix/sysv/linux/configure: Regenerated.
20190         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
20191         value so it's not diagnosed as unused.
20193         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
20194         thing) with "ifeq ($(subdir),rt)".
20196 2014-07-03  Richard Henderson  <rth@redhat.com>
20198         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
20199         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
20200         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
20202         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
20203         (math_force_eval): New.
20205         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
20206         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
20208         * sysdeps/alpha/fpu/s_round.c: Remove file.
20209         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
20211         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
20212         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
20213         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
20214         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
20215         (_dl_start, print_statistics): Likewise.
20216         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
20217         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
20219         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20220         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20221         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20222         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20223         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
20224         (HP_SMALL_TIMING_AVAIL): Define.
20225         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20226         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
20227         (HP_SMALL_TIMING_AVAIL): Define.
20228         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20229         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20231         * sysdeps/aarch64/hp-timing.h: New file.
20233         * sysdeps/generic/hp-timing.h: Remove dead comment.
20234         * sysdeps/generic/hp-timing-common.h: New file.
20235         * sysdeps/alpha/hp-timing.h: Include it.
20236         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
20237         * sysdeps/i386/i686/hp-timing.h: Likewise.
20238         * sysdeps/ia64/hp-timing.h: Likewise.
20239         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20240         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20241         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
20242         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
20243         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
20244         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
20245         (hp_timing_t): New.
20247         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
20248         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
20249         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
20250         * elf/rtld.c (_dl_start_final): Likewise.
20251         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
20252         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
20253         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
20254         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
20255         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
20256         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
20257         (HP_TIMING_DIFF_INIT): Remove.
20258         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
20259         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
20260         (HP_TIMING_DIFF_INIT): Remove.
20261         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
20262         * sysdeps/i386/i686/hp-timing.c: Remove file.
20263         * sysdeps/x86_64/hp-timing.c: Remove file.
20264         * sysdeps/ia64/hp-timing.c: Remove file.
20265         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
20266         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
20267         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
20268         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
20270         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
20271         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
20272         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
20273         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
20274         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
20275         (HP_TIMING_ACCUM): Remove.
20276         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
20277         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
20278         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
20280         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
20281         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
20282         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
20283         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
20284         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
20285         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
20286         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
20287         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
20289         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
20291 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
20293         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
20295 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20297         Sync up with gettext.
20298         * intl/loadmsgcat.c: Define O_BINARY if not defined.
20299         [_MSC_VER]: Include malloc.h
20300         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
20301         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
20302         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
20303         TEMP_FAILURE_RETRY.  Cast return of alloca.
20304         [!_LIBC] Call gl_rwlock_init.
20305         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
20307 2014-07-02  Roland McGrath  <roland@hack.frob.com>
20309         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
20310         before checking its value.
20312 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20314         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
20316         * debug/memcpy_chk.c: Don't include pagecopy.h.
20317         * debug/mempcpy_chk.c: Likewise.
20318         * string/memcpy.c: Likewise.
20319         * string/memmove.c: Likewise.
20320         * sysdeps/powerpc/memmove.c: Likewise.
20321         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
20322         definition of PAGE_COPY_FWD_MAYBE here...
20323         * sysdeps/generic/pagecopy.h: ... from here.
20324         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
20326 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20327             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20329         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
20330         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
20331         optimizations.
20332         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20333         (__libc_ifunc_impl_list): Likewise.
20334         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
20335         multiarch strcat for PPC64.
20336         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
20337         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
20339 2014-07-02  Roland McGrath  <roland@hack.frob.com>
20341         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
20343 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20345         * intl/loadmsgcat.c: Remove declaration of
20346         get_sysdep_segment_value.
20347         (get_sysdep_segment_value): Use ISO C style.
20348         (_nl_load_domain): Use ISO C style.  Get rid of redundant
20349         semicolon.  Fix typo and formatting in comment.
20350         (_nl_unload_domain): Use ISO C style.
20352         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
20354 2014-07-02  Will Newton  <will.newton@linaro.org>
20356         * malloc/obstack.c: Merge from gnulib master.
20357         [HAVE_CONFIG_H]: Remove conditional code.
20358         [!_LIBC]: Include config.h.
20359         [!ELIDE_CODE]: Don't include inttypes.h, include
20360         stdint.h unconditionally.
20361         (print_and_abort): Mark as _Noreturn.
20362         (_obstack_allocated_p): Mark as __attribute_pure__.
20363         (obstack_free): Rename to __obstack_free.
20364         [!__attribute__]: Remove conditional code.
20365         * malloc/obstack.h: Merge from gnulib master.
20366         [__cplusplus]: Move conditional down.
20367         [!__attribute_pure__]: Define __attribute_pure__ here
20368         if it is not already defined.
20369         (_obstack_memory_used): Mark as __attribute_pure__.
20370         [!__obstack_free]: Define as obstack_free.
20371         [__GNUC__]: Remove check for ancient NeXT gcc.
20373 2014-07-02  Will Newton  <will.newton@linaro.org>
20374             Paul Eggert  <eggert@cs.ucla.edu>
20376         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
20378 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20380         * resolv/gethnamaddr.c: Add comment warning that the file is
20381         not maintained.
20383 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
20385         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
20386         entries.
20388         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
20389         entry for aio_cancel and aio_cancel64.
20390         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
20391         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
20392         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
20393         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
20394         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
20395         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
20396         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
20397         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
20398         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
20399         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
20400         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
20401         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
20402         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
20404 2014-07-01  Roland McGrath  <roland@hack.frob.com>
20406         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
20407         * nptl/pthread_mutex_lock.c: Likewise.
20408         * nptl/pthread_mutex_timedlock.c: Likewise.
20409         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
20411 2014-07-01  Richard henderson  <rth@redhat.com>
20413         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
20414         (__isnan, __isnanl): Remove.
20415         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
20417         * sysdeps/alpha/fpu/libm-test-ulps: Update.
20419 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
20421         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20423 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
20425         * resolv/nss_dns/dns-host.c (getanswer_r)
20426         [MULTI_PTRS_ARE_ALIASES]: Remove code.
20428 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
20430         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20431         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
20432         undefine.
20433         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
20434         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
20436 2014-07-01  Roland McGrath <roland@hack.frob.com>
20438         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
20439         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
20441         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
20442         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
20444         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
20445         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
20446         ... here.
20447         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
20448         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
20450         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
20451         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
20452         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
20453         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
20455         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
20456         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
20457         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
20458         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
20459         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
20460         Moved ...
20461         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
20462         ... here.
20463         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
20464         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
20465         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
20466         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
20467         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
20468         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
20469         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
20470         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
20471         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
20472         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
20473         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
20474         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
20475         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
20476         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
20477         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
20478         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
20479         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
20480         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
20481         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
20482         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
20483         ... here.
20484         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
20485         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
20486         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
20487         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
20488         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
20489         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
20490         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
20491         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
20493 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
20495         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
20496         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
20497         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
20498         Add sysdep.
20500 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20502         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20504 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
20506         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
20507         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20509         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20511         * sysdeps/arm/libm-test-ulps: Regenerated.
20513 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
20514             Roland McGrath <roland@hack.frob.com>
20516         * test-skeleton.c (signal_handler): Kill the whole process group
20517         before killing the child individually.
20518         (main): Report any failure on `setpgid'.
20520 2014-06-30  Roland McGrath  <roland@hack.frob.com>
20522         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
20523         from _TLS_H to _ARM_NPTL_TLS_H.
20524         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
20525         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
20527 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
20529         [BZ #16539]
20530         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
20531         (__expm1l): Return argument unchanged when small but not
20532         subnormal.
20534         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
20535         include macro name.
20536         (_FP_UNPACK_RAW_1_P): Likewise.
20537         (_FP_PACK_RAW_1): Likewise.
20538         (_FP_PACK_RAW_1_P): Likewise.
20539         (_FP_MUL_MEAT_1_wide): Likewise.
20540         (_FP_MUL_MEAT_DW_1_hard): Likewise.
20541         (_FP_MUL_MEAT_1_hard): Likewise.
20542         (_FP_DIV_MEAT_1_imm): Likewise.
20543         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
20544         (_FP_DIV_MEAT_1_udiv): Likewise.
20545         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
20546         (_FP_UNPACK_RAW_2): Likewise.
20547         (_FP_UNPACK_RAW_2_P): Likewise.
20548         (_FP_PACK_RAW_2): Likewise.
20549         (_FP_PACK_RAW_2_P): Likewise.
20550         (_FP_MUL_MEAT_DW_2_wide): Likewise.
20551         (_FP_MUL_MEAT_2_wide): Likewise.
20552         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
20553         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
20554         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
20555         (_FP_MUL_MEAT_2_gmp): Likewise.
20556         (_FP_DIV_MEAT_2_udiv): Likewise.
20557         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
20558         (_FP_FRAC_SRL_4): Likewise.
20559         (_FP_FRAC_SRST_4): Likewise.
20560         (_FP_FRAC_SRS_4): Likewise.
20561         (_FP_UNPACK_RAW_4): Likewise.
20562         (_FP_UNPACK_RAW_4_P): Likewise.
20563         (_FP_PACK_RAW_4): Likewise.
20564         (_FP_PACK_RAW_4_P): Likewise.
20565         (_FP_MUL_MEAT_DW_4_wide): Likewise.
20566         (_FP_MUL_MEAT_4_wide): Likewise.
20567         (_FP_MUL_MEAT_4_gmp): Likewise.
20568         (umul_ppppmnnn): Likewise.
20569         (_FP_DIV_MEAT_4_udiv): Likewise.
20570         (__FP_FRAC_ADD_4): Likewise.
20571         (__FP_FRAC_SUB_3): Likewise.
20572         (__FP_FRAC_SUB_4): Likewise.
20573         (__FP_FRAC_DEC_3): Likewise.
20574         (__FP_FRAC_DEC_4): Likewise.
20575         (__FP_FRAC_ADDI_4): Likewise.
20576         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
20577         (_FP_FRAC_SRL_8): Likewise.
20578         (_FP_FRAC_SRS_8): Likewise.
20580         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
20581         include macro name.
20582         (FP_UNPACK_RAW_EP): Likewise.
20583         (FP_PACK_RAW_E): Likewise.
20584         (FP_PACK_RAW_EP): Likewise.
20585         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
20586         (_FP_ISSIGNAN): Likewise.
20587         (_FP_ADD_INTERNAL): Likewise.
20588         (_FP_FMA): Likewise.
20589         (_FP_CMP): Likewise.
20590         (_FP_SQRT): Likewise.
20591         (_FP_TO_INT): Likewise.
20592         (_FP_FROM_INT): Likewise.
20593         (FP_EXTEND): Likewise.
20594         (_FP_DIV_MEAT_N_loop): Likewise.
20596 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
20598         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
20599         throughout.
20601 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
20603         [BZ #17097]
20604         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
20605         result with correct sign in case of exponents that produce
20606         overflow except for X very close to 1.
20608 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
20610         mktime: merge #if/#ifdef usage from glibc
20611         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
20612         as that works with both Glibc's and Gnulib's style.
20613         See thread starting at Siddhesh Poyarekar's bug report at:
20614         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
20616 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20618         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
20619         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
20620         * sysdeps/tile/tilegx/memmove.c: Remove file.
20622 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
20624         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
20625         abi-name definition.
20626         * scripts/soversions.awk: Do not handle or generate ABI lines.
20627         * shlib-versions: Remove ABI entries.
20628         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
20629         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
20631 2014-06-27  Roland McGrath  <roland@hack.frob.com>
20633         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
20634         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
20635         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
20636         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
20637         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
20638         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
20639         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
20640         Moved ...
20641         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
20642         ... here.
20643         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
20644         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
20645         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
20646         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
20647         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
20648         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
20649         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
20650         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
20651         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
20652         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
20653         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
20654         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
20655         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
20656         Moved ...
20657         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
20658         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
20659         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
20660         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
20661         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
20662         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
20663         Moved ...
20664         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
20665         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
20666         Moved ...
20667         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
20668         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
20669         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
20670         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
20671         Moved ...
20672         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
20673         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
20674         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
20675         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
20676         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
20677         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
20678         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
20679         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
20680         Moved ...
20681         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
20682         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
20683         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
20684         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
20685         Moved ...
20686         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
20687         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
20688         Moved ...
20689         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
20690         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
20691         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
20692         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
20693         Moved ...
20694         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
20695         ... here.
20696         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
20697         Identical file removed.
20698         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
20699         Moved ...
20700         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
20701         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
20702         Identical file removed.
20703         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
20704         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
20705         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
20706         Moved ...
20707         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
20708         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
20709         Identical file removed.
20710         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
20711         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
20712         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
20713         Identical file removed.
20714         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
20715         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
20716         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
20717         Identical file removed.
20718         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
20719         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
20720         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
20721         Identical file removed.
20722         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
20723         Moved ...
20724         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
20725         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
20726         Identical file removed.
20727         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
20728         Moved ...
20729         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
20730         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
20731         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
20732         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
20733         Identical file removed.
20734         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
20735         Moved ...
20736         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
20737         ... here.
20738         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
20739         Identical file removed.
20740         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
20741         Moved ...
20742         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
20743         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
20744         Identical file removed.
20745         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
20746         Moved ...
20747         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
20748         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
20749         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
20750         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
20751         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
20752         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
20753         Moved ...
20754         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
20755         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
20756         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
20758         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
20759         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
20760         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
20761         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
20762         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
20764 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
20766         [BZ #17092]
20767         * nscd/nscd.c (monitor_child): Return exit status of child
20768         instead of return value from wait syscall.
20770 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
20772         * configure.ac (libc_commonpagesize): Remove variable.
20773         (libc_relro_required): Likewise.
20774         (libc_cv_z_relro): Remove configure test.
20775         * configure: Regenerated.
20776         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
20777         variable.
20778         (libc_relro_required): Likewise.
20779         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
20780         (libc_relro_required): Likewise.
20781         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
20782         (libc_relro_required): Likewise.
20783         * sysdeps/arm/preconfigure: Regenerated.
20784         * sysdeps/ia64/preconfigure: Remove file.
20785         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
20786         variable.
20787         (libc_relro_required): Likewise.
20789         [BZ #16561]
20790         [BZ #16562]
20791         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
20792         (__ieee754_yn): Set FE_TONEAREST mode internally and then
20793         recompute overflowing results in original rounding mode.
20794         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
20795         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
20796         recompute overflowing results in original rounding mode.
20797         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
20798         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
20799         recompute overflowing results in original rounding mode.
20800         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
20801         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
20802         recompute overflowing results in original rounding mode.
20803         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
20804         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
20805         recompute overflowing results in original rounding mode.
20806         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
20807         (libc_feholdsetround_ctx): New macro.
20808         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
20809         * sysdeps/i386/fpu/libm-test-ulps: Update.
20810         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
20812 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
20814         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
20815         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
20816         corresponding .cpsetup call.
20818 2014-06-26  Roland McGrath  <roland@hack.frob.com>
20820         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
20821         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
20822         * sysdeps/arm/Makefile [$(subdir) = csu]
20823         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
20824         (static-only-routines): Add aeabi_read_tp here.
20825         (shared-only-routines): Add libc-aeabi_read_tp here.
20826         (CFLAGS-libc-start.c): Add -fexceptions here.
20827         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
20828         (sysdep_routines, static-only-routines, shared-only-routines):
20829         Don't add to these here.
20830         (CFLAGS-libc-start.c): Likewise.
20832         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
20833         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
20834         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
20835         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
20836         * sysdeps/arm/Makefile [$(subdir) = rt]
20837         (librt-sysdep_routines, librt-shared-only-routines):
20838         Append rt-aeabi_unwind_cpp_pr1 here.
20839         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
20840         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
20841         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
20842         (libpthread-sysdep_routines, libpthread-shared-only-routines):
20843         Append nptl-aeabi_unwind_cpp_pr1 here.
20844         (tests): Filter out tst-cleanupx4 here.
20845         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
20846         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
20847         Don't do those here.
20849 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
20851         * scripts/list-sources.sh: Do not handle ports specially.
20853 2014-06-26  Roland McGrath  <roland@hack.frob.com>
20855         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
20856         * sysdeps/arm/feupdateenv.c: Likewise.
20858         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
20860 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
20862         * manual/texinfo.tex: Update to version 2014-05-05.10 with
20863         trailing whitespace removed.
20864         * scripts/config.guess: Update to version 2014-03-23.
20865         * scripts/config.sub: Update to version 2014-05-01
20866         * scripts/install-sh: Update to version 2013-12-25.23.
20867         * scripts/move-if-change: Update from gnulib.
20869 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20871         * debug/memmove_chk.c: Remove pagecopy.h include.
20873 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
20875         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
20876         identical to gnulib mktime.
20878 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
20880         * configure.ac: Do not test for machine being rs6000.  Do not test
20881         for powerpc*-*soft.
20882         * configure: Regenerated.
20884         [BZ #11505]
20885         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
20886         test.
20887         * configure: Regenerated.
20888         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
20889         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
20890         Remove configure test.
20891         * sysdeps/arm/configure: Regenerated.
20892         * sysdeps/nptl/configure.ac: Do not check
20893         libc_cv_asm_cfi_directives.
20894         * sysdeps/nptl/configure: Regenerated.
20895         * sysdeps/x86_64/nptl/configure.ac: Remove file.
20896         * sysdeps/x86_64/nptl/configure: Remove generated file.
20897         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
20898         unconditional.
20899         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
20901 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20903         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
20904         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
20905         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
20906         it is defined.
20908         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
20909         instead of whether it is defined.
20910         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
20911         * sysdeps/hppa/dl-machine.h: Likewise.
20912         * sysdeps/ia64/dl-machine.h: Likewise.
20913         * sysdeps/m68k/dl-machine.h: Likewise.
20914         * sysdeps/microblaze/dl-machine.h: Likewise.
20915         * sysdeps/mips/dl-machine.: Likewise.
20916         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
20917         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20918         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
20919         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
20920         * sysdeps/sh/dl-machine.h: Likewise.
20921         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
20922         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
20923         * sysdeps/tile/dl-machine.h: Likewise.
20924         * sysdeps/x86_64/dl-machine.h: Likewise.
20926         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
20927         code.
20928         (verify_persistent_db): Likewise.
20930 2014-06-26  Roland McGrath  <roland@hack.frob.com>
20932         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
20933         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
20934         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
20935         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
20936         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
20937         Moved ...
20938         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
20939         ... here.
20940         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
20941         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
20942         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
20943         Identical file removed.
20944         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
20945         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
20946         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
20947         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
20948         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
20949         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
20950         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
20951         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
20952         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
20953         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
20954         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20955         Moved ...
20956         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
20957         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
20958         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
20959         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
20960         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
20961         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
20962         Moved ...
20963         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
20964         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
20965         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
20966         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
20967         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
20968         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
20969         Identical file removed.
20970         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
20971         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
20972         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
20973         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
20974         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
20975         Moved ...
20976         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
20977         ... here.
20978         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
20979         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
20980         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
20981         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
20982         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
20983         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
20984         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
20985         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
20986         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
20987         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
20988         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20989         Moved ...
20990         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
20991         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
20992         Moved ...
20993         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
20994         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
20995         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
20996         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
20997         Moved ...
20998         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
20999         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
21000         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
21002         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
21003         folded into ...
21004         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
21005         * sysdeps/unix/sysv/linux/s390/Versions
21006         (libpthread: GLIBC_2.19): New version set.
21007         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
21008         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
21009         (librt: GLIBC_2.3.3): New version set.
21010         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
21011         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
21012         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
21013         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
21014         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
21015         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
21016         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
21017         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
21018         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
21019         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
21020         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
21021         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
21022         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
21023         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
21024         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
21025         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
21026         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
21027         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
21028         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
21029         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
21030         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
21031         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
21032         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
21033         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
21034         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
21035         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
21036         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
21037         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
21038         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
21039         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
21040         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
21041         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
21042         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
21043         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
21044         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
21045         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
21046         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
21047         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
21048         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
21049         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
21050         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
21051         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
21052         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
21053         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
21054         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
21056         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
21057         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
21058         (__libc_vfork): Define the function under this name.
21059         [!NOT_IN_libc] (__vfork): Make this an alias.
21060         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
21061         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
21062         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
21063         (__libc_vfork): Define the function under this name.
21064         [!NOT_IN_libc] (__vfork): Make this an alias.
21065         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
21066         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
21067         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
21068         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
21069         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
21070         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
21072         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
21073         code that was previously under [RESET_PID].
21074         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
21075         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
21076         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
21078         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
21079         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
21080         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
21081         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
21082         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
21083         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
21084         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
21085         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
21086         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
21087         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
21088         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
21089         Moved ...
21090         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
21091         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
21092         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
21093         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
21094         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
21095         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
21096         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
21097         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
21098         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
21099         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
21100         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
21101         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
21102         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
21103         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
21104         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
21105         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
21106         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
21107         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
21108         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
21109         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
21110         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
21111         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
21112         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
21113         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
21114         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
21115         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
21116         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
21117         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
21118         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
21120 2014-06-25  Roland McGrath  <roland@hack.frob.com>
21122         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
21123         that was previously under [RESET_PID].
21124         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
21126 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
21128         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
21129         not undefine and redefine.
21130         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
21131         [O_CLOEXEC]: Make code unconditional.
21132         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
21133         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
21134         <kernel-features.h>.
21135         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
21136         conditional variable definition.
21137         (shm_open) [O_CLOEXEC]: Make code unconditional.
21138         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
21139         code.
21141         * configure.ac (USE_REGPARMS): Don't define here.
21142         * configure: Regenerated.
21143         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
21144         * sysdeps/i386/configure: Regenerated.
21146         * nptl/createthread.c: Don't include kernel-features.h.
21147         * nptl/pthread_cancel.c: Likewise.
21148         * nptl/pthread_condattr_setclock.c: Likewise.
21149         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
21150         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
21151         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
21152         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
21153         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
21154         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
21155         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
21156         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
21157         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
21158         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
21159         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
21160         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
21161         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
21162         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
21163         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
21164         * nscd/gai.c: Likewise.
21165         * nss/nss_db/db-open.c: Likewise.
21166         * sysdeps/generic/ldsodefs.h: Likewise.
21167         * sysdeps/sh/nptl/tls.h: Likewise.
21168         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
21169         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
21170         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
21171         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
21172         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
21173         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
21174         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
21175         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21176         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
21177         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
21178         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
21179         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
21180         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
21181         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
21182         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
21183         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
21184         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
21185         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
21186         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
21187         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
21188         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
21189         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
21190         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
21191         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
21192         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
21193         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
21194         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
21195         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
21196         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
21197         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
21198         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
21199         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
21200         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
21201         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
21202         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21203         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
21204         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
21205         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
21206         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
21207         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
21208         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
21209         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
21210         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
21211         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21212         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
21213         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
21214         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
21215         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
21216         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
21217         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
21218         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
21219         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
21220         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
21221         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
21222         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
21223         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
21224         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
21225         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
21226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
21227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
21228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
21229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
21230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
21231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
21232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
21233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
21234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
21235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
21236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
21237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
21238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
21239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
21240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
21241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
21242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
21243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
21244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
21245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
21246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
21247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
21248         * sysdeps/unix/sysv/linux/pread.c: Likewise.
21249         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
21250         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
21251         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
21252         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
21253         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
21254         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
21255         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
21256         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
21257         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
21258         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
21259         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
21260         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
21261         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
21262         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
21263         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
21264         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
21265         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
21266         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
21267         * sysdeps/unix/sysv/linux/system.c: Likewise.
21268         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
21269         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
21270         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21271         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21272         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
21273         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
21274         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
21276         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
21277         * configure: Regenerated.
21278         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
21280         * configure.ac (base_machine): Do not set specially for particular
21281         machines here.
21282         * configure: Regenerated.
21283         * sysdeps/powerpc/preconfigure: Move machine and base_machine
21284         settings from configure.ac.
21285         * sysdeps/i386/preconfigure: New file.
21286         * sysdeps/s390/preconfigure: Likewise.
21287         * sysdeps/sh/preconfigure: Likewise.
21288         * sysdeps/sparc/preconfigure: Likewise.
21290 2014-06-25  Roland McGrath  <roland@hack.frob.com>
21292         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
21293         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
21294         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
21295         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
21296         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
21297         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
21298         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
21299         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
21300         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
21301         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
21302         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
21303         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
21304         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
21305         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
21306         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
21307         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
21308         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
21309         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
21310         * sysdeps/sparc/sparc64/Makefile: ... appended here.
21312         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
21313         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
21314         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
21315         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
21316         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
21317         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
21318         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
21319         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
21320         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
21321         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
21322         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
21323         * sysdeps/sparc/sparc32/sem_post.c: ... here.
21324         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
21325         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
21326         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
21327         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
21328         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
21329         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
21330         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
21331         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
21332         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
21333         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
21334         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
21335         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
21336         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
21337         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
21338         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
21339         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
21340         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
21341         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
21342         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
21343         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
21344         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
21345         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
21346         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
21347         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
21348         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
21349         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
21351         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
21352         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
21353         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
21354         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
21355         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
21356         Moved ...
21357         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
21358         ... here.
21359         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
21360         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
21361         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
21362         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
21363         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
21364         Moved ...
21365         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
21366         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
21367         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
21368         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
21369         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
21370         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
21371         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
21372         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21373         Moved ...
21374         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
21375         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
21376         Moved ...
21377         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
21378         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
21379         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
21380         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
21381         Moved ...
21382         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
21383         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
21384         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
21385         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
21386         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
21387         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
21388         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
21389         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
21390         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
21391         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
21392         Moved ...
21393         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
21394         ... here.
21395         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
21396         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
21397         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
21398         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
21399         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
21400         Moved ...
21401         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
21402         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
21403         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
21404         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
21405         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
21406         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
21407         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
21408         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21409         Moved ...
21410         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
21411         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
21412         Moved ...
21413         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
21414         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
21415         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
21416         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
21417         Moved ...
21418         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
21419         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
21420         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
21421         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
21422         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
21424 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
21426         * timezone/checktab.awk: Update from tzcode 2014e.
21427         * timezone/private.h: Likewise.
21428         * timezone/tzfile.h: Likewise.
21429         * timezone/zdump.c: Likewise.
21430         * timezone/zic.c: Likewise.
21432         * sysdeps/unix/sysv/linux/kernel-features.h
21433         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
21434         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
21435         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
21436         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
21437         Remove conditional code.
21439 2014-06-25  Will Newton  <will.newton@linaro.org>
21441         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
21442         (_dl_arm_cap_flags): Add HWCAP2 values.
21443         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
21444         (_DL_HWCAP_COUNT): Increase to 37.
21445         (_DL_HWCAP_LAST): New define.
21446         (_DL_HWCAP2_LAST): New define.
21447         (_dl_procinfo): Add support for printing
21448         AT_HWCAP2 entries.
21449         (_dl_string_hwcap): Use _dl_hwcap_string.
21451 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21453         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21455 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
21457         * README: Do not mention ports directory.
21459         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
21460         Remove macro.
21461         * sysdeps/unix/sysv/linux/futimes.c: Do not include
21462         <kernel-features.h>.
21463         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
21464         conditional variable definition.
21465         (__futimes): Update comment.
21466         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
21467         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
21469         [BZ #16560]
21470         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
21471         arguments close to 0.
21472         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
21473         Likewise.
21474         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
21475         Likewise.
21476         * math/auto-libm-test-in: Add more tests of exp10.
21477         * math/auto-libm-test-out: Regenerated.
21478         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21480         * sysdeps/unix/sysv/linux/kernel-features.h
21481         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
21482         * sysdeps/unix/sysv/linux/readv.c: Do not include
21483         <kernel-features.h>.
21484         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
21485         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
21486         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
21487         unconditional.
21488         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
21489         conditional code.
21490         * sysdeps/unix/sysv/linux/writev.c: Do not include
21491         <kernel-features.h>.
21492         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
21493         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
21494         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
21495         unconditional.
21496         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
21497         conditional code.
21499 2014-06-25  Will Newton  <will.newton@linaro.org>
21501         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
21502         comment changes throughout the file.  Remove checks
21503         for HAVE_*_H definitions that are not required.
21504         (__gen_tempname): Call abort if an unknown kind value is
21505         passed.
21507 2014-06-25  Andreas Schwab  <schwab@suse.de>
21509         [BZ #17086]
21510         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
21511         scalbln, scalblnf, scalblnl in libc.
21513 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
21515         [BZ #17086]
21516         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
21517         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
21518         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
21520 2014-06-24  Roland McGrath  <roland@hack.frob.com>
21522         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
21523         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
21524         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
21525         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
21526         Update #include.
21527         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
21528         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
21529         Update #include.
21530         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
21531         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
21532         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
21533         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
21534         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
21535         * sysdeps/x86/bits/pthreadtypes.h: ... here.
21536         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
21537         * sysdeps/x86/bits/semaphore.h: ... here.
21538         * sysdeps/x86/nptl/elide.h: Moved ...
21539         * sysdeps/x86/elide.h: ... here.
21540         * sysdeps/x86_64/nptl/Implies: File removed.
21541         * sysdeps/i386/nptl/Implies: File removed.
21543 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
21545         [BZ #16539]
21546         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
21547         return the argument for normal arguments with exponent below -64.
21548         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
21549         Likewise.
21550         * math/auto-libm-test-in: Add another test of expm1.
21551         * math/auto-libm-test-out: Regenerated.
21553         [BZ #16287]
21554         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
21555         calling __erfcl for arguments at least 16.
21556         * math/auto-libm-test-in: Add more tests of erf.
21557         * math/auto-libm-test-out: Regenerated.
21559         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
21560         individual architectures.
21561         * sysdeps/unix/sysv/linux/configure: Regenerated.
21562         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
21563         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
21564         * sysdeps/unix/sysv/linux/powerpc/configure.ac
21565         (ldd_rewrite_script): Define variable.
21566         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
21567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
21568         file.
21569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
21570         generated file.
21571         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
21572         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
21573         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
21574         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
21575         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
21576         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
21577         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
21578         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
21580 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21582         [BZ #17084]
21583         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
21584         Rename member __data.d to __data.__elision_data.
21586 2014-06-24  Wilco  <wdijkstr@arm.com>
21588         * NEWS: Add 16918 to fixed bug list.
21590 2014-06-24  Wilco  <wdijkstr@arm.com>
21592         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
21594 2014-06-24  Wilco  <wdijkstr@arm.com>
21596         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
21597         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
21598         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
21599         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
21600         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
21601         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
21602         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
21603         Use _FPU_MASK_RM.
21605 2014-06-24  Wilco  <wdijkstr@arm.com>
21607         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
21609 2014-06-24  Wilco  <wdijkstr@arm.com>
21611         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
21612         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
21613         * sysdeps/arm/fesetround.c (fesetround): Remove space.
21614         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
21616 2014-06-24  Wilco  <wdijkstr@arm.com>
21618         [BZ #16918]
21619         * sysdeps/arm/feupdateenv.c (feupdateenv):
21620         Rewrite to reduce FPSCR accesses and fix return value.
21622 2014-06-24  Wilco  <wdijkstr@arm.com>
21624         * sysdeps/arm/fclrexcpt.c (feclearexcept):
21625         Optimize to avoid unnecessary FPSCR writes.
21626         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
21627         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
21628         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
21629         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
21631 2014-06-24  Wilco  <wdijkstr@arm.com>
21633         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
21634         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
21635         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
21636         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
21637         Call libc_fetestexcept_vfp.
21638         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
21639         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
21640         __SOFTFP__ ifdef so that they can be built for softfp.
21642 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21644         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
21645         argument type signed char.
21647         * Makerules (check-abi): Dump diff of symlist if the test
21648         fails.
21650 2014-06-23  Roland McGrath  <roland@hack.frob.com>
21652         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
21653         using abort.
21655         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
21656         Remove unused variable ST.
21658 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
21660         [BZ #16354]
21661         [BZ #17061]
21662         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
21663         small arguments before calling __expm1.
21664         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
21665         small arguments before calling __expm1f.
21666         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
21667         small arguments before calling __expm1l.
21668         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
21669         Likewise.
21670         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
21671         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
21672         spurious underflow for some cosh tests.
21673         * math/auto-libm-test-out: Regenerated.
21674         * sysdeps/i386/fpu/libm-test-ulps: Update.
21676         [BZ #17050]
21677         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
21678         (__ieee754_y1): Set errno if return value overflows.
21679         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
21680         (__ieee754_y1f): Set errno if return value overflows.
21681         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
21682         (__ieee754_y1l): Set errno if return value overflows.
21683         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
21684         (__ieee754_y1l): Set errno if return value overflows.
21685         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
21686         * math/auto-libm-test-out: Regenerated.
21688         * math/gen-auto-libm-tests.c: Document use of
21689         ignore-zero-inf-sign.
21690         (input_flag_type): Add value flag_ignore_zero_inf_sign.
21691         (input_flags): Add ignore-zero-inf-sign.
21692         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
21693         * math/gen-libm-test.pl (generate_testfile): Handle
21694         ignore-zero-inf-sign.
21695         * math/auto-libm-test-in: Mark some cpow tests with
21696         ignore-zero-inf-sign and some with xfail-rounding.
21697         * math/auto-libm-test-out: Regenerated.
21698         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
21699         * sysdeps/i386/fpu/libm-test-ulps: Update.
21700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21702         [BZ #16315]
21703         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
21704         overflowing or underflowing operations take place with sign of
21705         result.
21706         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21707         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
21708         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
21709         (__ieee754_pow): Recompute overflowing and underflowing results in
21710         original rounding mode.
21711         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
21712         (__powl_helper): Allow negative argument X and scale negated value
21713         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
21714         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
21715         overflowing or underflowing operations take place with sign of
21716         result.
21717         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
21718         Include <math.h>.
21719         * math/auto-libm-test-in: Add more tests of pow.
21720         * math/auto-libm-test-out: Regenerated.
21721         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
21722         (pow_tonearest_test_data): Remove.
21723         (pow_test_tonearest): Likewise.
21724         (pow_towardzero_test_data): Likewise.
21725         (pow_test_towardzero): Likewise.
21726         (pow_downward_test_data): Likewise.
21727         (pow_test_downward): Likewise.
21728         (pow_upward_test_data): Likewise.
21729         (pow_test_upward): Likewise.
21730         (main): Don't call removed functions.
21731         * sysdeps/i386/fpu/libm-test-ulps: Update.
21732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21734 2014-06-23  Roland McGrath  <roland@hack.frob.com>
21736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
21737         Moved ...
21738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
21739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21740         Moved ...
21741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
21742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
21743         Moved ...
21744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
21745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21746         Moved ...
21747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
21748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21749         File removed.
21750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
21751         File removed.
21752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
21753         File removed.
21754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
21755         File removed.
21756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
21757         File removed.
21758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
21759         File removed.
21760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
21761         File removed.
21762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21763         File removed.
21764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
21765         File removed.
21766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
21767         File removed.
21768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
21769         File removed.
21770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
21771         File removed.
21772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
21773         Moved ...
21774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
21775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
21776         Moved ...
21777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
21778         ... here.
21779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
21780         Moved ...
21781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
21782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
21783         Moved ...
21784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
21785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
21786         Moved ...
21787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
21788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
21789         Moved ...
21790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
21791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
21792         Moved ...
21793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
21794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
21795         Moved ...
21796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
21797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
21798         Moved ...
21799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
21800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
21801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
21802         ... here.
21803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
21804         Moved ...
21805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
21806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
21807         Moved ...
21808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21809         ... here.
21810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
21811         Moved ...
21812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
21813         ... here.
21814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
21815         Moved ...
21816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
21817         ... here.
21818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21819         Moved ...
21820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
21821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
21822         Moved ...
21823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
21824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
21825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
21826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
21827         Moved ...
21828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
21829         ... here.
21830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
21831         Moved ...
21832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
21833         ... here.
21834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
21835         Moved ...
21836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
21837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
21838         Moved ...
21839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
21840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
21841         Moved ...
21842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
21843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21844         Moved ...
21845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
21846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
21847         Moved ...
21848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
21849         ... here.
21850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
21851         Moved ...
21852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
21853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
21854         Moved ...
21855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
21856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
21857         Moved ...
21858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
21859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
21860         Moved ...
21861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
21862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
21863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
21864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
21865         Moved ...
21866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
21867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
21868         Moved ...
21869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
21870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
21871         Moved ...
21872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
21873         ... here.
21874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21875         Moved ...
21876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
21877         ... here.
21878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
21879         Moved ...
21880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
21881         ... here.
21882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
21883         Moved ...
21884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
21885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
21886         Moved ...
21887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
21888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
21889         Moved ...
21890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
21891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
21892         Moved ...
21893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
21894         ... here.
21895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
21896         Moved ...
21897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
21898         ... here.
21899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
21900         Moved ...
21901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
21902         ... here.
21903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
21904         Moved ...
21905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
21906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21907         Moved ...
21908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
21910 2014-06-23  Will Newton  <will.newton@linaro.org>
21911             Wilco  <wdijkstr@arm.com>
21913         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
21914         implementation.  Include get-rounding-mode.h.
21915         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
21916         [!libc_feholdsetround_noex_ctx]: Define
21917         libc_feholdsetround_noex_ctx.
21918         [!libc_feholdsetround_noexf_ctx]: Define
21919         libc_feholdsetround_noexf_ctx.
21920         [!libc_feholdsetround_noexl_ctx]: Define
21921         libc_feholdsetround_noexl_ctx.
21922         (libc_feholdsetround_ctx): New function.
21923         (libc_feresetround_ctx): New function.
21924         (libc_feholdsetround_noex_ctx): New function.
21925         (libc_feresetround_noex_ctx): New function.
21927 2014-06-23  Roland McGrath  <roland@hack.frob.com>
21929         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
21930         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
21931         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
21932         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
21933         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
21934         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
21936         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
21937         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
21938         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
21939         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
21940         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
21941         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
21942         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
21943         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
21944         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
21945         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
21946         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
21947         Moved ...
21948         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
21949         ... here.
21950         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
21951         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
21952         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
21953         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
21954         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
21955         Moved ...
21956         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
21957         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
21958         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
21959         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
21960         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
21961         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
21962         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
21963         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
21964         Moved ...
21965         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
21966         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
21967         Moved ...
21968         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
21969         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
21970         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
21971         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
21972         Moved ...
21973         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
21974         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
21975         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
21976         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
21977         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
21978         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
21979         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
21980         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
21981         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
21982         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
21983         Moved ...
21984         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
21985         ... here.
21986         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
21987         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
21988         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
21989         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
21990         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
21991         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
21992         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
21993         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
21994         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
21995         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
21996         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
21997         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
21998         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
21999         Moved ...
22000         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
22001         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
22002         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
22003         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
22004         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
22005         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
22006         Moved ...
22007         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
22008         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
22009         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
22010         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
22011         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
22013         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
22014         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
22015         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
22016         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
22017         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
22018         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
22019         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
22020         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
22021         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
22022         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
22023         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
22024         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
22025         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
22026         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
22027         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
22028         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
22029         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
22030         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
22031         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
22032         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
22033         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
22034         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
22035         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
22036         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
22037         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
22038         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
22039         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
22040         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
22042 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
22044         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
22045         (FALLOC_FL_COLLAPSE_RANGE): New macro.
22046         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
22047         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
22048         (IPV6_PMTUDISC_INTERFACE): Likewise.
22049         (IPV6_PMTUDISC_OMIT): Likewise.
22051 2014-06-23  Andreas Schwab  <schwab@suse.de>
22053         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
22054         Remove unused errout label.
22056 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22058         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
22059         macro: hardware supports Vector Crypto instructions.
22061 2014-06-23  Will Newton  <will.newton@linaro.org>
22063         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
22064         rather than __builtin_expect.
22066         * elf/dl-lookup.c (undefined_msg): Remove variable.
22067         (_dl_lookup_symbol_x): Replace undefined_msg with string
22068         literal.
22070         * elf/dl-lookup.c (do_lookup_unique): New function.
22071         (do_lookup_x): Move STB_GNU_UNIQUE handling code
22072         to a separate function.
22074 2014-06-23  Andreas Schwab  <schwab@suse.de>
22076         [BZ #17079]
22077         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
22078         before reading the next line.
22080 2014-06-23  Will Newton  <will.newton@linaro.org>
22082         * test-skeleton.c (signal_handler): Use printf and %m
22083         rather than perror.  Use printf rather than fprintf to
22084         stderr.  Use puts rather than fputs to stderr.
22085         (main): Likewise.
22087 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
22089         * nscd/nscd.c (thread_info_t): Remove typedef.
22090         (thread_info): Remove variable.
22092 2014-06-21  Allan McRae  <allan@archlinux.org>
22094         * NEWS: Mention CVE-2014-4043.
22096 2014-06-20  Roland McGrath  <roland@hack.frob.com>
22098         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
22099         * nptl/smp.h: ... here.
22101         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
22103         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
22104         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
22105         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
22106         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
22108         * nptl/allocatestack.c: Include <stack-aliasing.h>.
22109         * nptl/stack-aliasing.h: New file.
22110         * sysdeps/i386/i686/stack-aliasing.h: New file.
22111         * sysdeps/i386/i686/nptl/Makefile: File removed.
22112         * sysdeps/x86_64/stack-aliasing.h: New file.
22113         * sysdeps/x86_64/nptl/Makefile
22114         (CFLAGS-pthread_create.c): Variable removed.
22116         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
22117         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
22118         old file.
22119         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
22120         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
22121         old file.
22123 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
22125         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22126         (__ASSUME_SIGFRAME_V2): Remove macro.
22127         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
22128         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
22129         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
22130         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
22131         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
22132         Declare as function.  Remove conditional macro definitions.
22133         (__default_rt_sa_restorer): Likewise.
22134         (__default_sa_restorer_v1): Remove declaration.
22135         (__default_sa_restorer_v2): Likewise.
22136         (__default_rt_sa_restorer_v1): Likewise.
22137         (__default_rt_sa_restorer_v2): Likewise.
22138         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
22139         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
22140         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
22142 2014-06-20  Roland McGrath  <roland@hack.frob.com>
22144         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
22145         (libpthread-routines): Add sysdep.
22146         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
22147         * sysdeps/unix/sysv/linux/sparc/Versions
22148         (libpthread: GLIBC_2.3.3): New version set.
22149         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
22150         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
22151         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
22152         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
22153         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
22154         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
22155         Moved ...
22156         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
22157         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
22158         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
22159         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
22160         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
22161         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
22162         * sysdeps/sparc/nptl/sem_init.c: ... here.
22163         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
22164         * sysdeps/sparc/nptl/sem_post.c: ... here.
22165         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
22166         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
22167         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
22168         * sysdeps/sparc/nptl/sem_wait.c: ... here.
22169         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
22170         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
22171         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
22172         (libpthread-routines): Add cpu_relax.
22173         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
22174         File removed.
22175         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
22176         (librt: GLIBC_2.3.3): New version set.
22177         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
22178         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
22179         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
22180         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
22181         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
22182         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
22183         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
22184         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
22185         Moved ...
22186         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
22187         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
22188         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
22189         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
22190         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
22191         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
22192         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
22193         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
22194         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
22195         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
22196         Moved ...
22197         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
22198         Update #include.
22199         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
22200         Moved ...
22201         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
22202         Update #include.
22203         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
22204         Moved ...
22205         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
22206         Update #include.
22207         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
22208         Moved ...
22209         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
22210         Update #include.
22211         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
22212         Moved ...
22213         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
22214         Update #include.
22215         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
22216         Moved ...
22217         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
22218         Update #include.
22219         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
22220         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
22221         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
22222         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
22223         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
22224         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
22225         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
22226         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
22227         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
22228         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
22229         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
22230         Moved ...
22231         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
22232         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
22233         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
22234         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
22235         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
22237 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
22239         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
22240         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
22241         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
22242         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
22243         * nscd/nscd.c: Likewise.
22244         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
22245         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
22246         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
22247         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
22249         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
22250         <kernel-features.h>.
22251         (init_mq_netlink): Remove conditional have_sock_cloexec
22252         definitions.  Remove code conditional on have_sock_cloexec < 0.
22253         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
22254         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
22255         * sysdeps/unix/sysv/linux/opensock.c: Do not include
22256         <kernel-features.h>.
22257         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
22258         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
22260 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
22262         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22263         Add tests for memset_chk and memset.
22265         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
22266         with AVX2_Usable.
22268 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
22270         [BZ #16046]
22271         * elf/tst-dl-iter-static.c: New file.
22272         * elf/Makefile (tests-static): Add tst-dl-iter-static.
22274         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
22275         error.
22277 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
22279         * sysdeps/unix/sysv/linux/kernel-features.h
22280         (__ASSUME_F_GETOWN_EX): Remove macro.
22281         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
22282         <kernel-features.h>.
22283         (miss_F_GETOWN_EX): Remove variable or macro.
22284         (do_fcntl): Do not check miss_F_GETOWN_EX.
22285         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
22287         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
22288         Remove macro.
22289         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
22290         [!__ASSUME_AT_RANDOM]: Remove conditional code.
22291         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
22293         * sysdeps/unix/sysv/linux/kernel-features.h
22294         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
22295         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
22296         [ADJ_OFFSET_SS_READ]: Make code unconditional.
22297         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
22299 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
22301         [BZ #17075]
22302         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
22303         Fix calculation of the symbol's value.
22304         * sysdeps/arm/tst-armtlsdescloc.c: New file.
22305         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
22306         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
22307         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
22308         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
22309         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
22310         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
22311         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
22312         (modules-names): Add `tst-armtlsdescmod',
22313         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
22314         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
22315         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
22316         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
22317         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
22318         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
22319         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
22320         ($(objpfx)tst-armtlsdescloc): New dependency.
22321         ($(objpfx)tst-armtlsdescextnow): Likewise.
22322         ($(objpfx)tst-armtlsdescextlazy): Likewise.
22323         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
22324         TLS scheme support.
22325         * sysdeps/arm/configure: Regenerate.
22327 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
22329         * include/fcntl.h (__atfct_seterrno): Remove prototype.
22330         (__atfct_seterrno_2): Likewise.
22331         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
22332         <kernel-features.h>.
22333         (__ASSUME_ATFCTS): Do not undefine and redefine.
22334         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
22335         (__have_atfcts): Remove conditional definition.
22336         (__fxstatat([__NR_fstatat64]: Make code unconditional.
22337         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
22338         unreachable if [__ASSUME_ATFCTS].
22339         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
22340         not undefine and redefine.
22341         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
22342         <kernel-features.h>.
22343         (faccessat) [__NR_faccessat]: Make code unconditional.
22344         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
22345         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
22346         <kernel-features.h>.
22347         (fchmodat) [__NR_fchmodat]: Make code unconditional.
22348         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
22349         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
22350         <kernel-features.h>.
22351         (fchownat) [__NR_fchownat]: Make code unconditional.
22352         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
22353         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
22354         <kernel-features.h>.
22355         (futimesat) [__NR_futimesat]: Make code unconditional.
22356         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
22357         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
22358         <kernel-features.h>.
22359         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
22360         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
22361         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
22362         <kernel-features.h>.
22363         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
22364         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
22365         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
22366         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
22367         <kernel-features.h>.
22368         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
22369         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
22370         * sysdeps/unix/sysv/linux/linkat.c: Do not include
22371         <kernel-features.h>.
22372         (linkat) [__NR_linkat]: Make code unconditional.
22373         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
22374         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
22375         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
22376         <kernel-features.h>.
22377         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
22378         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
22379         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
22380         <kernel-features.h>.
22381         (mkdirat) [__NR_mkdirat]: Make code unconditional.
22382         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
22383         * sysdeps/unix/sysv/linux/openat.c: Do not include
22384         <kernel-features.h>.
22385         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
22386         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
22387         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
22388         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
22389         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
22390         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
22391         <kernel-features.h>.
22392         (readlinkat) [__NR_readlinkat]: Make code unconditional.
22393         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
22394         result of INLINE_SYSCALL directly, not via int variable.
22395         * sysdeps/unix/sysv/linux/renameat.c: Do not include
22396         <kernel-features.h>.
22397         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
22398         (renameat) [__NR_renameat]: Make code unconditional.
22399         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
22400         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
22401         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
22402         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
22403         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
22404         (__ASSUME_ATFCTS): Do not undefine and redefine.
22405         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
22406         <kernel-features.h>.
22407         (symlinkat) [__NR_symlinkat]: Make code unconditional.
22408         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
22409         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
22410         <kernel-features.h>.
22411         (unlinkat) [__NR_unlinkat]: Make code unconditional.
22412         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
22413         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
22414         (__ASSUME_ATFCTS): Do not undefine and redefine.
22415         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
22416         <kernel-features.h>.
22417         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
22418         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
22419         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
22420         <kernel-features.h>.
22421         (__xmknodat) [__NR_mknodat]: Make code unconditional.
22422         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
22424 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
22426         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
22428 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
22430         [BZ #17069]
22431         * posix/regcomp.c (parse_reg_exp): Deallocate partially
22432         constructed tree before returning error.
22433         * posix/bug-regexp36.c: Expand test case.
22435 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
22437         [BZ #6803]
22438         * math/libm-test.inc (scalbln_test_date):
22439         Add errno expectations.
22440         * math/w_scalblnf.c: New File.
22441         Add wrapper which checks for setting errno to ERANGE.
22442         Add weak_alias for corresponding scalbln function.
22443         * math/w_scalbln.c: Likewise.
22444         * math/w_scalblnl.c: Likewise.
22445         * math/Makefile (libm-calls): Add w_scalbln.
22446         * sysdeps/ieee754/flt-32/s_scalblnf.c:
22447         Remove weak_alias for corresponding scalbln function.
22448         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22449         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
22450         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22451         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22452         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
22453         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
22454         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
22455         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
22456         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
22457         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
22458         Remove long_double_symbol for scalblnl function in libm, libc.
22459         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
22460         Add wrapper which checks for setting errno to ERANGE.
22461         Add long_double_symbol for scalblnl function in libm, libc.
22462         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
22463         Remove long_double_symbol for scalblnl in libm.
22464         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
22465         Add wrapper which checks for setting errno to ERANGE.
22466         Add long_double_symbol for scalblnl function in libm.
22467         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
22468         Do not use wrapper because of own implementation.
22470 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
22472         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
22473         3 bytes for __pad1 for x32.
22474         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
22476 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
22477             H.J. Lu  <hongjiu.lu@intel.com>
22479         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
22480         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
22481         * sysdeps/x86_64/multiarch/memset.S: Likewise.
22482         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22483         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
22485 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
22487         [BZ #17069]
22488         * posix/regcomp.c (parse_expression): Deallocate partially
22489         constructed tree before returning error.
22490         * posix/Makefile.c (tests): Add bug-regex36.
22491         (generated): Add bug-regex36.mtrace.
22492         (tests-special): Add $(objpfx)bug-regex36-mem.out
22493         (bug-regex36-ENV): New variable.
22494         ($(objpfx)bug-regex36-mem.out): New rule.
22495         * posix/bug-regex36.c: New file.
22497 2014-06-19  Will Newton  <will.newton@linaro.org>
22499         * malloc/malloc.c (systrim): If extra is zero then return
22500         early.
22502 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22504         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
22506 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
22508         * sysdeps/aarch64/strchr.S: New file.
22510 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
22512         [BZ #17022]
22513         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
22514         from arguments -2 or below.
22515         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
22516         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
22518 2014-06-18  Andreas Schwab  <schwab@suse.de>
22520         [BZ #17062]
22521         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
22522         of a bracket expr not to run off the end of the string.
22523         * posix/Makefile (tests): Add tst-fnmatch3.
22524         * posix/tst-fnmatch3.c: New file.
22526 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
22528         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
22529         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
22530         [$(cross-compiling) = no]: Likewise.
22531         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
22532         [$(cross-compiling) = no]: Likewise.
22534 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22536         [BZ #17031]
22537         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
22538         double, adjusted for any remainder from the high double.
22539         * math/libm-test.inc (nearbyint): Add tests.
22540         (rint): Likewise.
22542 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22544         * nptl/sysdeps/powerpc/Makefile: Moved ...
22545         * sysdeps/powerpc/nptl/Makefile: ... here.
22546         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
22547         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
22548         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
22549         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
22550         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
22551         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
22552         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
22553         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
22554         * nptl/sysdeps/powerpc/tls.h: Moved ...
22555         * sysdeps/powerpc/nptl/tls.h: ... here.
22557 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
22559         [BZ #16681]
22560         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
22561         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
22562         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
22563         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
22564         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
22565         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
22566         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
22567         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
22568         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
22570 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
22572         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
22574 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
22576         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
22577         defined operator.
22579         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
22580         $TIMEOUTFACTOR.
22582 2014-06-16  Florian Weimer  <fweimer@redhat.com>
22584         [BZ #17058]
22585         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
22586         non-executed part of the test.
22588 2014-06-16  Andreas Schwab  <schwab@suse.de>
22590         * string/bits/string2.h (strdup, strndup): Update feature guard.
22592 2014-06-14  David S. Miller  <davem@davemloft.net>
22594         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22596 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
22598         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
22599         that was previously under [RESET_PID].
22600         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
22602         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
22603         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
22604         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
22605         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
22606         (__libc_vfork): New strong alias.
22607         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
22609 2014-06-14 Andi Kleen  <ak@linux.intel.com>
22611         * sysdeps/generic/elide.h: New file.
22613 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22615         * Makefile (installed-headers): Adjust path of pthread.h header.
22617 2014-06-13  Roland McGrath  <roland@hack.frob.com>
22619         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
22620         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
22621         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
22622         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
22624         * nptl/sysdeps/s390/Makefile: Moved ...
22625         * sysdeps/s390/nptl/Makefile: ... here.
22626         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
22627         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
22628         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
22629         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
22630         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
22631         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
22632         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
22633         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
22634         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
22635         * sysdeps/s390/nptl/pthreaddef.h: ... here.
22636         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
22637         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
22638         * nptl/sysdeps/s390/tls.h: Moved ...
22639         * sysdeps/s390/nptl/tls.h: ... here.
22641         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
22642         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
22644 2014-06-13  David S. Miller  <davem@davemloft.net>
22646         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
22647         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
22648         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
22649         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
22650         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
22651         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
22652         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
22653         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
22654         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
22655         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
22656         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
22657         Remove RESET_PID cpp guards.
22658         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
22659         Remove RESET_PID cpp guards.
22660         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
22662 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
22664         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
22665         __sp to uintptr_t.
22667 2014-06-13  Andi Kleen  <ak@linux.intel.com>
22669         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
22670         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
22671         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
22672         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
22673         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
22674         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
22675         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
22676         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
22677         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
22678         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
22679         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
22680         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
22681         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
22682         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
22683         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
22684         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
22685         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
22686         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
22687         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
22688         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
22690         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
22691         (pthread_rwlock_rdlock): Add elision.
22692         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
22693         (pthread_rwlock_wrlock): Add elision.
22694         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
22695         (pthread_rwlock_trywrlock): Add elision.
22696         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
22697         (pthread_rwlock_tryrdlock): Add elision.
22698         * nptl/pthread_rwlock_unlock.c: Include elide.h.
22699         (pthread_rwlock_tryrdlock): Add elision unlock.
22700         * nptl/sysdeps/pthread/pthread.h:
22701         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
22702         (PTHREAD_RWLOCK_INITIALIZER,
22703         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
22704         Handle new elision field.
22705         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
22706         * sysdeps/arm/nptl/bits/pthreadtypes.h
22707         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22708         * sysdeps/sh/nptl/bits/pthreadtypes.h
22709         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22710         * sysdeps/tile/nptl/bits/pthreadtypes.h
22711         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22712         * sysdeps/a/nptl/bits/pthreadtypes.h
22713         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22714         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
22715         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22716         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
22717         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22718         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
22719         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22720         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
22721         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22722         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
22723         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22724         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
22725         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22726         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
22727         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22728         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
22729         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22730         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
22731         (elision_init): Set try_xbegin to zero when no RTM.
22732         * sysdeps/x86/nptl/bits/pthreadtypes.h
22733         (pthread_rwlock_t): Change __pad1 to __rwelision.
22734         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22736 2014-06-13  Andi Kleen  <ak@linux.intel.com>
22738         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
22739         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
22740         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
22741         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
22743 2014-06-13  Meador Inge  <meadori@codesourcery.com>
22745         [BZ #16996]
22746         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
22747         that the cached result has been set before returning it.
22749 2014-06-12  Roland McGrath  <roland@hack.frob.com>
22751         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
22752         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
22753         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
22754         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
22755         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
22756         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
22758         * nptl/sysdeps/sparc/Makefile: Moved ...
22759         * sysdeps/sparc/nptl/Makefile: ... here.
22760         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
22761         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
22762         * nptl/sysdeps/sparc/tls.h: Moved ...
22763         * sysdeps/sparc/nptl/tls.h: ... here.
22764         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
22765         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
22766         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
22767         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
22768         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
22769         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
22770         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
22771         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
22772         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
22773         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
22774         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
22775         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
22776         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
22777         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
22778         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
22779         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
22780         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
22781         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
22782         Update #include.
22783         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
22784         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
22785         Update #include.
22786         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
22787         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
22788         Update #include.
22789         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
22790         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
22791         Update #include.
22793         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
22795         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
22796         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
22798         * sysdeps/pthread/posix-timer.h: Include <list.h>.
22799         (struct list_links): Type removed.
22800         (struct thread_node, struct timer_node): Replace struct list_links
22801         with struct list_head.
22802         (list_unlink_ip): Likewise.
22803         * sysdeps/pthread/timer_routines.c
22804         (timer_free_list, thread_free_list, thread_active_list): Likewise.
22805         (list_append, list_insbefore): Likewise.
22806         (list_init): Function removed.
22807         (thread_init, init_module): Use INIT_LIST_HEAD instead.
22808         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
22809         * sysdeps/pthread/Makefile: ... here, new file.
22811         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
22812         * sysdeps/nptl/Implies: ... here.
22813         * sysdeps/unix/sysv/linux/Implies: Add nptl.
22814         * nptl/sysdeps/pthread/list.h: Moved ...
22815         * include/list.h: ... here.
22816         * nptl/sysdeps/pthread/createthread.c: Moved ...
22817         * nptl/createthread.c: ... here.
22818         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
22819         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
22820         * nptl/pt-longjmp.c: ... here.
22821         * nptl/sysdeps/pthread/Makefile: Moved ...
22822         * sysdeps/nptl/Makefile: ... here.
22823         * nptl/sysdeps/pthread/Subdirs: Moved ...
22824         * sysdeps/nptl/Subdirs: ... here.
22825         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
22826         * sysdeps/nptl/aio_misc.h: ... here.
22827         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
22828         * sysdeps/nptl/bits/libc-lock.h: ... here.
22829         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
22830         * sysdeps/nptl/bits/libc-lockP.h: ... here.
22831         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
22832         * sysdeps/nptl/bits/stdio-lock.h: ... here.
22833         * nptl/sysdeps/pthread/configure: Moved ...
22834         * sysdeps/nptl/configure: ... here.
22835         * nptl/sysdeps/pthread/configure.ac: Moved ...
22836         * sysdeps/nptl/configure.ac: ... here.
22837         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
22838         * sysdeps/nptl/gai_misc.h: ... here.
22839         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
22840         * sysdeps/nptl/librt-cancellation.c: ... here.
22841         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
22842         * sysdeps/nptl/malloc-machine.h: ... here.
22843         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
22844         * sysdeps/nptl/pthread-functions.h: ... here.
22845         * nptl/sysdeps/pthread/pthread.h: Moved ...
22846         * sysdeps/nptl/pthread.h: ... here.
22847         * nptl/sysdeps/pthread/setxid.h: Moved ...
22848         * sysdeps/nptl/setxid.h: ... here.
22849         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
22850         * sysdeps/nptl/sigfillset.c: ... here.
22851         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
22852         * sysdeps/nptl/tcb-offsets.h: ... here.
22853         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
22854         * sysdeps/nptl/tst-mqueue8x.c: ... here.
22855         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
22856         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
22857         * nptl/sysdeps/pthread/allocalim.h: Moved ...
22858         * sysdeps/pthread/allocalim.h: ... here.
22859         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
22860         * sysdeps/pthread/bits/sigthread.h: ... here.
22861         * nptl/sysdeps/pthread/flockfile.c: Moved ...
22862         * sysdeps/pthread/flockfile.c: ... here.
22863         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
22864         * sysdeps/pthread/ftrylockfile.c: ... here.
22865         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
22866         * sysdeps/pthread/funlockfile.c: ... here.
22867         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
22868         * sysdeps/pthread/posix-timer.h: ... here.
22869         * nptl/sysdeps/pthread/timer_create.c: Moved ...
22870         * sysdeps/pthread/timer_create.c: ... here.
22871         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
22872         * sysdeps/pthread/timer_delete.c: ... here.
22873         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
22874         * sysdeps/pthread/timer_getoverr.c: ... here.
22875         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
22876         * sysdeps/pthread/timer_gettime.c: ... here.
22877         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
22878         * sysdeps/pthread/timer_routines.c: ... here.
22879         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
22880         * sysdeps/pthread/timer_settime.c: ... here.
22881         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
22882         * sysdeps/pthread/tst-timer.c: ... here.
22883         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
22884         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
22886         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
22887         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
22889         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
22890         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
22891         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
22892         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
22893         Update #include target.
22894         * nptl/sysdeps/i386/i686/Makefile: Moved ...
22895         * sysdeps/i386/i686/nptl/Makefile: ... here.
22896         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
22897         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
22898         Update #include target.
22899         * nptl/sysdeps/i386/i686/tls.h: Moved ...
22900         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
22901         * nptl/sysdeps/i386/Makefile: Moved ...
22902         * sysdeps/i386/nptl/Makefile: ... here.
22903         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
22904         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
22905         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
22906         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
22907         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
22908         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
22909         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
22910         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
22911         * sysdeps/i386/nptl/pthreaddef.h: ... here.
22912         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
22913         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
22914         * nptl/sysdeps/i386/tls.h: Moved ...
22915         * sysdeps/i386/nptl/tls.h: ... here.
22917         * sysdeps/sh/Makefile [$(subdir) = csu]
22918         (gen-as-const-headers): Add tcb-offsets.sym.
22919         * nptl/sysdeps/sh/Makefile: File removed.
22920         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
22921         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
22922         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
22923         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
22924         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
22925         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
22926         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
22927         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
22928         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
22929         * sysdeps/sh/nptl/pthreaddef.h: ... here.
22930         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
22931         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
22932         * nptl/sysdeps/sh/tls.h: Moved ...
22933         * sysdeps/sh/nptl/tls.h: ... here.
22934         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
22935         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
22936         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
22937         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
22938         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
22939         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
22940         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
22941         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
22942         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
22943         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
22944         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
22945         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
22946         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
22947         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
22948         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
22949         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
22950         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
22951         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
22952         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
22953         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
22954         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
22955         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
22956         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
22957         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
22958         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
22959         Moved ...
22960         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
22961         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
22962         Moved ...
22963         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
22964         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
22965         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
22966         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
22967         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
22968         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
22969         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
22970         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
22971         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
22972         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
22973         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
22974         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
22975         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
22976         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
22977         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
22978         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
22979         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
22980         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
22981         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
22983 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
22985         * posix/spawn_faction_addopen.c: Include string.h.
22987 2014-06-11  Roland McGrath  <roland@hack.frob.com>
22989         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
22990         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
22991         * nptl/sysdeps/x86_64/Makefile: Moved ...
22992         * sysdeps/x86_64/nptl/Makefile: ... here.
22993         * nptl/sysdeps/x86_64/configure: Moved ...
22994         * sysdeps/x86_64/nptl/configure: ... here.
22995         * nptl/sysdeps/x86_64/configure.ac: Moved ...
22996         * sysdeps/x86_64/nptl/configure.ac: ... here.
22997         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
22998         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
22999         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
23000         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
23001         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
23002         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
23003         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
23004         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
23005         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
23006         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
23007         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
23008         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
23009         * nptl/sysdeps/x86_64/tls.h: Moved ...
23010         * sysdeps/x86_64/nptl/tls.h: ... here.
23011         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
23012         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
23013         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
23014         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
23016         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
23018 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23020         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23022 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
23024         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
23025         type.
23026         [POSIX] (off_t): Likewise.
23027         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
23028         [POSIX] (S_ISBLK): Require macro.
23029         [POSIX] (S_ISCHR): Likewise.
23030         [POSIX] (S_ISDIR): Likewise.
23031         [POSIX] (S_ISFIFO): Likewise.
23032         [POSIX] (S_ISREG): Likewise.
23033         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
23034         optional-macro.
23035         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
23036         type.
23037         [POSIX] (time_t): Likewise.
23038         [POSIX] (timer_t): Likewise.
23040 2014-06-11  Florian Weimer  <fweimer@redhat.com>
23042         [BZ #17048]
23043         * posix/spawn_int.h (struct __spawn_action): Make the path string
23044         non-const to support deallocation.
23045         * posix/spawn_faction_addopen.c
23046         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
23047         * posix/spawn_faction_destroy.c
23048         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
23049         path in all spawn_do_open actions.
23050         * posix/tst-spawn.c (do_test): Exercise the copy operation in
23051         posix_spawn_file_actions_addopen.
23053 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
23055         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
23056         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
23057         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
23058         conditional code always true.
23059         (__libc_vfork): New alias.
23061 2014-06-11  Roland McGrath  <roland@hack.frob.com>
23063         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23064         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
23066         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
23068         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23069         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
23071         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
23072         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
23074         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23075         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
23077 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
23079         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
23080         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
23081         multiarch strcmp for PPC64.
23082         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
23083         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
23084         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
23085         multiarch optimizations.
23086         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23087         (__libc_ifunc_impl_list): Likewise.
23089 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23091         * benchtests/scripts/validate_benchout.py: New script.
23092         * benchtests/Makefile (bench-func): Call it.
23093         * benchtests/scripts/benchout.schema.json: New file.
23095 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
23097         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
23098         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
23099         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
23100         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
23101         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
23102         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
23103         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
23104         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
23105         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
23106         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
23107         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
23108         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
23109         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
23110         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
23111         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
23112         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
23113         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
23114         Moved ...
23115         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
23116         ... here.
23117         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
23118         Moved ...
23119         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
23120         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
23121         Moved ...
23122         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
23123         ... here.
23124         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
23125         Moved ...
23126         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
23127         ... here.
23128         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
23129         Moved ...
23130         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
23131         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
23132         Moved ...
23133         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
23134         ... here.
23135         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
23136         Moved ...
23137         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
23138         ... here.
23139         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
23140         Moved ...
23141         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
23142         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
23143         Moved ...
23144         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
23145         ... here.
23146         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
23147         Moved ...
23148         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
23149         ... here.
23150         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
23151         Moved ...
23152         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
23153         ... here.
23154         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
23155         Moved ...
23156         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
23157         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
23158         Moved ...
23159         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
23160         ... here.
23161         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
23162         Moved ...
23163         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
23164         ... here.
23165         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
23166         Moved ...
23167         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
23168         ... here.
23169         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
23170         Moved ...
23171         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
23172         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
23173         Moved ...
23174         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
23175         ... here.
23176         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
23177         Moved ...
23178         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
23179         ... here.
23180         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
23181         Moved ...
23182         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
23183         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
23184         Moved ...
23185         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
23186         ... here.
23187         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
23188         Moved ...
23189         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
23190         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
23191         Moved ...
23192         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
23193         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
23194         Moved ...
23195         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
23196         ... here.
23197         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
23198         Moved ...
23199         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
23200         ... here.
23201         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
23202         Moved ...
23203         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
23204         ... here.
23205         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
23206         Moved ...
23207         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
23208         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
23209         Moved ...
23210         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
23211         ... here.
23212         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
23213         Moved ...
23214         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
23215         ... here.
23216         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
23217         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
23218         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
23219         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
23220         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
23221         Moved ...
23222         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
23223         ... here.
23224         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
23225         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
23226         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
23227         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
23228         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
23229         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
23230         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
23231         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
23232         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
23233         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
23234         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
23235         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
23236         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
23237         Moved ...
23238         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
23239         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
23240         Moved ...
23241         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
23242         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
23243         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
23244         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
23245         Moved ...
23246         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
23247         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
23248         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
23249         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
23250         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
23251         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
23252         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
23254 2014-06-10  Wilco  <wdijkstr@arm.com>
23256         * math/test-fenv-return.c: New file.
23257         * math/Makefile: Add new test test-fenv-return.
23259 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
23261         [BZ #17042]
23262         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
23263         when x - 1 is zero.
23264         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
23265         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
23266         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
23267         0.0L for an argument of 1.0L.
23268         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
23269         Likewise.
23270         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
23271         value when x - 1 is zero.
23272         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
23273         * sysdeps/i386/fpu/libm-test-ulps: Update.
23274         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23276 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
23278         [BZ #15119]
23279         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
23281 2014-06-09  Roland McGrath  <roland@hack.frob.com>
23283         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
23284         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
23286 2014-06-09  Roland McGrath  <roland@hack.frob.com>
23288         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23289         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
23291         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23292         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
23294         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23295         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
23297         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23298         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
23300         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
23301         if not already defined.
23302         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
23303         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
23304         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
23305         (TLS_INIT_TP): Use it.
23306         (TLS_DEFINE_INIT_TP): New macro.
23307         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
23309 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
23311         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
23312         constant.
23313         [POSIX] (IXANY): Likewise.
23314         [POSIX] (OLCUC): Likewise.
23315         [POSIX || POSIX2008] (CBAUD): Do not allow.
23316         [POSIX || POSIX2008] (DEFECHO): Likewise.
23317         [POSIX || POSIX2008] (ECHOCTL): Likewise.
23318         [POSIX || POSIX2008] (ECHOKE): Likewise.
23319         [POSIX || POSIX2008] (ECHOPRT): Likewise.
23320         [POSIX || POSIX2008] (EXTA): Likewise.
23321         [POSIX || POSIX2008] (EXTB): Likewise.
23322         [POSIX || POSIX2008] (FLUSHO): Likewise.
23323         [POSIX || POSIX2008] (LOBLK): Likewise.
23324         [POSIX || POSIX2008] (PENDIN): Likewise.
23325         [POSIX || POSIX2008] (SWTCH): Likewise.
23326         [POSIX || POSIX2008] (VDISCARD): Likewise.
23327         [POSIX || POSIX2008] (VDSUSP): Likewise.
23328         [POSIX || POSIX2008] (VLNEXT): Likewise.
23329         [POSIX || POSIX2008] (VREPRINT): Likewise.
23330         [POSIX || POSIX2008] (VSTATUS): Likewise.
23331         [POSIX || POSIX2008] (VWERASE): Likewise.
23332         (B*): Change to B[0123456789]*.
23333         * conform/data/time.h-data [POSIX || UNIX98]
23334         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
23335         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
23336         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
23337         [POSIX] (tm_*): Do not allow.
23339 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
23341         * Makefile (install): Don't set LANGUAGE.
23342         * Makefile.in (install): Likewise.
23343         * assert/Makefile (test-assert-ENV): Remove variable.
23344         (test-assert-perr-ENV): Likewise.
23345         * elf/Makefile (neededtest4-ENV): Likewise.
23346         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
23347         [$(cross-compiling) = no]: Don't set LANGUAGE.
23348         * io/ftwtest-sh (LANG): Remove variable.
23349         * libio/Makefile (tst-widetext-ENV): Likewise.
23350         * manual/install.texi (Running make install): Don't refer to
23351         environment settings for make install.
23352         * INSTALL: Regenerated.
23353         * nptl/tst-tls6.sh: Don't set LANG.
23354         * posix/globtest.sh (LANG): Remove variable.
23355         * string/Makefile (tester-ENV): Likewise.
23356         (inl-tester-ENV): Likewise.
23357         (noinl-tester-ENV): Likewise.
23358         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
23359         [$(cross-compiling) = no]: Don't set LANGUAGE.
23360         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
23361         without explicit environment settings.
23363 2014-06-06  Roland McGrath  <roland@hack.frob.com>
23365         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
23366         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
23367         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
23368         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
23370 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
23372         * crypt/crypt-private.h [DOS]: Add some includes taken from the
23373         other files in the crypt directory.
23374         * crypt/crypt.c: Remove duplicate includes.
23375         * crypt/crypt-entry.c: Likewise.
23376         * crypt/crypt_util.c: Likewise.
23378 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
23380         * Makeconfig (run-program-env): New variable.
23381         (run-program-prefix-before-env): Likewise.
23382         (run-program-prefix-after-env): Likewise.
23383         (run-program-prefix): Define in terms of new variables.
23384         (built-program-cmd-before-env): New variable.
23385         (built-program-cmd-after-env): Likewise.
23386         (built-program-cmd): Define in terms of new variables.
23387         (test-program-prefix-before-env): New variable.
23388         (test-program-prefix-after-env): Likewise.
23389         (test-program-prefix): Define in terms of new variables.
23390         (test-program-cmd-before-env): New variable.
23391         (test-program-cmd-after-env): Likewise.
23392         (test-program-cmd): Define in terms of new variables.
23393         * Rules (make-test-out): Use $(run-program-env).
23394         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
23395         (help): Do not mention environment variables.  Mention
23396         --timeoutfactor option.
23397         (timeoutfactor): New variable.
23398         (blacklist_exports): Remove function.
23399         (exports): Remove variable.
23400         (command): Do not include ${exports}.
23401         * manual/install.texi (Configuring and compiling): Do not mention
23402         test wrappers preserving environment variables.  Mention that last
23403         assignment to a variable must take precedence.
23404         * INSTALL: Regenerated.
23405         * benchtests/Makefile (run-bench): Use $(run-program-env).
23406         * catgets/Makefile ($(objpfx)test1.cat): Use
23407         $(built-program-cmd-before-env), $(run-program-env) and
23408         $(built-program-cmd-after-env).
23409         ($(objpfx)test2.cat): Do not specify environment variables
23410         explicitly.
23411         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
23412         $(run-program-env) and $(built-program-cmd-after-env).
23413         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
23414         $(run-program-env) and $(test-program-cmd-after-env).
23415         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
23416         explicitly.
23417         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
23418         run_program_env and test_program_cmd_after_env arguments.
23419         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
23420         * elf/tst-pathopt.sh: Use run_program_env argument.
23421         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
23422         $(test-wrapper-env) and $(run-program-env).
23423         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
23424         run_program_env arguments.
23425         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
23426         * intl/Makefile ($(objpfx)tst-gettext.out): Use
23427         $(test-program-prefix-before-env), $(run-program-env) and
23428         $(test-program-prefix-after-env).
23429         ($(objpfx)tst-gettext2.out): Likewise.
23430         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
23431         run_program_env and test_program_prefix_after_env arguments.
23432         * intl/tst-gettext2.sh: Likewise.
23433         * intl/tst-gettext4.sh: Do not set environment variables
23434         explicitly.
23435         * intl/tst-gettext6.sh: Likewise.
23436         * intl/tst-translit.sh: Likewise.
23437         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
23438         $(test-program-prefix-before-env), $(run-program-env) and
23439         $(test-program-prefix-after-env).
23440         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
23441         run_program_env and test_program_prefix_after_env arguments.
23442         * math/Makefile (run-regen-ulps): Use $(run-program-env).
23443         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
23444         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
23445         explicitly with each use of ${test_wrapper_env}.
23446         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
23447         $(test-program-prefix-before-env), $(run-program-env) and
23448         $(test-program-prefix-after-env).
23449         * posix/tst-getconf.sh: Do not set environment variables
23450         explicitly.
23451         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
23452         run_program_env and test_program_prefix_after_env arguments.
23453         * stdio-common/tst-printf.sh: Do not set environment variables
23454         explicitly.
23455         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
23456         $(test-program-prefix-before-env), $(run-program-env) and
23457         $(test-program-prefix-after-env).
23458         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
23459         run_program_env and test_program_prefix_after_env arguments.
23460         Split $test calls into $test_pre and $test.
23461         * timezone/Makefile (build-testdata): Use
23462         $(built-program-cmd-before-env), $(run-program-env) and
23463         $(built-program-cmd-after-env).
23465 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23467         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
23468         strlen for non SHARED builds.
23470 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
23472         * nptl/allocatestack.c (check_list): Inlined function...
23473         (__reclaim_stacks): ... here.
23475 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
23477         [BZ #15698]
23478         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
23479         memory overrun.
23481 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
23483         * Rules (make-test-out): Include
23484         LOCPATH=$(common-objpfx)localedata in default environment.
23485         * debug/Makefile (tst-chk1-ENV): Remove variable.
23486         (tst-chk2-ENV): Likewise.
23487         (tst-chk3-ENV): Likewise.
23488         (tst-chk4-ENV): Likewise.
23489         (tst-chk5-ENV): Likewise.
23490         (tst-chk6-ENV): Likewise.
23491         (tst-lfschk1-ENV): Likewise.
23492         (tst-lfschk2-ENV): Likewise.
23493         (tst-lfschk3-ENV): Likewise.
23494         (tst-lfschk4-ENV): Likewise.
23495         (tst-lfschk5-ENV): Likewise.
23496         (tst-lfschk6-ENV): Likewise.
23497         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
23498         (tst-iconv7-ENV): Likewise.
23499         * intl/Makefile (LOCPATH-ENV): Likewise.
23500         (tst-codeset-ENV): Likewise.
23501         (tst-gettext3-ENV): Likewise.
23502         (tst-gettext5-ENV): Likewise.
23503         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
23504         (tst-fopenloc-ENV): Likewise.
23505         (tst-fgetws-ENV): Remove variable.
23506         (tst-ungetwc1-ENV): Likewise.
23507         (tst-ungetwc2-ENV): Likewise.
23508         (bug-ungetwc2-ENV): Likewise.
23509         (tst-swscanf-ENV): Likewise.
23510         (bug-ftell-ENV): Likewise.
23511         (tst-fgetwc-ENV): Likewise.
23512         (tst-fseek-ENV): Likewise.
23513         (tst-ftell-partial-wide-ENV): Likewise.
23514         (tst-ftell-active-handler-ENV): Likewise.
23515         (tst-ftell-append-ENV): Likewise.
23516         * posix/Makefile (tst-fnmatch-ENV): Likewise.
23517         (tst-regexloc-ENV): Likewise.
23518         (bug-regex1-ENV): Likewise.
23519         (tst-regex-ENV): Likewise.
23520         (tst-regex2-ENV): Likewise.
23521         (bug-regex5-ENV): Likewise.
23522         (bug-regex6-ENV): Likewise.
23523         (bug-regex17-ENV): Likewise.
23524         (bug-regex18-ENV): Likewise.
23525         (bug-regex19-ENV): Likewise.
23526         (bug-regex20-ENV): Likewise.
23527         (bug-regex22-ENV): Likewise.
23528         (bug-regex23-ENV): Likewise.
23529         (bug-regex25-ENV): Likewise.
23530         (bug-regex26-ENV): Likewise.
23531         (bug-regex30-ENV): Likewise.
23532         (bug-regex32-ENV): Likewise.
23533         (bug-regex33-ENV): Likewise.
23534         (bug-regex34-ENV): Likewise.
23535         (bug-regex35-ENV): Likewise.
23536         (tst-rxspencer-ENV): Likewise.
23537         (tst-rxspencer-no-utf8-ENV): Likewise.
23538         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
23539         (tst-sscanf-ENV): Likewise.
23540         (tst-swprintf-ENV): Likewise.
23541         (tst-swscanf-ENV): Likewise.
23542         (test-vfprintf-ENV): Likewise.
23543         (scanf13-ENV): Likewise.
23544         (bug14-ENV): Likewise.
23545         (tst-grouping-ENV): Likewise.
23546         * stdlib/Makefile (tst-strtod-ENV): Likewise.
23547         (tst-strtod3-ENV): Likewise.
23548         (tst-strtod4-ENV): Likewise.
23549         (tst-strtod5-ENV): Likewise.
23550         (testmb2-ENV): Likewise./
23551         * string/Makefile (tst-strxfrm-ENV): Likewise.
23552         (tst-strxfrm2-ENV): Likewise.
23553         (bug-strcoll1-ENV): Likewise.
23554         (test-strcasecmp-ENV): Likewise.
23555         (test-strncasecmp-ENV): Likewise.
23556         * time/Makefile (tst-strptime-ENV): Likewise.
23557         (tst-ftime_l-ENV): Likewise.
23558         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
23559         (tst-mbrtowc-ENV): Likewise.
23560         (tst-wcrtomb-ENV): Likewise.
23561         (tst-mbrtowc2-ENV): Likewise.
23562         (tst-c16c32-1-ENV): Likewise.
23563         (tst-mbsnrtowcs-ENV): Likewise.
23565 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
23567         * manual/resource.texi (How to get information about the memory
23568         subsystem?): Fix typo.
23569         Reported by Peon de la Parra Ivan <peon@keba.com>
23571 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
23573         [BZ #16882]
23574         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
23575         (pthread_spin_lock): Branch out of spin loop to proper location.
23576         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
23577         (pthread_spin_lock): Likewise.
23579         * nptl/tst-spin4.c: New test.
23580         * nptl/Makefile (tests): Add tst-spin4.
23582 2014-06-03  Andreas Schwab  <schwab@suse.de>
23584         [BZ #15946]
23585         * resolv/res_send.c (send_dg): Reload file descriptor after
23586         calling reopen.
23588 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
23590         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23592 2014-06-03  Richard Henderson  <rth@redhat.com>
23594         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
23595         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
23596         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
23597         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
23598         in the SAVE_PID block.
23599         (__libc_vfork): New alias.
23600         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
23602         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
23603         child in registers, not on the stack.  Remove RESET_PID conditionals.
23604         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
23606 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
23608         * sysdeps/aarch64/libm-test-ulps: Regenerate.
23610 2014-06-03  Wilco  <wdijkstr@arm.com>
23612         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
23613         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
23614         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
23615         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
23616         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
23617         Likewise.
23619 2014-06-03  Wilco  <wdijkstr@arm.com>
23621         * sysdeps/aarch64/fpu/math_private.h
23622         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
23623         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
23624         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
23625         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
23626         Fix declarations.
23628 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
23630         * crypt/crypt-private.h: Include ufc-crypt.h.
23631         (__b64_from_24bit): Declare extern.
23632         * crypt/crypt_util.c(__b64_from_24bit): New function.
23633         (b64t): New static const variable.
23634         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
23635         (b64t): Remove variable.
23636         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
23637         * crypt/sha256-crypt.c: Include crypt-private.h.
23638         (b64t): Remove variable.
23639         (__sha256_crypt_r): Remove b64_from_24bit and replace
23640         with __b64_from_24bit.
23641         * crypt/sha512-crypt.c: Likewise.
23643 2014-06-02  Roland McGrath  <roland@hack.frob.com>
23645         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
23646         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
23647         Label the code __libc_vfork rather than __vfork.
23648         [!NOT_IN_libc] (vfork): Define as weak alias.
23649         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
23650         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
23651         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
23653 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23655         * malloc/malloc.c (malloc_info): Fix format specifier for
23656         n_mmaps.
23658 2014-06-02  Wilco  <wdijkstr@arm.com>
23660         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
23661         FPCR write.
23663 2014-06-02  Wilco  <wdijkstr@arm.com>
23665         [BZ #17009]
23666         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
23667         Rewrite to reduce FPCR/FPSR accesses.
23669 2014-06-01  David S. Miller  <davem@davemloft.net>
23671         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23673 2014-05-31  David S. Miller  <davem@davemloft.net>
23675         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
23676         to occur in round to nearest mode when |x| >= 2.0
23678 2014-05-30  Richard Henderson  <rth@twiddle.net>
23680         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
23681         (PSEUDO_RET_NOERRNO): Remove.
23682         (ret): Don't redefine.
23683         (ret_NOERRNO): Define in terms of ret.
23684         (ret_ERRVAL): Likewise.
23686         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
23687         use of PSEUDO_RET; perform the error check directly.
23689 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
23691         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
23692         with __int128_t.
23694 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23696         * malloc/malloc (malloc_info): Fix formatting.
23698 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23699             Roland McGrath  <roland@hack.frob.com>
23701         * malloc/malloc (malloc_info): Also print mmapped statistics.
23703 2014-05-30  Roland McGrath  <roland@hack.frob.com>
23705         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
23706         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
23708 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
23710         * malloc/malloc.c (malloc_info): Inline mi_arena.
23712 2014-05-29  Richard Henderson  <rth@twiddle.net>
23714         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
23715         Remove comma before expanding ASM_ARGS_##nr.
23716         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
23717         Make _x0 a strict output; make _x8 a strict input; adjust expansion
23718         of ASM_ARGS_##nr.
23719         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
23720         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
23721         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
23722         (ASM_ARGS_1): Add leading comma.
23724         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
23725         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
23726         to __errno_location.
23727         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
23728         Remove the expected plt for __errno_location.
23730         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
23731         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
23732         call to __read_tp.
23734         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
23735         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
23736         it and break it down.
23737         (DOCARGS_0, DOCARGS_1): Do nothing.
23738         (DOCARGS_2): Update to store into the new stack frame.
23739         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
23740         (UNDOCARGS_1): Update to restore from the new stack frame.
23741         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
23742         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
23744         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
23745         (SINGLE_THREAD_P): New parameter for result regno.
23746         (PSEUDO): Update to match; use cbz instead of beq.
23748         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
23749         Use ENTRY to define the _nocancel entry point.  Share the syscall
23750         and syscall error check paths with the cancel path.
23751         (PSEUDO_END): New.
23753         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
23754         whitespace; tabs before and after asm mnemonics.
23756 2014-05-29  Eric Wong  <normalperson@yhbt.net>
23758         [BZ #15132]
23759         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23760         Call fstat64 or stat64 internally, depending on arguments passed.
23761         Replace stat buffer argument with file descriptor argument.
23762         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
23763         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
23764         Pass fd to __internal_statvfs instead of calling fstat64.
23765         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
23766         Pass fd to __internal_statvfs64 instead of calling fstat64.
23767         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
23768         Pass -1 to __internal_statvfs instead of calling stat64.
23769         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
23770         Pass -1 to __internal_statvfs64 instead of calling stat64.
23772 2014-05-28  Roland McGrath  <roland@hack.frob.com>
23774         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
23775         that was previously under [RESET_PID].
23776         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
23778         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
23779         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
23781 2014-05-27  Roland McGrath  <roland@hack.frob.com>
23783         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
23785         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
23786         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
23788 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
23790         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
23792 2014-05-27  Andreas Schwab  <schwab@suse.de>
23794         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
23795         TLS_INIT_TP macro.
23796         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
23797         * elf/rtld.c (init_tls, dl_main): Likewise.
23798         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
23799         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
23800         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
23801         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
23802         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
23803         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
23804         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
23805         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
23806         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
23807         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
23808         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
23809         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
23810         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
23811         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
23812         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
23813         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
23814         * sysdeps/generic/tls.h: Update description.
23816 2014-05-27  Will Newton  <will.newton@linaro.org>
23818         [BZ #16990]
23819         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
23820         and restore r2 rather than just restoring.
23822 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23824         [BZ #16724]
23825         * libio/tst-ftell-append.c: New test case.
23826         * libio/Makefile (tests): Add test case.
23827         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
23828         append mode.
23829         * libio/wfileops.c (do_ftell_wide): Likewise.
23831 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23833         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23835         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
23836         ...
23837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
23838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
23839         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
23840         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
23841         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
23842         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
23843         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
23844         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
23845         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
23846         Moved ...
23847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
23848         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
23849         Moved ...
23850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
23851         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
23852         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
23853         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
23854         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
23855         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
23856         ...
23857         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
23858         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
23859         Moved ...
23860         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
23861         here.
23862         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
23863         ...
23864         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
23865         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
23866         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
23868         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
23869         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
23870         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
23871         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
23873         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
23874         merge into ...
23875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
23876         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
23877         ...
23878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
23879         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
23880         ...
23881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
23882         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
23883         Moved ...
23884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
23885         here.
23886         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
23887         Moved ...
23888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
23889         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
23890         Moved ...
23891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
23893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
23894         conditional [RESET_PID].
23895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
23896         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
23897         removed.
23898         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
23899         removed.
23901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
23902         <tcb-offsets.h>.
23903         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
23904         (__libc_vfork): New strong alias.
23905         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
23906         removed.
23907         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
23908         Removed.
23910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
23911         <tcb-offsets.h>.
23912         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
23913         (__libc_vfork): New strong alias.
23914         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
23915         removed.
23916         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
23917         removed.
23919 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
23921         * malloc/malloc.c (mi_arena): New function.
23922         (malloc_info): Remove nested function mi_arena. Call non-nosted
23923         function mi_arena.
23925 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23927         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
23928         by insrwi.
23929         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
23930         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
23931         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
23932         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
23933         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
23934         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
23935         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
23937 2014-05-26  Andreas Schwab  <schwab@suse.de>
23939         [BZ #16984]
23940         * locale/programs/repertoire.c (repertoire_read): Add slash
23941         between I18NPATH element and file name.
23942         * locale/programs/locfile.c (locfile_read): Likewise.
23944 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
23946         * nptl/pthread_mutexattr_settype.c
23947         (__pthread_mutexattr_settype):
23948         Disable lock elision for PTHREAD_MUTEX_NORMAL.
23950 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
23952         * nptl/tst-mutex5 (do_test):
23953         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
23955 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23957         * benchtests/README: Document 'init' directive.
23958         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
23959         BENCH_INIT.
23960         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
23961         (parse_file): Recognize 'init' directive.
23963 2014-05-26  Kyle McMartin  <kyle@redhat.com>
23965         [BZ #16796]
23966         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
23967         alignment of struct pthread.
23969 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23971         [BZ #16878]
23972         * nscd/netgroupcache.c (addgetnetgrentX): Look for
23973         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
23974         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
23975         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
23977 2014-05-25  Richard Henderson  <rth@twiddle.net>
23979         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
23980         (SINGLE_THREAD_P_PIC): Remove.
23981         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
23982         (SINGLE_THREAD_P_PIC): Remove.
23984         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
23985         branch to syscall error ...
23986         (PSEUDO): ... here.
23987         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
23988         from __local_syscall_error to .Lsyscall_error.
23989         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
23990         (SYSCALL_ERROR): Update label name.
23992         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
23993         Do not use DOARGS/UNDOARGS.
23994         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
23995         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
23996         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
23997         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
23998         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
24000         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
24001         block comment.
24003         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
24004         define if !NOT_IN_libc.
24005         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
24006         define with non-default symbol versions.
24008 2014-05-23  Richard Henderson  <rth@twiddle.net>
24010         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
24011         (vfork, __vfork): Define via compat_symbol.
24013         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
24014         [!HAVE_IFUNC] (vfork_compat): Remove.
24015         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
24017 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
24019         [BZ #16978]
24020         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
24021         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
24022         variable.
24024 2014-05-23  Richard Henderson  <rth@twiddle.net>
24026         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
24027         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
24028         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
24029         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
24031         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
24032         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
24033         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
24034         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
24035         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
24036         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
24037         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
24038         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
24039         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
24040         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
24041         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
24042         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
24043         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
24044         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
24045         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
24046         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
24047         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
24048         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
24049         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
24050         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
24051         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
24052         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
24053         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
24054         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
24055         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
24056         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
24057         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
24058         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
24059         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
24060         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
24061         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
24062         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
24063         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
24064         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
24065         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
24066         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
24067         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
24068         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
24069         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
24070         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
24071         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
24072         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
24073         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
24074         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
24075         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
24076         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
24077         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
24078         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
24079         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
24080         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
24081         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
24082         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
24083         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
24084         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
24085         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
24086         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
24088         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
24089         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
24090         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
24091         before exiting on error.
24092         (__libc_vfork): New strong alias.
24093         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
24094         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
24096         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
24097         that was previously under [RESET_PID].
24098         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
24100         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
24102 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
24104         [BZ #16977]
24105         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
24106         value when x - 1 is zero.
24107         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
24108         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
24109         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
24110         0.0L for an argument of 1.0L.
24111         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
24112         Likewise.
24113         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
24114         value when x - 1 is zero.
24115         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
24116         * sysdeps/i386/fpu/libm-test-ulps: Update.
24117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24119 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
24121         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
24122         alphasort and versionsort.
24124 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24126         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
24127         macro.
24128         [copysignf]: Likewise.
24130 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
24132         * crypt/md5-crypt.c: Fix formatting.
24134 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
24136         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
24137         (b64_from_24bit): New function.
24139 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24141         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
24142         libc_hidden_builtin_def to ifunc.
24143         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
24144         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
24146 2014-05-21  Roland McGrath  <roland@hack.frob.com>
24148         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
24149         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
24151 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
24153         * nscd/Depend (linuxthreads): Remove.
24154         (nptl): Add.
24155         * resolv/Depend (linuxthreads): Remove.
24156         * rt/Depend (linuxthreads): Remove.
24158         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
24159         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
24160         $(common-objpfx)elf/.
24161         (link-libc-before-gnulib): Likewise.
24162         (elfobjdir): Remove variable.
24163         * Makefile (install): Use $(elf-objpfx) instead of
24164         $(common-objpfx)elf/.
24165         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
24166         $(elfobjdir)/.
24167         (link-libc-deps): Likewise.
24168         ($(common-objpfx)libc.so): Likewise.
24169         ($(common-objpfx)linkobj/libc.so): Likewise.
24170         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
24171         instead of $(common-objpfx)elf/.
24172         (symbolic-link-list): Likewise.
24173         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
24174         [$(cross-compiling) = no]: Likewise.
24175         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
24176         $(elfobjdir)/.
24177         (static-gnulib-arch): Likewise.
24178         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
24179         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
24180         $(common-objpfx)elf/.
24182 2014-05-21  Richard Henderson  <rth@redhat.com>
24184         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
24185         (SINGLE_THREAD_P): Use the correct width load.  Fold
24186         into the ldr offset.
24188         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
24189         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
24191 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
24193         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
24194         (libgcc_s_resume): Use __attribute_used__.
24195         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
24196         Likewise.
24198 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24200         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
24201         optimization when used with float constants.
24203         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24205 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
24207         [BZ #16915]
24208         * locale/nl_langinfo_l.c: Make direct reference to every
24209         _nl_current_CATEGORY symbol.
24210         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
24211         (tests-static): Add tst-langinfo-static.
24212         (tests-special): Add tst-langinfo-static.out.
24213         ($(objpfx)tst-langinfo.out): Redirect output.
24214         ($(objpfx)tst-langinfo-static.out): New.
24215         * localedata/tst-langinfo.sh: Send output to stdout.
24216         * localedata/tst-langinfo-static.c: New file.
24218         [BZ #16965]
24219         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
24220         when the shift amount is modulo the limb size.
24222 2014-05-20  Richard Henderson  <rth@redhat.com>
24224         [BZ #16967]
24225         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
24226         Change type of sa_flags from unsigned int to int.
24228         [BZ #16966]
24229         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
24231         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
24233 2014-05-20  Will Newton  <will.newton@linaro.org>
24235         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
24236         Test the return value of the system call in the nocancel case.
24238 2014-05-20  Will Newton  <will.newton@linaro.org>
24239             Yvan Roux  <yvan.roux@linaro.org>
24241         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
24242         #include of asm/ptrace.h.
24243         (PTRACE_GET_THREAD_AREA): Remove #undef.
24244         (PTRACE_GETHBPREGS): Likewise.
24245         (PTRACE_SETHBPREGS): Likewise.
24246         (struct user_regs_struct): New structure.
24247         (struct user_fpsimd_struct): New structure.
24248         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
24249         #include of asm/ptrace.h and second #include of sys/user.h.
24250         (PTRACE_GET_THREAD_AREA): Remove #undef.
24251         (PTRACE_GETHBPREGS): Likewise.
24252         (PTRACE_SETHBPREGS): Likewise.
24253         (ELF_NGREG): Use new struct user_regs_struct.
24254         (elf_fpregset_t): Use new struct user_fpsimd_struct.
24256 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24258         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
24259         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
24261 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
24263         [BZ #16958]
24264         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
24265         membar to avoid block loads/stores to overlap previous stores.
24267 2014-05-17  Richard Henderson  <rth@redhat.com>
24269         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
24270         Create the __##syscall_name##_nocancel entry point.
24271         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
24272         Remove; let the sysdep-cancel.h code create it.
24274 2014-05-17  David S. Miller  <davem@davemloft.net>
24276         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
24277         Protect with __USE_GNU.
24278         (TIOCSET_TEMPT): Likewise.
24279         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
24280         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
24281         these are already provided in bits/ioctl-types.h
24283 2014-05-16  Roland McGrath  <roland@hack.frob.com>
24285         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
24286         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
24288         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
24289         Use wait4 regardless of [__NR_waitpid].
24291 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
24293         PR libgcc/60166
24294         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
24295         (_FP_NANSIGN_Q): Set the quiet bit.
24297 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
24299         * benchtests/Makefile
24300         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
24301         not $(common-objpfx)math/libm.so.
24302         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
24303         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
24304         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
24305         $(common-objpfx)dlfcn/libdl.so.
24306         ($(objpfx)tst-audit8): Depend on $(libm), not
24307         $(common-objpfx)math/libm.so.
24308         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
24309         not $(common-objpfx)dlfcn/libdl.so.
24310         * math/Makefile
24311         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
24312         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
24313         [$(build-shared) = yes].
24314         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
24315         $(common-objpfx)nptl/libpthread.so.
24316         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
24317         $(common-objpfx)math/libm.so$(libm.so-version) or
24318         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
24319         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
24320         $(common-objpfx)dlfcn/libdl.so.
24321         * setjmp/Makefile (link-libm): Remove variable.
24322         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
24323         * stdio-common/Makefile (link-libm): Remove variable.
24324         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
24325         * stdlib/Makefile (link-libm): Remove variable.
24326         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
24327         ($(objpfx)tst-strtod-round): Likewise.
24328         ($(objpfx)tst-tininess): Likewise.
24329         ($(objpfx)tst-strtod-underflow): Likewise.
24330         ($(objpfx)tst-strtod6): Likewise.
24331         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
24332         $(libdl), not $(common-objpfx)nptl/libpthread.so and
24333         $(common-objpfx)dlfcn/libdl.so.
24335 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24337         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
24338         BSD terminal modes definitions.
24340 2014-05-16  Roland McGrath  <roland@hack.frob.com>
24342         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
24343         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
24345         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
24346         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
24347         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
24348         Don't do #include_next.
24349         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
24350         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
24351         Don't do #include_next.
24352         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
24353         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
24354         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
24355         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
24357 2014-05-16  Allan McRae  <allan@archlinux.org>
24359         * po/sv.po: Update Swedish translation from translation project.
24361         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
24362         in sed expression.
24364 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
24366         [BZ #16917]
24367         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
24368         errno if the TIOCGPTN ioctl fails with an error different than
24369         EINVAL.
24370         * login/tst-ptsname.c: New file.
24371         * login/Makefile (tests): Add tst-ptsname.
24373         [BZ #16943]
24374         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
24375         and prlimit64.
24377 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24379         [BZ #16849]
24380         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
24381         herrno to return EAI_AGAIN.
24383 2014-05-14  Roland McGrath  <roland@hack.frob.com>
24385         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
24386         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
24387         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
24388         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
24389         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
24390         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
24391         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
24392         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
24393         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
24394         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
24395         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
24396         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
24397         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
24398         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
24399         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
24400         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
24401         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
24402         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
24403         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
24404         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
24405         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
24406         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
24407         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
24408         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
24409         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
24410         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
24411         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
24412         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
24413         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
24414         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
24415         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
24416         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
24417         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
24418         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
24419         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
24420         Moved ...
24421         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
24422         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
24423         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
24424         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
24425         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
24426         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
24427         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
24428         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
24429         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
24430         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
24431         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
24432         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
24433         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
24434         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
24435         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
24436         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
24437         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
24438         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
24439         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
24440         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
24441         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
24442         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
24443         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
24444         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
24445         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
24446         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
24447         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
24448         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
24449         Moved ...
24450         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
24451         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
24452         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
24453         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
24454         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
24455         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
24456         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
24457         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
24458         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
24459         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
24460         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
24461         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
24462         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
24463         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
24464         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
24465         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
24466         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
24467         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
24468         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
24469         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
24470         Moved ...
24471         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
24472         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
24473         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
24475         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
24476         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
24477         (libpthread-sysdep_routines): Add elision-related stuff here instead.
24478         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
24479         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
24480         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
24481         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
24482         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
24483         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
24484         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
24485         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
24486         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
24487         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
24488         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
24489         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
24490         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
24491         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
24492         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
24493         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
24494         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
24495         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
24496         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
24497         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
24498         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
24499         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
24500         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
24501         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
24502         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
24503         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
24504         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
24505         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
24507         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
24508         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
24510         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
24511         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
24512         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
24513         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
24514         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
24515         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
24516         Moved ...
24517         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
24518         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
24519         Moved ...
24520         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
24521         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
24522         Moved ...
24523         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
24524         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
24525         Moved ...
24526         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
24527         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
24528         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
24529         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
24530         Moved ...
24531         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
24532         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
24533         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
24534         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
24535         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
24536         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
24537         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
24538         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
24539         Moved ...
24540         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
24541         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
24542         Moved ...
24543         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
24544         ... here.
24545         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
24546         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
24547         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
24548         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
24549         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
24550         Moved ...
24551         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
24552         ... here.
24553         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
24554         Moved ...
24555         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
24556         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
24557         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
24558         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
24559         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
24560         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
24561         Moved ...
24562         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
24563         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
24564         Moved ...
24565         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
24566         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
24567         Moved ...
24568         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
24569         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
24570         Moved ...
24571         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
24572         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
24573         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
24574         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
24575         Moved ...
24576         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
24577         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
24578         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
24579         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
24580         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
24581         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
24582         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
24583         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
24584         Moved ...
24585         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
24586         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
24587         Moved ...
24588         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
24589         ... here.
24590         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
24591         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
24592         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
24593         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
24594         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
24595         Moved ...
24596         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
24597         ... here.
24598         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
24599         Moved ...
24600         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
24601         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
24602         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
24603         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
24604         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
24605         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
24606         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
24607         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
24608         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
24609         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
24610         Moved ...
24611         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
24612         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
24613         Moved ...
24614         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
24615         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
24616         Moved ...
24617         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
24618         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
24619         Moved ...
24620         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
24621         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
24622         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
24623         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
24624         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
24625         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
24626         Moved ...
24627         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
24628         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
24629         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
24630         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
24631         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
24632         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
24633         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
24634         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
24635         Moved ...
24636         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
24637         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
24638         Moved ...
24639         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
24640         ... here.
24641         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
24642         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
24643         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
24644         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
24645         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
24646         Moved ...
24647         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
24648         ... here.
24649         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
24650         Moved ...
24651         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
24652         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
24653         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
24654         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
24655         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
24656         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
24657         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
24658         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
24659         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
24660         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
24661         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
24663         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
24664         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
24666         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
24667         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
24669         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
24670         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
24671         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
24672         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
24673         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
24674         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
24675         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
24676         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
24677         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
24678         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
24679         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
24680         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
24681         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
24682         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
24683         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
24684         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
24685         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
24686         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
24687         Moved ...
24688         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
24689         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
24690         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
24691         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
24692         Moved ...
24693         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
24694         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
24695         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
24696         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
24697         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
24698         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
24699         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
24700         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
24701         Moved ...
24702         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
24703         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
24704         Moved ...
24705         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
24706         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
24707         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
24708         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
24709         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
24710         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
24711         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
24712         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
24713         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
24714         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
24715         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
24716         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
24717         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
24718         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
24719         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
24720         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
24721         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
24723         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
24724         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
24725         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
24726         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
24727         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
24729         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
24730         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
24731         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
24732         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
24733         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
24734         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
24735         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
24736         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
24737         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
24738         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
24740         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
24741         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
24743         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
24744         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
24745         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
24746         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
24747         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
24748         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
24749         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
24750         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
24751         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
24752         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
24753         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
24754         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
24755         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
24756         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
24757         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
24758         Update #include.
24759         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
24760         Likewise.
24761         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
24762         Likewise.
24763         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
24764         Likewise.
24765         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
24766         Likewise.
24767         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
24768         Likewise.
24769         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
24770         Likewise.
24771         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
24772         Likewise.
24773         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
24774         Likewise.
24775         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
24776         Likewise.
24777         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
24778         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
24779         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
24780         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
24781         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
24782         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
24783         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
24784         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
24785         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
24786         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
24787         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
24788         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
24789         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
24790         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
24791         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
24793         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
24794         that was previously under [RESET_PID].
24795         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
24796         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
24797         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
24799         * sysdeps/i386/nptl/Implies: New file.
24800         * sysdeps/x86_64/nptl/Implies: New file.
24801         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
24802         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
24803         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
24804         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
24806         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
24807         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
24808         (__libc_vfork): New strong alias.
24809         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
24810         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
24812         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
24813         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
24814         (__libc_vfork): New strong alias.
24815         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
24816         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
24818         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
24819         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
24820         (__libc_vfork): New strong alias.
24821         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
24822         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
24823         * nptl/pt-vfork.c: New file.
24824         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
24825         (libpthread: GLIBC_2.20): New version set (empty).
24827 2014-05-14  Will Newton  <will.newton@linaro.org>
24829         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
24830         rather than #if.
24832 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
24834         [BZ #16564]
24835         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
24836         arguments with exponent 65 or above.
24837         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
24838         arguments 0x1p113L or above.
24839         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
24840         to arguments 0x1p107L or above.
24841         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
24842         positive arguments with exponent 65 or above.
24843         * math/auto-libm-test-in: Add more tests of log1p.
24844         * math/auto-libm-test-out: Regenerated.
24846         [BZ #16928]
24847         * math/s_cacos.c (__cacos): Ensure zero real part of result from
24848         non-finite arguments is +0.
24849         * math/s_cacosf.c (__cacosf): Likewise.
24850         * math/s_cacosl.c (__cacosl): Likewise.
24851         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
24852         * sysdeps/i386/fpu/libm-test-ulps: Update.
24853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24855         [BZ #16927]
24856         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
24857         value.
24858         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
24859         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
24860         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
24861         for explicit high bit of mantissa when testing for argument equal
24862         to 1.
24863         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
24864         * sysdeps/i386/fpu/libm-test-ulps: Update.
24865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24867         [BZ #16516]
24868         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
24869         (__erf): Scale by 16 instead of 8 in potentially underflowing
24870         case.  Ensure exception if result actually underflows.
24871         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
24872         (__erff): Scale by 16 instead of 8 in potentially underflowing
24873         case.  Ensure exception if result actually underflows.
24874         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
24875         (efx8): Remove variable.
24876         (__erfl): Scale by 16 instead of 8 in potentially underflowing
24877         case.  Ensure exception if result actually underflows.
24878         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
24879         (efx8): Remove variable.
24880         (__erfl): Scale by 16 instead of 8 in potentially underflowing
24881         case.  Ensure exception if result actually underflows.
24882         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
24883         (efx8): Remove variable.
24884         (__erfl): Scale by 16 instead of 8 in potentially underflowing
24885         case.  Ensure exception if result actually underflows.
24886         * math/auto-libm-test-in: Add more tests of erf.
24887         * math/auto-libm-test-out: Regenerated.
24889 2014-05-14  Andreas Schwab  <schwab@suse.de>
24891         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
24892         Remove code conditionalized on USE___THREAD.
24894         * config.h.in (HAVE_PT_CHOWN): Define as 0.
24895         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
24896         not definedness.
24898 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
24900         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
24901         Define unconditionally.
24902         (__ASSUME_O_CLOEXEC): Likewise.
24903         (__ASSUME_SOCK_CLOEXEC): Likewise.
24904         (__ASSUME_IN_NONBLOCK): Likewise.
24905         (__ASSUME_PIPE2): Likewise.
24906         (__ASSUME_EVENTFD2): Likewise.
24907         (__ASSUME_SIGNALFD4): Likewise.
24908         (__ASSUME_DUP3): Likewise.
24909         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24910         (__ASSUME_DUP3): Do not define.
24911         (__ASSUME_EVENTFD2): Likewise.
24912         (__ASSUME_IN_NONBLOCK): Likewise.
24913         (__ASSUME_O_CLOEXEC): Likewise.
24914         (__ASSUME_PIPE2): Likewise.
24915         (__ASSUME_SIGNALFD4): Likewise.
24916         (__ASSUME_SOCK_CLOEXEC): Likewise.
24917         (__ASSUME_UTIMES): Undefine.
24918         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24919         (__ASSUME_UTIMES): Do not define.
24920         (__ASSUME_O_CLOEXEC): Likewise.
24921         (__ASSUME_SOCK_CLOEXEC): Likewise.
24922         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
24923         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
24924         0x020621].
24925         (__ASSUME_PIPE2): Likewise.
24926         (__ASSUME_EVENTFD2): Likewise.
24927         (__ASSUME_SIGNALFD4): Likewise.
24928         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
24929         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
24930         Do not define.
24931         (__ASSUME_EVENTFD2): Likewise.
24932         (__ASSUME_SIGNALFD4): Likewise.
24933         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
24934         (__ASSUME_32BITUIDS): Likewise.
24935         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
24936         (__ASSUME_IPC64): Likewise.
24937         (__ASSUME_ST_INO_64_BIT): Likewise.
24938         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
24939         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
24940         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24941         (__ASSUME_UTIMES): Do not define.
24942         (__ASSUME_PSELECT): Likewise.
24943         (__ASSUME_PPOLL): Likewise.
24944         (__ASSUME_O_CLOEXEC): Likewise.
24945         (__ASSUME_SOCK_CLOEXEC): Likewise.
24946         (__ASSUME_IN_NONBLOCK): Likewise.
24947         (__ASSUME_PIPE2): Likewise.
24948         (__ASSUME_EVENTFD2): Likewise.
24949         (__ASSUME_SIGNALFD4): Likewise.
24950         (__ASSUME_DUP3): Likewise.
24951         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24952         (__ASSUME_UTIMES): Likewise.
24953         (__ASSUME_O_CLOEXEC): Likewise.
24954         (__ASSUME_SOCK_CLOEXEC): Likewise.
24955         (__ASSUME_IN_NONBLOCK): Likewise.
24956         (__ASSUME_PIPE2): Likewise.
24957         (__ASSUME_EVENTFD2): Likewise.
24958         (__ASSUME_SIGNALFD4): Likewise.
24959         (__ASSUME_DUP3): Likewise.
24960         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24961         (__ASSUME_UTIMES): Likewise.
24962         (__ASSUME_O_CLOEXEC): Likewise.
24963         (__ASSUME_SOCK_CLOEXEC): Likewise.
24964         (__ASSUME_IN_NONBLOCK): Likewise.
24965         (__ASSUME_PIPE2): Likewise.
24966         (__ASSUME_EVENTFD2): Likewise.
24967         (__ASSUME_SIGNALFD4): Likewise.
24968         (__ASSUME_DUP3): Likewise.
24969         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
24970         Likewise.
24971         (__ASSUME_UTIMES): Likewise.
24972         (__ASSUME_EVENTFD2): Likewise.
24973         (__ASSUME_SIGNALFD4): Likewise.
24974         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24975         (__ASSUME_O_CLOEXEC): Likewise.
24976         (__ASSUME_SOCK_CLOEXEC): Likewise.
24977         (__ASSUME_IN_NONBLOCK): Likewise.
24978         (__ASSUME_PIPE2): Likewise.
24979         (__ASSUME_EVENTFD2): Likewise.
24980         (__ASSUME_SIGNALFD4): Likewise.
24981         (__ASSUME_DUP3): Likewise.
24982         (__ASSUME_UTIMES): Undefine.
24984         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
24985         feclearexcept.  Remove symbol versioning code.
24986         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
24987         symbol versioning code.
24988         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
24989         symbol versioning code.
24990         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
24991         feupdateenv.  Remove symbol versioning code.
24992         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
24993         fegetexceptflag.  Remove symbol versioning code.
24994         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
24995         fesetexceptflag.  Remove symbol versioning code.
24996         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
24997         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
24998         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
24999         (__posix_fadvise64_l32): Remove prototype.
25000         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
25001         code.
25003 2014-05-13  Roland McGrath  <roland@hack.frob.com>
25005         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
25006         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
25007         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
25008         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
25010 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
25012         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
25013         current working directory
25015 2014-05-13  Roland McGrath  <roland@hack.frob.com>
25017         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
25018         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
25019         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
25020         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
25021         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
25022         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
25023         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
25024         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
25025         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
25026         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
25027         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
25028         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
25029         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
25030         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
25031         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
25032         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
25033         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
25034         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
25035         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
25036         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
25037         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
25038         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
25039         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
25040         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
25041         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
25042         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
25043         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
25044         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
25045         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
25046         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
25047         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
25048         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
25049         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
25050         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
25051         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
25052         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
25053         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
25054         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
25055         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
25056         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
25057         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
25058         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
25060         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
25061         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
25063         * sysdeps/unix/sysv/linux/arm/Makefile
25064         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
25065         Add rt-aeabi_unwind_cpp_pr1.
25066         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
25067         Add nptl-aeabi_unwind_cpp_pr1.
25068         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
25069         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
25070         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
25071         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
25072         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
25073         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
25075         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
25076         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
25077         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
25078         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
25080         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
25081         Deconditionalize the code that was previously under [RESET_PID].
25082         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
25084         * sysdeps/generic/exit-thread.h: New file.
25085         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
25086         * include/unistd.h (__exit_thread): Remove declaration.
25087         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
25088         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
25089         * csu/libc-start.c: Include <exit-thread.h>.
25090         (LIBC_START_MAIN): Pass no argument to __exit_thread.
25091         * nptl/pthread_create.c: Include <exit-thread.h>.
25092         (start_thread): Call __exit_thread in place of __exit_thread_inline.
25093         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
25094         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
25095         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
25096         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
25097         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
25098         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
25099         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
25100         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
25101         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
25102         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
25103         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
25104         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
25105         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
25106         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
25107         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
25108         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
25110 2014-05-13  Andreas Schwab  <schwab@suse.de>
25112         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
25114 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
25116         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
25117         (__ASSUME_UTIMES): Do not condition on kernel version.
25118         (__ASSUME_PSELECT): Define unconditionally.
25119         (__ASSUME_PPOLL): Likewise.
25120         (__ASSUME_ATFCTS): Likewise.
25121         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
25122         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
25123         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
25124         (__ASSUME_UTIMENSAT): Define unconditionally.
25125         (__ASSUME_PRIVATE_FUTEX): Likewise.
25126         (__ASSUME_FALLOCATE): Likewise.
25127         (__ASSUME_O_CLOEXEC): Likewise.
25128         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
25129         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
25130         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
25131         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
25132         (__ASSUME_IN_NONBLOCK): Likewise.
25133         (__ASSUME_PIPE2): Likewise.
25134         (__ASSUME_EVENTFD2): Likewise.
25135         (__ASSUME_SIGNALFD4): Likewise.
25136         (__ASSUME_DUP3): Likewise.
25137         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
25138         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
25139         (__ASSUME_AT_RANDOM): Likewise.
25140         (__ASSUME_PREADV): Likewise.
25141         (__ASSUME_PWRITEV): Likewise.
25142         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
25143         (__ASSUME_F_GETOWN_EX): Define unconditionally.
25144         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
25145         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25146         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
25147         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25148         (__ASSUME_O_CLOEXEC): Define unconditionally.
25149         (__ASSUME_PSELECT): Do not undefine conditionally.
25150         (__ASSUME_PPOLL): Likewise.
25151         (__ASSUME_ATFCTS): Likewise.
25152         (__ASSUME_SET_ROBUST_LIST): Likewise.
25153         (__ASSUME_UTIMENSAT): Likewise.
25154         (__ASSUME_FDATASYNC): Define unconditionally.
25155         * sysdeps/unix/sysv/linux/arm/kernel-features.h
25156         (__ASSUME_SIGFRAME_V2): Likewise.
25157         )__ASSUME_EVENTFD2): Likewise.
25158         (__ASSUME_SIGNALFD4): Likewise.
25159         (__ASSUME_PSELECT): Do not undefine conditionally.
25160         (__ASSUME_PPOLL): Likewise.
25161         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25162         (__ASSUME_PSELECT): Define unconditionally.
25163         (__ASSUME_PPOLL): Likewise.
25164         (__ASSUME_O_CLOEXEC): Likewise.
25165         (__ASSUME_SOCK_CLOEXEC): Likewise.
25166         (__ASSUME_IN_NONBLOCK): Likewise.
25167         (__ASSUME_PIPE2): Likewise.
25168         (__ASSUME_EVENTFD2): Likewise.
25169         (__ASSUME_SIGNALFD4): Likewise.
25170         (__ASSUME_DUP3): Likewise.
25171         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
25172         (__ASSUME_O_CLOEXEC): Likewise.
25173         (__ASSUME_SOCK_CLOEXEC): Likewise.
25174         (__ASSUME_IN_NONBLOCK): Likewise.
25175         (__ASSUME_PIPE2): Likewise.
25176         (__ASSUME_EVENTFD2): Likewise.
25177         (__ASSUME_SIGNALFD4): Likewise.
25178         (__ASSUME_DUP3): Likewise.
25179         * sysdeps/unix/sysv/linux/mips/kernel-features.h
25180         (__ASSUME_EVENTFD2): Likewise.
25181         (__ASSUME_SIGNALFD4): Likewise.
25182         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
25184 2014-05-12  Andreas Schwab  <schwab@suse.de>
25186         [BZ #16932]
25187         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
25188         (_nss_nis_gethostbyname4_r): Return error if item length is larger
25189         than maximum RPC packet size.
25190         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
25191         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
25192         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
25193         (_nss_nis_getservbyport_r): Likewise.
25195 2014-05-12  Will Newton  <will.newton@linaro.org>
25197         * malloc/Makefile (tests): Add tst-mallopt.
25198         * malloc/tst-mallopt.c: New file.
25200 2014-05-09  Roland McGrath  <roland@hack.frob.com>
25202         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
25203         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
25205 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25207         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
25208         (tst-tlsmod6.so): Likewise.
25210 2014-05-09  Roland McGrath  <roland@hack.frob.com>
25212         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
25214 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
25216         [BZ #16064]
25217         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
25218         and <dl-procinfo.h>.
25219         (__fegetenv): Save SSE state in envp->__eip if supported.
25220         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
25221         envp->__eip if supported.
25222         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
25223         and <dl-procinfo.h>.
25224         (__fesetenv): Always set __eip, __cs_selector, __opcode,
25225         __data_offset and __data_selector in environment to 0.  Set SSE
25226         state if supported.
25227         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
25228         test-fenv-sse.
25229         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
25230         -mfpmath=sse.
25231         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
25233 2014-05-09  Will Newton  <will.newton@linaro.org>
25235         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
25236         and libc_relro_required for ARM.
25237         * sysdeps/arm/preconfigure: Regenerate.
25239 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
25240             Stefan Liebler  <stli@linux.vnet.ibm.com>
25242         * config.make.in (enable-lock-elision): New Makefile variable.
25243         * configure.ac: Likewise.
25244         * configure: Regenerate.
25245         * sysdeps/s390/configure.ac:
25246         Add check for gcc transactions support.
25247         * sysdeps/s390/configure: Regenerate.
25248         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
25249         Build elision files if enabled.
25250         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
25251         Add lock elision support for s390.
25252         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
25253         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
25254         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
25255         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
25256         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
25257         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
25258         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
25259         Likewise.
25260         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
25261         Likewise.
25262         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
25263         Likewise.
25264         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
25265         Likewise.
25266         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
25267         (__lll_timedlock_elision, __lll_lock_elision)
25268         (__lll_unlock_elision, __lll_trylock_elision)
25269         (lll_timedlock_elision, lll_lock_elision)
25270         (lll_unlock_elision, lll_trylock_elision): Add.
25271         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
25272         (pthread_mutex_t): Add lock elision support for s390.
25274 2014-05-14  Wilco  <wdijkstr@arm.com>
25276         * sysdeps/arm/fclrexcpt.c: Cleanup.
25277         * sysdeps/arm/fedisblxcpt.c: Cleanup.
25278         * sysdeps/arm/feenablxcpt.c: Cleanup.
25279         * sysdeps/arm/fegetenv.c: Cleanup.
25280         * sysdeps/arm/fegetexcept.c: Cleanup.
25281         * sysdeps/arm/fegetround.c: Cleanup.
25282         * sysdeps/arm/feholdexcpt.c: Cleanup.
25283         * sysdeps/arm/fesetenv.c: Cleanup.
25284         * sysdeps/arm/fesetround.c: Cleanup.
25285         * sysdeps/arm/feupdateenv.c: Cleanup.
25286         * sysdeps/arm/fgetexcptflg.c: Cleanup.
25287         * sysdeps/arm/fraiseexcpt.c: Cleanup.
25288         * sysdeps/arm/fsetexcptflg.c: Cleanup.
25289         * sysdeps/arm/ftestexcept.c: Cleanup.
25290         * sysdeps/arm/get-rounding-mode.h: Cleanup.
25291         * sysdeps/arm/setfpucw.c: Cleanup.
25293 2014-05-09  Will Newton  <will.newton@linaro.org>
25295         * sysdeps/arm/armv7/strcmp.S: New file.
25296         * NEWS: Mention addition of ARMv7 optimized strcmp.
25298 2014-05-08  Roland McGrath  <roland@hack.frob.com>
25300         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
25301         look for %.ac rather than %.in.
25303         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
25304         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
25305         * sysdeps/mach/hurd/configure: Regenerated.
25306         * sysdeps/unix/sysv/linux/configure: Regenerated.
25308         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
25310 2014-05-07  Steve Ellcey  <sellcey@mips.com>
25312         [BZ# 16922]
25313         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
25314         (LONG_SUB): Ditto.
25315         (PTR_SUB): Ditto.
25317 2014-05-07  Andreas Schwab  <schwab@suse.de>
25319         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
25320         when skipping over non-matching result from nscd.
25322 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
25324         [BZ #16876]
25325         * nptl/sockperf.c (client): Check socket return value.
25327         [BZ #16877]
25328         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
25329         nscd security class.
25331 2014-05-06  Roland McGrath  <roland@hack.frob.com>
25333         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
25334         * sysdeps/arm/unwind.h: ... here.
25336 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
25338         [BZ# 16916]
25339         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
25340         Define.
25342 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
25344         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
25345         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
25346         multiarch strncpy for PPC64.
25347         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
25348         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
25349         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
25350         multiarch optimizations.
25351         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25352         (__libc_ifunc_impl_list): Likewise.
25353         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
25354         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
25355         multiarch stpncpy for PPC64.
25356         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
25357         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
25359 2014-05-06  Andreas Schwab  <schwab@suse.de>
25361         [BZ #16912]
25362         * gmon/mcount.c (_MCOUNT_DECL): Use
25363         atomic_compare_and_exchange_bool_acq instead of
25364         catomic_compare_and_exchange_bool_acq.
25366 2014-05-05  Roland McGrath  <roland@hack.frob.com>
25368         * elf/Makefile (others, install-bin): Remove pldd.
25369         (pldd-modules): Variable removed.
25370         ($(objpfx)pldd): Target removed.
25371         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
25372         (others, install-bin): Append pldd here.
25373         ($(objpfx)pldd): New target.
25375         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
25376         to 0, so the first #if test emitted later doesn't see it undefined.
25377         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
25378         * sysdeps/gnu/errlist.c: Regenerated.
25380 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25382         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
25383         [libc_hidden_builtin_def]: Define to empty value.
25384         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
25385         [libc_hidden_builtin_def]: Likewise.
25386         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
25387         [libc_hidden_builtin_def]: Likewise.
25388         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
25389         [libc_hidden_builtin_def]: Likewise.
25390         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
25391         __redirect_memcpy and define ifunc as default hidden symbol.
25392         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
25393         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
25395 2014-05-04  Adam Conrad  <adconrad@0c3.net>
25397         * locale/iso-4217.def: Reintroduce XDR currency.
25399 2014-05-04  Allan McRae  <allan@archlinux.org>
25401         * po/eo.po: Update Esperanto translation from translation project.
25403 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
25405         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
25406         and FEATURE_INDEX_MAX to 1.
25407         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
25409 2014-05-01  Steve Ellcey  <sellcey@mips.com>
25411         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
25412         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
25413         * iconvdata/big5.c (ONE_DIRECTION): Define.
25414         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
25415         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
25416         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
25417         * iconvdata/cp932.c (ONE_DIRECTION): Define.
25418         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
25419         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
25420         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
25421         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
25422         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
25423         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
25424         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
25425         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
25426         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
25427         * iconvdata/gbk.c (ONE_DIRECTION): Define.
25428         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
25429         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
25430         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
25431         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
25432         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
25433         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
25434         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
25435         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
25436         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
25437         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
25438         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
25439         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
25440         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
25441         * iconvdata/iso646.c (ONE_DIRECTION): Define.
25442         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
25443         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
25444         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
25445         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
25446         * iconvdata/johab.c (ONE_DIRECTION): Define.
25447         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
25448         * iconvdata/sjis.c (ONE_DIRECTION): Define.
25449         * iconvdata/t.61.c (ONE_DIRECTION): Define.
25450         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
25451         * iconvdata/tscii.c (ONE_DIRECTION): Define.
25452         * iconvdata/uhc.c (ONE_DIRECTION): Define.
25453         * iconvdata/unicode.c (ONE_DIRECTION): Define.
25454         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
25455         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
25456         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
25458 2014-05-01  Roland McGrath  <roland@hack.frob.com>
25460         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
25461         (_IO_JUMPS_OFFSET): Define to 0.
25463         * nptl/sysdeps/pthread/bits/libc-lock.h
25464         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
25465         (__libc_lock_define_initialized_recursive): Always define using
25466         initializer.  Modern compilers treat uninitialized (implicit zero) and
25467         explicit zero initializers the same (i.e. put the datum in bss).
25469 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
25471         * nscd/nscd-client.h: Include <string.h>.
25473 2014-05-01  David S. Miller  <davem@davemloft.net>
25475         [BZ #16885]
25476         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
25477         multiple zero bytes exist at the end of a string.
25478         Reported by Aurelien Jarno <aurelien@aurel32.net>
25480         * string/test-strcmp.c (check): Add explicit test for situations where
25481         there are multiple zero bytes after the first.
25483 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
25485         [BZ #16890]
25486         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
25487         when compiling wprintf.
25488         * stdio-common/tstdiomisc.c (t3): New function.
25489         (main): Call it.
25491 2014-05-01  Steve Ellcey  <sellcey@mips.com>
25493         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
25494         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
25495         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
25496         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
25498 2014-05-01  Steve Ellcey  <sellcey@mips.com>
25500         * stdlib/longlong.h: Updated from GCC.
25502 2014-05-01  Will Newton  <will.newton@linaro.org>
25503             Bernard Ogden  <bernie.ogden@linaro.org>
25505         * NEWS: Update fixed bug list.
25507         [BZ #15119]
25508         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
25510 2014-04-30  David S. Miller  <davem@davemloft.net>
25512         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
25513         (libc_feholdexcept_setround_sparc_ctx): New function.
25514         (libc_fesetenv_sparc_ctx): Likewise.
25515         (libc_feupdateenv_sparc_ctx): Likewise.
25516         (libc_feholdsetround_sparc_ctx): Likewise.
25517         (libc_feholdexcept_setround_ctx): Define.
25518         (libc_feholdexcept_setroundf_ctx): Likewise.
25519         (libc_feholdexcept_setroundl_ctx): Likewise.
25520         (libc_fesetenv_ctx): Likewise.
25521         (libc_fesetenvf_ctx): Likewise.
25522         (libc_fesetenvl_ctx): Likewise.
25523         (libc_feupdateenv_ctx): Likewise.
25524         (libc_feupdateenvf_ctx): Likewise.
25525         (libc_feupdateenvl_ctx): Likewise.
25526         (libc_feresetround_ctx): Likewise.
25527         (libc_feresetroundf_ctx): Likewise.
25528         (libc_feresetroundl_ctx): Likewise.
25529         (libc_feholdsetround_ctx): Likewise.
25530         (libc_feholdsetroundf_ctx): Likewise.
25531         (libc_feholdsetroundl_ctx): Likewise.
25533         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
25534         with __USE_GNU instead of XOPEN cpp guards.
25536         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
25537         0.
25539         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
25540         with XOPEN cpp guards.
25542 2014-04-30  Julian Brown  <julian@codesourcery.com>
25544         [BZ #16888]
25545         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
25546         handling.
25548 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
25550         [BZ #9894]
25551         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
25552         Change to 2.6.32.
25553         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
25554         * sysdeps/unix/sysv/linux/configure: Regenerated.
25555         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
25556         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
25557         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
25558         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
25559         * README: Update reference to required Linux kernel version.
25560         * manual/install.texi (Linux): Update reference to required Linux
25561         kernel headers version.
25562         * INSTALL: Regenerated.
25564         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
25565         header inclusion.
25566         [POSIX] (limits.h): Likewise.
25567         [POSIX] (math.h): Likewise.
25568         [POSIX] (sys/wait.h): Likewise.
25569         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
25570         function.
25571         [POSIX] (stddef.h): Do not allow header inclusion.
25573 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25575         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
25577 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
25579         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
25580         Return immediately after lll_futex_wake.
25582 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25584         [BZ #16791]
25585         * nscd/nscd-client.h (datahead_init_common): Initialize entire
25586         structure.
25587         (datahead_init_pos): Call datahead_init_common early.
25588         (datahead_init_neg): Likewise.
25590         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
25591         datahead_init_neg): New functions.
25592         * nscd/aicache.c (addhstaiX): Use them.
25593         * nscd/grpcache.c (cache_addgr): Likewise.
25594         * nscd/hstcache.c (cache_addhst): Likewise.
25595         * nscd/initgrcache.c (addinitgroupsX): Likewise.
25596         * nscd/netgroupcache.c (do_notfound): Likewise.
25597         (addgetnetgrentX): Likewise.
25598         (addinnetgrX): Likewise.
25599         * nscd/pwdcache.c (cache_addpw): Likewise.
25600         * nscd/servicescache.c (cache_addserv): Likewise.
25602 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25603             Atsushi Onoe  <atsushi@onoe.org>
25605         [BZ #14308]
25606         [BZ #12994]
25607         [BZ #13651]
25608         * resolv/res_query.c (__libc_res_nsearch): Return if at least
25609         one response is valid.
25610         * resolv/res_send.c (send_dg): Check for validity of other
25611         response if the current response is a referral.
25613 2014-04-29  Steve Ellcey  <sellcey@mips.com>
25615         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
25617 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
25619         [BZ #16823]
25620         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
25621         Always divide by positive zero when computing -Inf result.
25622         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
25623         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
25625 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25627         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
25628         FPSCR if value do not change.
25629         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
25630         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
25631         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
25632         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
25633         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
25634         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
25635         function.
25637 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
25639         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
25640         * sysdeps/unix/sysv/linux/hppa: Move directory from
25641         ports/systeps/unix/sysv/linux/hppa.
25642         * README: Update listing for hppa-*-linux-gnu.
25644 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
25646         [BZ #16754]
25647         * manual/stdio.texi (Hook functions): Fix types of stream hook
25648         functions.
25649         [BZ #16854]
25650         * socket/sys/socket.h: Fix typo in comment.
25652 2014-04-28  Wilco  <wdijkstr@arm.com>
25654         * sysdeps/arm/fenv_private.h: New file.
25655         * sysdeps/arm/math_private.h: New file.
25656         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
25658 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
25660         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
25661         with __int128_t.
25662         (La_x86_64_retval): Likewise.
25664 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
25666         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
25667         fpsr if value didn't change.
25668         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
25669         to fpcr if value didn't change.
25670         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
25671         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
25672         fpsr or fpcr if value didn't change.
25673         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
25674         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
25675         fpcr if value didn't change.
25676         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
25677         to fpsr if value didn't change.
25679 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
25681         * nptl/tst-sem3.c: Use test-skeleton.c
25682         (main): Rename to do_test.  Use return instead of
25683         exit.
25684         * nptl/tst-sem4.c: Use test-skeleton.c
25685         (main): Rename to do_test.
25687 2014-04-22  David S. Miller  <davem@davemloft.net>
25689         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
25690         (struct sigaction): New struct member __glibc_reserved0, change
25691         type of sa_flags to int.
25693 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
25695         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
25696         (COUNT_LEADING_ZEROS_0): Define for AArch64.
25698 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
25700         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
25701         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
25703 2014-04-22  Will Newton  <will.newton@linaro.org>
25704             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
25706         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
25707         (__longjmp): Add longjmp and longjmp_target SystemTap
25708         probes.
25709         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
25710         (__sigsetjmp): Add setjmp SystemTap probe.
25712 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
25714         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
25715         match manual order.
25717 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25719         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
25721         * sysdeps/powerpc/fpu/fenv_private.h
25722         (libc_feholdexcept_setroundl_ctx): Define to
25723         libc_feholdexcept_setround_ppc_ctx.
25724         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
25725         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
25726         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
25727         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
25729 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
25731         * sysdeps/aarch64/math-tests.h: New file.
25733 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
25735         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
25736         New.
25737         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25738         Check and set bit_AVX2_Usable.
25739         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
25740         macro.
25741         (bit_AVX2): Likewise.
25742         (index_AVX2_Usable): Likewise.
25743         (CPUID_AVX2): Likewise.
25744         (HAS_AVX2): Likewise.
25746 2014-04-17  Will Newton  <will.newton@linaro.org>
25748         * manual/setjmp.texi (System V contexts): Add note that
25749         calling setcontext on a context created by a call to a
25750         signal handler is undefined.  Update text to note that
25751         setcontext from a signal handler is possible but not
25752         recommended.
25754         [BZ #16629]
25755         * stdlib/tst-setcontext.c: Include signal.h.
25756         (main): Check that the signal stack before and
25757         after swapcontext is the same.
25759         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
25760         Re-implement to restore registers in user code and avoid
25761         rt_sigreturn system call.
25763 2014-04-17  Wilco  <wdijkstr@arm.com>
25765         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
25766         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
25767         * math/test-fenv.c: Skip exception trap tests on targets which only
25768         support non-stop mode.
25770 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
25771             Wilco Dijkstra  <wilco.dijkstra@arm.com>
25773         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
25774         (libc_feholdsetround_aarch64_ctx)
25775         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
25776         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
25777         (libc_feresetround_ctx, libc_feresetroundf_ctx)
25778         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
25779         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
25780         (libc_feresetround_noexl_ctx): Define.
25782 2014-04-16  Richard Henderson  <rth@redhat.com>
25784         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
25786         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
25787         unwind tables.
25789         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
25790         const from the non-libc, non-ldso copy.
25792         * sysdeps/alpha/libm-test-ulps: Regenerate.
25794 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
25795             Wilco Dijkstra  <wilco.dijkstra@arm.com>
25797         * sysdeps/aarch64/fpu/math_private.h: New file.
25799 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
25801         * sysdeps/aarch64/libm-test-ulps: Regenerate.
25803 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
25805         [BZ #16275]
25806         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
25807         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
25808         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
25809         Intel MPX bound registers before _dl_profile_fixup.
25810         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
25811         registers after _dl_profile_fixup.  Save and restore bound
25812         registers bnd0/bnd1 when calling _dl_call_pltexit.
25813         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
25814         (LR_BND_OFFSET): Likewise.
25815         (LRV_BND0_OFFSET): Likewise.
25816         (LRV_BND1_OFFSET): Likewise.
25818 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25820         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
25821         to...
25822         * sysdeps/mach/hurd/i386/tls.h: ... here.
25823         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
25824         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
25825         fields.
25827 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25829         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
25831 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
25833         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25835 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
25837         [BZ #14770]
25838         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
25839         * sysdeps/s390/configure: Regenerate.
25841         [BZ #16824]
25842         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
25843         Set round-to-nearest internally to reduce error accumulation.
25845 2014-04-16  Alan Modra  <amodra@gmail.com>
25847         [BZ #16740]
25848         [BZ #16619]
25849         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
25850         * math/libm-test.inc (frexp_test_data): Add tests.
25851         * NEWS: Update fixed bug list.
25853 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25855         * benchtests/Makefile: Depend on libraries in build directory.
25856         (bench-math): Separate out math tests.
25857         (bench-pthread): Separate out pthread tests.
25858         (bench): Include math and pthread tests.
25860 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
25862         [BZ #16831]
25863         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
25864         _dl_debug_initialize.
25866         * configure.ac: Remove SELinux header check.
25867         * configure: Regenerate.
25868         * nscd/selinux.c (perms): Array of const char* to permission names.
25869         (nscd_request_avc_has_perm): Call security_deny_unknown to find
25870         default policy. Call string_to_security_class and string_to_av_perm to
25871         translate strings. Enforce default policy and call avs_has_perm with
25872         results of translated strings.
25874 2014-04-13  David S. Miller  <davem@davemloft.net>
25876         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25878 2014-04-12  Allan McRae  <allan@archlinux.org>
25880         [BZ #16838]
25881         * manual/string.texi (Collation Functions): Fix qsort argument
25882         order in example.
25883         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
25885 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
25887         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
25888         Make the test a no-op if there are no exceptions defined.
25890 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
25892         * elf/Makefile (tests): make tst-dlopen-aout conditional on
25893         enable-hardcoded-path-in-tests
25895 2014-04-11  Will Newton  <will.newton@linaro.org>
25897         * benchtests/Makefile (extra-objs): Add json-lib.o.
25898         (bench-func): Tidy up JSON output.
25899         * benchtests/bench-skeleton.c: Include json-lib.h.
25900         (main): Use JSON library functions to do output of
25901         benchmark results.
25902         * benchtests/bench-timing-type.c (main): Output the
25903         timing type simply, leaving formatting to the user.
25904         * benchtests/json-lib.c: New file.
25905         * benchtests/json-lib.h: Likewise.
25907 2014-04-11  Torvald Riegel  <triegel@redhat.com>
25909         [BZ #15215]
25910         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
25911         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
25912         memory barriers.  Add comments.
25913         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
25914         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
25915         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
25916         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
25917         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
25918         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
25920 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
25922         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
25923         * sysdeps/s390/s390-64/configure.ac: ... this ...
25924         * sysdeps/s390/configure.ac: ... to here.
25925         * sysdeps/s390/s390-32/configure: Delete file.
25926         * sysdeps/s390/s390-64/configure: Delete file.
25927         * sysdeps/s390/configure: Regenerate.
25929 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
25931         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
25933 2014-04-11  Will Newton  <will.newton@linaro.org>
25935         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
25936         to zero if it is not defined elsewhere.  (mtrim): Test
25937         the value of MALLOC_DEBUG with #if rather than #ifdef.
25939 2014-04-10 Torvald Riegel  <triegel@redhat.com>
25941         * benchtests/pthread_once-inputs: New file.
25942         * benchtests/pthread_once-source.c: New file.
25943         * benchtests/README: Update documentation.
25945 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
25946             H.J. Lu  <hongjiu.lu@intel.com>
25948         [BZ #16275]
25949         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
25950         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
25951         * sysdeps/x86_64/configure: Regenerated.
25952         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
25953         macro.
25954         (REGISTER_SAVE_RAX): Likewise.
25955         (REGISTER_SAVE_RCX): Likewise.
25956         (REGISTER_SAVE_RDX): Likewise.
25957         (REGISTER_SAVE_RSI): Likewise.
25958         (REGISTER_SAVE_RDI): Likewise.
25959         (REGISTER_SAVE_R8): Likewise.
25960         (REGISTER_SAVE_R9): Likewise.
25961         (REGISTER_SAVE_BND0): Likewise.
25962         (REGISTER_SAVE_BND1): Likewise.
25963         (REGISTER_SAVE_BND2): Likewise.
25964         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
25965         bound registers when calling _dl_fixup.
25967 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25969         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
25970         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
25971         of its definition.
25972         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
25973         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
25974         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
25975         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
25976         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
25977         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
25978         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
25980 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
25982         [BZ #15514]
25983         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
25984         pathconf(_PC_NAME_MAX).
25986 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25988         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
25989         Remove macro usage.
25990         (__PTHREAD_SPINS): Move definition to ...
25991         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
25992         (__PTHREAD_SPINS): ... here.
25993         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
25994         (__PTHREAD_SPIN): Likewise.
25995         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
25996         (__PTHREAD_SPIN): Likewise.
25997         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
25998         (__PTHREAD_SPIN): Likewise.
25999         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
26000         (__PTHREAD_SPIN): Likewise.
26001         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
26002         (__PTHREAD_SPIN): Likewise.
26003         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
26004         (__PTHREAD_SPIN): Likewise.
26005         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
26006         (__PTHREAD_SPIN): Likewise.
26007         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
26008         (__PTHREAD_SPIN): Likewise.
26009         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
26010         (__PTHREAD_SPIN): Likewise.
26011         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
26012         (__PTHREAD_SPIN): Likewise.
26013         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
26014         (__PTHREAD_SPIN): Likewise.
26015         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
26016         (__PTHREAD_SPIN): Likewise.
26018         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
26019         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
26020         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
26021         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
26022         imply folder.
26023         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
26024         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
26025         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
26026         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
26027         correct imply path.
26028         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
26029         strlen symbol for non multi-arch builds.
26030         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
26031         missing hidden_def and weak_alias.
26033 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
26035         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
26037 2014-04-07  Will Newton  <will.newton@linaro.org>
26039         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
26040         and contents.  [!_LIBC] Remove #ifndef and contents.
26041         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
26042         * string/memccpy.c (__memccpy): Use ANSI prototype.
26043         * string/memfrob.c (memfrob): Likewise.
26044         * string/strcoll.c (STRCOLL): Likewise.
26045         * string/strlen.c (strlen): Likewise.
26046         * string/strtok.c (STRTOK): Likewise.
26047         * string/strcat.c: Remove unused #include of memcopy.h.
26048         (strcat): Use ANSI prototype.
26049         * string/strchr.c: Remove unused #include of memcopy.h.
26050         (strchr): Use ANSI prototype.
26051         * string/strcmp.c: Remove unused #include of memcopy.h.
26052         (strcmp): Use ANSI prototype.
26053         * string/strcpy.c: Remove unused #include of memcopy.h.
26054         (strcpy): Use ANSI prototype.
26056 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26058         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
26059         * config.make.in (config-extra-cppflags): Set it from
26060         libc_extra_cppflags.
26061         * configure.ac (libc_extra_cflags): Make it accumulate over
26062         configure fragments.
26063         (libc_extra_cppflags): New flag.
26064         * configure. Regenerate.
26065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
26066         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
26067         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
26068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
26070         [BZ #16815]
26071         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
26072         result for FE_DOWNWARD rounding mode.
26073         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
26074         Likewise.
26075         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26077 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
26079         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
26080         in function argument name.
26082 2014-04-03  David Svoboda  <svoboda@cert.org>
26084         [BZ #5666]
26085         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
26086         explicitly.
26088 2014-04-03  Roland McGrath  <roland@hack.frob.com>
26090         * elf/dl-unmap-segments.h: New file.
26091         * sysdeps/generic/ldsodefs.h
26092         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
26093         * elf/dl-close.c: Include <dl-unmap-segments.h>.
26094         * elf/dl-fptr.c: Likewise.
26095         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
26096         * sysdeps/aarch64/tlsdesc.c: Likewise.
26097         * sysdeps/arm/tlsdesc.c: Likewise.
26098         * sysdeps/i386/tlsdesc.c: Likewise.
26099         * sysdeps/tile/dl-runtime.c: Likewise.
26100         * sysdeps/x86_64/tlsdesc.c: Likewise.
26101         * elf/dl-load.h: New file.
26102         * elf/dl-load.c: Include it.
26103         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
26104         Macros moved to dl-load.h.
26105         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
26106         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
26107         Use _dl_unmap_segments in place of __munmap.
26108         Break out segment-mapping loop into ...
26109         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
26111 2014-04-03  Will Newton  <will.newton@linaro.org>
26113         * elf/dl-lookup.c (do_lookup_x): Remove comment
26114         referring to nested function and move variable
26115         declarations down to before first use.
26117 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
26119         [BZ #16799]
26120         [BZ #16800]
26121         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
26122         with 0 numerator.
26123         * math/s_catanf.c (__catanf): Likewise.
26124         * math/s_catanh.c (__catanh): Likewise.
26125         * math/s_catanhf.c (__catanhf): Likewise.
26126         * math/s_catanhl.c (__catanhl): Likewise.
26127         * math/s_catanl.c (__catanl): Likewise.
26128         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
26129         by positive zero when computing -Inf result.
26130         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
26131         (catanh_test): Likewise.
26132         * sysdeps/i386/fpu/libm-test-ulps: Update.
26133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26135         [BZ #16789]
26136         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
26137         instead of using underflowing value in computing result.
26138         * math/s_clog10.c (__clog10): Likewise.
26139         * math/s_clog10f.c (__clog10f): Likewise.
26140         * math/s_clog10l.c (__clog10l): Likewise.
26141         * math/s_clogf.c (__clogf): Likewise.
26142         * math/s_clogl.c (__clogl): Likewise.
26143         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
26144         (clog10_test): Likewise.
26145         * sysdeps/i386/fpu/libm-test-ulps: Update.
26146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26148 2014-04-02  Alan Modra  <amodra@gmail.com>
26150         [BZ #16739]
26151         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
26152         output when value is near a power of two.  Use int64_t for lx and
26153         remove casts.  Use decimal rather than hex exponent constants.
26154         Don't use long double multiplication when double will suffice.
26155         * math/libm-test.inc (nextafter_test_data): Add tests.
26156         * NEWS: Add 16739 and 16786 to bug list.
26158         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
26160         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
26162 2014-04-01  Will Newton  <will.newton@linaro.org>
26164         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
26165         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
26167 2014-04-01  Florian Weimer  <fweimer@redhat.com>
26169         [BZ #13347]
26170         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
26171         * nptl/tst-setuid2.c: New file.
26172         * nptl/Makefile (xtests): Add tst-setuid2.
26174 2014-04-01  Alan Modra  <amodra@gmail.com>
26176         [BZ #16786]
26177         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
26179 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
26181         [BZ #6803]
26182         [BZ #6804]
26183         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
26184         set errno as appropriate.
26185         * math/w_scalbf.c (__scalbf): Likewise.
26186         * math/w_scalbl.c (__scalbl): Likewise.
26187         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
26188         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
26189         * math/libm-test.inc (scalb_test_data): Add errno expectations.
26190         Add more NaN tests.
26192         [BZ #16349]
26193         * math/w_atan2.c: Include <errno.h>.
26194         (__atan2): Set errno for result underflowing to zero.
26195         * math/w_atan2f.c: Include <errno.h>.
26196         (__atan2f): Set errno for result underflowing to zero.
26197         * math/w_atan2l.c: Include <errno.h>.
26198         (__atan2l): Set errno for result underflowing to zero.
26199         * math/auto-libm-test-in: Don't allow missing errno for some atan2
26200         tests.
26201         * math/auto-libm-test-out: Regenerated.
26203 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26205         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
26206         Encode instruction correctly in little endian.
26207         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
26208         Likewise.
26209         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
26210         Likewise.
26211         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
26212         Likewise.
26213         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
26214         Likewise.
26216 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
26218         [BZ #9894]
26219         * sysdeps/unix/sysv/linux/kernel-features.h
26220         [__sparc__ && !__arch64__ && !__sparc_v9__]
26221         (__ASSUME_SET_ROBUST_LIST): Do not define.
26222         [__sparc__ && !__arch64__ && !__sparc_v9__]
26223         (__ASSUME_FUTEX_LOCK_PI): Likewise.
26224         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
26225         Likewise.
26226         * sysdeps/unix/sysv/linux/arm/kernel-features.h
26227         (__ASSUME_FUTEX_LOCK_PI): Undefine.
26228         (__ASSUME_REQUEUE_PI): Likewise.
26229         (__ASSUME_SET_ROBUST_LIST): Likewise.
26230         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
26231         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
26232         Undefine.
26233         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26234         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
26235         Likewise.
26236         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
26237         Likewise.
26238         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
26239         Likewise.
26240         * sysdeps/unix/sysv/linux/mips/kernel-features.h
26241         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
26242         Undefine.
26243         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
26244         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
26245         Likewise.
26247         [BZ #16648]
26248         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26249         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
26250         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
26252 2014-03-31  Will Newton  <will.newton@linaro.org>
26254         * benchtests/Makefile (bench): Add ffs and ffsll to list
26255         of tests.
26256         * benchtests/ffs-inputs: New file.
26257         * benchtests/ffsll-inputs: Likewise.
26259 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
26261         [BZ #16770]
26262         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
26263         too large before casting to int.
26264         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
26265         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
26266         * math/libm-test.inc (scalb_test_data): Add more tests.
26268 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26270         * benchtests/Makefile (DETAILED_OPT): New make option.
26271         (bench-func): Run benchmark program with -d if DETAILED_OPT is
26272         set.
26273         * benchtests/bench-skeleton.c: Include stdbool.h.
26274         (main): Store and print timings per input.
26275         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
26276         member to each argument value.
26277         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
26278         (_print_arg_data): Initialize per-input timing to 0.
26280         * benchtests/Makefile (timing-type): New binary.
26281         (bench-clean): Also remove bench-timing-type.
26282         (bench): New target for timing-type.
26283         (bench-func): Print output in JSON format.
26284         * benchtests/bench-skeleton.c (main): Print output in JSON
26285         format.
26286         * benchtests/bench-timing-type.c: New file.
26287         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
26288         (TIMING_PRINT_STATS): Remove.
26289         * benchtests/scripts/bench.py (_print_arg_data): Store variant
26290         name separately.
26292         * benchtests/bench-modf.c: Remove.
26293         * benchtests/modf-inputs: New inputs file.
26295 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
26297         [BZ #16362]
26298         * math/s_clog10.c (M_PI_LOG10E): New macro.
26299         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
26300         imaginary parts are 0.
26301         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
26302         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
26303         imaginary parts are 0.
26304         * math/s_clog10l.c (M_PI_LOG10El): New macro.
26305         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
26306         imaginary parts are 0.
26307         * math/libm-test.inc (clog10_test_data): Update expected results
26308         for when real and imaginary parts are 0.
26310 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
26312         * elf/dl-load.c: Finish conversion of __builtin_expect into
26313         __glibc_{un}likely.
26315 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
26317         [BZ #16348]
26318         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
26319         1+x for argument with exponent below -67.
26320         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
26321         Likewise.
26322         * math/auto-libm-test-in: Add more tests of exp.
26323         * math/auto-libm-test-out: Regenerated.
26325 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26327         [BZ #16759]
26328         * inet/getnetgrent_r.c (get_nonempty_val): New function.
26329         (nscd_getnetgrent): Use it.
26331         [BZ #16760]
26332         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
26333         of stpcpy.
26335 2014-03-27  Andi Kleen  <ak@linux.intel.com>
26337         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
26338         (lll_robust_lock, lll_cond_lock, lll_timedlock)
26339         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
26340         (lll_robust_unlock): Remove out of line section. Use cfi
26341         intrinsics.
26342         (LLL_STUB_UNWIND_INFO*): Remove.
26343         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
26344         (lll_robust_lock, lll_cond_lock, lll_timedlock)
26345         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
26346         (lll_robust_unlock): Remove out of line section. Use cfi
26347         intrinsics.
26348         (LLL_STUB_UNWIND_INFO*): Remove.
26350 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26352         [BZ #16758]
26353         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
26354         blank values.
26356 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
26358         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
26360 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
26362         [BZ #16198]
26363         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
26364         fnstenv.
26365         * math/test-fenv-preserve.c: New file.
26366         * math/Makefile (tests): Add test-fenv-preserve.
26368 2014-03-26  Will Newton <will.newton@linaro.org>
26370         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
26372 2014-03-25  Roland McGrath  <roland@hack.frob.com>
26374         * scripts/versionlist.awk: Partition the version sets and emit all
26375         GLIBC_* (sorted) before all others (sorted).
26377 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
26379         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
26380         GLIBC_2.2.5 version.
26382 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26384         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
26385         calls.
26387         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
26388         previous change.
26390         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26392 2014-03-25  Andreas Schwab  <schwab@suse.de>
26394         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
26395         label to be used after in6ailist is initialized.
26397 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26399         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
26400         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
26402 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
26404         [BZ #16357]
26405         [BZ #16599]
26406         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
26407         min_plus_half.
26408         (fp_formats): Update initializers.
26409         (init_fp_formats): Initialize new field.
26410         (output_for_one_input_case): Allow underflow for results up to
26411         min_plus_half.
26412         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
26413         * math/auto-libm-test-in: Don't mark some underflows from asin and
26414         atanh as spurious.
26415         * math/auto-libm-test-out: Regenerated.
26416         * sysdeps/i386/fpu/libm-test-ulps: Update.
26417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26419 2014-03-25  Andreas Schwab  <schwab@suse.de>
26421         * libio/Makefile (tst-ftell-partial-wide-ENV)
26422         (tst-ftell-active-handler-ENV): Define.
26424 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
26426         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
26428 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
26430         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
26432 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
26434         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
26435         * sysdeps/x86_64/fpu/multiarch/e_exp.c
26436         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26438 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
26440         [BZ #16634]
26441         * elf/dl-load.c (open_verify): Add mode parameter.
26442         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
26443         (open_path): Change from boolean 'secure' to complete flag 'mode'
26444         (_dl_map_object): Adjust.
26445         * elf/Makefile (tests): Add tst-dlopen-aout.
26446         * elf/tst-dlopen-aout.c: New test.
26448 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
26450         [BZ #16714]
26451         * sysdeps/unix/sysv/linux/s390/bits/stat.h
26452         (struct stat): Rename member pad0 to __glibc_reserved0.
26454         [BZ #16712]
26455         * sysdeps/s390/s390-32/bits/wordsize.h
26456         (__WORDSIZE32_SIZE_ULONG): New define.
26457         * sysdeps/s390/s390-64/bits/wordsize.h
26458         (__WORDSIZE32_SIZE_ULONG): Likewise.
26459         * sysdeps/generic/stdint.h (SIZE_MAX):
26460         Define as UL if __WORDSIZE32_SIZE_ULONG.
26462         [BZ #16713]
26463         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
26464         (__glibc_reserved0): New variable.
26465         (sa_flags): Change type to int.
26467         * posix/Makefile (before-compile): Use += before-compile instead
26468         of a :=.
26470         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
26471         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
26473 2014-03-20  Andreas Schwab  <schwab@suse.de>
26475         [BZ #16743]
26476         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
26477         non-matching result from nscd.
26479 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26481         * scripts/bench.py: Moved to ...
26482         * benchtests/scripts/bench.py: ... here.
26483         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
26485 2014-03-24  Andreas Schwab  <schwab@suse.de>
26487         [BZ #16002]
26488         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
26489         alloca_account and account alloca use for struct in6ailist.
26491 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
26493         [BZ #16284]
26494         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
26495         rounding mode to recompute results that overflow to infinity or
26496         underflow to zero.
26497         * math/auto-libm-test-in: Don't mark tests as expected to fail for
26498         bug 16284.
26499         * math/auto-libm-test-out: Regenerated.
26500         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
26501         (ccosh_test): Likewise.
26502         (csin_test_data): Use plus_oflow.
26503         (csin_test): Use ALL_RM_TEST.
26504         (csinh_test_data): Use plus_oflow.
26505         (csinh_test): Use ALL_RM_TEST.
26506         * sysdeps/i386/fpu/libm-test-ulps: Update.
26507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26509 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
26511         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
26512         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
26513         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
26515         [BZ #16731]
26516         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
26517         when x - 1 is zero.
26518         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
26519         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
26520         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
26521         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
26522         argument is 1.
26523         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
26524         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
26525         zero.
26526         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
26527         * sysdeps/i386/fpu/libm-test-ulps: Update.
26528         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26530 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26532         * scripts/bench.pl: Remove file.
26533         * scripts/bench.py: New benchmark script.
26534         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
26535         * benchtests/README: Mention python dependency.
26536         * scripts/pylintrc: New file.
26537         * scripts/pylint: New file.
26539         * bits/mathdef.h: Use #ifdef instead of #if.
26540         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
26541         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
26542         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
26543         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
26544         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
26545         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
26547 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26548             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
26550         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
26551         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
26552         and strpbrk-ppc64 objects.
26553         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26554         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
26555         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
26556         multiarch strpbrk for POWER7.
26557         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
26558         multiarch strpbrk for PPC64.
26559         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
26560         ifunc selector.
26561         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
26562         strpbrk for POWER7.
26564 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
26566         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
26567         (atan_test): Likewise.
26568         (atanh_test_data): Use NO_TEST_INLINE for two tests.
26569         (atanh_test): Use ALL_RM_TEST.
26570         (atan2_test_data): Likewise.
26571         (cabs_test): Likewise.
26572         (cacosh_test): Likewise.
26573         (carg_test): Likewise.
26574         (casin_test): Likewise.
26575         (casinh_test): Likewise.
26576         (cbrt_test): Likewise.
26577         (csqrt_test): Likewise.
26578         (erf_test): Likewise.
26579         (erfc_test): Likewise.
26580         (pow10_test): Likewise.
26581         (exp2_test): Likewise.
26582         (hypot_test): Likewise.
26583         (j0_test): Likewise.
26584         (j1_test): Likewise.
26585         (lgamma_test): Likewise.
26586         (gamma_test): Likewise.
26587         (sincos_test): Likewise.
26588         (tanh_test): Likewise.
26589         (y0_test): Likewise.
26590         (y1_test): Likewise.
26591         * sysdeps/i386/fpu/libm-test-ulps: Update.
26592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26594 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26596         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
26597         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
26598         and strcspn-ppc64 objects.
26599         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26600         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
26601         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
26602         multiarch strcspn for POWER7.
26603         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
26604         multiarch strcspn for PPC64.
26605         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
26606         ifunc selector.
26607         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
26608         strcspn for POWER7.
26610 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
26612         * math/gen-libm-test.pl (generate_testfile): Expect only function
26613         name as argument to AUTO_TESTS_* and pass results for all rounding
26614         modes to parse_args.
26615         (parse_auto_input): Separate inputs of automatic tests from
26616         outputs before storing in %auto_tests.
26617         * math/libm-test.inc (acos_test_data): Update call to
26618         AUTO_TESTS_f_f.
26619         (acos_test): Use ALL_RM_TEST.
26620         (acos_tonearest_test_data): Remove.
26621         (acos_test_tonearest): Likewise.
26622         (acos_towardzero_test_data): Likewise.
26623         (acos_test_towardzero): Likewise.
26624         (acos_downward_test_data): Likewise.
26625         (acos_test_downward): Likewise.
26626         (acos_upward_test_data): Likewise.
26627         (acos_test_upward): Likewise.
26628         (acosh_test_data): Update call to AUTO_TESTS_f_f.
26629         (asin_test_data): Likewise.
26630         (asin_test): Use ALL_RM_TEST.
26631         (asin_tonearest_test_data): Remove.
26632         (asin_test_tonearest): Likewise.
26633         (asin_towardzero_test_data): Likewise.
26634         (asin_test_towardzero): Likewise.
26635         (asin_downward_test_data): Likewise.
26636         (asin_test_downward): Likewise.
26637         (asin_upward_test_data): Likewise.
26638         (asin_test_upward): Likewise.
26639         (asinh_test_data): Update call to AUTO_TESTS_f_f.
26640         (atan_test_data): Likewise.
26641         (atanh_test_data): Likewise.
26642         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
26643         (cabs_test_data): Update call to AUTO_TESTS_c_f.
26644         (carg_test_data): Likewise.
26645         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
26646         (ccos_test_data): Update call to AUTO_TESTS_c_c.
26647         (ccosh_test_data): Likewise.
26648         (cexp_test_data): Likewise.
26649         (clog_test_data): Likewise.
26650         (clog10_test_data): Likewise.
26651         (cos_test_data): Update call to AUTO_TESTS_f_f.
26652         (cos_test): Use ALL_RM_TEST.
26653         (cos_tonearest_test_data): Remove.
26654         (cos_test_tonearest): Likewise.
26655         (cos_towardzero_test_data): Likewise.
26656         (cos_test_towardzero): Likewise.
26657         (cos_downward_test_data): Likewise.
26658         (cos_test_downward): Likewise.
26659         (cos_upward_test_data): Likewise.
26660         (cos_test_upward): Likewise.
26661         (cosh_test_data): Update call to AUTO_TESTS_f_f.
26662         (cosh_test): Use ALL_RM_TEST.
26663         (cosh_tonearest_test_data): Remove.
26664         (cosh_test_tonearest): Likewise.
26665         (cosh_towardzero_test_data): Likewise.
26666         (cosh_test_towardzero): Likewise.
26667         (cosh_downward_test_data): Likewise.
26668         (cosh_test_downward): Likewise.
26669         (cosh_upward_test_data): Likewise.
26670         (cosh_test_upward): Likewise.
26671         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
26672         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
26673         (ctan_test_data): Likewise.
26674         (ctan_test): Use ALL_RM_TEST.
26675         (ctan_tonearest_test_data): Remove.
26676         (ctan_test_tonearest): Likewise.
26677         (ctan_towardzero_test_data): Likewise.
26678         (ctan_test_towardzero): Likewise.
26679         (ctan_downward_test_data): Likewise.
26680         (ctan_test_downward): Likewise.
26681         (ctan_upward_test_data): Likewise.
26682         (ctan_test_upward): Likewise.
26683         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
26684         (ctanh_test): Use ALL_RM_TEST.
26685         (ctanh_tonearest_test_data): Remove.
26686         (ctanh_test_tonearest): Likewise.
26687         (ctanh_towardzero_test_data): Likewise.
26688         (ctanh_test_towardzero): Likewise.
26689         (ctanh_downward_test_data): Likewise.
26690         (ctanh_test_downward): Likewise.
26691         (ctanh_upward_test_data): Likewise.
26692         (ctanh_test_upward): Likewise.
26693         (erf_test_data): Update call to AUTO_TESTS_f_f.
26694         (erfc_test_data): Likewise.
26695         (exp_test_data): Likewise.
26696         (exp_test): Use ALL_RM_TEST.
26697         (exp_tonearest_test_data): Remove.
26698         (exp_test_tonearest): Likewise.
26699         (exp_towardzero_test_data): Likewise.
26700         (exp_test_towardzero): Likewise.
26701         (exp_downward_test_data): Likewise.
26702         (exp_test_downward): Likewise.
26703         (exp_upward_test_data): Likewise.
26704         (exp_test_upward): Likewise.
26705         (exp10_test_data): Update call to AUTO_TESTS_f_f.
26706         (exp10_test): Use ALL_RM_TEST.
26707         (exp10_tonearest_test_data): Remove.
26708         (exp10_test_tonearest): Likewise.
26709         (exp10_towardzero_test_data): Likewise.
26710         (exp10_test_towardzero): Likewise.
26711         (exp10_downward_test_data): Likewise.
26712         (exp10_test_downward): Likewise.
26713         (exp10_upward_test_data): Likewise.
26714         (exp10_test_upward): Likewise.
26715         (exp2_test_data): Update call to AUTO_TESTS_f_f.
26716         (expm1_test_data): Likewise.
26717         (expm1_test): Use ALL_RM_TEST.
26718         (expm1_tonearest_test_data): Remove.
26719         (expm1_test_tonearest): Likewise.
26720         (expm1_towardzero_test_data): Likewise.
26721         (expm1_test_towardzero): Likewise.
26722         (expm1_downward_test_data): Likewise.
26723         (expm1_test_downward): Likewise.
26724         (expm1_upward_test_data): Likewise.
26725         (expm1_test_upward): Likewise.
26726         (fma_test_data): Update call to AUTO_TESTS_fff_f.
26727         (fma_test): Use ALL_RM_TEST.
26728         (fma_towardzero_test_data): Remove.
26729         (fma_test_towardzero): Likewise.
26730         (fma_downward_test_data): Likewise.
26731         (fma_test_downward): Likewise.
26732         (fma_upward_test_data): Likewise.
26733         (fma_test_upward): Likewise.
26734         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
26735         (j0_test_data): Update call to AUTO_TESTS_f_f.
26736         (j1_test_data): Likewise.
26737         (jn_test_data): Update call to AUTO_TESTS_if_f.
26738         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
26739         (log_test_data): Update call to AUTO_TESTS_f_f.
26740         (log10_test_data): Likewise.
26741         (log1p_test_data): Likewise.
26742         (log2_test_data): Likewise.
26743         (pow_test_data): Update call to AUTO_TESTS_ff_f.
26744         (pow_tonearest_test_data): Likewise.
26745         (sin_test_data): Update call to AUTO_TESTS_f_f.
26746         (sin_test): Use ALL_RM_TEST.
26747         (sin_tonearest_test_data): Remove.
26748         (sin_test_tonearest): Likewise.
26749         (sin_towardzero_test_data): Likewise.
26750         (sin_test_towardzero): Likewise.
26751         (sin_downward_test_data): Likewise.
26752         (sin_test_downward): Likewise.
26753         (sin_upward_test_data): Likewise.
26754         (sin_test_upward): Likewise.
26755         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
26756         (sinh_test_data): Update call to AUTO_TESTS_f_f.
26757         (sinh_test): Use ALL_RM_TEST.
26758         (sinh_tonearest_test_data): Remove.
26759         (sinh_test_tonearest): Likewise.
26760         (sinh_towardzero_test_data): Likewise.
26761         (sinh_test_towardzero): Likewise.
26762         (sinh_downward_test_data): Likewise.
26763         (sinh_test_downward): Likewise.
26764         (sinh_upward_test_data): Likewise.
26765         (sinh_test_upward): Likewise.
26766         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
26767         (sqrt_test): Use ALL_RM_TEST.
26768         (sqrt_tonearest_test_data): Remove.
26769         (sqrt_test_tonearest): Likewise.
26770         (sqrt_towardzero_test_data): Likewise.
26771         (sqrt_test_towardzero): Likewise.
26772         (sqrt_downward_test_data): Likewise.
26773         (sqrt_test_downward): Likewise.
26774         (sqrt_upward_test_data): Likewise.
26775         (sqrt_test_upward): Likewise.
26776         (tan_test_data): Update call to AUTO_TESTS_f_f.
26777         (tan_test): Use ALL_RM_TEST.
26778         (tan_tonearest_test_data): Remove.
26779         (tan_test_tonearest): Likewise.
26780         (tan_towardzero_test_data): Likewise.
26781         (tan_test_towardzero): Likewise.
26782         (tan_downward_test_data): Likewise.
26783         (tan_test_downward): Likewise.
26784         (tan_upward_test_data): Likewise.
26785         (tan_test_upward): Likewise.
26786         (tanh_test_data): Update call to AUTO_TESTS_f_f.
26787         (tgamma_test_data): Likewise.
26788         (y0_test_data): Likewise.
26789         (y1_test_data): Likewise.
26790         (yn_test_data): Update call to AUTO_TESTS_if_f.
26791         (main): Do not call removed functions.
26793 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
26795         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
26796         (ldexp_test_data): Remove.
26797         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
26798         scalbn_test_data.
26799         (scalb_test): Use ALL_RM_TEST.
26801 2014-03-19  Andreas Schwab  <schwab@suse.de>
26803         * nscd/nscd.service: Also invalidate netgroup cache on reload.
26805 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
26807         [BZ #16649]
26808         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26809         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
26810         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
26811         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26812         (__ASSUME_PREADV): Undefine.
26813         (__ASSUME_PWRITEV): Likewise.
26815 2014-03-18  Roland McGrath  <roland@hack.frob.com>
26817         * bits/mman-linux.h: Add comment about non-Linux use.
26818         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
26819         bits/mman-linux.h resting place.
26821         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
26822         * bits/mman-linux.h: ... here.
26824 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26826         * conform/conformtest.pl: Add standard definition when calling C
26827         preprocessor on data files.
26828         (checknamespace): Remove unused variable.
26830 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
26832         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
26833         minus_oflow, plus_uflow and minus_uflow in expected results.
26834         * math/libm-test.inc (scalbn_test_data): Add more tests of
26835         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
26836         minus_uflow.
26837         (scalbn_test): Use ALL_RM_TEST.
26838         (scalbln_test_data): Add more tests of negative arguments.  Use
26839         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
26840         (scalbln_test): Use ALL_RM_TEST.
26842 2014-03-18  Roland McGrath  <roland@hack.frob.com>
26844         * scripts/abilist.awk: Ignore symbols marked with .hidden.
26846 2014-03-18  Will Newton  <will.newton@linaro.org>
26848         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
26849         inaccurate comment.
26851 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
26853         * Makerules [!subdir] (check-abi): Exit with error status if a
26854         test failed.
26856 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
26858         * math/libm-test.inc (nearbyint_test_data): Include all tests used
26859         for rint.  Include results for all rounding modes.
26860         (nearbyint_test): Use ALL_RM_TEST.
26861         (rint_test_data): Include all tests used for nearbyint.
26863 2014-03-17  Will Newton  <will.newton@linaro.org>
26865         * nptl/sysdeps/pthread/pthread.h: Revert previous
26866         change.
26868         * sysdeps/generic/ldsodefs.h: Revert previous
26869         change.
26871         * libio/genops.c: Revert previous change.
26872         * libio/libioP.h: Likewise.
26873         * stdio-common/vfprintf.c: Likewise.
26875         * sysdeps/generic/math_private.h: Revert previous
26876         change.
26878         * sysdeps/generic/math_private.h: Check whether
26879         HAVE_RM_CTX is defined with #ifdef rather
26880         than #if.
26882         * argp/argp-fmtstream.h: Check whether
26883         __STRICT_ANSI__ is defined with #ifdef rather
26884         than #if.
26885         * argp/argp.h: Likewise.
26887         * libio/genops.c: Check whether
26888         _IO_JUMPS_OFFSET is defined with #ifdef rather
26889         than #if.
26890         * libio/libioP.h: Likewise.
26891         * stdio-common/vfprintf.c: Likewise.
26893         * sysdeps/generic/ldsodefs.h: Check whether
26894         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
26895         than #if.
26897         * nptl/sysdeps/pthread/pthread.h: Check
26898         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
26899         its value.
26901 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26903         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
26904         setting O_APPEND.
26905         * libio/tst-ftell-active-handler.c (do_append_test): Add a
26906         test case.
26908         [BZ #16680]
26909         * libio/fileops.c (_IO_file_open): Seek to end of file but
26910         don't cache the offset.
26911         (get_file_offset): Remove function.
26912         (do_ftell): Use cached offset when available.
26913         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
26914         don't cache the offset.
26915         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
26916         case.
26917         (do_one_test): Call it.
26918         (do_ftell_test): Fix up expected old offset for a+ mode.
26919         * libio/wfileops.c (do_ftell_wide): Used cached offset when
26920         available.
26922         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
26923         up test status with function return status.
26924         (do_write_test): Likewise.
26925         (do_append_test): Likewise.
26927         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
26928         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
26929         Remove.
26931 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
26933         * math/gen-libm-test.pl (parse_args): Handle results specified for
26934         each rounding mode separately.
26935         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
26936         tests and results from lrint_tonearest_test_data,
26937         lrint_towardzero_test_data, lrint_downward_test_data and
26938         lrint_upward_test_data.
26939         (lrint_test): Use ALL_RM_TEST.
26940         (lrint_tonearest_test_data): Remove.
26941         (lrint_test_tonearest): Likewise.
26942         (lrint_towardzero_test_data): Likewise.
26943         (lrint_test_towardzero): Likewise.
26944         (lrint_downward_test_data): Likewise.
26945         (lrint_test_downward): Likewise.
26946         (lrint_upward_test_data): Likewise.
26947         (lrint_test_upward): Likewise.
26948         (llrint_test_data): Merge in per-rounding-mode tests and results
26949         from llrint_tonearest_test_data, llrint_towardzero_test_data,
26950         llrint_downward_test_data and llrint_upward_test_data.
26951         (llrint_test): Use ALL_RM_TEST.
26952         (llrint_tonearest_test_data): Remove.
26953         (llrint_test_tonearest): Likewise.
26954         (llrint_towardzero_test_data): Likewise.
26955         (llrint_test_towardzero): Likewise.
26956         (llrint_downward_test_data): Likewise.
26957         (llrint_test_downward): Likewise.
26958         (llrint_upward_test_data): Likewise.
26959         (llrint_test_upward): Likewise.
26960         (rint_test_data): Merge in per-rounding-mode tests and results
26961         from rint_tonearest_test_data, rint_towardzero_test_data,
26962         rint_downward_test_data and rint_upward_test_data.  Add
26963         per-rounding-mode results for tests not in those arrays.
26964         (rint_test): Use ALL_RM_TEST.
26965         (rint_tonearest_test_data): Remove.
26966         (rint_test_tonearest): Likewise.
26967         (rint_towardzero_test_data): Likewise.
26968         (rint_test_towardzero): Likewise.
26969         (rint_downward_test_data): Likewise.
26970         (rint_test_downward): Likewise.
26971         (rint_upward_test_data): Likewise.
26972         (rint_test_upward): Likewise.
26973         (main): Don't call removed functions.
26975 2014-03-14  Roland McGrath  <roland@hack.frob.com>
26977         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
26978         "Compiled on ..." crapola.  It is anti-useful.
26980 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
26982         * scripts/evaluate-test.sh: Handle fourth argument to determine
26983         whether test run should stop on failure.
26984         * Makeconfig (stop-on-test-failure): New variable.
26985         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
26986         $(stop-on-test-failure).
26987         * Makefile (tests): Give a summary of results from testing and
26988         exit with failure status if they include an ERROR or FAIL.
26989         (xtests): Likewise.
26990         * manual/install.texi (Configuring and compiling): Mention
26991         stop-on-test-failure=y.
26992         * INSTALL: Regenerated.
26994 2014-03-14  Roland McGrath  <roland@hack.frob.com>
26996         * scripts/versionlist.awk: New file.
26997         * Makerules [$(build-shared) = yes]
26998         (postclean-generated): Add Versions.def, not Versions.def.v and
26999         Versions.def.v.i.
27000         ($(common-objpfx)Versions.def.v.i): Target removed.
27001         ($(common-objpfx)Versions.def): New target.
27002         ($(common-objpfx)Versions.all): Depend on that rather that
27003         $(common-objpfx)Versions.def.v.
27004         * Versions.def: File removed.
27006         * Makeconfig (+gccwarn): Add -Wundef.
27007         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
27008         a dl-sysdep.h breaking its contract.
27009         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
27010         * include/stackinfo.h: New file.
27011         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
27012         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
27013         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
27014         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
27015         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
27016         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
27017         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
27018         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
27019         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
27020         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
27021         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
27022         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
27023         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
27024         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
27025         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
27027 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27029         [BZ #16707]
27030         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
27031         implementation.
27032         * math/libm-test.inc (round_test_data): Add more tests.
27034         [BZ #16706]
27035         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
27036         implementation.
27037         * math/libm-test.inc (nearbyint_test_data): Add more tests.
27039         [BZ #16701]
27040         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
27041         implementation.
27042         * math/libm-test.inc (ceil_test_data): Add more tests.
27044         * math/libm-test.inc (trunc_test_data): Add more tests related to
27045         BZ#16414.
27047 2014-03-14  Roland McGrath  <roland@hack.frob.com>
27049         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
27050         with #if rather than #ifdef.
27051         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
27053 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
27055         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
27056         first.  Disable AVX-512 GCC support if assembler doesn't support
27057         it.
27058         * sysdeps/x86_64/configure: Regenerated.
27060 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
27062         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
27063         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
27064         (__old_pthread_attr_setstack): Likewise.
27065         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
27066         [!_STACK_GROWS_DOWN]: Likewise.
27068 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
27070         * config.make.in (have-bash2): Delete.
27071         * configure.ac (libc_cv_have_bash2): Delete.
27072         * configure: Regenerate.
27073         * elf/Makefile (common-ldd-rewrite): Rename to ...
27074         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
27075         (sh-ldd-rewrite): Delete.
27076         (bash-ldd-rewrite): Delete.
27077         (have-bash2): Delete checks.
27078         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
27079         ldd-rewrite.
27081         * config.make.in (have-ksh): Delete.
27082         (KSH): Delete.
27083         * configure.ac (libc_cv_have_ksh): Delete.
27084         * configure: Regenerate.
27086         * elf/Makefile: Delete $(have-ksh) check.
27087         ($(objpfx)sotruss): Change KSH to BASH.
27088         * elf/sotruss.ksh: Rename to ...
27089         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
27090         function style to match POSIX.  Drop ksh vim mode setting.
27092         * manual/time.texi (Specifying the Time Zone with TZ): Change
27093         Tuesday to Thursday.
27095         * debug/tst-longjmp_chk2.c: Update header comment.
27096         (stackoverflow_handler): Add comment.  Call assert on pass value.
27098 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
27100         [BZ #16194]
27101         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
27102         (HAVE_AVX512_ASM_SUPPORT): Likewise.
27103         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
27104         (La_x86_64_vector): Add zmm.
27105         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
27106         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
27107         ($(objpfx)tst-audit10): New target.
27108         ($(objpfx)tst-audit10.out): Likewise.
27109         (tst-audit10-ENV): New.
27110         (AVX512-CFLAGS): Likewise.
27111         (CFLAGS-tst-audit10.c): Likewise.
27112         (CFLAGS-tst-auditmod10a.c): Likewise.
27113         (CFLAGS-tst-auditmod10b.c): Likewise.
27114         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
27115         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
27116         * sysdeps/x86_64/configure: Regenerated.
27117         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
27118         AVX-512 zmm register support.
27119         (_dl_x86_64_save_sse): Likewise.
27120         (_dl_x86_64_restore_sse): Likewise.
27121         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
27122         size vector registers.
27123         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
27124         (ZMM_SIZE): Likewise.
27125         * sysdeps/x86_64/tst-audit10.c: New file.
27126         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
27127         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
27129 2014-03-13  Roland McGrath  <roland@hack.frob.com>
27131         * configure.ac (HAVE_EHDR_START): New check.
27132         * configure: Regenerated.
27133         * config.h.in (HAVE_EHDR_START): New #undef.
27134         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
27135         assuming the lowest-addressed segment maps the start of the file.
27137 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
27139         * INSTALL: Regenerated.
27141 2014-03-13  Will Newton  <will.newton@linaro.org>
27143         * manual/setjmp.texi (System V contexts): Improve
27144         clarity and grammar of documentation.
27146 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
27148         [BZ #16381]
27149         * elf/Makefile (tests): Add tst-pie2.
27150         (tests-pie): Add tst-pie2.
27151         * elf/tst-pie2.c: New file.
27152         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
27153         for ET_EXEC.
27154         * elf/rtld.c (map_doit): Load executable as lt_executable.
27155         (dl_main): Likewise.
27157 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
27159         [BZ #16642]
27160         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27161         (__ASSUME_PSELECT): Undefine.
27163 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27165         [BZ #16689]
27166         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
27167         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
27168         static build.
27169         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
27170         selector for static builds.
27172 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27174         [BZ #16695]
27175         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
27176         key in the buffer.
27178 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27180         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
27181         IFUNC selector for static builds.
27183 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
27185         * sysdeps/mips/math_private.h [__mips_hard_float]
27186         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
27187         libc_feresetround_mips_ctx.
27188         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
27189         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
27190         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
27192         [BZ #16677]
27193         * math/s_nextafter.c (__nextafter): Do not return value from
27194         overflowing computation.
27195         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
27196         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
27197         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
27198         Likewise.
27199         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
27200         Likewise.
27201         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
27202         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
27204 2014-03-11  Roland McGrath  <roland@hack.frob.com>
27206         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
27207         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
27208         Move sfi_sp use from the load-multiple (that no longer sets sp) to
27209         the new mov targetting sp.
27211 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27213         [BZ #16683]
27214         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
27215         Define it for static builds as well.
27216         (NO_BZERO_IMPL): Likewise.
27218 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
27220         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
27221         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
27222         multiarch strspn for PPC64.
27223         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
27224         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
27225         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27226         (__libc_ifunc_impl_list): Likewise.
27227         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
27228         multiarch optimizations
27229         * string/strspn.c (strspn): Using macro to redefine symbol name.
27231 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
27232             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27234         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
27235         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
27236         multiarch strncat for PPC64.
27237         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
27238         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
27239         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27240         (__libc_ifunc_impl_list): Likewise.
27241         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
27242         multiarch optimizations
27244 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27246         [BZ #16639]
27247         * nscd/nscd.service: Make service type forking.
27249 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27251         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
27252         sign in non default rounding modes.
27253         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
27255 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
27257         * math/libm-test.inc (ALL_RM_TEST): New macro.
27258         (ceil_test): Use ALL_RM_TEST.
27259         (cimag_test): Likewise.
27260         (conj_test): Likewise.
27261         (copysign_test): Likewise.
27262         (cproj_test): Likewise.
27263         (creal_test): Likewise.
27264         (fabs_test): Likewise.
27265         (floor_test): Likewise.
27266         (fmax_test): Likewise.
27267         (fmin_test): Likewise.
27268         (fmod_test): Likewise.
27269         (fpclassify_test): Likewise.
27270         (frexp_test): Likewise.
27271         (ilogb_test): Likewise.
27272         (isfinite_test): Likewise.
27273         (finite_test): Likewise.
27274         (isgreater_test): Likewise.
27275         (isgreaterequal_test): Likewise.
27276         (isinf_test): Likewise.
27277         (isless_test): Likewise.
27278         (islessequal_test): Likewise.
27279         (islessgreater_test): Likewise.
27280         (isnan_test): Likewise.
27281         (isnormal_test): Likewise.
27282         (issignaling_test): Likewise.
27283         (isunordered_test): Likewise.
27284         (logb_test): Likewise.
27285         (logb_downward_test_data): Remove.
27286         (logb_test_downward): Likewise.
27287         (lround_test): Use ALL_RM_TEST.
27288         (llround_test): Likewise.
27289         (modf_test): Likewise.
27290         (nexttoward_test): Likewise.
27291         (remainder_test): Likewise.
27292         (drem_test): Likewise.
27293         (remainder_tonearest_test_data): Likewise.
27294         (remainder_test_tonearest): Likewise.
27295         (drem_test_tonearest): Likewise.
27296         (remainder_towardzero_test_data): Likewise.
27297         (remainder_test_towardzero): Likewise.
27298         (drem_test_towardzero): Likewise.
27299         (remainder_downward_test_data): Likewise.
27300         (remainder_test_downward): Likewise.
27301         (drem_test_downward): Likewise.
27302         (remainder_upward_test_data): Likewise.
27303         (remainder_test_upward): Likewise.
27304         (drem_test_upward): Likewise.
27305         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
27306         (round_test): Use ALL_RM_TEST.
27307         (signbit_test): Likewise.
27308         (trunc_test): Likewise.
27309         (significand_test): Likewise.
27310         (main): Don't call removed functions.
27312 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
27314         [BZ #16674]
27315         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
27316         || __USE_XOPEN2K8].
27317         (ILL_ILLOPN): Likewise.
27318         (ILL_ILLADR): Likewise.
27319         (ILL_ILLTRP): Likewise.
27320         (ILL_PRVOPC): Likewise.
27321         (ILL_PRVREG): Likewise.
27322         (ILL_COPROC): Likewise.
27323         (ILL_BADSTK): Likewise.
27324         (FPE_INTDIV): Likewise.
27325         (FPE_INTOVF): Likewise.
27326         (FPE_FLTDIV): Likewise.
27327         (FPE_FLTOVF): Likewise.
27328         (FPE_FLTUND): Likewise.
27329         (FPE_FLTRES): Likewise.
27330         (FPE_FLTINV): Likewise.
27331         (FPE_FLTSUB): Likewise.
27332         (SEGV_MAPERR): Likewise.
27333         (SEGV_ACCERR): Likewise.
27334         (BUS_ADRALN): Likewise.
27335         (BUS_ADRERR): Likewise.
27336         (BUS_OBJERR): Likewise.
27337         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27338         (TRAP_TRACE): Likewise.
27339         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27340         __USE_XOPEN2K8].
27341         (CLD_KILLED): Likewise.
27342         (CLD_DUMPED): Likewise.
27343         (CLD_TRAPPED): Likewise.
27344         (CLD_STOPPED): Likewise.
27345         (CLD_CONTINUED): Likewise.
27346         (POLL_IN): Likewise.
27347         (POLL_OUT): Likewise.
27348         (POLL_MSG): Likewise.
27349         (POLL_ERR): Likewise.
27350         (POLL_PRI): Likewise.
27351         (POLL_HUP): Likewise.
27352         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
27353         Likewise.
27354         (ILL_ILLOPN): Likewise.
27355         (ILL_ILLADR): Likewise.
27356         (ILL_ILLTRP): Likewise.
27357         (ILL_PRVOPC): Likewise.
27358         (ILL_PRVREG): Likewise.
27359         (ILL_COPROC): Likewise.
27360         (ILL_BADSTK): Likewise.
27361         (FPE_INTDIV): Likewise.
27362         (FPE_INTOVF): Likewise.
27363         (FPE_FLTDIV): Likewise.
27364         (FPE_FLTOVF): Likewise.
27365         (FPE_FLTUND): Likewise.
27366         (FPE_FLTRES): Likewise.
27367         (FPE_FLTINV): Likewise.
27368         (FPE_FLTSUB): Likewise.
27369         (SEGV_MAPERR): Likewise.
27370         (SEGV_ACCERR): Likewise.
27371         (BUS_ADRALN): Likewise.
27372         (BUS_ADRERR): Likewise.
27373         (BUS_OBJERR): Likewise.
27374         (BUS_MCEERR_AR): Likewise.
27375         (BUS_MCEERR_AO): Likewise.
27376         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27377         (TRAP_TRACE): Likewise.
27378         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27379         __USE_XOPEN2K8].
27380         (CLD_KILLED): Likewise.
27381         (CLD_DUMPED): Likewise.
27382         (CLD_TRAPPED): Likewise.
27383         (CLD_STOPPED): Likewise.
27384         (CLD_CONTINUED): Likewise.
27385         (POLL_IN): Likewise.
27386         (POLL_OUT): Likewise.
27387         (POLL_MSG): Likewise.
27388         (POLL_ERR): Likewise.
27389         (POLL_PRI): Likewise.
27390         (POLL_HUP): Likewise.
27391         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
27392         (ILL_ILLOPN): Likewise.
27393         (ILL_ILLADR): Likewise.
27394         (ILL_ILLTRP): Likewise.
27395         (ILL_PRVOPC): Likewise.
27396         (ILL_PRVREG): Likewise.
27397         (ILL_COPROC): Likewise.
27398         (ILL_BADSTK): Likewise.
27399         (FPE_INTDIV): Likewise.
27400         (FPE_INTOVF): Likewise.
27401         (FPE_FLTDIV): Likewise.
27402         (FPE_FLTOVF): Likewise.
27403         (FPE_FLTUND): Likewise.
27404         (FPE_FLTRES): Likewise.
27405         (FPE_FLTINV): Likewise.
27406         (FPE_FLTSUB): Likewise.
27407         (SEGV_MAPERR): Likewise.
27408         (SEGV_ACCERR): Likewise.
27409         (BUS_ADRALN): Likewise.
27410         (BUS_ADRERR): Likewise.
27411         (BUS_OBJERR): Likewise.
27412         (BUS_MCEERR_AR): Likewise.
27413         (BUS_MCEERR_AO): Likewise.
27414         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27415         (TRAP_TRACE): Likewise.
27416         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27417         __USE_XOPEN2K8].
27418         (CLD_KILLED): Likewise.
27419         (CLD_DUMPED): Likewise.
27420         (CLD_TRAPPED): Likewise.
27421         (CLD_STOPPED): Likewise.
27422         (CLD_CONTINUED): Likewise.
27423         (POLL_IN): Likewise.
27424         (POLL_OUT): Likewise.
27425         (POLL_MSG): Likewise.
27426         (POLL_ERR): Likewise.
27427         (POLL_PRI): Likewise.
27428         (POLL_HUP): Likewise.
27429         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
27430         Likewise.
27431         (ILL_ILLOPN): Likewise.
27432         (ILL_ILLADR): Likewise.
27433         (ILL_ILLTRP): Likewise.
27434         (ILL_PRVOPC): Likewise.
27435         (ILL_PRVREG): Likewise.
27436         (ILL_COPROC): Likewise.
27437         (ILL_BADSTK): Likewise.
27438         (ILL_BADIADDR): Likewise.
27439         (ILL_BREAK): Likewise.
27440         (FPE_INTDIV): Likewise.
27441         (FPE_INTOVF): Likewise.
27442         (FPE_FLTDIV): Likewise.
27443         (FPE_FLTOVF): Likewise.
27444         (FPE_FLTUND): Likewise.
27445         (FPE_FLTRES): Likewise.
27446         (FPE_FLTINV): Likewise.
27447         (FPE_FLTSUB): Likewise.
27448         (FPE_DECOVF): Likewise.
27449         (FPE_DECDIV): Likewise.
27450         (FPE_DECERR): Likewise.
27451         (FPE_INVASC): Likewise.
27452         (FPE_INVDEC): Likewise.
27453         (SEGV_MAPERR): Likewise.
27454         (SEGV_ACCERR): Likewise.
27455         (SEGV_PSTKOVF): Likewise.
27456         (BUS_ADRALN): Likewise.
27457         (BUS_ADRERR): Likewise.
27458         (BUS_OBJERR): Likewise.
27459         (BUS_MCEERR_AR): Likewise.
27460         (BUS_MCEERR_AO): Likewise.
27461         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27462         (TRAP_TRACE): Likewise.
27463         (TRAP_BRANCH): Likewise.
27464         (TRAP_HWBKPT): Likewise.
27465         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27466         __USE_XOPEN2K8].
27467         (CLD_KILLED): Likewise.
27468         (CLD_DUMPED): Likewise.
27469         (CLD_TRAPPED): Likewise.
27470         (CLD_STOPPED): Likewise.
27471         (CLD_CONTINUED): Likewise.
27472         (POLL_IN): Likewise.
27473         (POLL_OUT): Likewise.
27474         (POLL_MSG): Likewise.
27475         (POLL_ERR): Likewise.
27476         (POLL_PRI): Likewise.
27477         (POLL_HUP): Likewise.
27478         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
27479         (ILL_ILLOPN): Likewise.
27480         (ILL_ILLADR): Likewise.
27481         (ILL_ILLTRP): Likewise.
27482         (ILL_PRVOPC): Likewise.
27483         (ILL_PRVREG): Likewise.
27484         (ILL_COPROC): Likewise.
27485         (ILL_BADSTK): Likewise.
27486         (FPE_INTDIV): Likewise.
27487         (FPE_INTOVF): Likewise.
27488         (FPE_FLTDIV): Likewise.
27489         (FPE_FLTOVF): Likewise.
27490         (FPE_FLTUND): Likewise.
27491         (FPE_FLTRES): Likewise.
27492         (FPE_FLTINV): Likewise.
27493         (FPE_FLTSUB): Likewise.
27494         (SEGV_MAPERR): Likewise.
27495         (SEGV_ACCERR): Likewise.
27496         (BUS_ADRALN): Likewise.
27497         (BUS_ADRERR): Likewise.
27498         (BUS_OBJERR): Likewise.
27499         (BUS_MCEERR_AR): Likewise.
27500         (BUS_MCEERR_AO): Likewise.
27501         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27502         (TRAP_TRACE): Likewise.
27503         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27504         __USE_XOPEN2K8].
27505         (CLD_KILLED): Likewise.
27506         (CLD_DUMPED): Likewise.
27507         (CLD_TRAPPED): Likewise.
27508         (CLD_STOPPED): Likewise.
27509         (CLD_CONTINUED): Likewise.
27510         (POLL_IN): Likewise.
27511         (POLL_OUT): Likewise.
27512         (POLL_MSG): Likewise.
27513         (POLL_ERR): Likewise.
27514         (POLL_PRI): Likewise.
27515         (POLL_HUP): Likewise.
27516         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
27517         (ILL_ILLOPN): Likewise.
27518         (ILL_ILLADR): Likewise.
27519         (ILL_ILLTRP): Likewise.
27520         (ILL_PRVOPC): Likewise.
27521         (ILL_PRVREG): Likewise.
27522         (ILL_COPROC): Likewise.
27523         (ILL_BADSTK): Likewise.
27524         (FPE_INTDIV): Likewise.
27525         (FPE_INTOVF): Likewise.
27526         (FPE_FLTDIV): Likewise.
27527         (FPE_FLTOVF): Likewise.
27528         (FPE_FLTUND): Likewise.
27529         (FPE_FLTRES): Likewise.
27530         (FPE_FLTINV): Likewise.
27531         (FPE_FLTSUB): Likewise.
27532         (SEGV_MAPERR): Likewise.
27533         (SEGV_ACCERR): Likewise.
27534         (BUS_ADRALN): Likewise.
27535         (BUS_ADRERR): Likewise.
27536         (BUS_OBJERR): Likewise.
27537         (BUS_MCEERR_AR): Likewise.
27538         (BUS_MCEERR_AO): Likewise.
27539         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27540         (TRAP_TRACE): Likewise.
27541         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27542         __USE_XOPEN2K8].
27543         (CLD_KILLED): Likewise.
27544         (CLD_DUMPED): Likewise.
27545         (CLD_TRAPPED): Likewise.
27546         (CLD_STOPPED): Likewise.
27547         (CLD_CONTINUED): Likewise.
27548         (POLL_IN): Likewise.
27549         (POLL_OUT): Likewise.
27550         (POLL_MSG): Likewise.
27551         (POLL_ERR): Likewise.
27552         (POLL_PRI): Likewise.
27553         (POLL_HUP): Likewise.
27554         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
27555         (ILL_ILLOPN): Likewise.
27556         (ILL_ILLADR): Likewise.
27557         (ILL_ILLTRP): Likewise.
27558         (ILL_PRVOPC): Likewise.
27559         (ILL_PRVREG): Likewise.
27560         (ILL_COPROC): Likewise.
27561         (ILL_BADSTK): Likewise.
27562         (FPE_INTDIV): Likewise.
27563         (FPE_INTOVF): Likewise.
27564         (FPE_FLTDIV): Likewise.
27565         (FPE_FLTOVF): Likewise.
27566         (FPE_FLTUND): Likewise.
27567         (FPE_FLTRES): Likewise.
27568         (FPE_FLTINV): Likewise.
27569         (FPE_FLTSUB): Likewise.
27570         (SEGV_MAPERR): Likewise.
27571         (SEGV_ACCERR): Likewise.
27572         (BUS_ADRALN): Likewise.
27573         (BUS_ADRERR): Likewise.
27574         (BUS_OBJERR): Likewise.
27575         (BUS_MCEERR_AR): Likewise.
27576         (BUS_MCEERR_AO): Likewise.
27577         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27578         (TRAP_TRACE): Likewise.
27579         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27580         __USE_XOPEN2K8].
27581         (CLD_KILLED): Likewise.
27582         (CLD_DUMPED): Likewise.
27583         (CLD_TRAPPED): Likewise.
27584         (CLD_STOPPED): Likewise.
27585         (CLD_CONTINUED): Likewise.
27586         (POLL_IN): Likewise.
27587         (POLL_OUT): Likewise.
27588         (POLL_MSG): Likewise.
27589         (POLL_ERR): Likewise.
27590         (POLL_PRI): Likewise.
27591         (POLL_HUP): Likewise.
27592         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
27593         (ILL_ILLOPN): Likewise.
27594         (ILL_ILLADR): Likewise.
27595         (ILL_ILLTRP): Likewise.
27596         (ILL_PRVOPC): Likewise.
27597         (ILL_PRVREG): Likewise.
27598         (ILL_COPROC): Likewise.
27599         (ILL_BADSTK): Likewise.
27600         (ILL_DBLFLT): Likewise.
27601         (ILL_HARDWALL): Likewise.
27602         (FPE_INTDIV): Likewise.
27603         (FPE_INTOVF): Likewise.
27604         (FPE_FLTDIV): Likewise.
27605         (FPE_FLTOVF): Likewise.
27606         (FPE_FLTUND): Likewise.
27607         (FPE_FLTRES): Likewise.
27608         (FPE_FLTINV): Likewise.
27609         (FPE_FLTSUB): Likewise.
27610         (SEGV_MAPERR): Likewise.
27611         (SEGV_ACCERR): Likewise.
27612         (BUS_ADRALN): Likewise.
27613         (BUS_ADRERR): Likewise.
27614         (BUS_OBJERR): Likewise.
27615         (BUS_MCEERR_AR): Likewise.
27616         (BUS_MCEERR_AO): Likewise.
27617         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27618         (TRAP_TRACE): Likewise.
27619         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27620         __USE_XOPEN2K8].
27621         (CLD_KILLED): Likewise.
27622         (CLD_DUMPED): Likewise.
27623         (CLD_TRAPPED): Likewise.
27624         (CLD_STOPPED): Likewise.
27625         (CLD_CONTINUED): Likewise.
27626         (POLL_IN): Likewise.
27627         (POLL_OUT): Likewise.
27628         (POLL_MSG): Likewise.
27629         (POLL_ERR): Likewise.
27630         (POLL_PRI): Likewise.
27631         (POLL_HUP): Likewise.
27632         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
27633         (ILL_ILLOPN): Likewise.
27634         (ILL_ILLADR): Likewise.
27635         (ILL_ILLTRP): Likewise.
27636         (ILL_PRVOPC): Likewise.
27637         (ILL_PRVREG): Likewise.
27638         (ILL_COPROC): Likewise.
27639         (ILL_BADSTK): Likewise.
27640         (FPE_INTDIV): Likewise.
27641         (FPE_INTOVF): Likewise.
27642         (FPE_FLTDIV): Likewise.
27643         (FPE_FLTOVF): Likewise.
27644         (FPE_FLTUND): Likewise.
27645         (FPE_FLTRES): Likewise.
27646         (FPE_FLTINV): Likewise.
27647         (FPE_FLTSUB): Likewise.
27648         (SEGV_MAPERR): Likewise.
27649         (SEGV_ACCERR): Likewise.
27650         (BUS_ADRALN): Likewise.
27651         (BUS_ADRERR): Likewise.
27652         (BUS_OBJERR): Likewise.
27653         (BUS_MCEERR_AR): Likewise.
27654         (BUS_MCEERR_AO): Likewise.
27655         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27656         (TRAP_TRACE): Likewise.
27657         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27658         __USE_XOPEN2K8].
27659         (CLD_KILLED): Likewise.
27660         (CLD_DUMPED): Likewise.
27661         (CLD_TRAPPED): Likewise.
27662         (CLD_STOPPED): Likewise.
27663         (CLD_CONTINUED): Likewise.
27664         (POLL_IN): Likewise.
27665         (POLL_OUT): Likewise.
27666         (POLL_MSG): Likewise.
27667         (POLL_ERR): Likewise.
27668         (POLL_PRI): Likewise.
27669         (POLL_HUP): Likewise.
27670         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
27671         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
27673         [BZ #16670]
27674         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
27675         before #include of <time.h>.
27676         [!__USE_XOPEN2K] (__need_timespec): Likewise.
27677         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
27678         (test-xfail-UNIX98/sched.h/conform): Likewise.
27680 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
27682         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
27683         error absence of trapping exception support.
27684         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
27686 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
27688         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
27689         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
27690         * timezone/Makefile (testdata): Move definition above include of
27691         Rules.
27692         (test-zones): New variable.
27693         (tests-special): Add zone files.
27694         (build-testdata): Use $(evaluate-test).
27696         * elf/Makefile (tests-special): Rename tests to end with .out.
27697         ($(objpfx)noload-mem): Likewise.
27698         ($(objpfx)tst-leaks1-mem): Likewise.
27699         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
27700         * iconv/Makefile (xtests-special): Change test-iconvconfig to
27701         $(objpfx)test-iconvconfig.out.
27702         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
27703         set -e inside subshell and redirect output to file.
27704         * iconvdata/Makefile (generated): Rename tests to end with .out.
27705         Correct type.
27706         (tests-special): Rename tests to end with .out.
27707         ($(objpfx)mtrace-tst-loading): Likewise.
27708         * intl/Makefile (generated): Likewise.
27709         (tests-special): Likewise.
27710         ($(objpfx)mtrace-tst-gettext): Likewise.
27711         * misc/Makefile (generated): Likewise.
27712         (tests-special): Likewise.
27713         ($(objpfx)tst-error1-mem): Likewise.
27714         * nptl/Makefile (tests-special): Likewise.
27715         ($(objpfx)tst-stack3-mem): Likewise.
27716         (generated): Likewise.
27717         * posix/Makefile (generated): Likewise.
27718         (tests-special): Likewise.
27719         (xtests-special): Likewise.
27720         ($(objpfx)tst-fnmatch-mem): Likewise.
27721         ($(objpfx)bug-regex2-mem): Likewise.
27722         ($(objpfx)bug-regex14-mem): Likewise.
27723         ($(objpfx)bug-regex21-mem): Likewise.
27724         ($(objpfx)bug-regex31-mem): Likewise.
27725         ($(objpfx)tst-vfork3-mem): Likewise.
27726         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
27727         ($(objpfx)tst-pcre-mem): Likewise.
27728         ($(objpfx)tst-boost-mem): Likewise.
27729         ($(objpfx)bug-ga2-mem): Likewise.
27730         ($(objpfx)bug-glob2-mem): Likewise.
27731         * resolv/Makefile (generate): Likewise.
27732         (tests-special): Likewise.
27733         (xtests-special): Likewise.
27734         (generated): Likewise.
27735         ($(objpfx)mtrace-tst-leaks): Likewise.
27736         ($(objpfx)mtrace-tst-leaks2): Likewise.
27738         * scripts/merge-test-results.sh: New file.
27739         * Makefile (tests-special-notdir): New variable.
27740         (tests): Run merge-test-results.sh.
27741         (xtests): Likewise.
27742         * Rules (tests-special-notdir): New variable.
27743         (xtests-special-notdir): Likewise.
27744         (tests): Run merge-test-results.sh
27745         (xtests): Likewise.
27747         * Makeconfig (test-xfail-name): New variable.
27748         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
27749         compute variable name for expected failures.
27750         * conform/Makefile (conformtest-headers-data): New variable.
27751         (conformtest-standards): Likewise.
27752         (conformtest-headers-ISO): Likewise.
27753         (conformtest-headers-ISO99): Likewise.
27754         (conformtest-headers-ISO11): Likewise.
27755         (conformtest-headers-POSIX): Likewise.
27756         (conformtest-headers-XPG3): Likewise.
27757         (conformtest-headers-XPG4): Likewise.
27758         (conformtest-headers-UNIX98): Likewise.
27759         (conformtest-headers-XOPEN2K): Likewise.
27760         (conformtest-headers-POSIX2008): Likewise.
27761         (conformtest-headers-XOPEN2K8): Likewise.
27762         (conformtest-header-list-base): Likewise.
27763         (conformtest-header-list-tests): Likewise.
27764         (conformtest-header-base): Likewise.
27765         (conformtest-header-tests): Likewise.
27766         (tests-special): Add $(conformtest-header-list-tests).  If
27767         [$(fast-check) && !$(cross-compiling)], add
27768         $(conformtest-header-tests) instead of
27769         $(objpfx)run-conformtest.out.
27770         (generated): Add $(conformtest-header-list-base).  If
27771         [$(fast-check) && !$(cross-compiling)], add
27772         $(conformtest-header-base).  Remove previous setting.
27773         ($(conformtest-header-list-tests)): New target.
27774         (test-xfail-run-conformtest): Remove variable.
27775         ($(objpfx)run-conformtest.out): Remove target.
27776         (test-xfail-ISO11/complex.h/conform): New variable.
27777         (test-xfail-ISO11/stdalign.h/conform): Likewise.
27778         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
27779         (test-xfail-XPG3/varargs.h/conform): Likewise.
27780         (test-xfail-XPG4/varargs.h/conform): Likewise.
27781         (test-xfail-UNIX98/varargs.h/conform): Likewise.
27782         (test-xfail-XPG4/ndbm.h/conform): Likewise.
27783         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
27784         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
27785         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
27786         (test-xfail-XPG3/fcntl.h/conform): Likewise.
27787         (test-xfail-XPG3/ftw.h/conform): Likewise.
27788         (test-xfail-XPG3/grp.h/conform): Likewise.
27789         (test-xfail-XPG3/langinfo.h/conform): Likewise.
27790         (test-xfail-XPG3/limits.h/conform): Likewise.
27791         (test-xfail-XPG3/pwd.h/conform): Likewise.
27792         (test-xfail-XPG3/search.h/conform): Likewise.
27793         (test-xfail-XPG3/signal.h/conform): Likewise.
27794         (test-xfail-XPG3/stdio.h/conform): Likewise.
27795         (test-xfail-XPG3/stdlib.h/conform): Likewise.
27796         (test-xfail-XPG3/string.h/conform): Likewise.
27797         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
27798         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
27799         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
27800         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
27801         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
27802         (test-xfail-XPG3/sys/types.h/conform): Likewise.
27803         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
27804         (test-xfail-XPG3/termios.h/conform): Likewise.
27805         (test-xfail-XPG3/time.h/conform): Likewise.
27806         (test-xfail-XPG3/unistd.h/conform): Likewise.
27807         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
27808         (test-xfail-XPG4/fcntl.h/conform): Likewise.
27809         (test-xfail-XPG4/langinfo.h/conform): Likewise.
27810         (test-xfail-XPG4/netdb.h/conform): Likewise.
27811         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
27812         (test-xfail-XPG4/signal.h/conform): Likewise.
27813         (test-xfail-XPG4/stdio.h/conform): Likewise.
27814         (test-xfail-XPG4/stdlib.h/conform): Likewise.
27815         (test-xfail-XPG4/stropts.h/conform): Likewise.
27816         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
27817         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
27818         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
27819         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
27820         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
27821         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
27822         (test-xfail-XPG4/sys/time.h/conform): Likewise.
27823         (test-xfail-XPG4/sys/types.h/conform): Likewise.
27824         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
27825         (test-xfail-XPG4/termios.h/conform): Likewise.
27826         (test-xfail-XPG4/ucontext.h/conform): Likewise.
27827         (test-xfail-XPG4/unistd.h/conform): Likewise.
27828         (test-xfail-XPG4/utmpx.h/conform): Likewise.
27829         (test-xfail-POSIX/sched.h/conform): Likewise.
27830         (test-xfail-POSIX/signal.h/conform): Likewise.
27831         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
27832         (test-xfail-POSIX/tar.h/conform): Likewise.
27833         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
27834         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
27835         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
27836         (test-xfail-UNIX98/netdb.h/conform): Likewise.
27837         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
27838         (test-xfail-UNIX98/sched.h/conform): Likewise.
27839         (test-xfail-UNIX98/signal.h/conform): Likewise.
27840         (test-xfail-UNIX98/stdio.h/conform): Likewise.
27841         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
27842         (test-xfail-UNIX98/stropts.h/conform): Likewise.
27843         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
27844         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
27845         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
27846         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
27847         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
27848         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
27849         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
27850         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
27851         (test-xfail-UNIX98/unistd.h/conform): Likewise.
27852         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
27853         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
27854         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
27855         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
27856         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
27857         (test-xfail-XOPEN2K/math.h/conform): Likewise.
27858         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
27859         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
27860         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
27861         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
27862         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
27863         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
27864         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
27865         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
27866         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
27867         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
27868         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
27869         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
27870         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
27871         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
27872         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
27873         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
27874         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
27875         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
27876         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
27877         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
27878         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
27879         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
27880         (test-xfail-POSIX2008/signal.h/conform): Likewise.
27881         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
27882         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
27883         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
27884         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
27885         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
27886         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
27887         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
27888         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
27889         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
27890         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
27891         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
27892         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
27893         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
27894         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
27895         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
27896         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
27897         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
27898         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
27899         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
27900         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
27901         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
27902         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
27903         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
27904         (conformtest-cc-flags): Likewise.
27905         ($(conformtest-header-tests): New target.
27906         * conform/check-header-lists.sh: New file.
27907         * conform/run-conformtest.sh: Remove.
27909         * conform/conformtest.pl: Allow ' and \ in values given for
27910         constants.
27911         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
27912         inclusion.
27913         [POSIX] (sys/types.h): Likewise.
27914         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
27915         inclusion.
27916         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
27917         inclusion.
27918         * conform/data/signal.h-data (SIGIO): Remove expectation.
27919         [XPG3] (SIGBUS): Do not expect.
27920         [POSIX || XPG3] (SIGPOLL): Likewise.
27921         [POSIX || XPG3] (SIGPROF): Likewise.
27922         [POSIX || XPG3] (SIGSYS): Likewise.
27923         [XPG3] (SIGTRAP): Likewise.
27924         [POSIX || XPG3] (SIGURG): Likewise.
27925         [POSIX || XPG3] (SIGVTALRM): Likewise.
27926         [POSIX || XPG3] (SIGXCPU): Likewise.
27927         [POSIX || XPG3] (SIGXFSZ): Likewise.
27928         [POSIX] (SA_SIGINFO): Expect.
27929         [XPG3] (siginfo_t): Do not expect type or contents.
27930         [POSIX] (si_pid): Do not expect element.
27931         [POSIX] (si_uid): Likewise.
27932         [POSIX] (si_addr): Likewise.
27933         [POSIX] (si_status): Likewise.
27934         [POSIX] (si_band): Likewise.
27935         [XPG4] (si_value): Likewise.
27936         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
27937         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
27938         [POSIX || XPG3] (ILL_ILLADR): Likewise.
27939         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
27940         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
27941         [POSIX || XPG3] (ILL_PRVREG): Likewise.
27942         [POSIX || XPG3] (ILL_COPROC): Likewise.
27943         [POSIX || XPG3] (ILL_BADSTK): Likewise.
27944         [POSIX || XPG3] (FPE_INTDIV): Likewise.
27945         [POSIX || XPG3] (FPE_INTOVF): Likewise.
27946         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
27947         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
27948         [POSIX || XPG3] (FPE_FLTUND): Likewise.
27949         [POSIX || XPG3] (FPE_FLTRES): Likewise.
27950         [POSIX || XPG3] (FPE_FLTINV): Likewise.
27951         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
27952         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
27953         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
27954         [POSIX || XPG3] (BUS_ADRALN): Likewise.
27955         [POSIX || XPG3] (BUS_ADRERR): Likewise.
27956         [POSIX || XPG3] (BUS_OBJERR): Likewise.
27957         [POSIX || XPG3] (CLD_EXITED): Likewise.
27958         [POSIX || XPG3] (CLD_KILLED): Likewise.
27959         [POSIX || XPG3] (CLD_DUMPED): Likewise.
27960         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
27961         [POSIX || XPG3] (CLD_STOPPED): Likewise.
27962         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
27963         [POSIX || XPG3] (POLL_IN): Likewise.
27964         [POSIX || XPG3] (POLL_OUT): Likewise.
27965         [POSIX || XPG3] (POLL_MSG): Likewise.
27966         [POSIX || XPG3] (POLL_ERR): Likewise.
27967         [POSIX || XPG3] (POLL_PRI): Likewise.
27968         [POSIX || XPG3] (POLL_HUP): Likewise.
27969         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
27970         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
27971         (SIG*): Do not allow.
27972         [XPG3] (si_*): Likewise.
27973         [XPG3] (SI_*): Likewise.
27974         [XPG3 || XPG4] (sigev_*): Likewise.
27975         [XPG3 || XPG4] (SIGEV_*): Likewise.
27976         [XPG3 || XPG4] (sival_*): Likewise.
27977         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
27978         [POSIX || XPG3] (BUS_*): Likewise.
27979         [POSIX || XPG3] (CLD_*): Likewise.
27980         [POSIX || XPG3] (FPE_*): Likewise.
27981         [POSIX || XPG3] (ILL_*): Likewise.
27982         [POSIX || XPG3] (POLL_*): Likewise.
27983         [POSIX || XPG3] (SEGV_*): Likewise.
27984         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
27985         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
27986         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
27987         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
27988         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
27989         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
27990         Specify type and value.
27991         (TVERSLEN): Likewise.
27992         (REGTYPE): Likewise.
27993         (AREGTYPE): Likewise.
27994         (LNKTYPE): Likewise.
27995         (SYMTYPE): Likewise.
27996         (CHRTYPE): Likewise.
27997         (BLKTYPE): Likewise.
27998         (DIRTYPE): Likewise.
27999         (FIFOTYPE): Likewise.
28000         (CONTTYPE): Likewise.
28001         (TSUID): Likewise.
28002         (TSGID): Likewise.
28003         (TSVTX): Likewise.
28004         (TUREAD): Likewise.
28005         (TUWRITE): Likewise.
28006         (TUEXEC): Likewise.
28007         (TGREAD): Likewise.
28008         (TGWRITE): Likewise.
28009         (TGEXEC): Likewise.
28010         (TOREAD): Likewise.
28011         (TOWRITE): Likewise.
28012         (TOEXEC): Likewise.
28013         [POSIX] (TSVTX): Expect constant.
28015 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
28017         * Makefile (tests): Change dependencies to ....
28018         (tests-special): ... additions to this variable.
28019         (tests): Depend on $(tests-special).
28020         * Makerules (check-abi-list): New variable.
28021         (check-abi): Depend on $(check-abi-list).
28022         [$(subdir) = elf] (tests-special): Add
28023         $(objpfx)check-abi-libc.out.
28024         [$(build-shared) = yes && subdir] (tests-special): Add
28025         $(check-abi-list).
28026         [$(build-shared) = yes && subdir] (tests): Do not depend on
28027         check-abi.
28028         * Rules (tests): Depend on $(tests-special).
28029         (xtests): Depend on $(xtests-special).
28030         * catgets/Makefile (tests): Change dependencies to ....
28031         (tests-special): ... additions to this variable.
28032         * conform/Makefile (tests): Change dependencies to ....
28033         (tests-special): ... additions to this variable.
28034         * elf/Makefile (tests): Change dependencies to ....
28035         (tests-special): ... additions to this variable.
28036         * grp/Makefile (tests): Change dependencies to ....
28037         (tests-special): ... additions to this variable.
28038         * iconv/Makefile (xtests): Change dependencies to ....
28039         (xtests-special): ... additions to this variable.
28040         * iconvdata/Makefile (tests): Change dependencies to ....
28041         (tests-special): ... additions to this variable.
28042         * intl/Makefile (tests): Change dependencies to ....
28043         (tests-special): ... additions to this variable.  Also add
28044         $(objpfx)tst-gettext.out.
28045         * io/Makefile (tests): Change dependencies to ....
28046         (tests-special): ... additions to this variable.
28047         * libio/Makefile (tests): Change dependencies to ....
28048         (tests-special): ... additions to this variable.
28049         * malloc/Makefile (tests): Change dependencies to ....
28050         (tests-special): ... additions to this variable.
28051         * misc/Makefile (tests): Change dependencies to ....
28052         (tests-special): ... additions to this variable.
28053         * nptl/Makefile (tests): Change dependencies to ....
28054         (tests-special): ... additions to this variable.
28055         * nptl_db/Makefile (tests): Change dependencies to ....
28056         (tests-special): ... additions to this variable.
28057         * posix/Makefile (tests): Change dependencies to ....
28058         (tests-special): ... additions to this variable.
28059         (xtests): Change dependencies to ....
28060         (xtests-special): ... additions to this variable.
28061         * resolv/Makefile (tests): Change dependencies to ....
28062         (tests-special): ... additions to this variable.
28063         (xtests): Change dependencies to ....
28064         (xtests-special): ... additions to this variable.
28065         * stdio-common/Makefile (tests): Change dependencies to ....
28066         (tests-special): ... additions to this variable.
28067         (do-tst-unbputc): Remove target.
28068         (do-tst-printf): Likewise.
28069         * stdlib/Makefile (tests): Change dependencies to ....
28070         (tests-special): ... additions to this variable.
28071         * string/Makefile (tests): Change dependencies to ....
28072         (tests-special): ... additions to this variable.
28073         * sysdeps/x86/Makefile (tests): Change dependencies to ....
28074         (tests-special): ... additions to this variable.
28076         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
28077         whole file.
28078         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
28079         whole file.
28080         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
28081         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
28083         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
28084         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
28085         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
28086         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
28087         * conform/data/libgen.h-data [XPG3]: Likewise.
28088         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
28089         * conform/data/ndbm.h-data [XPG3]: Likewise.
28090         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
28091         * conform/data/netdb.h-data [XPG3]: Likewise.
28092         * conform/data/netinet/in.h-data [XPG3]: Likewise.
28093         * conform/data/poll.h-data [XPG3]: Likewise.
28094         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
28095         * conform/data/strings.h-data [XPG3]: Likewise.
28096         * conform/data/stropts.h-data [XPG3]: Likewise.
28097         * conform/data/sys/mman.h-data [XPG3]: Likewise.
28098         * conform/data/sys/resource.h-data [XPG3]: Likewise.
28099         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
28100         Likewise.
28101         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
28102         * conform/data/sys/time.h-data [XPG3]: Likewise.
28103         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
28104         * conform/data/sys/uio.h-data [XPG3]: Likewise.
28105         * conform/data/sys/un.h-data [XPG3]: Likewise.
28106         * conform/data/syslog.h-data [XPG3]: Likewise.
28107         * conform/data/ucontext.h-data [XPG3]: Likewise.
28108         * conform/data/utmpx.h-data [XPG3]: Likewise.
28109         * conform/data/varargs.h-data [UNIX98]: Enable file.
28111         * manual/Makefile (INSTALL_INFO): Remove variable setting.
28113         * math/libm-test.inc (struct test_f_f_data): Move expected results
28114         into structure for each rounding mode.
28115         (struct test_ff_f_data): Likewise.
28116         (struct test_ff_f_data_nexttoward): Likewise.
28117         (struct test_fi_f_data): Likewise.
28118         (struct test_fl_f_data): Likewise.
28119         (struct test_if_f_data): Likewise.
28120         (struct test_fff_f_data): Likewise.
28121         (struct test_c_f_data): Likewise.
28122         (struct test_f_f1_data): Likewise.
28123         (struct test_fF_f1_data): Likewise.
28124         (struct test_ffI_f1_data): Likewise.
28125         (struct test_c_c_data): Likewise.
28126         (struct test_cc_c_data): Likewise.
28127         (struct test_f_i_data): Likewise.
28128         (struct test_ff_i_data): Likewise.
28129         (struct test_f_l_data): Likewise.
28130         (struct test_f_L_data): Likewise.
28131         (struct test_fFF_11_data): Likewise.
28132         (RM_): New macro.
28133         (RM_FE_DOWNWARD): Likewise.
28134         (RM_FE_TONEAREST): Likewise.
28135         (RM_FE_TOWARDZERO): Likewise.
28136         (RM_FE_UPWARD): Likewise.
28137         (RUN_TEST_LOOP_f_f): Update references to expected results.
28138         (RUN_TEST_LOOP_2_f): Likewise.
28139         (RUN_TEST_LOOP_fff_f): Likewise.
28140         (RUN_TEST_LOOP_c_f): Likewise.
28141         (RUN_TEST_LOOP_f_f1): Likewise.
28142         (RUN_TEST_LOOP_fF_f1): Likewise.
28143         (RUN_TEST_LOOP_fI_f1): Likewise.
28144         (RUN_TEST_LOOP_ffI_f1): Likewise.
28145         (RUN_TEST_LOOP_c_c): Likewise.
28146         (RUN_TEST_LOOP_cc_c): Likewise.
28147         (RUN_TEST_LOOP_f_i): Likewise.
28148         (RUN_TEST_LOOP_f_i_tg): Likewise.
28149         (RUN_TEST_LOOP_ff_i_tg): Likewise.
28150         (RUN_TEST_LOOP_f_b): Likewise.
28151         (RUN_TEST_LOOP_f_b_tg): Likewise.
28152         (RUN_TEST_LOOP_f_l): Likewise.
28153         (RUN_TEST_LOOP_f_L): Likewise.
28154         (RUN_TEST_LOOP_fFF_11): Likewise.
28155         * math/gen-libm-test.pl (parse_args): Output four copies of
28156         expected results for each test.
28158         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
28159         (__ASSUME_UTIMES): Remove.
28160         * sysdeps/unix/sysv/linux/tile/kernel-features.h
28161         (__ASSUME_UTIMES): Likewise.
28163         * math/gen-auto-libm-tests.c: Update comment on output format.
28164         (output_for_one_input_case): Generate before-rounding and
28165         after-rounding information as conditions on output flags not
28166         floating-point format.
28167         * math/auto-libm-test-out: Regenerated.
28168         * math/gen-libm-test.pl (cond_value): New function.
28169         (or_cond_value): Use cond_value.
28170         (generate_testfile): Handle conditional exceptions.
28172 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
28174         * math/libm-test.inc (max_valid_error): New variable.
28175         (init_max_error): Take new argument specifying whether function
28176         results are exactly determined.  Set max_valid_error and bound
28177         other variables for errors based on this argument.
28178         (set_max_error): Do not record results above max_valid_error.
28179         (check_float_internal): Only accept errors of up to 0.5ulps if
28180         also at most max_valid_error.
28181         (START): Take new argument EXACT and pass it to init_max_error.
28182         (acos_test): Update call to START.
28183         (acos_test_tonearest): Likewise.
28184         (acos_test_towardzero): Likewise.
28185         (acos_test_downward): Likewise.
28186         (acos_test_upward): Likewise.
28187         (acosh_test): Likewise.
28188         (asin_test): Likewise.
28189         (asin_test_tonearest): Likewise.
28190         (asin_test_towardzero): Likewise.
28191         (asin_test_downward): Likewise.
28192         (asin_test_upward): Likewise.
28193         (asinh_test): Likewise.
28194         (atan_test): Likewise.
28195         (atanh_test): Likewise.
28196         (atan2_test): Likewise.
28197         (cabs_test): Likewise.
28198         (cacos_test): Likewise.
28199         (cacosh_test): Likewise.
28200         (carg_test): Likewise.
28201         (casin_test): Likewise.
28202         (casinh_test): Likewise.
28203         (catan_test): Likewise.
28204         (catanh_test): Likewise.
28205         (cbrt_test): Likewise.
28206         (ccos_test): Likewise.
28207         (ccosh_test): Likewise.
28208         (ceil_test): Likewise.
28209         (cexp_test): Likewise.
28210         (cimag_test): Likewise.
28211         (clog_test): Likewise.
28212         (clog10_test): Likewise.
28213         (conj_test): Likewise.
28214         (copysign_test): Likewise.
28215         (cos_test): Likewise.
28216         (cos_test_tonearest): Likewise.
28217         (cos_test_towardzero): Likewise.
28218         (cos_test_downward): Likewise.
28219         (cos_test_upward): Likewise.
28220         (cosh_test): Likewise.
28221         (cosh_test_tonearest): Likewise.
28222         (cosh_test_towardzero): Likewise.
28223         (cosh_test_downward): Likewise.
28224         (cosh_test_upward): Likewise.
28225         (cpow_test): Likewise.
28226         (cproj_test): Likewise.
28227         (creal_test): Likewise.
28228         (csin_test): Likewise.
28229         (csinh_test): Likewise.
28230         (csqrt_test): Likewise.
28231         (ctan_test): Likewise.
28232         (ctan_test_tonearest): Likewise.
28233         (ctan_test_towardzero): Likewise.
28234         (ctan_test_downward): Likewise.
28235         (ctan_test_upward): Likewise.
28236         (ctanh_test): Likewise.
28237         (ctanh_test_tonearest): Likewise.
28238         (ctanh_test_towardzero): Likewise.
28239         (ctanh_test_downward): Likewise.
28240         (ctanh_test_upward): Likewise.
28241         (erf_test): Likewise.
28242         (erfc_test): Likewise.
28243         (exp_test): Likewise.
28244         (exp_test_tonearest): Likewise.
28245         (exp_test_towardzero): Likewise.
28246         (exp_test_downward): Likewise.
28247         (exp_test_upward): Likewise.
28248         (exp10_test): Likewise.
28249         (exp10_test_tonearest): Likewise.
28250         (exp10_test_towardzero): Likewise.
28251         (exp10_test_downward): Likewise.
28252         (exp10_test_upward): Likewise.
28253         (pow10_test): Likewise.
28254         (exp2_test): Likewise.
28255         (expm1_test): Likewise.
28256         (expm1_test_tonearest): Likewise.
28257         (expm1_test_towardzero): Likewise.
28258         (expm1_test_downward): Likewise.
28259         (expm1_test_upward): Likewise.
28260         (fabs_test): Likewise.
28261         (fdim_test): Likewise.
28262         (floor_test): Likewise.
28263         (fma_test): Likewise.
28264         (fma_test_towardzero): Likewise.
28265         (fma_test_downward): Likewise.
28266         (fma_test_upward): Likewise.
28267         (fmax_test): Likewise.
28268         (fmin_test): Likewise.
28269         (fmod_test): Likewise.
28270         (fpclassify_test): Likewise.
28271         (frexp_test): Likewise.
28272         (hypot_test): Likewise.
28273         (ilogb_test): Likewise.
28274         (isfinite_test): Likewise.
28275         (finite_test): Likewise.
28276         (isgreater_test): Likewise.
28277         (isgreaterequal_test): Likewise.
28278         (isinf_test): Likewise.
28279         (isless_test): Likewise.
28280         (islessequal_test): Likewise.
28281         (islessgreater_test): Likewise.
28282         (isnan_test): Likewise.
28283         (isnormal_test): Likewise.
28284         (issignaling_test): Likewise.
28285         (isunordered_test): Likewise.
28286         (j0_test): Likewise.
28287         (j1_test): Likewise.
28288         (jn_test): Likewise.
28289         (ldexp_test): Likewise.
28290         (lgamma_test): Likewise.
28291         (gamma_test): Likewise.
28292         (lrint_test): Likewise.
28293         (lrint_test_tonearest): Likewise.
28294         (lrint_test_towardzero): Likewise.
28295         (lrint_test_downward): Likewise.
28296         (lrint_test_upward): Likewise.
28297         (llrint_test): Likewise.
28298         (llrint_test_tonearest): Likewise.
28299         (llrint_test_towardzero): Likewise.
28300         (llrint_test_downward): Likewise.
28301         (llrint_test_upward): Likewise.
28302         (log_test): Likewise.
28303         (log10_test): Likewise.
28304         (log1p_test): Likewise.
28305         (log2_test): Likewise.
28306         (logb_test): Likewise.
28307         (logb_test_downward): Likewise.
28308         (lround_test): Likewise.
28309         (llround_test): Likewise.
28310         (modf_test): Likewise.
28311         (nearbyint_test): Likewise.
28312         (nextafter_test): Likewise.
28313         (nexttoward_test): Likewise.
28314         (pow_test): Likewise.
28315         (pow_test_tonearest): Likewise.
28316         (pow_test_towardzero): Likewise.
28317         (pow_test_downward): Likewise.
28318         (pow_test_upward): Likewise.
28319         (remainder_test): Likewise.
28320         (drem_test): Likewise.
28321         (remainder_test_tonearest): Likewise.
28322         (drem_test_tonearest): Likewise.
28323         (remainder_test_towardzero): Likewise.
28324         (drem_test_towardzero): Likewise.
28325         (remainder_test_downward): Likewise.
28326         (drem_test_downward): Likewise.
28327         (remainder_test_upward): Likewise.
28328         (drem_test_upward): Likewise.
28329         (remquo_test): Likewise.
28330         (rint_test): Likewise.
28331         (rint_test_tonearest): Likewise.
28332         (rint_test_towardzero): Likewise.
28333         (rint_test_downward): Likewise.
28334         (rint_test_upward): Likewise.
28335         (round_test): Likewise.
28336         (scalb_test): Likewise.
28337         (scalbn_test): Likewise.
28338         (scalbln_test): Likewise.
28339         (signbit_test): Likewise.
28340         (sin_test): Likewise.
28341         (sin_test_tonearest): Likewise.
28342         (sin_test_towardzero): Likewise.
28343         (sin_test_downward): Likewise.
28344         (sin_test_upward): Likewise.
28345         (sincos_test): Likewise.
28346         (sinh_test): Likewise.
28347         (sinh_test_tonearest): Likewise.
28348         (sinh_test_towardzero): Likewise.
28349         (sinh_test_downward): Likewise.
28350         (sinh_test_upward): Likewise.
28351         (sqrt_test): Likewise.
28352         (sqrt_test_tonearest): Likewise.
28353         (sqrt_test_towardzero): Likewise.
28354         (sqrt_test_downward): Likewise.
28355         (sqrt_test_upward): Likewise.
28356         (tan_test): Likewise.
28357         (tan_test_tonearest): Likewise.
28358         (tan_test_towardzero): Likewise.
28359         (tan_test_downward): Likewise.
28360         (tan_test_upward): Likewise.
28361         (tanh_test): Likewise.
28362         (tgamma_test): Likewise.
28363         (trunc_test): Likewise.
28364         (y0_test): Likewise.
28365         (y1_test): Likewise.
28366         (yn_test): Likewise.
28367         (significand_test): Likewise.
28369         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
28370         individual tests in comment.
28371         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
28372         (prev_max_error): New variable.
28373         (prev_real_max_error): Likewise.
28374         (prev_imag_max_error): Likewise.
28375         (compare_ulp_data): Don't refer to test names in comment.
28376         (find_test_ulps): Remove function.
28377         (find_function_ulps): Likewise.
28378         (find_complex_function_ulps): Likewise.
28379         (init_max_error): Take function name as argument.  Look up ulps
28380         for that function.
28381         (print_ulps): Remove function.
28382         (print_max_error): Use prev_max_error instead of calling
28383         find_function_ulps.
28384         (print_complex_max_error): Use prev_real_max_error and
28385         prev_imag_max_error instead of calling find_complex_function_ulps.
28386         (check_float_internal): Take max_ulp parameter instead of calling
28387         find_test_ulps.  Don't call print_ulps.
28388         (check_float): Update call to check_float_internal.
28389         (check_complex): Update calls to check_float_internal.
28390         (START): Pass argument to init_max_error.
28391         * math/gen-libm-test.pl (%results): Don't include "kind"
28392         information.
28393         (parse_ulps): Don't handle ulps of individual tests.
28394         (print_ulps_file): Likewise.
28395         (output_ulps): Likewise.
28396         * math/README.libm-test: Update.
28397         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
28398         individual tests.
28399         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
28400         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
28401         * sysdeps/arm/libm-test-ulps: Likewise.
28402         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
28403         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
28404         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
28405         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
28406         * sysdeps/microblaze/libm-test-ulps: Likewise.
28407         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
28408         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28409         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28410         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
28411         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28412         * sysdeps/sh/libm-test-ulps: Likewise.
28413         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28414         * sysdeps/tile/libm-test-ulps: Likewise.
28415         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28417 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
28419         * math/libm-test.inc (print_complex_max_error): Check separately
28420         whether real and imaginary errors are within allowed range and
28421         pass 0 to print_complex_function_ulps instead of value within
28422         allowed range.
28424 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28426         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
28427         formatting.
28428         (get_handles_fopen): Likewise.
28429         (do_write_test): Likewise.
28431         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
28433         * libio/fileops.c (do_ftell): Use cached offset when
28434         available.
28435         * libio/iofwide.c (do_ftell_wide): Likewise.
28436         * libio/iofdopen.c (_IO_new_fdopen): Don't use
28437         _IO_file_attach.
28438         * libio/wfileops.c (_IO_fwide): Don't cache offset.
28440         [BZ #16532]
28441         * libio/libioP.h (get_file_offset): New function.
28442         * libio/fileops.c (get_file_offset): Likewise.
28443         (do_ftell): Likewise.
28444         (_IO_new_file_seekoff): Split out ftell logic.
28445         * libio/wfileops.c (do_ftell_wide): Likewise.
28446         (_IO_wfile_seekoff): Split out ftell logic.
28447         * libio/tst-ftell-active-handler.c: New test case.
28448         * libio/Makefile (tests): Add it.
28450 2014-03-03  Roland McGrath  <roland@hack.frob.com>
28452         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
28453         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
28455 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
28457         [BZ #16639]
28458         * nscd/connections.c (nscd_init): Call do_exit.
28459         (start_threads): Call do_exit and notify_parent.
28460         (begin_drop_privileges): Call do_exit.
28461         (finish_drop_privileges): Likewise.
28462         * nscd/selinux.c (preserve_capabilities): Likewise.
28463         (install_real_capabilities): Likewise.
28464         (nscd_selinux_enabled): Likewise.
28465         (avc_create_thread): Likewise.
28466         (avc_alloc_lock): Likewise.
28467         (nscd_avc_init): Likewise.
28468         * nscd/nscd.c (parent_fd): New static variable.
28469         (main): Create a pipe between parent and child processes.
28470         Skip closing parent_fd.
28471         (monitor_child): New function.
28472         (do_exit): Likewise.
28473         (notify_parent): Likewise.
28474         * nscd/nscd.h (notify_parent): Likewise.
28475         (do_exit): Likewise.
28477 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
28479         * malloc/malloc.c (__libc_calloc): Revert last change.
28481 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28483         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28485 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28487         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
28488         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
28489         implementation.
28490         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28491         (__libc_ifunc_impl_list): Likewise.
28492         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
28493         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
28494         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
28495         * string/strrchr.c: Define STRRCHR.
28497 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
28499         * benchtest/bench-strtok.c (simple_strtok): Delete.
28500         (strtok_string): Use as benchmark.
28501         * string/strtok (STRTOK): New macro.
28503 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
28505         * manual/threads.texi: Add header and standard comments to all
28506         functions.
28508         * elf/dl-lookup.c (check_match): New function.
28509         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
28510         (do_lookup_x): Remove nested function check_match. Use non-nested
28511         function check_match.
28513 2014-02-28  Roland McGrath  <roland@hack.frob.com>
28515         * csu/Makefile (generated, before-compile): Use += rather than =.
28516         * catgets/Makefile (generated, generated-dirs): Likewise.
28517         * debug/Makefile (generated): Likewise.
28518         * dlfcn/Makefile (generated): Likewise.
28519         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
28520         * iconvdata/Makefile (before-compile, generated): Likewise.
28521         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
28522         * libio/Makefile (generated): Likewise.
28523         * malloc/Makefile (generated): Likewise.
28524         * manual/Makefile (generated, generated-dirs): Likewise.
28525         * misc/Makefile (generated): Likewise.
28526         * posix/Makefile (generated): Likewise.
28527         * resolv/Makefile (generated): Likewise.
28528         * sunrpc/Makefile (generated, generated-dirs): Likewise.
28529         * timezone/Makefile (generated, generated-dirs): Likewise.
28531         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
28533 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28535         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
28536         power8 implementation.
28537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
28538         file: POWER8 llround ifunc implementation.
28539         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
28540         (__lllround): Add POWER8 implementation.
28541         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
28542         POWER8 llround implementation.
28544         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
28545         power8 implementation.
28546         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
28547         file: POWER8 llrint ifunc implementation.
28548         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
28549         Add POWER8 implementation.
28550         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
28551         POWER8 llrint implementation.
28553         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
28554         power8 implementation.
28555         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
28556         file: POWER8 finite ifunc implementation.
28557         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
28558         Add POWER8 implementation.
28559         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
28560         Likewise.
28561         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
28562         POWER8 finite implementation.
28563         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
28565         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
28566         power8 implementation.
28567         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
28568         file: POWER8 isinf ifunc implementation.
28569         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
28570         POWER8 implementation.
28571         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
28572         Likewise.
28573         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
28574         isinf implementation.
28575         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
28577         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
28578         (INIT_ARCH): Add hwcap2 initialization.
28579         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
28580         power8 implementation.
28581         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
28582         file: POWER8 isnan ifunc implementation.
28583         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
28584         POWER8 implementation.
28585         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
28586         Likewise.
28587         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
28588         isnan implementation.
28589         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
28591 2014-02-27  Joey Ye  <joey.ye@arm.com>
28593         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
28594         (_FP_NANFRAC_Q): Set to zero.
28596 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28598         [BZ #16623]
28599         * math/auto-libm-test-in: New test inputs.
28600         * math/auto-libm-test-out: Regenerate.
28601         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
28602         and DA.
28603         (__cos): Likewise.
28604         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
28606 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
28608         * scripts/evaluate-test.sh: Take new argument indicating whether
28609         failure is expected.
28610         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
28611         indicating whether failure is expected.
28612         * conform/Makefile (test-xfail-run-conformtest): New variable.
28613         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
28614         level.
28615         * posix/Makefile (test-xfail-annexc): New variable.
28616         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
28618 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
28620         * argp/Makefile: Include Makeconfig immediately after defining
28621         subdir.
28622         * assert/Makefile: Likewise.
28623         * benchtests/Makefile: Likewise.
28624         * catgets/Makefile: Likewise.
28625         * conform/Makefile: Likewise.
28626         * crypt/Makefile: Likewise.
28627         * csu/Makefile: Likewise.
28628         (all): Remove target.
28629         * ctype/Makefile: Include Makeconfig immediately after defining
28630         subdir.
28631         * debug/Makefile: Likewise.
28632         * dirent/Makefile: Likewise.
28633         * dlfcn/Makefile: Likewise.
28634         * gmon/Makefile: Likewise.
28635         * gnulib/Makefile: Likewise.
28636         * grp/Makefile: Likewise.
28637         * gshadow/Makefile: Likewise.
28638         * hesiod/Makefile: Likewise.
28639         * hurd/Makefile: Likewise.
28640         (all): Remove target.
28641         * iconvdata/Makefile: Include Makeconfig immediately after
28642         defining subdir.
28643         * inet/Makefile: Likewise.
28644         * intl/Makefile: Likewise.
28645         * io/Makefile: Likewise.
28646         * libio/Makefile: Likewise.
28647         (all): Remove target.
28648         * locale/Makefile: Include Makeconfig immediately after defining
28649         subdir.
28650         * login/Makefile: Likewise.
28651         * mach/Makefile: Likewise.
28652         (all): Remove target.
28653         * malloc/Makefile: Include Makeconfig immediately after defining
28654         subdir.
28655         (all): Remove target.
28656         * manual/Makefile: Include Makeconfig immediately after defining
28657         subdir.
28658         * math/Makefile: Likewise.
28659         * misc/Makefile: Likewise.
28660         * nis/Makefile: Likewise.
28661         * nss/Makefile: Likewise.
28662         * po/Makefile: Likewise.
28663         (all): Remove target.
28664         * posix/Makefile: Include Makeconfig immediately after defining
28665         subdir.
28666         * pwd/Makefile: Likewise.
28667         * resolv/Makefile: Likewise.
28668         * resource/Makefile: Likewise.
28669         * rt/Makefile: Likewise.
28670         * setjmp/Makefile: Likewise.
28671         * shadow/Makefile: Likewise.
28672         * signal/Makefile: Likewise.
28673         * socket/Makefile: Likewise.
28674         * soft-fp/Makefile: Likewise.
28675         * stdio-common/Makefile: Likewise.
28676         * stdlib/Makefile: Likewise.
28677         * streams/Makefile: Likewise.
28678         * string/Makefile: Likewise.
28679         * sunrpc/Makefile: Likewise.
28680         (all): Remove target.
28681         * sysvipc/Makefile: Include Makeconfig immediately after defining
28682         subdir.
28683         * termios/Makefile: Likewise.
28684         * time/Makefile: Likewise.
28685         * timezone/Makefile: Likewise.
28686         (all): Remove target.
28687         * wcsmbs/Makefile: Include Makeconfig immediately after defining
28688         subdir.
28689         * wctype/Makefile: Likewise.
28691 2014-02-26  Steve Ellcey  <sellcey@mips.com>
28693         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
28694         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
28695         (libc_feholdexcept_setround_mips): Ditto.
28696         (libc_feholdsetround): New.
28697         (libc_feholdsetroundf): New.
28698         (libc_feholdsetroundl): New.
28699         (libc_feupdateenv_test_mips): New.
28700         (libc_feupdateenv_test): New.
28701         (libc_feupdateenv_testf): New.
28702         (libc_feupdateenv_testl): New.
28703         (libc_feresetround): New.
28704         (libc_feresetroundf): New.
28705         (libc_feresetroundl): New.
28706         (libc_fetestexcept_mips): New.
28707         (libc_fetestexcept): New.
28708         (libc_fetestexceptf): New.
28709         (libc_fetestexceptl): New.
28710         (HAVE_RM_CTX): New.
28711         (libc_feholdexcept_setround_mips_ctx): New.
28712         (libc_feholdexcept_setround_ctx): New.
28713         (libc_feholdexcept_setroundf_ctx): New.
28714         (libc_feholdexcept_setroundl_ctx): New.
28715         (libc_fesetenv_mips_ctx): New.
28716         (libc_fesetenv_ctx): New.
28717         (libc_fesetenv_ctxf): New.
28718         (libc_fesetenv_ctxl): New.
28719         (libc_feupdateenv_mips_ctx): New.
28720         (libc_feupdateenv_ctx): New.
28721         (libc_feupdateenvf_ctx): New.
28722         (libc_feupdateenvl_ctx): New.
28723         (libc_feholdsetround_mips_ctx): New.
28724         (libc_feholdsetround_ctx): New.
28725         (libc_feholdsetroundf_ctx): New.
28726         (libc_feholdsetroundl_ctx): New.
28727         (libc_feresetround_mips_ctx): New.
28728         (libc_feresetround_ctx): New.
28729         (libc_feresetroundf_ctx): New.
28730         (libc_feresetroundl_ctx): New.
28732 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
28734         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
28736         * manual/ipc.texi: New file.
28737         * manual/Makefile (chapters): Add ipc.
28738         * manual/job.texi: Add "Inter-Process Communication" to next.
28739         * manual/process.texi: Add "Inter-Process Communication" to prev.
28741 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28743         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28745 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
28747         * malloc/malloc.c (__libc_calloc): Simplify implementation.
28749         * manual/arith.texi: Fix spaces after sentences.
28750         * manual/charset.texi: Likewise.
28751         * manual/errno.texi: Likewise.
28752         * manual/install.texi: Likewise.
28753         * manual/llio.texi: Likewise.
28754         * manual/locale.texi: Likewise.
28755         * manual/maint.texi: Likewise.
28756         * manual/math.texi: Likewise.
28757         * manual/memory.texi: Likewise.
28758         * manual/message.texi: Likewise.
28759         * manual/probes.texi: Likewise.
28760         * manual/resource.texi: Likewise.
28761         * manual/signal.texi: Likewise.
28762         * manual/socket.texi: Likewise.
28763         * manual/stdio.texi: Likewise.
28764         * manual/string.texi: Likewise.
28765         * manual/time.texi: Likewise.
28766         * manual/users.texi: Likewise.
28768 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
28770         [BZ #16632]
28771         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
28772         _DEFAULT_SOURCE is defined.
28774 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
28775             Carlos O'Donell  <carlos@redhat.com>
28777         [BZ #16613]
28778         * elf/dl-tls.c (_dl_count_modids): New function.
28779         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
28780         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
28781         audit library and increment generation counter.
28782         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
28783         * elf/tst-audit9.c: New file.
28784         * elf/tst-auditmod9a.c: New file.
28785         * elf/tst-auditmod9b.c: New file.
28786         * elf/Makefile: Add rules to build and run tst-audit9.
28788 2014-02-25  Florian Weimer  <fweimer@redhat.com>
28790         [BZ #15347]
28791         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
28793 2014-02-25  Will Newton  <will.newton@linaro.org>
28795         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
28796         (__longjmp): Restore sp and lr before restoring callee
28797         saved registers.  Add longjmp and longjmp_target
28798         SystemTap probe point.
28799         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
28800         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
28801         Define to zero to match jmpbuf layout.
28802         * sysdeps/arm/setjmp.S: Include stap-probe.h.
28803         (__sigsetjmp): Save sp and lr before saving callee
28804         saved registers.  Add setjmp SystemTap probe point.
28806 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
28808         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28810 2014-02-24  Andreas Schwab  <schwab@suse.de>
28812         [BZ #15804]
28813         * elf/pldd.c (wait_for_ptrace_stop): New function.
28814         (main): Call it after attaching.
28816 2014-02-22  Roland McGrath  <roland@hack.frob.com>
28818         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
28819         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
28820         Versions files is now verboten.
28821         * hurd/Versions (libc: GLIBC_2.0):
28822         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
28823         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
28824         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
28825         * mach/Versions: Likewise.
28827         * csu/Versions: Remove unused %include.
28828         * resolv/Versions: Likewise.
28830 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
28832         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
28833         ($(objpfx)check-local-headers.out): Likewise.
28834         ($(objpfx)begin-end-check.out): Likewise.
28835         * Makerules (check-abi-%.out): Likewise.
28836         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
28837         ($(objpfx)test2.cat): Likewise.
28838         ($(objpfx)de/libc.cat): Likewise.
28839         ($(objpfx)test-gencat.out): Likewise.
28840         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
28841         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
28842         ($(objpfx)noload-mem): Likewise.
28843         ($(objpfx)tst-pathopt.out): Likewise.
28844         ($(objpfx)tst-rtld-load-self.out): Likewise.
28845         ($(objpfx)tst-array1-cmp.out): Likewise.
28846         ($(objpfx)tst-array1-static-cmp.out): Likewise.
28847         ($(objpfx)tst-array2-cmp.out): Likewise.
28848         ($(objpfx)tst-array3-cmp.out): Likewise.
28849         ($(objpfx)tst-array4-cmp.out): Likewise.
28850         ($(objpfx)tst-array5-cmp.out): Likewise.
28851         ($(objpfx)tst-array5-static-cmp.out): Likewise.
28852         ($(objpfx)check-textrel.out): Likewise.
28853         ($(objpfx)check-execstack.out): Likewise.
28854         ($(objpfx)check-localplt.out): Likewise.
28855         ($(objpfx)order2-cmp.out): Likewise.
28856         ($(objpfx)tst-leaks1-mem): Likewise.
28857         ($(objpfx)tst-leaks1-static-mem): Likewise.
28858         ($(objpfx)tst-initorder-cmp.out): Likewise.
28859         ($(objpfx)tst-initorder2-cmp.out): Likewise.
28860         ($(objpfx)tst-unused-dep.out): Likewise.
28861         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
28862         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
28863         * iconv/Makefile (test-iconvconfig): Likewise.
28864         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
28865         ($(objpfx)iconv-test.out): Likewise.
28866         ($(objpfx)tst-tables.out): Likewise.
28867         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
28868         ($(objpfx)tst-gettext.out): Likewise.
28869         ($(objpfx)tst-translit.out): Likewise.
28870         ($(objpfx)tst-gettext2.out): Likewise.
28871         ($(objpfx)tst-gettext4.out): Likewise.
28872         ($(objpfx)tst-gettext6.out): Likewise.
28873         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
28874         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
28875         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
28876         ($(objpfx)tst-fopenloc-mem.out): Likewise.
28877         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
28878         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
28879         * posix/Makefile ($(objpfx)globtest.out): Likewise.
28880         ($(objpfx)wordexp-tst.out): Likewise.
28881         ($(objpfx)annexc.out): Likewise.
28882         ($(objpfx)tst-fnmatch-mem): Likewise.
28883         ($(objpfx)bug-regex2-mem): Likewise.
28884         ($(objpfx)bug-regex14-mem): Likewise.
28885         ($(objpfx)bug-regex21-mem): Likewise.
28886         ($(objpfx)bug-regex31-mem): Likewise.
28887         ($(objpfx)tst-vfork3-mem): Likewise.
28888         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
28889         ($(objpfx)tst-pcre-mem): Likewise.
28890         ($(objpfx)tst-boost-mem): Likewise.
28891         ($(objpfx)tst-getconf.out): Likewise.
28892         ($(objpfx)bug-ga2-mem): Likewise.
28893         ($(objpfx)bug-glob2-mem): Likewise.
28894         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
28895         ($(objpfx)mtrace-tst-leaks2): Likewise.
28896         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
28897         ($(objpfx)tst-printf.out): Likewise.
28898         ($(objpfx)tst-setvbuf1.out): Likewise.
28899         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
28900         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
28901         ($(objpfx)tst-fmtmsg.out): Likewise.
28902         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
28903         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
28905         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
28906         * bits/sigaction.h [__USE_MISC]: Likewise.
28907         * bits/waitstatus.h: Update #endif comments.
28908         * ctype/ctype.h: Likewise.
28909         * dirent/dirent.h: Likewise.
28910         [__USE_MISC]: Remove redundant conditionals.
28911         * grp/grp.h: Update #endif comments.
28912         [__USE_GNU]: Remove redundant conditionals.
28913         [__USE_MISC]: Likewise.
28914         * inet/netinet/in.h [__USE_GNU]: Likewise.
28915         * io/sys/stat.h [__USE_MISC]: Likewise.
28916         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
28917         * libio/bits/stdio.h: Update #endif comments.
28918         [__USE_MISC]: Remove redundant conditionals.
28919         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
28920         * libio/stdio.h: Update #endif comments.
28921         [__USE_MISC]: Remove redundant conditionals.
28922         * math/bits/math-finite.h [__USE_MISC]: Likewise.
28923         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
28924         * math/math.h: Update #else and #endif comments.
28925         [__USE_MISC]: Remove redundant conditionals.
28926         * misc/sys/uio.h: Update #endif comments.
28927         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
28928         * posix/glob.h [__USE_MISC]: Likewise.
28929         * posix/sys/types.h: Update #endif comments.
28930         [__USE_MISC]: Remove redundant conditionals.
28931         * posix/sys/wait.h: Update #endif comments.
28932         [__USE_MISC]: Remove redundant conditionals.
28933         * posix/unistd.h: Update #endif comments.
28934         [__USE_MISC]: Remove redundant conditionals.
28935         * pwd/pwd.h [__USE_GNU]: Likewise.
28936         [__USE_MISC]: Likewise.
28937         * resolv/netdb.h [__USE_GNU]: Likewise.
28938         * signal/signal.h: Update #endif comments.
28939         [__USE_MISC]: Remove redundant conditionals.
28940         * stdlib/stdlib.h: Update #else and #endif comments.
28941         [__USE_MISC]: Remove redundant conditionals.
28942         [__USE_GNU]: Likewise.
28943         * string/bits/string2.h [__USE_MISC]: Likewise.
28944         * string/string.h: Update #endif comments.
28945         [__USE_MISC]: Remove redundant conditionals.
28946         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
28947         Likewise.
28948         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
28949         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
28950         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
28951         Likewise.
28952         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
28953         Likewise.
28954         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
28955         comments.
28956         [__USE_MISC]: Remove redundant conditionals.
28957         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
28958         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
28959         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
28960         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
28961         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
28962         Likewise.
28963         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
28964         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
28965         Likewise.
28966         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
28967         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
28968         Likewise.
28969         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
28970         Likewise.
28971         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
28972         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
28973         Likewise.
28974         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
28975         Likewise.
28976         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
28977         * sysdeps/x86/bits/string.h: Update #endif comments.
28978         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
28979         conditionals.
28980         * time/sys/time.h: Update #endif comments.
28981         * time/time.h: Likewise.
28982         [__USE_MISC]: Remove redundant conditionals.
28984 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
28986         [BZ #16600]
28987         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
28989 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
28991         * Versions.def (librt): Add GLIBC_2.17.
28993 2014-02-21  Adam Conrad  <adconrad@0c3.net>
28995         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
28996         synonym for _SYS_AUXV_H to allow direct inclusion.
28997         * sysdeps/sparc/bits/hwcap.h: Likewise.
28998         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
28999         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
29000         * sysdeps/sparc/sysdep.h: Likewise.
29002 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29004         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
29006 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29008         * benchtests/bench-strrchr.c: Print length instead of position.
29010 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
29012         [BZ #16611]
29013         * sysdeps/unix/sysv/linux/kernel-features.h
29014         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
29015         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
29016         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
29017         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
29018         Likewise.
29019         [__i386__ || __powerpc__ || __sh__ || __sparc__]
29020         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29021         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
29022         (__ASSUME_SENDMMSG): Define instead of using previous
29023         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
29024         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
29025         (__ASSUME_SENDMMSG_SYSCALL): Define.
29026         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29027         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
29028         Likewise.
29029         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29030         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
29031         Likewise.
29032         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
29033         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
29034         Likewise.
29035         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
29036         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
29037         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
29038         [__ASSUME_SENDMMSG]: Change conditionals to
29039         [__ASSUME_SENDMMSG_SOCKETCALL].
29040         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29041         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
29042         Define.
29043         * sysdeps/unix/sysv/linux/mips/kernel-features.h
29044         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
29045         Likewise.
29046         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
29047         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
29048         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
29049         [!__ASSUME_SENDMMSG]: Change conditional to
29050         [!__ASSUME_SENDMMSG_SOCKETCALL].
29051         * sysdeps/unix/sysv/linux/tile/kernel-features.h
29052         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
29053         Define.
29055         [BZ #16610]
29056         * sysdeps/unix/sysv/linux/kernel-features.h
29057         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
29058         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
29059         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
29060         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
29061         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
29062         [__i386__ || __sparc__]
29063         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29064         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
29065         (__ASSUME_RECVMMSG): Define instead of using previous
29066         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
29067         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
29068         (__ASSUME_RECVMMSG_SYSCALL): Define.
29069         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29070         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
29071         Likewise.
29072         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29073         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
29074         Likewise.
29075         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
29076         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
29077         Likewise.
29078         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
29079         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
29080         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
29081         [__ASSUME_RECVMMSG]: Change condition to
29082         [__ASSUME_RECVMMSG_SOCKETCALL].
29083         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29084         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
29085         Define.
29086         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29087         * sysdeps/unix/sysv/linux/mips/kernel-features.h
29088         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
29089         Likewise.
29090         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
29091         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
29092         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
29093         [!__ASSUME_RECVMMSG]: Change condition to
29094         [!__ASSUME_RECVMMSG_SOCKETCALL].
29095         * sysdeps/unix/sysv/linux/tile/kernel-features.h
29096         (__ASSUME_RECVMMSG_SYSCALL): Define.
29098         [BZ #16609]
29099         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
29100         __powerpc__ || __s390__ || __sh__ || __sparc__]
29101         (__ASSUME_SOCKETCALL): Define.
29102         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
29103         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
29104         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
29105         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
29106         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
29107         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
29108         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
29109         (__ASSUME_ACCEPT4): Define instead of using previous
29110         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
29111         __powerpc__ || __sparc__ || __s390__)] condition.
29112         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
29113         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
29114         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
29115         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
29116         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
29117         [!__ASSUME_ACCEPT4]: Change condition to
29118         [!__ASSUME_ACCEPT4_SOCKETCALL].
29119         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29120         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
29121         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
29122         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29123         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
29124         __ASSUME_ACCEPT4_SYSCALL.
29125         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
29126         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
29127         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
29128         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
29129         __ASSUME_ACCEPT4_SYSCALL.
29130         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
29131         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
29132         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
29133         [__ASSUME_ACCEPT4]: Change condition to
29134         [__ASSUME_ACCEPT4_SOCKETCALL].
29135         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
29136         (__ASSUME_SOCKETCALL): Define.
29137         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
29138         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29139         (__ASSUME_SOCKETCALL): Define.
29140         (__ASSUME_ACCEPT4): Remove.
29141         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
29142         Define.
29143         * sysdeps/unix/sysv/linux/mips/kernel-features.h
29144         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
29145         Likewise.
29146         * sysdeps/unix/sysv/linux/tile/kernel-features.h
29147         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
29149         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
29150         macro.
29151         (HWCAP_ARM_LPAE): Likewise.
29152         (HWCAP_ARM_EVTSTRM): Likewise.
29153         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
29154         Add vpfd32, lpae and evtstrm.
29155         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
29156         Increase to 22.
29158 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
29160         * math/auto-libm-test-in: Add tests of clog10.
29161         * math/auto-libm-test-out: Regenerated.
29162         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
29163         * sysdeps/i386/fpu/libm-test-ulps: Update.
29164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29166 2014-02-18  Andreas Schwab  <schwab@suse.de>
29168         [BZ #16574]
29169         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
29170         Store non-zero if the second buffer was newly allocated.
29171         (send_dg): Likewise.
29172         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
29173         to send_vc and send_dg.
29174         (res_nsend): Pass NULL for ansp2_malloced.
29175         * resolv/res_query.c (__libc_res_nquery): Add parameter
29176         answerp2_malloced and pass it down to __libc_res_nsend.
29177         (res_nquery): Pass additional NULL to __libc_res_nquery.
29178         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
29179         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
29180         second answer buffer if answerp2_malloced was set.
29181         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
29182         (__libc_res_nquerydomain): Add parameter
29183         answerp2_malloced and pass it down to __libc_res_nquery.
29184         (res_nquerydomain): Pass additional NULL to
29185         __libc_res_nquerydomain.
29186         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
29187         additional NULL to __libc_res_nsend and __libc_res_nquery.
29188         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
29189         additional NULL to __libc_res_nsearch.
29190         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
29191         parameter of __libc_res_nsearch to check for separately allocated
29192         second buffer.
29193         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
29194         __libc_res_nquery.
29195         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
29196         additional NULL to __libc_res_nquery.
29197         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
29198         __libc_res_nsearch.
29199         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
29200         * include/resolv.h: Update prototypes of __libc_res_nquery,
29201         __libc_res_nsearch, __libc_res_nsend.
29203 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
29205         * math/auto-libm-test-in: Add tests of fma.
29206         * math/auto-libm-test-out: Regenerated.
29207         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
29208         (fma_towardzero_test_data): Likewise.
29209         (fma_downward_test_data): Likewise.
29210         (fma_upward_test_data): Likewise.
29211         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
29212         mpc_mode.
29213         (rounding_modes): Add values for new field.
29214         (func_calc_method): Add value mpfr_fff_f.
29215         (func_calc_desc): Add mpfr_fff_f union field.
29216         (test_function): Add field exact_args.
29217         (FUNC): Add macro argument EXACT_ARGS.
29218         (FUNC_mpfr_f_f): Update call to FUNC.
29219         (FUNC_mpfr_f_f): Likewise.
29220         (FUNC_mpfr_ff_f): Likewise.
29221         (FUNC_mpfr_if_f): Likewise.
29222         (FUNC_mpc_c_f): Likewise.
29223         (FUNC_mpc_c_c): Likewise.
29224         (test_functions): Add fma.  Update calls to FUNC.
29225         (handle_input_arg): Add argument exact_args.
29226         (add_test): Update call to handle_input_arg.
29227         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
29228         (output_for_one_input_case): Update call to calc_generic_results.
29229         Recalculate exact zero results in each rounding mode.
29231         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
29232         non-negative before setting low bit.
29233         * math/auto-libm-test-in: Mark one asin test possibly having
29234         spurious underflow.
29235         * math/auto-libm-test-out: Regenerated.
29236         * sysdeps/i386/fpu/libm-test-ulps: Update.
29237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29239 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
29241         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
29242         * sysdeps/unix/sysv/linux/microblaze: Move directory from
29243         ports/sysdeps/unix/sysv/linux/microblaze.
29244         * README: Add missing listing for microblaze*-*-linux-gnu.
29246 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
29248         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
29249         duplicate code
29251 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
29253         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
29254         * sysdeps/unix/sysv/linux/ia64: Move directory from
29255         ports/sysdeps/unix/sysv/linux/ia64.
29256         * README: Update listing for ia64-*-linux-gnu.
29258 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
29259             Joseph Myers  <joseph@codesourcery.com>
29261         * Makeconfig (test-name): New variable.
29262         (evaluate-test): Likewise.
29263         * Makerules (do-test-clean): Remove .test-result files.
29264         (common-mostlyclean): Likewise.
29265         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
29266         * scripts/evaluate-test.sh: New file.
29268 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
29270         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
29271         separate $(objpfx)tst-fopenloc-cmp.out and
29272         $(objpfx)tst-fopenloc-mem.out targets.
29273         (tests): Update dependencies.
29274         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
29275         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
29276         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
29277         (tst-rxspencer-no-utf8-ARGS): New variable.
29278         (tst-rxspencer-no-utf8-ENV): Likewise.
29279         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
29280         instead of $(objpfx)tst-rxspencer-mem.
29281         ($(objpfx)tst-rxspencer-mem): Change target to
29282         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
29283         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
29284         * posix/tst-rxspencer-no-utf8.c: New file.
29286         * elf/Makefile ($(objpfx)order.out): Remove rule.
29287         [$(run-built-tests) = yes] (tests): Depend on
29288         $(objpfx)order-cmp.out.
29289         ($(objpfx)order-cmp.out): New rule.
29290         [$(run-built-tests) = yes] (tests): Depend on
29291         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
29292         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
29293         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
29294         $(objpfx)tst-array5-static-cmp.out.
29295         ($(objpfx)tst-array1.out): Remove rule.
29296         ($(objpfx)tst-array1-cmp.out): New rule.
29297         ($(objpfx)tst-array1-static.out): Remove rule.
29298         ($(objpfx)tst-array1-static-cmp.out): New rule.
29299         ($(objpfx)tst-array2.out): Remove rule.
29300         ($(objpfx)tst-array2-cmp.out): New rule.
29301         ($(objpfx)tst-array3.out): Remove rule.
29302         ($(objpfx)tst-array3-cmp.out): New rule.
29303         ($(objpfx)tst-array4.out): Remove rule.
29304         ($(objpfx)tst-array4-cmp.out): New rule.
29305         ($(objpfx)tst-array5.out): Remove rule.
29306         ($(objpfx)tst-array5-cmp.out): New rule.
29307         ($(objpfx)tst-array5-static.out): Remove rule.
29308         ($(objpfx)tst-array5-static-cmp.out): New rule.
29309         [$(run-built-tests) = yes] (tests): Depend on
29310         $(objpfx)order2-cmp.out.
29311         ($(objpfx)order2.out): Remove rule.
29312         ($(objpfx)order2-cmp.out): New rule.
29313         ($(objpfx)tst-initorder.out): Remove rule.
29314         [$(run-built-tests) = yes] (tests): Depend on
29315         $(objpfx)tst-initorder-cmp.out.
29316         ($(objpfx)tst-initorder-cmp.out): New rule.
29317         ($(objpfx)tst-initorder2.out): Remove rule.
29318         [$(run-built-tests) = yes] (tests): Depend on
29319         $(objpfx)tst-initorder2-cmp.out.
29320         ($(objpfx)tst-initorder2-cmp.out): New rule.
29321         [$(run-built-tests) = yes] (tests): Depend on
29322         $(objpfx)tst-unused-dep-cmp.out.
29323         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
29324         ($(objpfx)tst-unused-dep-cmp.out): New rule.
29325         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
29326         on $(objpfx)tst-setvbuf1-cmp.out.
29327         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
29328         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
29329         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
29330         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
29331         ($(objpfx)tst-svc.out): Remove rule.
29332         ($(objpfx)tst-svc-cmp.out): New rule.
29334 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
29336         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
29337         * ctype/ctype.h [__USE_MISC]: Likewise.
29338         * dirent/dirent.h [__USE_MISC]: Likewise.
29339         * grp/grp.h [__USE_MISC]: Likewise.
29340         * io/fcntl.h [__USE_MISC]: Likewise.
29341         * io/sys/stat.h [__USE_MISC]: Likewise.
29342         * libio/stdio.h [__USE_MISC]: Likewise.
29343         * posix/unistd.h [__USE_MISC]: Likewise.
29344         * pwd/pwd.h [__USE_MISC]: Likewise.
29345         * stdlib.h [__USE_MISC]: Likewise.
29346         * string/bits/string2.h [__USE_MISC]: Likewise.
29347         * string/string.h [__USE_MISC]: Likewise.
29348         * time/time.h [__USE_MISC]: Likewise.
29350 2014-02-13  Andreas Schwab  <schwab@suse.de>
29352         [BZ #16574]
29353         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
29354         second answer buffer if it was separately allocated.
29356 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
29358         * sysdeps/mips/math-tests.h: Include <features.h>.
29359         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
29360         (ROUNDING_TESTS_long_double): Do not define.
29361         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
29362         (EXCEPTION_TESTS_long_double): Likewise.
29363         * sysdeps/mips/mips64/libm-test-ulps: Update.
29365         * include/features.h (__USE_BSD): Remove macro definitions.
29366         (__USE_SVID): Likewise.
29367         (_BSD_SOURCE): Likewise.
29368         (_SVID_SOURCE): Likewise.
29369         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
29370         from definition of _DEFAULT_SOURCE.
29371         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
29372         [_DEFAULT_SOURCE].
29373         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
29374         * bits/mman.h [__USE_BSD]: Likewise.
29375         * bits/termios.h [__USE_BSD]: Likewise.
29376         * bits/waitstatus.h [__USE_BSD]: Likewise.
29377         * ctype/ctype.h [__USE_SVID]: Likewise.
29378         * dirent/dirent.h [__USE_BSD]: Likewise.
29379         * grp/grp.h [__USE_SVID]: Likewise.
29380         [__USE_BSD]: Likewise.
29381         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
29382         * io/fcntl.h [__USE_BSD]: Likewise.
29383         * io/ftw.h [__USE_BSD]: Likewise.
29384         * io/sys/stat.h [__USE_BSD]: Likewise.
29385         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
29386         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
29387         * libio/stdio.h [__USE_SVID]: Likewise.
29388         [__USE_BSD]: Likewise.
29389         * math/math.h [__USE_SVID]: Likewise.
29390         [__USE_BSD]: Likewise.
29391         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
29392         * misc/bits/syslog.h [__USE_BSD]: Likewise.
29393         * misc/search.h [__USE_SVID]: Likewise.
29394         * misc/sys/mman.h [__USE_BSD]: Likewise.
29395         * misc/sys/syslog.h [__USE_BSD]: Likewise.
29396         * misc/sys/uio.h [__USE_BSD]: Likewise.
29397         * posix/bits/unistd.h [__USE_BSD]: Likewise.
29398         * posix/glob.h [__USE_BSD]: Likewise.
29399         * posix/regex.h [__USE_BSD]: Likewise.
29400         * posix/sys/types.h [__USE_BSD]: Likewise.
29401         [__USE_SVID]: Likewise.
29402         * posix/sys/utsname.h [__USE_SVID]: Likewise.
29403         * posix/sys/wait.h [__USE_BSD]: Likewise.
29404         [__USE_SVID]: Likewise.
29405         * posix/unistd.h [__USE_BSD]: Likewise.
29406         [__USE_SVID]: Likewise.
29407         * pwd/pwd.h [__USE_SVID]: Likewise.
29408         * resolv/netdb.h [__USE_BSD]: Likewise.
29409         * setjmp/setjmp.h [__USE_BSD]: Likewise.
29410         * signal/signal.h [__USE_BSD]: Likewise.
29411         [__USE_SVID]: Likewise.
29412         * socket/sys/socket.h [__USE_BSD]: Likewise.
29413         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
29414         * stdlib/stdlib.h [__USE_BSD]: Likewise.
29415         [__USE_SVID]: Likewise.
29416         * string/bits/string2.h [__USE_BSD]: Likewise.
29417         [__USE_SVID]: Likewise.
29418         * string/bits/string3.h [__USE_BSD]: Likewise.
29419         * string/endian.h [__USE_BSD]: Likewise.
29420         * string/string.h [__USE_SVID]: Likewise.
29421         [__USE_BSD]: Likewise.
29422         * string/strings.h [__USE_BSD]: Likewise.
29423         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
29424         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
29425         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
29426         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
29427         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
29428         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
29429         Likewise.
29430         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
29431         Likewise.
29432         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
29433         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
29434         Likewise.
29435         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
29436         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
29437         Likewise.
29438         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
29439         Likewise.
29440         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
29441         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
29442         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
29443         Likewise.
29444         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
29445         Likewise.
29446         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
29447         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
29448         * termios/termios.h [__USE_BSD]: Likewise.
29449         * time/sys/time.h [__USE_BSD]: Likewise.
29450         * time/time.h [__USE_BSD]: Likewise.
29451         [__USE_SVID]: Likewise.
29453         * Makefile (subdir_targets): Remove subdir_lint.out.
29455         * stdio-common/Makefile (do-tst-unbputc): Remove target.
29456         (do-tst-printf): Likewise.
29457         (tests): Depend directly on $(objpfx)tst-unbputc.out and
29458         $(objpfx)tst-printf.out.
29460         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
29462         * Makerules (check-abi-%): Change target to
29463         $(objpfx)check-abi-%.out.
29464         (check-abi target): Update dependencies.
29465         (check-abi-pattern variable): Redirect output of diff to $@.
29466         (check-abi variable): Likewise.
29467         * elf/Makefile (check-abi): Update dependencies.
29469         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
29470         unused.
29471         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
29472         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
29473         subnormal range.
29474         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
29475         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
29476         value has largest subnormal exponent.
29477         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
29478         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
29479         * sysdeps/aarch64/soft-fp/sfp-machine.h
29480         (_FP_TININESS_AFTER_ROUNDING): New macro.
29481         * sysdeps/alpha/soft-fp/sfp-machine.h
29482         (_FP_TININESS_AFTER_ROUNDING): Likewise.
29483         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
29484         Likewise.
29485         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
29486         (_FP_TININESS_AFTER_ROUNDING): Likewise.
29487         * sysdeps/mips/soft-fp/sfp-machine.h
29488         (_FP_TININESS_AFTER_ROUNDING): Likewise.
29489         * sysdeps/powerpc/soft-fp/sfp-machine.h
29490         (_FP_TININESS_AFTER_ROUNDING): Likewise.
29491         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
29492         Likewise.
29493         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
29494         (_FP_TININESS_AFTER_ROUNDING): Likewise.
29495         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
29496         (_FP_TININESS_AFTER_ROUNDING): Likewise.
29497         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
29498         Likewise.
29500 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
29502         [BZ #16545]
29503         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
29504         model 1.
29506 2014-02-12  Richard Henderson  <rth@redhat.com>
29508         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
29509         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
29510         * sysdeps/unix/sysv/linux/alpha: Move directory from
29511         ports/sysdeps/unix/sysv/linux/alpha.
29512         * README: Update listing for alpha-*-linux-gnu.
29514 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
29516         * include/features.h: Update comment documenting feature test
29517         macros.
29518         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
29519         _DEFAULT_SOURCE.
29520         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
29521         (_SVID_SOURCE): Likewise.
29522         (_DEFAULT_SOURCE): Update description of default features.
29523         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
29524         with _GNU_SOURCE.
29525         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
29526         (S_ISVTX): Likewise.
29527         * manual/math.texi (Mathematical Constants): Likewise.
29528         * manual/signal.texi (Interrupted Primitives): Likewise.
29529         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
29530         * math/test-matherr.c (_SVID_SOURCE): Do not define.
29531         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
29532         Don't refer to _SVID_SOURCE in warning text.
29534         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29536         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
29537         already defined.
29538         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
29539         * sysdeps/mips/dl-lookup.c: Remove.
29540         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
29542 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
29544         [BZ #16447]
29545         * math/auto-libm-test-in: Add testcase for expl.
29546         * math/auto-libm-test-out: Regenerate.
29547         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
29548         calculation of unsafe.
29549         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
29551 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
29553         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
29554         * sysdeps/unix/sysv/linux/aarch64: Move directory from
29555         ports/sysdeps/unix/sysv/linux/aarch64.
29556         * README: Update listing for aarch64*-*-linux-gnu.
29558 2014-02-11  Will Newton  <will.newton@linaro.org>
29560         * manual/probes.texi (Mathematical Function Probes): Use
29561         "triggered" instead of "hit".
29563         * manual/probes.texi (Internal Probes): Add documentation
29564         of setjmp, longjmp and longjmp_target probes.
29566         * include/stap-probe.h: Add comment about probe argument
29567         format.
29569         * malloc/mtrace.c (attribute_hidden): Remove unused macro
29570         definition.  (tr_where, tr_freehook, tr_mallochook,
29571         tr_reallochook, tr_memalignhook): Use ANSI protoype.
29573 2014-02-11  David S. Miller  <davem@davemloft.net>
29575         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
29576         processing int_tests.
29578 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
29580         * sysdeps/mips: Move directory from ports/sysdeps/mips.
29581         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
29582         * sysdeps/unix/sysv/linux/mips: Move directory from
29583         ports/sysdeps/unix/sysv/linux/mips.
29584         * README: Update listing for mips-*-linux-gnu and
29585         mips64-*-linux-gnu.
29587 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
29589         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
29590         * sysdeps/unix/sysv/linux/m68k: Move directory from
29591         ports/sysdeps/unix/sysv/linux/m68k.
29592         * README: Update listing for m68k-*-linux-gnu.
29594 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
29596         * sysdeps/tile: Move directory from ports/sysdeps/tile.
29597         * sysdeps/unix/sysv/linux/generic: Move directory from
29598         ports/sysdeps/unix/sysv/linux/generic.
29599         * sysdeps/unix/sysv/linux/tile: Move directory from
29600         ports/sysdeps/unix/sysv/linux/tile.
29601         * README: Update listing for tile*-*-linux-gnu.
29603 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
29605         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
29606         __builtin_expect.
29607         * benchtests/bench-memmem.c (simple_memmem): Likewise.
29608         * catgets/open_catalog.c (__open_catalog): Likewise.
29609         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
29610         * debug/confstr_chk.c: Likewise.
29611         * debug/fread_chk.c (__fread_chk): Likewise.
29612         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
29613         * debug/getgroups_chk.c: Likewise.
29614         * debug/mbsnrtowcs_chk.c: Likewise.
29615         * debug/mbsrtowcs_chk.c: Likewise.
29616         * debug/mbstowcs_chk.c: Likewise.
29617         * debug/memcpy_chk.c: Likewise.
29618         * debug/memmove_chk.c: Likewise.
29619         * debug/mempcpy_chk.c: Likewise.
29620         * debug/memset_chk.c: Likewise.
29621         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
29622         * debug/strcat_chk.c (__strcat_chk): Likewise.
29623         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
29624         * debug/strncat_chk.c (__strncat_chk): Likewise.
29625         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
29626         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
29627         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
29628         * debug/wcpncpy_chk.c: Likewise.
29629         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
29630         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
29631         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
29632         * debug/wcsncpy_chk.c: Likewise.
29633         * debug/wcsnrtombs_chk.c: Likewise.
29634         * debug/wcsrtombs_chk.c: Likewise.
29635         * debug/wcstombs_chk.c: Likewise.
29636         * debug/wmemcpy_chk.c: Likewise.
29637         * debug/wmemmove_chk.c: Likewise.
29638         * debug/wmempcpy_chk.c: Likewise.
29639         * debug/wmemset_chk.c: Likewise.
29640         * dirent/scandirat.c (SCANDIRAT): Likewise.
29641         * dlfcn/dladdr1.c (dladdr1): Likewise.
29642         * dlfcn/dladdr.c (dladdr): Likewise.
29643         * dlfcn/dlclose.c (dlclose_doit): Likewise.
29644         * dlfcn/dlerror.c (__dlerror): Likewise.
29645         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
29646         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
29647         * dlfcn/dlopen.c (dlopen_doit): Likewise.
29648         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
29649         * dlfcn/dlsym.c (dlsym_doit): Likewise.
29650         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
29651         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
29652         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
29653         Likewise.
29654         * elf/dl-conflict.c: Likewise.
29655         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
29656         * elf/dl-dst.h: Likewise.
29657         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
29658         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
29659         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
29660         * elf/dl-init.c (call_init, _dl_init): Likewise.
29661         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
29662         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
29663         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
29664         Likewise.
29665         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
29666         Likewise.
29667         * elf/dl-minimal.c (__libc_memalign): Likewise.
29668         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
29669         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
29670         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
29671         * elf/dl-sym.c (do_sym): Likewise.
29672         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
29673         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
29674         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
29675         * elf/dl-writev.h (_dl_writev): Likewise.
29676         * elf/ldconfig.c (search_dir): Likewise.
29677         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
29678         (dl_main): Likewise.
29679         * elf/setup-vdso.h (setup_vdso): Likewise.
29680         * grp/compat-initgroups.c (compat_call): Likewise.
29681         * grp/fgetgrent.c (fgetgrent): Likewise.
29682         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
29683         * grp/putgrent.c (putgrent): Likewise.
29684         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
29685         Likewise.
29686         * hurd/hurdinit.c: Likewise.
29687         * iconvdata/8bit-gap.c (struct): Likewise.
29688         * iconvdata/ansi_x3.110.c : Likewise.
29689         * iconvdata/big5.c : Likewise.
29690         * iconvdata/big5hkscs.c : Likewise.
29691         * iconvdata/cp1255.c: Likewise.
29692         * iconvdata/cp1258.c : Likewise.
29693         * iconvdata/cp932.c : Likewise.
29694         * iconvdata/euc-cn.c: Likewise.
29695         * iconvdata/euc-jisx0213.c : Likewise.
29696         * iconvdata/euc-jp.c: Likewise.
29697         * iconvdata/euc-jp-ms.c : Likewise.
29698         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
29699         * iconvdata/gb18030.c : Likewise.
29700         * iconvdata/gbbig5.c (const): Likewise.
29701         * iconvdata/gbgbk.c: Likewise.
29702         * iconvdata/gbk.c : Likewise.
29703         * iconvdata/ibm1364.c : Likewise.
29704         * iconvdata/ibm930.c : Likewise.
29705         * iconvdata/ibm932.c: Likewise.
29706         * iconvdata/ibm933.c : Likewise.
29707         * iconvdata/ibm935.c : Likewise.
29708         * iconvdata/ibm937.c : Likewise.
29709         * iconvdata/ibm939.c : Likewise.
29710         * iconvdata/ibm943.c: Likewise.
29711         * iconvdata/iso_11548-1.c: Likewise.
29712         * iconvdata/iso-2022-cn.c : Likewise.
29713         * iconvdata/iso-2022-cn-ext.c : Likewise.
29714         * iconvdata/iso-2022-jp-3.c: Likewise.
29715         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
29716         * iconvdata/iso-2022-kr.c : Likewise.
29717         * iconvdata/iso646.c (gconv_end): Likewise.
29718         * iconvdata/iso_6937-2.c : Likewise.
29719         * iconvdata/iso_6937.c : Likewise.
29720         * iconvdata/iso8859-1.c: Likewise.
29721         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
29722         * iconvdata/shift_jisx0213.c : Likewise.
29723         * iconvdata/sjis.c : Likewise.
29724         * iconvdata/t.61.c : Likewise.
29725         * iconvdata/tcvn5712-1.c : Likewise.
29726         * iconvdata/tscii.c: Likewise.
29727         * iconvdata/uhc.c : Likewise.
29728         * iconvdata/unicode.c (gconv_end): Likewise.
29729         * iconvdata/utf-16.c (gconv_end): Likewise.
29730         * iconvdata/utf-32.c (gconv_end): Likewise.
29731         * iconvdata/utf-7.c (base64): Likewise.
29732         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
29733         * iconv/gconv_close.c (__gconv_close): Likewise.
29734         * iconv/gconv_open.c (__gconv_open): Likewise.
29735         * iconv/gconv_simple.c (internal_ucs4_loop_single)
29736         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
29737         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
29738         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
29739         (ucs4le_internal_loop_single): Likewise.
29740         * iconv/iconv.c (iconv): Likewise.
29741         * iconv/iconv_close.c: Likewise.
29742         * iconv/loop.c (SINGLE): Likewise.
29743         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
29744         * include/atomic.h: Likewise.
29745         * inet/inet6_option.c (option_alloc): Likewise.
29746         * intl/bindtextdom.c (set_binding_values): Likewise.
29747         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
29748         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
29749         * intl/localealias.c (read_alias_file): Likewise.
29750         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
29751         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
29752         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
29753         * libio/fmemopen.c (fmemopen): Likewise.
29754         * libio/iofgets.c (_IO_fgets): Likewise.
29755         * libio/iofgets_u.c (fgets_unlocked): Likewise.
29756         * libio/iofgetws.c (fgetws): Likewise.
29757         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
29758         * libio/iogetdelim.c (_IO_getdelim): Likewise.
29759         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
29760         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
29761         * locale/findlocale.c (_nl_find_locale): Likewise.
29762         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
29763         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
29764         Likewise.
29765         * locale/setlocale.c (setlocale): Likewise.
29766         * login/programs/pt_chown.c (main): Likewise.
29767         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
29768         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
29769         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
29770         (mmap, mmap64, mremap, munmap): Likewise.
29771         * math/e_exp2l.c: Likewise.
29772         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
29773         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
29774         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
29775         * math/s_catan.c (__catan): Likewise.
29776         * math/s_catanf.c (__catanf): Likewise.
29777         * math/s_catanh.c (__catanh): Likewise.
29778         * math/s_catanhf.c (__catanhf): Likewise.
29779         * math/s_catanhl.c (__catanhl): Likewise.
29780         * math/s_catanl.c (__catanl): Likewise.
29781         * math/s_ccosh.c (__ccosh): Likewise.
29782         * math/s_ccoshf.c (__ccoshf): Likewise.
29783         * math/s_ccoshl.c (__ccoshl): Likewise.
29784         * math/s_cexp.c (__cexp): Likewise.
29785         * math/s_cexpf.c (__cexpf): Likewise.
29786         * math/s_cexpl.c (__cexpl): Likewise.
29787         * math/s_clog10.c (__clog10): Likewise.
29788         * math/s_clog10f.c (__clog10f): Likewise.
29789         * math/s_clog10l.c (__clog10l): Likewise.
29790         * math/s_clog.c (__clog): Likewise.
29791         * math/s_clogf.c (__clogf): Likewise.
29792         * math/s_clogl.c (__clogl): Likewise.
29793         * math/s_csin.c (__csin): Likewise.
29794         * math/s_csinf.c (__csinf): Likewise.
29795         * math/s_csinh.c (__csinh): Likewise.
29796         * math/s_csinhf.c (__csinhf): Likewise.
29797         * math/s_csinhl.c (__csinhl): Likewise.
29798         * math/s_csinl.c (__csinl): Likewise.
29799         * math/s_csqrt.c (__csqrt): Likewise.
29800         * math/s_csqrtf.c (__csqrtf): Likewise.
29801         * math/s_csqrtl.c (__csqrtl): Likewise.
29802         * math/s_ctan.c (__ctan): Likewise.
29803         * math/s_ctanf.c (__ctanf): Likewise.
29804         * math/s_ctanh.c (__ctanh): Likewise.
29805         * math/s_ctanhf.c (__ctanhf): Likewise.
29806         * math/s_ctanhl.c (__ctanhl): Likewise.
29807         * math/s_ctanl.c (__ctanl): Likewise.
29808         * math/w_pow.c: Likewise.
29809         * math/w_powf.c: Likewise.
29810         * math/w_powl.c: Likewise.
29811         * math/w_scalb.c (sysv_scalb): Likewise.
29812         * math/w_scalbf.c (sysv_scalbf): Likewise.
29813         * math/w_scalbl.c (sysv_scalbl): Likewise.
29814         * misc/error.c (error_tail): Likewise.
29815         * misc/pselect.c (__pselect): Likewise.
29816         * nis/nis_callback.c (__nis_create_callback): Likewise.
29817         * nis/nis_call.c (__nisfind_server): Likewise.
29818         * nis/nis_creategroup.c (nis_creategroup): Likewise.
29819         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
29820         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
29821         * nis/nis_getservlist.c (nis_getservlist): Likewise.
29822         * nis/nis_lookup.c (nis_lookup): Likewise.
29823         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
29824         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
29825         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
29826         * nis/nis_xdr.c (xdr_endpoint): Likewise.
29827         * nis/nss_compat/compat-grp.c (getgrent_next_file)
29828         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
29829         * nis/nss_compat/compat-initgroups.c (add_group)
29830         (internal_getgrent_r): Likewise.
29831         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
29832         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
29833         * nis/nss_compat/compat-spwd.c (getspent_next_file)
29834         (internal_getspnam_r): Likewise.
29835         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
29836         (_nss_nis_getaliasbyname_r): Likewise.
29837         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
29838         (_nss_nis_getntohost_r): Likewise.
29839         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
29840         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
29841         (_nss_nis_getgrgid_r): Likewise.
29842         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
29843         (internal_nis_gethostent_r, internal_gethostbyname2_r)
29844         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
29845         (_nss_nis_gethostbyname4_r): Likewise.
29846         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
29847         (initgroups_netid): Likewise.
29848         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
29849         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
29850         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
29851         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
29852         (_nss_nis_getprotobynumber_r): Likewise.
29853         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
29854         (_nss_nis_getsecretkey): Likewise.
29855         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
29856         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
29857         (_nss_nis_getpwuid_r): Likewise.
29858         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
29859         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
29860         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
29861         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
29862         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
29863         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
29864         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
29865         Likewise.
29866         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
29867         (_nss_nisplus_getntohost_r): Likewise.
29868         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
29869         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
29870         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
29871         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
29872         Likewise.
29873         * nis/nss_nisplus/nisplus-initgroups.c
29874         (_nss_nisplus_initgroups_dyn): Likewise.
29875         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
29876         (_nss_nisplus_getnetbyaddr_r): Likewise.
29877         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
29878         (_nss_nisplus_getprotobynumber_r): Likewise.
29879         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
29880         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
29881         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
29882         Likewise.
29883         * nis/nss_nisplus/nisplus-service.c
29884         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
29885         (_nss_nisplus_getservbyport_r): Likewise.
29886         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
29887         (_nss_nisplus_getspnam_r): Likewise.
29888         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
29889         Likewise.
29890         * nscd/aicache.c (addhstaiX): Likewise.
29891         * nscd/cache.c (cache_search, prune_cache): Likewise.
29892         * nscd/connections.c (register_traced_file, send_ro_fd)
29893         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
29894         (main_loop_epoll): Likewise.
29895         * nscd/grpcache.c (addgrbyX): Likewise.
29896         * nscd/hstcache.c (addhstbyX): Likewise.
29897         * nscd/initgrcache.c (addinitgroupsX): Likewise.
29898         * nscd/mem.c (gc, mempool_alloc): Likewise.
29899         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
29900         (addinnetgrX): Likewise.
29901         * nscd/nscd-client.h (__nscd_acquire_maplock)
29902         (__nscd_drop_map_ref): Likewise.
29903         * nscd/nscd_getai.c (__nscd_getai): Likewise.
29904         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
29905         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
29906         Likewise.
29907         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
29908         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29909         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
29910         (__nscd_get_map_ref): Likewise.
29911         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
29912         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
29913         Likewise.
29914         * nscd/pwdcache.c (addpwbyX): Likewise.
29915         * nscd/selinux.c (preserve_capabilities): Likewise.
29916         * nscd/servicescache.c (addservbyX): Likewise.
29917         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
29918         * posix/fnmatch.c (fnmatch): Likewise.
29919         * posix/getopt.c (_getopt_internal_r): Likewise.
29920         * posix/glob.c (glob, glob_in_dir): Likewise.
29921         * posix/wordexp.c (exec_comm_child): Likewise.
29922         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
29923         (getanswer_r, gaih_getanswer_slice): Likewise.
29924         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
29925         * resolv/res_init.c: Likewise.
29926         * resolv/res_mkquery.c (res_nmkquery): Likewise.
29927         * resolv/res_query.c (__libc_res_nquery): Likewise.
29928         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
29929         Likewise.
29930         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
29931         * stdio-common/perror.c (perror): Likewise.
29932         * stdio-common/printf_fp.c (___printf_fp): Likewise.
29933         * stdio-common/tmpnam.c (tmpnam): Likewise.
29934         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
29935         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
29936         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
29937         Likewise.
29938         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
29939         * stdlib/putenv.c (putenv): Likewise.
29940         * stdlib/setenv.c (__add_to_environ): Likewise.
29941         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
29942         * stdlib/strtol_l.c (INTERNAL): Likewise.
29943         * string/memmem.c (memmem): Likewise.
29944         * string/strerror.c (strerror): Likewise.
29945         * string/strnlen.c (__strnlen): Likewise.
29946         * string/test-memmem.c (simple_memmem): Likewise.
29947         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
29948         * sunrpc/pm_getport.c (__get_socket): Likewise.
29949         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
29950         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
29951         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
29952         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
29953         Likewise.
29954         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
29955         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
29956         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
29957         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
29958         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
29959         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
29960         Likewise.
29961         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
29962         Likewise.
29963         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
29964         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
29965         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29966         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
29967         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
29968         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
29969         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
29970         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
29971         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
29972         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
29973         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29974         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
29975         Likewise.
29976         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
29977         Likewise.
29978         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
29979         Likewise.
29980         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
29981         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29982         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
29983         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
29984         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
29985         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
29986         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
29987         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
29988         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
29989         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
29990         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
29991         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29992         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
29993         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
29994         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29995         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
29996         Likewise.
29997         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
29998         Likewise.
29999         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
30000         Likewise.
30001         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
30002         Likewise.
30003         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30004         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30005         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
30006         Likewise.
30007         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
30008         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
30009         * sysdeps/posix/opendir.c (__opendirat): Likewise.
30010         * sysdeps/posix/sleep.c: Likewise.
30011         * sysdeps/posix/tempname.c: Likewise.
30012         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
30013         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
30014         Likewise.
30015         * sysdeps/powerpc/powerpc32/dl-machine.h
30016         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
30017         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
30018         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30019         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
30020         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
30021         Likewise.
30022         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
30023         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
30024         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
30025         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
30026         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
30027         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
30028         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
30029         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
30030         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30031         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
30032         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
30033         (elf_machine_lazy_rel): Likewise.
30034         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
30035         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
30036         (elf_machine_lazy_rel): Likewise.
30037         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
30038         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
30039         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
30040         * sysdeps/unix/grantpt.c (grantpt): Likewise.
30041         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
30042         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
30043         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
30044         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30045         Likewise.
30046         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
30047         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
30048         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
30049         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
30050         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
30051         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
30052         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
30053         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
30054         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
30055         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
30056         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
30057         Likewise.
30058         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
30059         (__posix_fallocate64_l64): Likewise.
30060         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
30061         (posix_fallocate): Likewise.
30062         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
30063         Likewise.
30064         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30065         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
30066         (getifaddrs_internal): Likewise.
30067         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
30068         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
30069         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
30070         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
30071         * sysdeps/unix/sysv/linux/posix_fallocate64.c
30072         (__posix_fallocate64_l64): Likewise.
30073         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
30074         Likewise.
30075         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
30076         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
30077         (__get_clockfreq): Likewise.
30078         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
30079         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
30080         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
30081         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30082         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30083         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
30084         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
30085         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
30086         Likewise.
30087         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
30088         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
30089         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
30090         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
30091         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
30092         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
30093         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
30094         Likewise.
30095         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30096         (posix_fallocate): Likewise.
30097         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30098         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
30099         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
30100         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
30101         (elf_machine_rela, elf_machine_rela_relative)
30102         (elf_machine_lazy_rel): Likewise.
30103         * time/asctime.c (asctime_internal): Likewise.
30104         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
30105         * time/tzset.c (__tzset_parse_tz): Likewise.
30106         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
30107         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
30108         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
30109         * wcsmbs/wcsmbsload.h: Likewise.
30111         [BZ #15894]
30112         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
30114         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
30115         (arena_get2): Remove THREAD_STATS conditionals.
30116         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
30117         (__malloc_stats, int): Likewise.
30119 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
30121         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
30122         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
30124         * manual/setjmp.texi: Fix typos/grammar errors.
30126         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
30127         Only return early when n is <= 0.  Delete unused return statement.
30129         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
30130         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
30131         * debug/tst-longjmp_chk3.c: New file.
30133         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
30134         (test_main): Replace code with set_fortify_handler call.
30135         * debug/test-strcpy_chk.c: Likewise.
30136         * debug/tst-chk1.c: Likewise.
30137         * debug/tst-longjmp_chk.c: Likewise.
30138         * test-skeleton.c: Include fcntl.h & paths.h
30139         (set_fortify_handler): Define.
30141         * debug/tst-longjmp_chk.c: Add header comment and include
30142         ../test-skeleton.c.
30143         (do_test): Mark static.
30144         (TEST_FUNCTION): Define.
30146         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
30147         (IP_PMTUDISC_INTERFACE): Likewise.
30148         (IP_MULTICAST_IF): Likewise.
30149         (IP_MULTICAST_TTL): Likewise.
30150         (IP_MULTICAST_LOOP): Likewise.
30151         (IP_ADD_MEMBERSHIP): Likewise.
30152         (IP_DROP_MEMBERSHIP): Likewise.
30153         (IP_UNBLOCK_SOURCE): Likewise.
30154         (IP_BLOCK_SOURCE): Likewise.
30155         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
30156         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
30157         (IP_MSFILTER): Likewise.
30158         (MCAST_JOIN_GROUP): Likewise.
30159         (MCAST_BLOCK_SOURCE): Likewise.
30160         (MCAST_UNBLOCK_SOURCE): Likewise.
30161         (MCAST_LEAVE_GROUP): Likewise.
30162         (MCAST_JOIN_SOURCE_GROUP): Likewise.
30163         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
30164         (MCAST_MSFILTER): Likewise.
30165         (IP_MULTICAST_ALL): Likewise.
30166         (IP_UNICAST_IF): Likewise.
30168         * timezone/Makefile: Delete $(have-ksh) check.
30169         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
30170         * timezone/tzselect.ksh: Add +x mode bits.
30172         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
30173         (ANON_INODE_FS_MAGIC): Likewise.
30174         (BDEVFS_MAGIC): Likewise.
30175         (BINFMTFS_MAGIC): Likewise.
30176         (BTRFS_TEST_MAGIC): Likewise.
30177         (CRAMFS_MAGIC_WEND): Likewise.
30178         (DEBUGFS_MAGIC): Likewise.
30179         (ECRYPTFS_SUPER_MAGIC): Likewise.
30180         (EXT3_SUPER_MAGIC): Likewise.
30181         (EXT4_SUPER_MAGIC): Likewise.
30182         (FUTEXFS_SUPER_MAGIC): Likewise.
30183         (HOSTFS_SUPER_MAGIC): Likewise.
30184         (HUGETLBFS_MAGIC): Likewise.
30185         (MINIX3_SUPER_MAGIC): Likewise.
30186         (MTD_INODE_FS_MAGIC): Likewise.
30187         (NILFS_SUPER_MAGIC): Likewise.
30188         (OPENPROM_SUPER_MAGIC): Likewise.
30189         (PIPEFS_MAGIC): Likewise.
30190         (PSTOREFS_MAGIC): Likewise.
30191         (QNX6_SUPER_MAGIC): Likewise.
30192         (RAMFS_MAGIC): Likewise.
30193         (REISERFS_SUPER_MAGIC_STRING): Likewise.
30194         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
30195         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
30196         (SECURITYFS_MAGIC): Likewise.
30197         (SELINUX_MAGIC): Likewise.
30198         (SMACK_MAGIC): Likewise.
30199         (SOCKFS_MAGIC): Likewise.
30200         (SQUASHFS_MAGIC): Likewise.
30201         (STACK_END_MAGIC): Likewise.
30202         (TMPFS_MAGIC): Likewise.
30203         (USBDEVICE_SUPER_MAGIC): Likewise.
30204         (V9FS_MAGIC): Likewise.
30205         (XENFS_SUPER_MAGIC): Likewise.
30206         (CRAMFS_MAGIC): Fix typo in comment.
30207         (EXT2_SUPER_MAGIC): Update comment.
30208         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
30210 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
30212         * sysdeps/arm: Move directory from ports/sysdeps/arm.
30213         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
30214         * sysdeps/unix/sysv/linux/arm: Move directory from
30215         ports/sysdeps/unix/sysv/linux/arm.
30216         * README: Update listing for arm-*-linux-gnueabi.
30218         * README: Remove mention of am33.
30220 2014-02-07  Roland McGrath  <roland@hack.frob.com>
30222         * bits/sigset.h (__sigemptyset): Use a statement expression rather
30223         than the comma operator, to avoid "rhs of comma has no effect"
30224         compiler warnings.
30225         (__sigfillset, __sigandset, __sigorset): Likewise.
30226         * include/signal.h (__sigemptyset): Likewise.
30227         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
30229 2014-02-07  Allan McRae  <allan@archlinux.org>
30231         * version.h (RELEASE): Set to "development".
30232         (VERSION): Set to "2.19.90"
30233         * NEWS: Add 2.20 section.
30235 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
30237         [BZ #16529]
30238         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
30240 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
30242         * manual/contrib.texi: Update entry for Carlos O'Donell,
30243         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
30245 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
30247         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
30249         * sysdeps/unix/sysv/linux/kernel-features.h
30250         [__LINUX_KERNEL_VERSION >= 0x020621]
30251         (__ASSUME_PROC_PID_TASK_COMM): Define.
30253 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30255         [BZ #16398]
30256         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
30257         conversion when destination buffer does not have enough space.
30258         * libio/tst-ftell-partial-wide.c: New test case.
30259         * libio/Makefile (tests): Add tst-ftell-partial-wide.
30261         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
30262         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
30263         Leonard and Allan McRae.
30265 2014-02-04  David S. Miller  <davem@davemloft.net>
30267         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
30268         32-bit.
30270 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
30273         New file
30274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
30275         New file
30276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
30277         New file.
30278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
30279         New file.
30280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
30281         New file.
30282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
30283         New file.
30284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
30285         New file.
30286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
30287         New file.
30288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
30289         New file.
30290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
30291         New file.
30292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
30293         New file.
30294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
30295         New file.
30296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
30297         New file.
30299 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30301         * nptl/shlib-versions: Change powerpc*le start to 2.17.
30302         * shlib-versions: Likewise.
30304 2014-02-04  Roland McGrath  <roland@hack.frob.com>
30305             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30307         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
30308         (abilist-pattern): New variable, set to %-le.abilist.
30310         * Makerules (abilist-pattern): New variable.
30311         (vpath): Use $(abilist-pattern) in place of %.abilist.
30312         (check-abi-% pattern rule): Likewise.
30313         (check-abi, update-abi): Likewise.
30315 2014-02-04  Eric Wong  <normalperson@yhbt.net>
30317         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30319 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
30321         * manual/startup.texi: Add next, previous, and top entries for
30322         the `Program Arguments' and `Environment Variables' nodes.
30324 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
30326         * manual/macros.texi: Add comments before MTASC-safety macros.
30328         * manual/users.texi: Document MTASC-safety properties.
30330         * manual/threads.texi (pthread_key_create, pthread_key_delete)
30331         (pthread_getspecific, pthread_setspecific): Format with
30332         @deftypefun, and add @safety note.
30333         * manual/signal.texi: Move comments that analyze the above
30334         functions to their home place.
30336 2014-02-03  Allan McRae  <allan@archlinux.org>
30338         * po/sl.po: Update Slovenian translation from translation project.
30340 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
30342         * manual/time.texi (timegm): Add missing blank after @c.
30343         Reported by Joseph Myers <joseph@codesourcery.com>.
30345 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
30347         * manual/check-safety.sh: New.
30348         * manual/Makefile ($(objpfx)stamp-summary): Run it.
30350         * manual/terminal.texi: Document MTASC-safety properties.
30352         * manual/filesys.texi: Document MTASC-safety properties.
30354         * manual/errno.texi: Document MTASC-safety properties.
30356         * manual/intro.texi: Document safety identifiers and
30357         conditionals.
30359         * manual/string.texi (wcstok): Fix prototype.
30360         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
30362         * manual/time.texi: Document MTASC-safety properties.
30364         * manual/string.texi: Document MTASC-safety properties.
30366         * manual/threads.texi: Document MTASC-safety properties.
30368         * manual/stdio.texi: Document MTASC-safety properties.
30370         * manual/syslog.texi: Document MTASC-safety properties.
30372         * manual/sysinfo.texi: Document MTASC-safety properties.
30374         * manual/startup.texi: Document MTASC-safety properties.
30376         * manual/socket.texi: Document MTASC-safety properties.
30378         * manual/signal.texi: Document MTASC-safety properties.
30380 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
30382         * manual/setjmp.texi: Document MTASC-safety properties.
30384         * manual/search.texi: Document MTASC-safety properties.
30386         * manual/resource.texi: Document MTASC-safety properties.
30388         * manual/process.texi: Document MTASC-safety properties.
30390         * manual/platform.texi: Document MTASC-safety properties.
30392         * manual/pipe.texi: Document MTASC-safety properties.
30394         * manual/pattern.texi: Document MTASC-safety properties.
30396         * manual/message.texi: Document MTASC-safety properties.
30398         [BZ #12751]
30399         * manual/memory.texi: Document MTASC-safety properties.
30401         * manual/math.texi: Document MTASC-safety properties.
30403         * manual/locale.texi: Document MTASC-safety properties.
30405         * manual/llio.texi: Document MTASC-safety properties.
30407         * manual/libdl.texi: New.
30409         * manual/lang.texi: Document MTASC-safety properties.
30411         * manual/job.texi: Document MTASC-safety properties.
30413         * manual/getopt.texi: Document MTASC-safety properties.
30415         * manual/ctype.texi: Document MTASC-safety properties.
30417 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
30419         [BZ #16046]
30420         * csu/libc-tls.c (static_map): Remove variable.
30421         (__libc_setup_tls): Use main executable's link map for TLS data.
30422         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
30423         casing for LM_ID_BASE and GL(dl_nns).
30424         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
30425         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
30426         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
30427         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
30428         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
30429         member.
30430         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
30431         l_phnum members.
30433 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
30435         * manual/debug.texi: Document MTASC-safety properties.
30437 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
30439         [BZ #16510]
30440         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
30441         of __x86_64__ when disabling x87 inline functions.
30443 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
30445         * manual/charset.texi: Document MTASC-safety properties.
30447         * manual/crypt.texi: Document MTASC-safety properties.
30449         * manual/conf.texi: Document MTASC-safety properties.
30451         * manual/arith.texi: Document MTASC-safety properties.
30453         * manual/argp.texi: Document MTASC-safety properties.
30455         * manual/macros.texi: Introduce macros to document multi
30456         thread, asynchronous signal and asynchronous cancellation
30457         safety properties.
30458         * manual/intro.texi: Introduce the properties themselves.
30460 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30462         * sysdeps/sh/sh4/Makefile: New file.
30464 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
30466         * math/gen-libm-test.pl ($srcdir): New variable.
30467         ($auto_input): Use it.
30469 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30471         [BZ #16506]
30472         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
30473         access beyond array bounds when parsing netgroups file.
30475         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
30476         the old buffer before realloc.
30478 2014-01-27  Allan McRae  <allan@archlinux.org>
30480         * po/fr.po: Update French translation from translation project.
30482 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30484         * sysdeps/sh/libm-test-ulps: Regenerate.
30486 2014-01-24  David S. Miller  <davem@davemloft.net>
30488         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
30490 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30492         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
30493         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
30495 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30497         [BZ #16474]
30498         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
30499         string pointers after reallocation.
30501 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30503         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
30504         __SH4A__ instead of __SH_FPU_ANY__.
30506 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30508         * sysdeps/sh/fpu_control.h: New file.
30509         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
30510         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
30511         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
30512         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
30513         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
30514         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
30515         * sysdeps/sh/sys/ucontext.h: Remove.
30516         * sysdeps/sh/sys: Remove directory.
30518 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30520         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
30521         s390/sys/ucontext.h.
30522         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
30523         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
30525 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
30527         [BZ #15605]
30528         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
30530 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30532         [BZ#16431]
30533         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
30534         Adjust the vDSO correctly for internal calls.
30535         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
30537 2014-01-20  Allan McRae  <allan@archlinux.org>
30539         * po/ca.po: Update Catalan translation from translation project.
30541 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
30543         * sysdeps/s390/sotruss-lib.c: New file.
30545 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30547         [BZ#16430]
30548         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
30549         (__GI___gettimeofday): Alias for a different internal symbol to avoid
30550         local calls issues by not having a PLT stub required for IFUNC calls.
30551         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
30553 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
30555         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
30556         * math/test-fpucw-static.c: Likewise.
30558 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30560         [BZ #16453]
30561         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
30563 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30565         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
30566         implementation for powerpc.
30568 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
30570         [BZ #14782]
30571         * sysdeps/posix/system.c (__libc_system): Do not enable
30572         asynchronous cancellation.
30574 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30576         [BZ #16427]
30577         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
30578         handling only for numbers special also in the IEEE case.
30580 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30582         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30584 2014-01-11  Allan McRae  <allan@archlinux.org>
30586         * po/bg.po: Update Bulgarian translation from translation project.
30588         * po/de.po: Update German translation from translation project.
30590 2014-01-10  Roland McGrath  <roland@hack.frob.com>
30592         * sysdeps/generic/gcc-compat.h: New file.
30594 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30596         * benchtests/asin-inputs: Correct slow inputs.
30597         * benchtests/acos-inputs: Likewise.
30599 2014-01-10  Allan McRae  <allan@archlinux.org>
30601         * po:sv.po: Update Swedish translation from translation project.
30603         * po/vi.po: Update Vietnamese translation from translation project.
30605         * po/eo.po: Update Esperanto translation from translation project.
30607         * po/cs.po: Update Czech translation from translation project.
30609         * po/nl.po: Update Dutch translation from translation project.
30611         * po/pl.po: Update Polish translation from translation project.
30613         * po/ru.po: Update Russian translation from translation project.
30615         * po/uk.po: Update Ukrainian translation from translation project.
30617 2014-01-08  Brooks Moses  <bmoses@google.com>
30619         * elf/dl-load.c: Fix comment typo.
30621 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
30623         * po/header.pot: Rename to...
30624         * po/pot.header: ... this.
30625         * po/Makefile: Use pot.header.
30627 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
30628             Maxim Kuvyrkov  <maxim@kugelworks.com>
30630         [BZ #16394]
30631         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
30632         SRC and DEST against LEN.
30634 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30636         [BZ #16414]
30637         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
30638         implementation.
30639         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
30641 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30643         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30645 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
30647         [BZ #16408]
30648         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
30649         for large positive arguments.
30651 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
30653         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
30655         * math/auto-libm-test-in: Mark various tests with
30656         xfail-rounding:ldbl-128ibm.
30657         * math/auto-libm-test-out: Regenerated.
30659         [BZ #16407]
30660         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
30661         Increase overflow threshold.
30663 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
30665         [BZ #14286]
30666         * stdio-common/vfprintf.c: Check for integer overflow.
30668 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30670         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
30671         the first argument and return value of __tls_get_addr_internal.
30673 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30675         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
30676         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
30678 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30680         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
30681         * sysdeps/s390/rtld-global-offsets.sym: New file.
30682         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
30683         GLIBC_2.19 symbol.
30684         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
30685         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
30686         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
30687         ... this.
30688         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
30689         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
30690         ... this.
30691         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
30692         Regenerate.
30693         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
30694         Regenerate.
30695         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
30696         halfs of GPRs for high_gprs contexts.
30697         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
30698         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
30699         field.
30700         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
30701         uc_flags field.
30702         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
30703         64 bit versions:
30704         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
30705         for high GPRs (uc_high_gprs) and for future extensions
30706         (__reserved).
30707         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
30708         for future extensions (__reserved).
30709         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
30710         64 bit versions:
30711         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
30712         SC_HIGHGPRS offset definition.
30713         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
30714         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
30716         * Versions.def: Add GLIBC_2.19 for libpthread.
30717         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
30718         siglongjmp for libpthread with GLIBC_2.19 symver.
30719         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
30720         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
30721         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
30722         * sysdeps/s390/__longjmp.c: New file.
30723         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
30724         * sysdeps/s390/longjmp.c: New file.
30725         * sysdeps/s390/setjmp.S: New file.
30726         * sysdeps/s390/sigjmp.S: New file.
30727         * sysdeps/s390/v1-longjmp.c: New file.
30728         * sysdeps/s390/v1-setjmp.h: New file.
30729         * sysdeps/s390/v1-sigjmp.c: New file.
30730         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
30731         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
30732         GLIBC_2.19 version.
30733         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
30734         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
30735         versioned symbols for ____longjmp_chk.
30736         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
30737         Likewise.
30738         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
30739         Regenerate.
30740         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30741         Regenerate.
30742         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
30743         Regenerate.
30744         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30745         Regenerate.
30746         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
30747         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
30748         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
30749         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
30750         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
30751         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
30752         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
30753         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
30754         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
30755         * sysdeps/s390/rtld-__longjmp.c: New file.
30756         * sysdeps/s390/rtld-setjmp.S: New file.
30758 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
30760         [BZ #16400]
30761         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
30762         Return -__logl (x) for small positive arguments without evaluating
30763         a polynomial.
30765 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
30767         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
30768         Rename to ...
30769         (__ptrace_peeksiginfo_args): ... this.
30770         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30771         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30772         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30774 2014-01-06  Allan McRae  <allan@archlinux.org>
30776         * inet/netinet/in.h: Fix typo in comment.
30778 2014-01-05  Andreas Jaeger  <aj@suse.de>
30780         * sysdeps/i386/fpu/libm-test-ulps: Update.
30782 2014-01-05  Allan McRae  <allan@archlinux.org>
30784         * po/libc.pot: Regenerated.
30786         * malloc/memusagestat.c: Fix gettext call formatting.
30788 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
30790         * nscd/nscd.c: Improve usage() output.
30792 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
30794         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
30795         * sysdeps/unix/sysv/linux/configure: Regenerated.
30796         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
30797         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
30799 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
30801         [BZ #16390]
30802         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
30803         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
30805 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30807         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
30808         extra tokens at end of #undef directive.
30809         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
30810         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
30811         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
30813 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
30815         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
30817         * math/auto-libm-test-in: Mark various tests with
30818         xfail-rounding:ldbl-128ibm.
30819         * math/auto-libm-test-out: Regenerated.
30821 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
30823         [BZ #16386]
30824         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
30825         numbers with subnormal high part when calculating exponent.
30827         [BZ #16385]
30828         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
30829         fabs.
30831         [BZ #16384]
30832         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
30833         M_LN2l.
30834         (__ieee754_acoshl): Use __log1pl not __log1p.
30836 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
30838         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
30839         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
30840         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
30841         (grow_heap, heap_trim, _int_new_arena, get_free_list)
30842         (reused_arena, arena_get2): Convert to GNU style.
30843         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
30844         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
30845         (memalign_check, __malloc_set_state): Likewise.
30846         * malloc/mallocbug.c (main): Likewise.
30847         * malloc/malloc.c (__malloc_assert, malloc_init_state)
30848         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
30849         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
30850         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
30851         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
30852         (__posix_memalign, malloc_info): Likewise.
30853         * malloc/malloc.h: Likewise.
30854         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
30855         (mallochook, memalignhook, reallochook, mabort): Likewise.
30856         * malloc/mcheck.h: Likewise.
30857         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
30858         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
30859         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
30860         * malloc/morecore.c (__default_morecore): Likewise.
30861         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
30862         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
30863         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
30864         (print_and_abort): Likewise.
30865         * malloc/obstack.h: Likewise.
30866         * malloc/set-freeres.c (__libc_freeres): Likewise.
30867         * malloc/tst-mallocstate.c (main): Likewise.
30868         * malloc/tst-mtrace.c (main): Likewise.
30869         * malloc/tst-realloc.c (do_test): Likewise.
30871 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30873         [BZ #16366]
30874         * nscd/netgroupcache.c (do_notfound): New function.
30875         (addgetnetgrentX): Use it.
30877         [BZ # 16365]
30878         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
30879         NSS_STATUS_NOTFOUND.
30881 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
30883         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
30884         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30886 2014-01-01  Allan McRae  <allan@archlinux.org>
30888         * scripts/update-copyrights: Update configure input file suffix.
30890         * NEWS: Update copyright year.
30891         * catgets/gencat.c: Likewise.
30892         * csu/version.c: Likewise.
30893         * debug/catchsegv.sh: Likewise.
30894         * debug/pcprofiledump.c: Likewise.
30895         * debug/xtrace.sh: Likewise.
30896         * elf/ldconfig.c: Likewise.
30897         * elf/ldd.bash.in: Likewise.
30898         * elf/pldd.c: Likewise.
30899         * elf/sotruss.ksh: Likewise.
30900         * elf/sprof.c: Likewise.
30901         * iconv/iconv_prog.c: Likewise.
30902         * iconv/iconvconfig.c: Likewise.
30903         * locale/programs/locale.c: Likewise.
30904         * locale/programs/localedef.c: Likewise.
30905         * login/programs/pt_chown.c: Likewise.
30906         * malloc/memusage.sh: Likewise.
30907         * malloc/memusagestat.c: Likewise.
30908         * malloc/mtrace.pl: Likewise.
30909         * manual/libc.texinfo: Likewise.
30910         * nscd/nscd.c: Likewise.
30911         * nss/getent.c: Likewise.
30912         * nss/makedb.c: Likewise.
30913         * posix/getconf.c: Likewise.
30914         * scripts/test-installation.pl: Likewise.
30916         * All files with FSF copyright notices: Update copyright dates
30917         using scripts/update-copyrights.
30918         * intl/plural.c: Regenerated.
30919         * locale/programs/charmap-kw.h: Likewise.
30920         * locale/programs/locfile-kw.h: Likewise.
30922 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
30924         * sysdeps/unix/sysv/linux/configure: Regenerated.
30925         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
30926         the linux/fanotify.h header.
30927         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
30928         HAVE_LINUX_FANOTIFY_H is defined.
30930 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
30932         * benchtests/cos-inputs: New inputs.
30933         * benchtests/sin-inputs: Likewise.
30935         * benchtests/atan-inputs: New inputs. Fix name of multiple
30936         precision fallback inputs.
30938         * benchtests/atanh-inputs: New inputs.
30939         * benchtests/tanh-inputs: Likewise.
30941         * benchtests/acosh-inputs: New inputs.
30942         * benchtests/asinh-inputs: Likewise.
30944         * benchtests/cosh-inputs: New inputs.
30945         * benchtests/sinh-inputs: Likewise.
30947         * benchtests/acos-inputs: Add more inputs.
30948         * benchtests/asin-inputs: Likewise.
30950 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
30952         [BZ #16375]
30953         * manual/arith.texi: Fix spelling.
30954         * manual/charset.texi: Likewise.
30955         * manual/errno.texi: Likewise.
30956         * manual/filesys.texi: Likewise.
30957         * manual/lang.texi: Likewise.
30958         * manual/llio.texi: Likewise.
30959         * manual/locale.texi: Likewise.
30960         * manual/message.texi: Likewise.
30961         * manual/resource.texi: Likewise.
30962         * manual/search.texi: Likewise.
30963         * manual/setjmp.texi: Likewise.
30964         * manual/stdio.texi: Likewise.
30965         * manual/string.texi: Likewise.
30966         * manual/sysinfo.texi: Likewise.
30967         * manual/time.texi: Likewise.
30969 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
30971         * po/sl.po: New file.
30973 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
30975         * .gitignore: Add core/.gdbinit/.gdb_history.
30977 2013-12-27  Allan McRae  <allan@archlinux.org>
30979         [BZ #16369]
30980         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
30981         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
30983 2013-12-24  Brooks Moses  <bmoses@google.com>
30985         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
30986         all compilers that claim C++98 compliance, not just GCC.
30987         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
30988         Likewise.
30990 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
30992         * NEWS: Restore accidentally deleted bug-fix entries.
30994 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
30995             Ondřej Bílka  <neleai@seznam.cz>
30997         [BZ #15073]
30998         * malloc/malloc.c (_int_free): Perform sanity check only if we
30999         have_lock.
31001 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
31003         [BZ #12986]
31004         * manual/stdio.texi (String Input Conversions): Clarify that character
31005         classes are not supported.
31007 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31009         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31011 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
31013         [BZ #16337]
31014         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
31015         Calculate results for small negative arguments directly rather
31016         than using reflection formula with special underflow handling.
31018         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
31019         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
31020         sysdeps/unix/bsd/bsd4.4/syscalls.list.
31021         (fchflags): Likewise.
31022         (revoke): Likewise.
31023         (setlogin): Likewise.
31024         (sigaltstack): Likewise.
31025         (wait4): Likewise.
31026         (sigblock): Remove.
31027         (sigsetmask): Likewise.
31028         (wait3): Likewise.
31029         (waitpid): Likewise.
31030         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
31031         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
31032         file.
31033         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
31034         * sysdeps/unix/bsd/Makefile: ... here.
31035         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
31036         * sysdeps/unix/bsd/Versions: ... here.
31037         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
31038         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
31039         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
31040         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
31041         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
31042         * sysdeps/unix/bsd/sigblock.c: ... here.
31043         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
31044         * sysdeps/unix/bsd/sigsetmask.c: ... here.
31045         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
31046         * sysdeps/unix/bsd/sigvec.c: ... here.
31047         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
31048         * sysdeps/unix/bsd/tcdrain.c: ... here.
31049         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
31050         * sysdeps/unix/bsd/tcgetattr.c: ... here.
31051         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
31052         * sysdeps/unix/bsd/tcsetattr.c: ... here.
31053         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
31054         * sysdeps/unix/bsd/wait.c: ... here.
31055         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
31056         * sysdeps/unix/bsd/wait3.c: ... here.
31057         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
31058         * sysdeps/unix/bsd/waitpid.c: ... here.
31060 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
31062         [BZ #16356]
31063         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
31064         round-to-nearest for [!USE_AS_EXPM1L].
31065         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
31066         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
31067         more tests of exp and exp10.  Expect some exp10 tests to miss
31068         exceptions or fail in directed rounding modes.
31069         * math/auto-libm-test-out: Regenerated.
31070         * math/libm-test.inc (exp10_tonearest_test_data): New array.
31071         (exp10_test_tonearest): New function.
31072         (exp10_towardzero_test_data): New array.
31073         (exp10_test_towardzero): New function.
31074         (exp10_downward_test_data): New array.
31075         (exp10_test_downward): New function.
31076         (exp10_upward_test_data): New array.
31077         (exp10_test_upward): New function.
31078         (main): Call the new functions.
31079         * sysdeps/i386/fpu/libm-test-ulps: Update.
31080         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31082 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
31084         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
31085         asinh, atan, atan2, atanh, cbrt, cos and cosh.
31086         * math/auto-libm-test-out: Regenerated.
31087         * math/libm-test.inc (acosh_test_data): Add more tests.
31088         (atanh_test_data): Likewise.
31089         (ceil_test_data): Likewise.
31090         (copysign_test_data): Likewise.
31091         * sysdeps/i386/fpu/libm-test-ulps: Update.
31092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31094         * timezone/checktab.awk: Update from tzcode 2013i.
31095         * timezone/private.h: Likewise.
31096         * timezone/scheck.c: Likewise.
31097         * timezone/tzfile.h: Likewise.
31098         * timezone/tzselect.ksh: Likewise.
31099         * timezone/zdump.c: Likewise.
31100         * timezone/zic.c: Likewise.
31102         * math/auto-libm-test-in: Add tests of cpow.
31103         * math/auto-libm-test-out: Regenerated.
31104         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
31105         * math/gen-auto-libm-tests.c (func_calc_method): Add value
31106         mpc_cc_c.
31107         (func_calc_desc): Add mpc_cc_c union field.
31108         (test_functions): Add cpow.
31109         (special_fill_2pi): New function.
31110         (special_real_inputs): Add 2pi.
31111         (calc_generic_results): Handle mpc_cc_c.
31112         * sysdeps/i386/fpu/libm-test-ulps: Update.
31113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31115         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
31116         csqrt, ctan and ctanh.
31117         * math/auto-libm-test-out: Regenerated.
31118         * math/libm-test.inc (TEST_COND_x86_64): New macro.
31119         (TEST_COND_x86): Likewise.
31120         (ccos_test_data): Use AUTO_TESTS_c_c.
31121         (ccosh_test_data): Likewise.
31122         (cexp_test_data): Likewise.
31123         (clog_test_data): Likewise.
31124         (csqrt_test_data): Likewise.
31125         (ctan_test_data): Likewise.
31126         (ctan_tonearest_test_data): Likewise.
31127         (ctan_towardzero_test_data): Likewise.
31128         (ctan_downward_test_data): Likewise.
31129         (ctan_upward_test_data): Likewise.
31130         (ctanh_test_data): Likewise.
31131         (ctanh_tonearest_test_data): Likewise.
31132         (ctanh_towardzero_test_data): Likewise.
31133         (ctanh_downward_test_data): Likewise.
31134         (ctanh_upward_test_data): Likewise.
31135         * math/gen-auto-libm-tests.c (func_calc_method): Add value
31136         mpc_c_c.
31137         (func_calc_desc): Add mpc_c_c union field.
31138         (FUNC_mpc_c_c): New macro.
31139         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
31140         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
31141         ctanh.
31142         (special_fill_min_subnorm_p120): New function.
31143         (special_real_inputs): Add min_subnorm_p120.
31144         (calc_generic_results): Handle mpc_c_c.
31145         * sysdeps/i386/fpu/libm-test-ulps: Update.
31146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31148 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
31150         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
31151         (do_sin_slow): New functions.
31152         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
31153         (cslow2, csloww1, csloww2): Use the new functions.
31155         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
31156         Use M to change sign of result instead of X.  Assume X is
31157         positive.
31158         (csloww1): Likewise.
31159         (__sin): Adjust.
31160         (__cos): Adjust.
31162         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
31163         arguments A and DA.
31164         (__sin): Adjust.
31165         (__cos): Likewise.
31167         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
31168         (__cos): Likewise.
31169         (sloww1): Don't adjust sign of DX.
31170         (csloww1): Likewise.
31171         (sloww2): Use X directly and don't adjust sign of DX.
31172         (csloww2): Likewise.
31174 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
31176         * math/auto-libm-test-in: Add tests of cabs and carg.
31177         * math/auto-libm-test-out: Regenerated.
31178         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
31179         (carg_test_data): Likewise.
31180         * math/gen-auto-libm-tests.c (func_calc_method): Add value
31181         mpc_c_f.
31182         (func_calc_desc): Add mpc_c_f union field.
31183         (test_functions): Add cabs and carg.
31184         (calc_generic_results): Handle mpc_c_f.
31186         * sysdeps/powerpc/powerpc32/libgcc-compat.S
31187         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
31188         as a macro and a compat symbol.
31189         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
31190         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
31191         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
31192         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
31193         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
31194         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
31195         not use .hidden.
31196         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
31197         Likewise.
31198         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
31199         Likewise.
31200         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
31201         Likewise.
31202         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
31203         Likewise.
31204         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
31205         Likewise.
31206         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
31207         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
31208         from GLIBC_2.3.2.
31210 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31212         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31214 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
31216         * manual/texinfo.tex: Update to version 2013-11-26.10 with
31217         trailing whitespace removed.
31218         * scripts/config.guess: Update to version 2013-11-29.
31219         * scripts/config.sub: Update to version 2013-10-01.
31221         * math/auto-libm-test-in: Add tests of sincos.
31222         * math/auto-libm-test-out: Regenerated.
31223         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
31224         * math/gen-auto-libm-tests.c (func_calc_method): Add value
31225         mpfr_f_11.
31226         (func_calc_desc): Add mpfr_f_11 union field.
31227         (test_functions): Add sincos.
31228         (calc_generic_results): Handle mpfr_f_11.
31229         * sysdeps/i386/fpu/libm-test-ulps: Update.
31230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31232 2013-12-19  Andreas Schwab  <schwab@suse.de>
31234         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
31235         CALL_MCOUNT.
31236         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
31237         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
31238         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
31240 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
31242         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
31243         * sysdeps/i386/fpu/libm-test-ulps: Update.
31244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31246         [BZ #16293]
31247         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
31248         round-to-nearest mode when using frndint.
31249         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
31250         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31251         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
31252         Likewise.
31253         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
31254         sinh test to fail.
31255         * math/auto-libm-test-out: Regenerated.
31256         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
31257         (TEST_COND_x86): Likewise.
31258         (expm1_tonearest_test_data): New array.
31259         (expm1_test_tonearest): New function.
31260         (expm1_towardzero_test_data): New array.
31261         (expm1_test_towardzero): New function.
31262         (expm1_downward_test_data): New array.
31263         (expm1_test_downward): New function.
31264         (expm1_upward_test_data): New array.
31265         (expm1_test_upward): New function.
31266         (main): Run the new test functions.
31267         * sysdeps/i386/fpu/libm-test-ulps: Update.
31268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31270         * include/features.h: Update comment documenting feature test
31271         macros.  Mention _DEFAULT_SOURCE in comment.
31272         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
31273         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
31274         _BSD_SOURCE and _SVID_SOURCE.
31275         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
31276         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
31277         !_SVID_SOURCE]: Likewise.
31278         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
31279         (__USE_POSIX_IMPLICITLY): Define.
31280         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
31281         (_POSIX_SOURCE): Undefine and redefine.
31282         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
31283         (_POSIX_C_SOURCE): Likewise.
31284         * manual/creature.texi (_DEFAULT_SOURCE): Document.
31285         (Feature Test Macros): Update documentation of default features.
31287 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31289         * benchtests/Makefile: Add bench-strtok.
31290         * benchtests/bench-strtok.c: New file: strtok benchtest.
31292 2013-12-19  Allan McRae  <allan@archlinux.org>
31294         * manual/install.texi: Suppress menu for plain text output.
31295         * INSTALL: Regenerated.
31297 2013-12-18  Brooks Moses  <bmoses@google.com>
31299         [BZ #15846]
31300         * misc/getauxval.c: Include errno.h.
31301         (__getauxval): Set errno to ENOENT if the requested type is not
31302         found.
31303         * misc/sys/auxv.h (getauxval): Document that it may set errno;
31304         don't declare with __attribute_const__.
31305         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
31306         * manual/startup.texi: Document that getauxval sets errno.
31308 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
31310         * math/auto-libm-test-in: Add tests of jn and yn.
31311         * math/auto-libm-test-out: Regenerated.
31312         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
31313         (yn_test_data): Likewise.
31314         * math/gen-auto-libm-tests.c (func_calc_method): Add value
31315         mpfr_if_f.
31316         (func_calc_desc): Add mpfr_if_f union field.
31317         (FUNC_mpfr_if_f): New macro.
31318         (test_functions): Add jn and yn.
31319         (calc_generic_results): Assert type of second input for
31320         mpfr_ff_f.  Handle mpfr_if_f.
31321         (output_for_one_input_case): Disable all checking for arguments
31322         fitting floating-point types in case of an integer argument.
31323         * sysdeps/i386/fpu/libm-test-ulps: Update.
31324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
31327         Don't expect fegetround reference in libm.so.
31329 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31331         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
31332         $(config-cflags-nofma).
31334 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
31336         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
31337         * math/auto-libm-test-out: Regenerated.
31339         [BZ #16338]
31340         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
31341         to determine exponent and adjust argument to have exponent of -1.
31342         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
31343         log2.
31344         * math/auto-libm-test-out: Regenerated.
31345         * sysdeps/i386/fpu/libm-test-ulps: Update.
31346         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31348 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
31350         * manual/probes.texi: Remove cases when per-thread arenas are
31351         disabled.
31353 2013-12-18  Andreas Schwab  <schwab@suse.de>
31355         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
31356         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
31357         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
31358         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
31359         * sysdeps/i386/i686/multiarch/Makefile: Update.
31360         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
31362 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
31364         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
31365         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
31367 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
31369         [BZ #15968]
31370         Support TZ transition times < 00:00:00.
31371         This is needed for version-3 tz-format files; it supports time
31372         stamps past 2037 for America/Godthab (the only entry in the tz
31373         database for which this change is relevant).
31374         * manual/time.texi (TZ Variable): Document transition times
31375         from -167:59:59 through -00:00:01.
31376         * time/tzset.c (tz_rule): Time of day is now signed.
31377         (__tzset_parse_tz): Parse negative time of day.
31379         Document TZ transition times >= 25:00:00.
31380         * manual/time.texi (TZ Variable): Document transition times from
31381         25:00:00 through 167:59:59.  These are already supported, and this
31382         support will help with version-3 tz-format files.
31384         * manual/time.texi (TZ Variable): Modernize North America example
31385         to reflect current (i.e., 2007-and-later) daylight saving rules.
31387         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
31389 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
31391         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
31392         * sysdeps/unix/bsd/bits/stat.h: Likewise.
31393         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
31394         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
31395         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
31396         * sysdeps/unix/bsd/bsdstat.h: Likewise.
31397         * sysdeps/unix/bsd/clock.c: Likewise.
31398         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
31399         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
31400         * sysdeps/unix/bsd/init-posix.c: Likewise.
31401         * sysdeps/unix/bsd/poll.c: Likewise.
31402         * sysdeps/unix/bsd/ptsname.c: Likewise.
31403         * sysdeps/unix/bsd/seekdir.c: Likewise.
31404         * sysdeps/unix/bsd/setegid.c: Likewise.
31405         * sysdeps/unix/bsd/seteuid.c: Likewise.
31406         * sysdeps/unix/bsd/setgid.c: Likewise.
31407         * sysdeps/unix/bsd/setrgid.c: Likewise.
31408         * sysdeps/unix/bsd/setruid.c: Likewise.
31409         * sysdeps/unix/bsd/setsid.c: Likewise.
31410         * sysdeps/unix/bsd/setuid.c: Likewise.
31411         * sysdeps/unix/bsd/sigaction.c: Likewise.
31412         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
31413         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
31414         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
31415         * sysdeps/unix/bsd/telldir.c: Likewise.
31416         * sysdeps/unix/bsd/times.c: Likewise.
31417         * sysdeps/unix/bsd/usleep.c: Likewise.
31419         * misc/Makefile (install-lib): Remove libbsd-compat.a.
31420         ($(objpfx)libbsd-compat.a): Remove rule.
31422         * include/features.h (__FAVOR_BSD): Do not define.
31423         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
31424         features conflicting with POSIX.
31425         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
31426         (_BSD_SOURCE): Remove description of not being a subset of other
31427         feature test macros.
31428         * manual/job.texi (getpgrp): Do not document BSD version.
31429         (getpgid): Do not document by reference to BSD getpgrp.
31430         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
31431         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
31432         * signal/signal.h [__FAVOR_BSD]: Likewise.
31433         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
31434         instead of making contents conditional on [__FAVOR_BSD].
31435         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
31437 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31439         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31441 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
31443         [BZ #16314]
31444         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
31445         values below 2**-450, not 2**-500.
31446         * math/auto-libm-test-in: Don't allow spurious underflow from
31447         hypot.
31448         * math/auto-libm-test-out: Regenerated.
31450         [BZ #16316]
31451         [BZ #16330]
31452         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
31453         values of ha and hb and sort them after adjusting subnormal
31454         arguments.
31455         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
31456         Likewise.
31457         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
31458         values of ea and eb and sort them after adjusting subnormal
31459         arguments.
31460         * math/auto-libm-test-in: Do not expect some hypot tests of
31461         subnormals to fail.  Add more hypot tests.
31462         * math/auto-libm-test-out: Regenerated.
31464 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31466         [BZ #13304]
31467         * sysdeps/sh/s_fma.c: New file.
31468         * sysdeps/sh/s_fmaf.c: New file.
31469         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
31470         version.
31471         * sysdeps/sh/Implies: Add sh/soft-fp.
31473 2013-12-16  Roland McGrath  <roland@hack.frob.com>
31475         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
31476         level of indirection to members `objname', `errstring', `malloced'.
31477         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
31478         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
31479         it as the __longjmp argument (just pass 1 instead).
31480         (_dl_catch_error): Initialize C with argument pointers and address of
31481         volatile local ERRCODE rather than copying values out of C at return.
31483 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
31485         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
31486         * math/auto-libm-test-out: Regenerated.
31487         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
31488         (hypot_test_data): Likewise.
31489         (pow_test_data): Likewise.
31490         (pow_tonearest_test_data): Likewise.
31491         * math/gen-auto-libm-tests.c (func_calc_method): Add value
31492         mpfr_ff_f.
31493         (func_calc_desc): Add mpfr_ff_f union field.
31494         (FUNC_mpfr_ff_f): New macro.
31495         (test_functions): Add atan2, hypot and pow.
31496         (special_fill_min): New function.
31497         (special_fill_minus_min): Likewise.
31498         (special_fill_min_subnorm): Likewise.
31499         (special_fill_minus_min_subnorm): Likewise.
31500         (special_real_inputs): Add min, -min, min_subnorm and
31501         -min_subnorm.
31502         (calc_generic_results): Handle mpfr_ff_f.
31503         * sysdeps/i386/fpu/libm-test-ulps: Update.
31504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31506 2013-12-16  Will Newton  <will.newton@linaro.org>
31508         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
31509         (Aligned Memory Blocks): Add documentation for aligned_alloc
31510         and suggest it as an alternative to posix_memalign.
31511         (Hooks for Malloc): Document __memalign_hook is also called
31512         for aligned_alloc.  (Summary of Malloc): Add summary for
31513         aligned alloc.  Document __memalign_hook is also called
31514         for aligned_alloc.
31516 2013-12-16  Will Newton  <will.newton@linaro.org>
31518         * manual/memory.texi (Malloc Examples): Clarify default
31519         alignment documentation.  Suggest posix_memalign rather
31520         than memalign or valloc.
31521         (Aligned Memory Blocks): Remove suggestion to use memalign
31522         or valloc.  Remove obsolete comment about BSD.
31523         Document memalign errno values and mark the function obsolete.
31524         Document posix_memalign returned error codes.  Mark valloc
31525         as obsolete.  (Hooks for Malloc): __memalign_hook is also
31526         called for posix_memalign and valloc.
31527         (Summary of Malloc): Add posix_memalign to function summary.
31528         __memalign_hook is also called for posix_memalign and valloc.
31530 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31532         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
31533         TAYLOR_SIN.
31534         (__sin): Adjust.
31535         (__cos): Likewise.
31536         (sloww): Use mynumber union.  Expand ternary operator into
31537         if-else statements.
31538         (cslow): use mynumber union.
31540 2013-12-16  Allan McRae  <allan@archlinux.org>
31542         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
31543         * configure: Regenerated.
31545         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
31547         [BZ #14120]
31548         * configure.ac: Added --enable-maintainer-mode. Check for
31549         autoconf when enabled.
31550         * configure: Regenerated.
31552         * nscd/nscd.service: New file.
31553         * nscd/nscd.tmpfiles: New file.
31555 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
31557         [BZ #12100]
31558         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
31559         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
31560         * sysdeps/x86_64/multiarch/strstr.c: ... here.
31561         (strstr): Add __strstr_sse2_unaligned ifunc.
31562         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
31563         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
31564         (strcasestr): Remove __strcasestr_sse42 ifunc.
31565         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
31566         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
31567         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
31569 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31571         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
31572         * sysdeps/sh/bits/fenv.h: ... here.
31573         * sysdeps/sh/sh4/fpu/bits: Remove directory.
31575 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31577         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
31579         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
31580         hypotf multiarch implementations.
31581         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
31582         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
31583         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
31584         multiarch hypot for PPC64.
31585         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
31586         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
31587         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
31588         multiarch hypotf for PPC64.
31590         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
31591         modff multiarch implementations.
31592         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
31593         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
31594         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
31595         multiarch modf for PPC64.
31596         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
31597         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
31598         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
31599         multiarch modff for PPC64.
31601         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
31602         and logl multiarch implementations.
31603         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
31604         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
31605         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
31606         multiarch logb for PPC64.
31607         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
31608         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
31609         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
31610         multiarch logb for PPC64.
31611         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
31612         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
31613         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
31614         multiarch logb for PPC64.
31616         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
31617         isinff multiarch implementation.
31618         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
31619         file.
31620         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
31621         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
31622         multiarch isinf for PPC64.
31623         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
31624         file.
31625         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
31626         multiarch isinff for PPC64.
31628         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
31629         finitef multiarch implementation.
31630         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
31631         file.
31632         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
31633         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
31634         multiarch finite for PPC64.
31635         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
31636         file.
31637         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
31638         multiarch finitef for PPC64.
31640         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
31641         lrint multiarch implementation.
31642         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
31643         file.
31644         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
31645         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
31646         multiarch llrint for PPC64.
31647         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
31648         multiarch lrint for PPC64.
31650         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
31651         copysignf multiarch implementation.
31652         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
31653         file.
31654         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
31655         file.
31656         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
31657         multiarch copysign for PPC64.
31658         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
31659         multiarch copysignf for PPC64.
31661         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
31662         multiarch implementation.
31663         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
31664         file.
31665         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
31666         file.
31667         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
31668         file.
31669         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
31670         file.
31671         multiarch llround for PPC64.
31672         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
31673         multiarch trunc for PPC64.
31674         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
31675         multiarch truncf for PPC64.
31677         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
31678         multiarch implementation.
31679         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
31680         file.
31681         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
31682         file.
31683         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
31684         file.
31685         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
31686         file.
31687         multiarch llround for PPC64.
31688         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
31689         multiarch round for PPC64.
31690         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
31691         multiarch roundf for PPC64.
31693         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
31694         multiarch implementation.
31695         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
31696         file.
31697         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
31698         file.
31699         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
31700         file.
31701         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
31702         file.
31703         multiarch llround for PPC64.
31704         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
31705         multiarch floor for PPC64.
31706         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
31707         multiarch floorf for PPC64.
31709         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
31710         multiarch implementation.
31711         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
31712         file.
31713         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
31714         file.
31715         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
31716         file.
31717         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
31718         file.
31719         multiarch llround for PPC64.
31720         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
31721         multiarch ceil for PPC64.
31722         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
31723         multiarch ceilf for PPC64.
31725         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
31726         multiarch implementation.
31727         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
31728         file.
31729         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
31730         file.
31731         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
31732         file.
31733         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
31734         multiarch llround for PPC64.
31735         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
31736         multiarch lround for PPC64.
31738         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
31739         multiarch implementation.
31740         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
31741         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
31742         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
31743         file.
31744         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
31745         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
31746         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
31747         multiarch isnan for PPC64.
31748         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
31749         multiarch isnanf for PPC64.
31751         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
31752         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
31753         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
31754         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
31755         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
31756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
31758         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
31759         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31760         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31761         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31763         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
31764         multiarch implementations.
31765         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31766         (__libc_ifunc_impl_list): Likewise.
31767         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
31768         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
31769         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
31770         multiarch stpcpy for PPC64.
31772         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
31773         multiarch implementations.
31774         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31775         (__libc_ifunc_impl_list): Likewise.
31776         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
31777         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
31778         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
31779         multiarch strcpy for PPC64.
31781         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
31782         redefine function name.
31783         (_wordcopy_fwd_dest_aligned): Likewise.
31784         (_wordcopy_bwd_aligned): Likewise.
31785         (_wordcopy_bwd_dest_aligned): Likewise.
31786         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
31787         multiarch implementations.
31788         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31789         (__libc_ifunc_impl_list): Likewise.
31790         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
31791         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
31792         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
31793         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
31794         multiarch wcscpy for PPC64.
31796         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
31797         multiarch implementations.
31798         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31799         (__libc_ifunc_impl_list): Likewise.
31800         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
31801         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
31802         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
31803         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
31804         multiarch wcscpy for PPC64.
31806         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
31807         multiarch implementations.
31808         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31809         (__libc_ifunc_impl_list): Likewise.
31810         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
31811         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
31812         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
31813         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
31814         multiarch wcsrchr for PPC64.
31816         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
31817         multiarch implementations.
31818         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31819         (__libc_ifunc_impl_list): Likewise.
31820         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
31821         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
31822         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
31823         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
31824         multiarch wcschr for PPC64.
31826         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
31827         multiarch implementations.
31828         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31829         (__libc_ifunc_impl_list): Likewise.
31830         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
31831         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
31832         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
31833         multiarch strchrnul for PPC64.
31835         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
31836         implementations.
31837         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31838         (__libc_ifunc_impl_list): Likewise.
31839         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
31840         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
31841         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
31842         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
31843         strchr for PPC64.
31845         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
31846         implementations.
31847         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31848         (__libc_ifunc_impl_list): Likewise.
31849         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
31850         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
31851         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
31852         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
31853         strncmp for PPC64.
31855         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
31856         multiarch implementations.
31857         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31858         (__libc_ifunc_impl_list): Likewise.
31859         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
31860         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
31861         strncasecmp for PPC64.
31862         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
31863         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
31864         multiarch strncasecmp_l for PPC64.
31866         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
31867         multiarch implementations.
31868         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31869         (__libc_ifunc_impl_list): Likewise.
31870         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
31871         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
31872         multiarch strcasecmp for PPC64.
31873         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
31874         file.
31875         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
31876         multiarch strcasecmp_l for PPC64.
31878         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
31879         implementations.
31880         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31881         (__libc_ifunc_impl_list): Likewise.
31882         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
31883         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
31884         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
31885         strnlen for PPC64.
31887         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
31888         implementations.
31889         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31890         (__libc_ifunc_impl_list): Likewise.
31891         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
31892         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
31893         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
31894         strlen for PPC64.
31896         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
31897         implementations.
31898         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31899         (__libc_ifunc_impl_list): Likewise.
31900         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
31901         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
31902         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
31903         rawmemrchr for PPC64.
31905         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
31906         implementation.
31907         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31908         (__libc_ifunc_impl_list): Likewise.
31909         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
31910         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
31911         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
31912         memrchr for PPC64.
31914         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
31915         implementation.
31916         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31917         (__libc_ifunc_impl_list): Likewise.
31918         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
31919         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
31920         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
31921         memchr for PPC64.
31923         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
31924         implementation.
31925         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31926         (__libc_ifunc_impl_list): Likewise.
31927         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
31928         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
31929         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
31930         mempcpy for PPC64.
31932         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
31933         avoid cretion of __bzero symbol.
31934         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
31935         Likewise.
31936         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
31937         Likewise.
31938         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
31939         Likewise.
31940         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
31941         multiarch implementations.
31942         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31943         (__libc_ifunc_impl_list): Likewise.
31944         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
31945         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
31946         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
31947         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
31948         bzero for PPC32.
31949         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
31950         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
31951         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
31952         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
31953         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
31954         memset for PPC64.
31955         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
31957         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
31958         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
31959         implementations.
31960         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31961         (__libc_ifunc_impl_list): Likewise.
31962         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
31963         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
31964         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
31965         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
31966         memcmp for PPC64.
31968         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
31969         multiarch for POWER/PPC64.
31970         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
31971         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
31972         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
31973         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
31974         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
31975         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
31976         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
31977         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
31978         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
31979         memcpy for PPC64.
31981         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
31982         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
31983         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
31984         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
31985         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
31986         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
31987         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
31988         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
31989         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
31990         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
31991         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
31992         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
31993         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
31994         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
31995         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
31996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
31997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
31998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
31999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
32000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
32001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
32002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
32004 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32006         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
32008 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
32010         * benchtests/Makefile (bench): Add exp2 and log2.
32011         (LDLIBS-bench-exp2): Add -lm.
32012         (LDLIBS-bench-log2): Likewise.
32013         * benchtests/exp2-inputs: New inputs file.
32014         * benchtests/log2-inputs: New inputs file.
32015         * benchtests/log-inputs: Add new inputs.
32016         * benchtests/tan-inputs: Likewise.
32018 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32020         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
32021         definition...
32022         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
32023         (csloww2): ... from here.
32025         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
32026         instead of structures.
32027         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
32028         (POLYNOMIAL): Likewise.
32029         (TAYLOR_SLOW): Likewise.
32030         (__sin): Likewise.
32031         (__cos): Likewise.
32032         (slow1): Likewise.
32033         (slow2): Likewise.
32034         (sloww): Likewise.
32035         (sloww1); Likewise.
32036         (sloww2): Likewise.
32037         (bsloww1): Likewise.
32038         (bsloww2): Likewise.
32039         (cslow2): Likewise.
32040         (csloww): Likewise.
32041         (csloww1): Likewise.
32042         (csloww2): Likewise.
32044 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
32046         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
32047         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
32048         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
32049         * malloc/hooks.c (realloc_check): Likewise.
32051         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
32052         * malloc/arena.c: Remove PER_THREAD conditional.
32053         [!PER_THREAD]: Remove code.
32054         (ptmalloc_unlock_all2): Likewise.
32055         (ptmalloc_init): Likewise.
32056         (_int_new_arena): Likewise.
32057         (arena_get2): Likewise.
32058         * malloc/hooks.c (__malloc_get_state): Likewise.
32059         (__malloc_set_state): Likewise.
32060         * malloc/malloc.c: Likewise.
32061         (struct malloc_state): Likewise.
32062         (struct malloc_par): Likewise.
32063         (__libc_realloc): Likewise.
32064         (__libc_mallopt): Likewise.
32066 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32068         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
32070 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
32072         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
32073         macro to a function.  Check for zero perturb_byte.
32074         (_int_malloc, _int_free): Remove zero perturb_byte checks.
32076         * malloc/malloc.c: (force_reg): Remove.
32077         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
32078         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
32079         force_reg by atomic_forced_read.
32080         * malloc/arena.c (ptmalloc_init): Likewise.
32081         * malloc/hooks.c (top_check): Likewise.
32083 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32085         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32087 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
32089         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32091 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
32093         * math/auto-libm-test-in: Add tests of lgamma.
32094         * math/auto-libm-test-out: Regenerated.
32095         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
32096         (M_LOG_2_SQRT_PIl): Likewise.
32097         (lgamma_test_data): Use AUTO_TESTS_f_f1.
32098         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32099         mpfr_f_f1.
32100         (func_calc_desc): Add mpfr_f_f1 union field.
32101         (ARGS1): New macro.
32102         (ARGS2): Likewise.
32103         (ARGS3): Likewise.
32104         (ARGS4): Likewise.
32105         (RET1): Likewise.
32106         (RET2): Likewise.
32107         (CALC): Likewise.
32108         (FUNC): Likewise.
32109         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
32110         (test_functions): Add lgamma.
32111         (calc_generic_results): Handle mpfr_f_f1.
32112         * sysdeps/i386/fpu/libm-test-ulps: Update.
32113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32115 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32117         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
32118         __mpn_add_n for PowerPC64/POWER7.
32119         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
32120         __mpn_sub_n for PowerPC64/POWER7.
32122         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
32123         __mpn_addmul_1 for PowerPC64.
32124         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
32125         __mpn_submul_1 for PowerPC64.
32126         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
32127         for PowerPC64.
32128         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
32129         for PowerPC64.
32131 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
32133         [BZ #15089]
32134         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
32136 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32138         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
32140         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
32141         add multiarch folders.
32142         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
32143         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
32144         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
32145         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
32146         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
32147         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
32148         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
32149         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
32150         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
32151         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
32152         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
32153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
32154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
32155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
32156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
32157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
32158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
32160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
32161         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
32162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
32163         New file.
32164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
32165         New file.
32166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
32167         multiarch __ieee754_hypot for PowerPC32.
32168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
32169         New file.
32170         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
32171         New file.
32172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
32173         multiarch __ieee754_hypotf for PowerPC32.
32175         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
32176         long_double_symbol only if __logbl is defined.
32177         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
32178         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
32179         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
32180         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
32181         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
32182         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
32183         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
32184         path for implementation.
32185         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
32186         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
32187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
32188         logb, and logbl multiarch implementations for PowerPC32.
32189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
32190         file.
32191         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
32192         file.
32193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
32194         multiarch logb for PowerPC32.
32195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
32196         file.
32197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
32198         file.
32199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
32200         multiarch logbf for PowerPC32.
32201         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
32202         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
32203         file.
32204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
32205         multiarch logbl implementation for PowerPC32.
32207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
32208         and modff multiarch implementations.
32209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
32210         New file.
32211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
32212         New file.
32213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
32214         multiarch modf for PowerPC32.
32215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
32216         New file.
32217         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
32218         New file.
32219         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
32220         multiarch modff for PowerPC32.
32222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
32223         and lrintf multiarch implementations.
32224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
32225         New file.
32226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
32227         New file.
32228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
32229         multiarch lrint for PowerPC32.
32230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
32231         file: multiarch lrintf for PowerPC32.
32233         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
32234         and lroundf multiarch implementations.
32235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
32236         New file.
32237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
32238         New file.
32239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
32240         New file.
32241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
32242         multiarch lround for PowerPC32.
32243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
32244         file: multiarch lroundf for PowerPC32.
32246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
32247         copysign and copysignf multiarch implementations.
32248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
32249         New file.
32250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
32251         New file.
32252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
32253         file: multiarch copysign for PowerPC32.
32254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
32255         file: multiarch copysignf for PowerPC32.
32257         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
32258         and truncf multiarch implementations.
32259         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
32260         New file.
32261         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
32262         file.
32263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
32264         multiarch trunc for PowerPC32.
32265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
32266         New file.
32267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
32268         New file.
32269         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
32270         multiarch truncf for PowerPC32.
32272         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
32273         and roundf multiarch implementations.
32274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
32275         New file.
32276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
32277         file.
32278         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
32279         multiarch round for PowerPC32.
32280         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
32281         New file.
32282         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
32283         New file.
32284         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
32285         multiarch roundf for PowerPC32.
32287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
32288         and floorf multiarch implementations.
32289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
32290         New file.
32291         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
32292         file.
32293         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
32294         multiarch floor for PowerPC32.
32295         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
32296         New file.
32297         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
32298         New file.
32299         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
32300         multiarch floorf for PowerPC32.
32302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
32303         and ceilf multiarch implementations.
32304         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
32305         New file.
32306         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
32307         file.
32308         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
32309         multiarch ceil for PowerPC32.
32310         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
32311         New file.
32312         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
32313         file.
32314         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
32315         multiarch ceilf for PowerPC32.
32317         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
32318         is defined.
32319         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
32320         FINITEF is defined.
32321         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
32322         and finitef multiarch implementations.
32323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
32324         New file.
32325         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
32326         file.
32327         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
32328         multiarch finite for PowerPC32.
32329         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
32330         New file.
32331         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
32332         file: multiarch finitef for PowerPC32.
32334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
32335         and isinff multiarch implementations.
32336         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
32337         file.
32338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
32339         file.
32340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
32341         multiarch isinf for PowerPC32.
32342         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
32343         New file.
32344         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
32345         multiarch isinff for PowerPC32.
32347         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
32348         alias when __isnan is defined.
32349         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
32350         and isnanf multiarch implementations.
32351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
32352         file.
32353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
32354         file.
32355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
32356         file.
32357         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
32358         file.
32359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
32360         multiarch isnan for PowerPC32.
32361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
32362         New file.
32363         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
32364         New file.
32365         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
32366         multiarch isnanf for PowerPC32.
32368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
32369         and sqrtf multiarch implementations.
32370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
32371         file.
32372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
32373         file.
32374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
32375         multiarch sqrt for PowerPC32.
32376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
32377         file.
32378         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
32379         file.
32380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
32381         multiarch sqrtf for PowerPC32.
32383         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
32384         and llroundf multiarch implementations.
32385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
32386         New file.
32387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
32388         New file.
32389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
32390         New file.
32391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
32392         file: multiarch llround for PowerPC32.
32393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
32394         file: multiarch llroundf for PowerPC32.
32396         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
32397         multiarch PowerPC32 fpu implementations.
32398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
32399         New file.
32400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
32401         New file.
32402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
32403         multiarch llrint for PowerPC32.
32404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
32405         New file.
32406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
32407         New file.
32408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
32409         file.
32411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
32413         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
32414         file.
32415         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
32416         file.
32417         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
32418         file.
32419         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
32420         multiarch wordcopy for PPC32.
32421         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
32422         wordcopy objects.
32423         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32424         (__libc_ifunc_impl_list): Likewise.
32425         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
32426         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
32427         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
32428         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
32429         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
32430         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
32432         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
32433         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
32434         file.
32435         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
32436         file.
32437         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
32438         file.
32439         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
32440         multiarch wcscpy for PPC32.
32441         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
32442         multiarch objects.
32443         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32444         (__libc_ifunc_impl_list): Likewise.
32445         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
32446         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
32447         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
32448         sysdeps/powerpc/power6/wcscpy.c.
32450         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
32451         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
32452         file.
32453         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
32454         file.
32455         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
32456         file.
32457         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
32458         multiarch wcsrchr for PPC32.
32459         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
32460         multiarch objects.
32461         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32462         (__libc_ifunc_impl_list): Likewise.
32463         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
32464         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
32465         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
32466         sysdeps/powerpc/power6/wcsrchr.c.
32468         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
32469         file.
32470         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
32471         file.
32472         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
32473         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
32474         multiarch wcschr for PPc32.
32475         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
32476         multiarch objects.
32477         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32478         (__libc_ifunc_impl_list): Likewise.
32479         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
32480         * sysdeps/powerpc/power6/wcschr.c: ... to here.
32481         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
32482         sysdeps/powerpc/power6/wcschr.c.
32484         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
32485         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
32486         file.
32487         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
32488         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
32489         file: multiarch strchr for PPC32.
32490         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
32491         multiarch objects.
32492         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32493         (__libc_ifunc_impl_list): Likewise.
32495         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
32496         name.
32497         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
32498         file.
32499         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
32500         file.
32501         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
32502         multiarch strchrnul for PPC32.
32503         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
32504         multiarch objects.
32505         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32506         (__libc_ifunc_impl_list): Likewise.
32508         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
32509         file.
32510         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
32511         multiarch strncasecmp for PPC32.
32512         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
32513         file.
32514         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
32515         multiarch strncasecmp_l for PPC32.
32516         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
32517         strncasecmp multiarch objects.
32518         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32519         (__libc_ifunc_impl_list): Likewise.
32521         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
32522         file.
32523         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
32524         multiarch strncasecmp for PPC32.
32525         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
32526         New file.
32527         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
32528         multiarch strcasecmp_l for PPC32.
32529         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
32530         multiarch objects.
32531         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32532         (__libc_ifunc_impl_list): Likewise.
32534         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
32535         file.
32536         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
32537         file.
32538         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
32539         multiarch strncmp for PPC32.
32540         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
32541         multiarch objects.
32542         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32543         (__libc_ifunc_impl_list): Likewise.
32545         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
32546         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
32547         file.
32548         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
32549         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
32550         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
32551         multiarch objects.
32552         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32553         (__libc_ifunc_impl_list): Likewise.
32555         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
32556         file.
32557         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
32558         file.
32559         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
32560         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
32561         multiarch objects.
32562         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32563         (__libc_ifunc_impl_list): Likewise.
32565         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
32566         file.
32567         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
32568         file.
32569         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
32570         multiarch rawmemchr for PPC32.
32571         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
32572         multiarch objects.
32573         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32574         (__libc_ifunc_impl_list): Likewise.
32576         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
32577         file.
32578         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
32579         file.
32580         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
32581         file: memrchr multiarch for PPC32.
32582         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
32583         multiarch objects.
32584         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32585         (__libc_ifunc_impl_list): Likewise.
32587         * string/memchr.c (__memchr): Using macro to redefine symbol name.
32588         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
32589         file.
32590         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
32591         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
32592         multiarch memchr for PPC32.
32593         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
32594         multiarch objects.
32595         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
32596         (__libc_ifunc_impl_list): Likewise.
32598         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
32599         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
32600         file.
32601         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
32602         file.
32603         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
32604         file: multiarch mempcpy for PPC32.
32605         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
32606         multiarch objects.
32607         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
32608         (__libc_ifunc_impl_list): Likewise.
32610         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
32611         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
32612         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
32613         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
32614         multiarch bzero for PPC32.
32615         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
32616         file.
32617         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
32618         file.
32619         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
32620         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
32621         file: multiarch memset for PPC32.
32622         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
32623         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
32624         memset multiarch objects.
32625         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
32626         (__libc_ifunc_impl_list): Likewise.
32628         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
32629         file.
32630         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
32631         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
32632         memcmp for PPC32.
32633         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
32634         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
32635         multiarch objects.
32636         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
32637         (__libc_ifunc_impl_list): Likewise.
32639         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
32640         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
32641         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
32642         file.
32643         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
32644         file.
32645         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
32646         file.
32647         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
32648         multiarch memcpy for PPC32.
32649         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
32650         multiarch objects.
32651         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
32652         (__libc_ifunc_impl_list): Likewise.
32654         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
32655         support multiarch for POWER/PPC32.
32656         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
32657         Likewise.
32658         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
32659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
32660         Implies file to make multiarch folder appers before the fpu and
32661         default folder for power4 configuration.
32663 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
32665         * scripts/bench.pl: Append volatile keyword to type.
32667 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32669         * sysdeps/sh/sotruss-lib.c: New file.
32670         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
32672 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32674         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32676 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
32678         [BZ #6810]
32679         * math/w_tgamma.c: Include <errno.h>.
32680         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
32681         * math/w_tgammaf.c: Include <errno.h>.
32682         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
32683         * math/w_tgammal.c: Include <errno.h>.
32684         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
32685         * math/auto-libm-test-in: Do not allow missing errno on tgamma
32686         underflow.  Add more tgamma tests.
32687         * math/auto-libm-test-out: Regenerated.
32688         * sysdeps/i386/fpu/libm-test-ulps: Update.
32689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32691         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
32692         sin, sinh, tan, tanh, tgamma, y0 and y1.
32693         * math/auto-libm-test-out: Regenerated.
32694         * math/libm-test.inc (TEST_COND_x86_64): New macro.
32695         (TEST_COND_x86): Likewise.
32696         (M_E2l): Remove macro.
32697         (M_E3l): Likewise.
32698         (M_2_SQRT_PIl): Likewise.
32699         (M_SQRT_PIl): Likewise.
32700         (M_1_DIV_El): Likewise.
32701         (log_test_data): Use AUTO_TESTS_f_f.
32702         (log10_test_data): Likewise.
32703         (log1p_test_data): Likewise.
32704         (log2_test_data): Likewise.
32705         (sin_test_data): Likewise.
32706         (sin_tonearest_test_data): Likewise.
32707         (sin_towardzero_test_data): Likewise.
32708         (sin_downward_test_data): Likewise.
32709         (sin_upward_test_data): Likewise.
32710         (sinh_test_data): Likewise.
32711         (sinh_tonearest_test_data): Likewise.
32712         (sinh_towardzero_test_data): Likewise.
32713         (sinh_downward_test_data): Likewise.
32714         (sinh_upward_test_data): Likewise.
32715         (tan_test_data): Likewise.
32716         (tan_tonearest_test_data): Likewise.
32717         (tan_towardzero_test_data): Likewise.
32718         (tan_downward_test_data): Likewise.
32719         (tan_upward_test_data): Likewise.
32720         (tanh_test_data): Likewise.
32721         (tgamma_test_data): Likewise.
32722         (y0_test_data): Likewise.
32723         (y1_test_data): Likewise.
32724         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
32725         (special_real_inputs): Add pi/4.
32726         * sysdeps/i386/fpu/libm-test-ulps: Update.
32727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32729 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32731         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
32732         "longjmp_target" static probes.
32733         (__longjmp): Rename to __longjmp_symbol.
32734         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32735         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
32736         on which longjmp to generate.
32737         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
32738         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
32739         probe.
32740         (__sigsetjmp): Rename to __sigsetjmp_symbol.
32741         (__sigjmp_save): Rename to __sigjmp_save_symbol.
32742         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
32743         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
32744         and __sigjmp_save_symbol based on which sigsetjmp to generated.
32745         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
32746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
32747         __longjmp_symbol based on which __longjmp to generate.
32748         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
32749         probe.
32750         (setjmp): Rename to setjmp_symbol.
32751         (__sigsetjmp): Rename to __sigsetjmp_symbol.
32752         (_setjmp): Rename to _setjmp_symbol.
32753         (__sigsetjmp): Rename to __sigsetjmp_symbol.
32754         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
32755         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
32756         which setjmp to generate.
32757         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
32758         "longjmp_target" static probes.
32760 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
32762         * benchtests/README: Add note about output arguments.
32763         * benchtests/bench-sincos.c: Remove file.
32764         * benchtests/sincos-inputs: New file.
32765         * scripts/bench.pl: Identify output arguments and define
32766         static variables for them.
32768         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
32770         [BZ #15941]
32771         * Makefile (INSTALL): Add install-plain.texi as the primary
32772         dependency.
32773         * manual/install-plain.texi: New file.
32774         * manual/install.texi: Include node directive only for
32775         non-plaintext output.
32777 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
32779         * stdlib/longlong.h: Update from GCC.
32781         [BZ #6807]
32782         [BZ #15901]
32783         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
32784         * math/w_j0f.c (y0f): Likewise.
32785         * math/w_j0l.c (__y0l): Likewise.
32786         * math/w_j1.c (y1): Likewise.
32787         * math/w_j1f.c (y1f): Likewise.
32788         * math/w_j1l.c (__y1l): Likewise
32789         * math/w_jn.c (yn): Likewise.
32790         * math/w_jnf.c (ynf): Likewise.
32791         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
32792         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
32793         value for Bessel function domain errors outside _SVID_ mode.
32794         Adjust sign of return value for yn (negative integer, 0).
32795         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
32796         by zero in return for negative x and set sign appropriately for
32797         negative n.
32798         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
32799         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32800         * math/libm-test.inc (y0_test_data): Add more tests and adjust
32801         expectations in error cases.
32802         (y1_test_data): Likewise.
32803         (yn_test_data): Likewise.
32804         * sysdeps/i386/fpu/libm-test-ulps: Update.
32805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32807 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
32809         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
32810         "64" to "64-v1".  Add "64-v2".
32811         (abi-64-options): Rename to ...
32812         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
32813         (abi-64-condition): Rename to ...
32814         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
32815         (abi-64-ld-soname): Rename to ...
32816         (abi-64-v1-ld-soname): ... this.
32817         (abi-64-v2-options): Define.
32818         (abi-64-v2-condition): Likewise.
32819         (abi-64-v2-ld-soname): Likewise.
32820         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
32821         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
32822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
32823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
32824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
32826 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
32827             Alan Modra  <amodra@gmail.com>
32829         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
32830         New versions for use with the ELFv2 ABI.
32831         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
32832         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
32833         declaration.
32834         (struct La_ppc64v2_retval): Likewise.
32835         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
32836         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
32837         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
32838         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
32839         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
32840         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
32841         Do not save or restore CR.
32842         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
32843         (_dl_profile_resolve): Do no save or restore CR.  Support extended
32844         return values for ELFv2 ABI.  Fix location of FPR return registers.
32845         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
32846         updated values for _CALL_ELF == 2.
32847         (La_regs, La_retval, int_retval): Likewise.
32849 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
32851         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
32852         (FRAME_MIN_SIZE_PARM): Likewise.
32853         (FRAME_BACKCHAIN): Likewise.
32854         (FRAME_CR_SAVE): Likewise.
32855         (FRAME_LR_SAVE): Likewise.
32856         (FRAME_TOC_SAVE): Likewise.
32857         (FRAME_PARM_SAVE): Likewise.
32858         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
32859         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
32860         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
32861         (call_mcount_parm_offset): New macro.
32862         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
32863         (PROF): Use symbolic stack frame offsets.
32864         (TAIL_CALL_SYSCALL_ERROR): Likewise.
32865         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
32866         Redefine in terms of FRAME_MIN_SIZE.
32867         (_dl_runtime_resolve): Use symbolic stack frame offsets.
32868         (_dl_profile_resolve): Likewise.  Update comment.
32869         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
32870         symbols stack frame offsets.
32871         (__sigsetjmp): Likewise.
32872         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
32873         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
32874         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
32875         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
32877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
32878         (FRAME_BACKCHAIN): Remove.
32879         (FRAME_CR_SAVE): Likewise.
32880         (FRAME_LR_SAVE): Likewise.
32881         (FRAME_COMPILER_DW): Likewise.
32882         (FRAME_LINKER_DW): Likewise.
32883         (FRAME_TOC_SAVE): Likewise.
32884         (FRAME_PARM_SAVE): Likewise.
32885         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
32886         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
32887         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
32888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
32889         (CHECK_SP): Use symbolic stack frame offsets.
32890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
32891         zone" instead of caller's parameter save area for temp storage.
32892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
32893         Likewise.  Also, use symbolic stack frame offsets.
32894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
32895         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
32896         our own stack frame instead of the caller's.
32897         (__socket): Use symbolic stack frame offsets.
32899 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
32900             Alan Modra  <amodra@gmail.com>
32902         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
32903         Define.
32904         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
32905         (PPC64_LOCAL_ENTRY_OFFSET): Define.
32906         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
32907         New function.
32908         (elf_machine_fixup_plt): Call it.
32909         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
32910         reloc arguments.
32911         (elf_machine_rela): Update call to elf_machine_plt_conflict.
32912         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
32913         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
32914         r2 before calling target.
32916 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
32917             Alan Modra  <amodra@gmail.com>
32919         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
32920         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
32921         versions of macros to support ELFv2 ABI.
32922         (LOCALENTRY): New macro.
32923         (ENTRY, EALIGN): Use it.
32924         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
32925         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
32926         fall through into ENTRY entry point.
32927         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
32928         Only define if _CALL_ELF != 2.
32930         (elf_machine_matches_host): Verify ABI version matches.
32931         (RTLD_START): Use LOCALENTRY.
32932         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
32933         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
32934         (PLT_ENTRY_WORDS): New macro.
32935         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
32936         (elf_machine_runtime_setup): Support ELFv2 ABI.
32937         (elf_machine_fixup_plt): Likewise.
32938         (elf_machine_plt_conflict): Likewise.
32939         (resolve_ifunc): Likewise.
32940         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
32941         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
32942         Likewise.
32943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
32944         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
32945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32946         (makecontext): Support ELFv2 ABI.
32947         * elf/elf.h (EF_PPC64_ABI): Define.
32949 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
32951         * sysdeps/powerpc/powerpc64/sysdep.h
32952         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
32953         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
32954         (ENTRY) [ASSEMBLER]: ... but instead here ...
32955         (EALIGN) [ASSEMBLER]: ... and here.
32956         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
32957         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
32958         (ENTRY_2) [!ASSEMBLER]: Use it.
32959         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
32960         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
32961         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
32962         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
32963         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
32964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
32965         Use PPC64_LOAD_FUNCPTR.
32967         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
32969 2013-12-04  Alan Modra  <amodra@gmail.com>
32971         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
32972         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
32973         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
32974         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
32976         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
32977         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
32978         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
32979         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
32980         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
32981         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
32983 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
32985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32986         (__makecontext): Fix incorrect CFI when backtracing out of
32987         context created via makecontext.
32988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
32989         (__setcontext): Fix incorrect CFI during switch to new context.
32990         (__novec_setcontext): Likewise.
32992 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
32994         [BZ #4772]
32995         * time/strptime_l.c (__strptime_internal): Allow modifiers
32996         in strptime.
32997         * time/tst-strptime.c (day_tests): Add testcase.
32999 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33001         * scripts/bench.pl: Skip over blank lines.
33003 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
33005         [BZ #926]
33006         * manual/time.texi (Calendar Time): Clarify what timezone functions
33007         use.
33009 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33011         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33013 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
33015         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
33016         implementation.
33017         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
33018         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
33019         * debug/memset_chk.c (__memset_chk): Likewise.
33020         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
33021         * debug/strncpy_chk.c: Likewise.
33023 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
33025         [BZ #15268]
33026         [BZ #15425]
33027         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
33028         (__ieee754_exp): For possibly underflowing results, check size of
33029         result and force underflow exception if required.
33030         * math/auto-libm-test-in: Add more tests of exp.
33031         * math/auto-libm-test-out: Regenerated.
33032         * sysdeps/i386/fpu/libm-test-ulps: Update.
33033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33035         [BZ #16283]
33036         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
33037         * math/w_exp2f.c (__exp2f): Likewise.
33038         * math/w_exp2l.c (__exp2l): Likewise.
33039         * math/auto-libm-test-in: Do not allow missing errno on exp2
33040         underflow.
33041         * math/auto-libm-test-out: Regenerated.
33043 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
33045         [BZ #16274]
33046         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
33047         handle filename validation.
33048         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
33049         (do_open): Delete.
33051 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
33053         [BZ #6786]
33054         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
33055         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
33056         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
33057         <float.h>.
33058         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
33059         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
33060         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
33061         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
33062         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
33063         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
33064         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
33065         * math/auto-libm-test-in: Don't allow missing errno from erfc.
33066         Add more erfc tests.
33067         * math/auto-libm-test-out: Regenerated.
33068         * sysdeps/i386/fpu/libm-test-ulps: Update.
33069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33071         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
33072         exp2, expm1, j0 and j1.
33073         * math/auto-libm-test-out: Regenerated.
33074         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
33075         (erfc_test_data): Likewise.
33076         (exp_test_data): Likewise.
33077         (exp_tonearest_test_data): Likewise.
33078         (exp_towardzero_test_data): Likewise.
33079         (exp_downward_test_data): Likewise.
33080         (exp_upward_test_data): Likewise.
33081         (exp10_test_data): Likewise.
33082         (exp2_test_data): Likewise.
33083         (expm1_test_data): Likewise.
33084         (j0_test_data): Likewise.
33085         (j1_test_data): Likewise.
33086         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
33087         (input_flag_type): Add flag_xfail_rounding.
33088         (input_flags): Add xfail-rounding.
33089         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
33090         (output_for_one_input_case): Handle flag_xfail_rounding.
33091         * sysdeps/i386/fpu/libm-test-ulps: Update.
33092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33094 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
33096         [BZ #16289]
33097         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
33098         division by 0.
33100 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
33102         [BZ #16195]
33103         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
33104         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
33105         (STAP_PROBE0): New macro.
33106         (STAP_PROBE1): Likewise.
33107         (STAP_PROBE2): Likewise.
33108         (STAP_PROBE3): Likewise.
33109         (STAP_PROBE4): Likewise.
33111 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
33113         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
33115 2013-12-02  Steve Ellcey  <sellcey@mips.com>
33117         * benchtests/Makefile (bench): Add sqrt.
33118         (LDLIBS-bench-sqrt): New.
33119         * benchtests/sqrt-input: New.
33121 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
33123         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
33124         (GAIH_EAI): Likewise.
33125         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
33126         (gaih_inet): Likewise.
33127         (getaddrinfo): Don't use GAIH_EAI.
33129         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
33130         (struct gaih): Remove definition.
33132 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33134         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
33135         Use HERRNOP directly.
33137 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33139         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33141 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
33143         * math/gen-auto-libm-tests.c (test_functions): Add more
33144         single-argument functions.
33145         (special_fill_pi_2): New function.
33146         (special_fill_minus_pi_2): Likewise.
33147         (special_fill_pi_6): Likewise.
33148         (special_fill_minus_pi_6): Likewise.
33149         (special_fill_pi_3): Likewise.
33150         (special_fill_2pi_3): Likewise.
33151         (special_fill_e): Likewise.
33152         (special_fill_1_e): Likewise.
33153         (special_fill_e_minus_1): Likewise.
33154         (special_real_inputs): Add more special inputs.
33155         (output_for_one_input_case): Do not require ERANGE on underflow to
33156         zero if round-to-nearest result does not underflow to zero, unless
33157         exact results required.
33158         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
33159         atan, atanh, cbrt, cos and cosh.
33160         * math/auto-libm-test-out: Regenerated.
33161         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
33162         (acos_tonearest_test_data): Likewise.
33163         (acos_towardzero_test_data): Likewise.
33164         (acos_downward_test_data): Likewise.
33165         (acos_upward_test_data): Likewise.
33166         (acosh_test_data): Likewise.
33167         (asin_test_data): Likewise.
33168         (asin_tonearest_test_data): Likewise.
33169         (asin_towardzero_test_data): Likewise.
33170         (asin_upward_test_data): Likewise.
33171         (asinh_test_data): Likewise.
33172         (atan_test_data): Likewise.
33173         (atanh_test_data): Likewise.
33174         (cbrt_test_data): Likewise.
33175         (cos_test_data): Likewise.
33176         (cos_tonearest_test_data): Likewise.
33177         (cos_towardzero_test_data): Likewise.
33178         (cos_downward_test_data): Likewise.
33179         (cos_upward_test_data): Likewise.
33180         (cosh_test_data): Likewise.
33181         (cosh_tonearest_test_data): Likewise.
33182         (cosh_towardzero_test_data): Likewise.
33183         (cosh_downward_test_data): Likewise.
33184         (cosh_upward_test_data): Likewise.
33185         * sysdeps/i386/fpu/libm-test-ulps: Update.
33186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33188 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
33190         [BZ #6787]
33191         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
33192         * math/w_exp10f.c (__exp10f): Likewise.
33193         * math/w_exp10l.c (__exp10l): Likewise.
33194         * math/libm-test.inc (exp10_test_data): Add more tests and expect
33195         errno settings in existing tests.
33197         [BZ #14032]
33198         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
33199         precision control set to double precision.
33200         * sysdeps/i386/fpu/w_sqrt.c: New file.
33201         * math/auto-libm-test-in: Add more tests.
33202         * math/auto-libm-test-out: Update.
33204         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
33205         (sqrt_test_tonearest): New function.
33206         (sqrt_towardzero_test_data): New variable.
33207         (sqrt_test_towardzero): New function.
33208         (sqrt_downward_test_data): New variable.
33209         (sqrt_test_downward): New function.
33210         (sqrt_upward_test_data): New variable.
33211         (sqrt_test_upward): New function.
33212         (main): Call the new functions.
33214         * math/gen-auto-libm-tests.c: New file.
33215         * math/auto-libm-test-in: Likewise.
33216         * math/auto-libm-test-out: New generated file.
33217         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
33218         variables.
33219         (%beautify): Add generated representations of zero.
33220         (top level): Set $auto_input and call parse_auto_input.
33221         (beautify): Remove trailing "f" from hex float constants.
33222         (parse_args): Handle XFAIL_TEST.
33223         (convert_condition): New function.
33224         (or_value): Likewise.
33225         (or_cond_value): Likewise.
33226         (generate_testfile): Handle AUTO_TESTS_* lines.
33227         (parse_auto_input): New function.
33228         * math/libm-test.inc (XFAIL_TEST): New macro.
33229         (ERRNO_UNCHANGED): Update value.
33230         (ERRNO_EDOM): Likewise.
33231         (ERRNO_ERANGE): Likewise.
33232         (IGNORE_RESULT): Likewise.
33233         (TEST_COND_flt_32): New macro.
33234         (TEST_COND_dbl_64): Likewise.
33235         (TEST_COND_ldbl_96_intel): Likewise.
33236         (TEST_COND_ldbl_96_m68k): Likewise.
33237         (TEST_COND_ldbl_128): Likewise.
33238         (TEST_COND_ldbl_128ibm): Likewise.
33239         (TEST_COND_long32): Likewise.
33240         (TEST_COND_long64): Likewise.
33241         (TEST_COND_before_rounding): Likewise.
33242         (TEST_COND_after_rounding): Likewise.
33243         (enable_test): Handle XFAIL_TEST flag.
33244         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
33245         with finite results.
33246         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
33247         auto-libm-test-out.
33249 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33250             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33252         [BZ #16214]
33253         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
33254         __tls_get_addr_internal instead of __tls_get_offset in order to
33255         avoid GOT pointer dependency.  Make rtld export
33256         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
33257         __tls_get_addr since we are a __tls_get_offset platform.
33258         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
33259         GOT pointer being set up before.
33260         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
33262 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
33264         * manual/math.texi (Errors in Math Functions): Document accuracy
33265         goals.
33267         [BZ #15004]
33268         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
33269         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
33270         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33271         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33272         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33273         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33274         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33275         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33276         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33277         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33278         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33279         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33280         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33281         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33282         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33283         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33285         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
33286         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
33287         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
33288         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
33289         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
33290         Likewise.
33291         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
33292         Likewise.
33293         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
33294         Likewise.
33295         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
33296         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
33297         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
33298         atomic-feupdateenv and flt-rounds.
33299         * sysdeps/powerpc/nofpu/Versions (libc): Add
33300         __atomic_feholdexcept, __atomic_feclearexcept,
33301         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
33302         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
33303         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
33304         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
33305         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
33306         here.
33307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
33308         Update.
33310         * manual/arith.texi (FP Exceptions): Document that exceptions may
33311         not be raised when matherr is used.
33312         (Math Error Reporting): Document overflow in directed rounding
33313         modes.  Document that errno may not be set when finite values are
33314         returned on overflow.  Document intent to set errno on underflow
33315         only for underflow to zero.
33317         [BZ #16271]
33318         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
33319         round-to-nearest then adjust result for other rounding modes.
33320         * include/fenv.h (fegetround): Use libm_hidden_proto.
33321         * math/fegetround.c (fegetround): Use libm_hidden_def.
33322         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
33323         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
33324         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
33325         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
33326         Likewise.
33327         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
33328         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33329         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
33330         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
33332 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33334         [BZ #16077]
33335         * nss/Versions (libnss_files): Add
33336         _nss_files_gethostbyname3_r.
33337         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
33338         New function.
33339         (HOST_DB_LOOKUP): Remove macro.
33340         (_nss_files_gethostbyname_r): Implement function without the
33341         HOST_DB_LOOKUP macro.
33342         (_nss_files_gethostbyname2_r): Likewise.
33344 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
33346         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
33348 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
33350         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
33351         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
33352         warning.
33354 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33356         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
33357         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
33358         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
33359         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
33360         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
33361         __fe_nomask_env_priv and attribute_hidden.
33362         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
33363         (libc_feupdateenv_test_ppc): Likewise.
33364         (libc_feresetround_ppc): Likewise.
33365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
33366         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
33367         compat_symbol macro.
33368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
33369         (__fe_nomask_env): Likewise.
33370         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
33372 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
33374         * string/Makefile: Remove ifunc tests.
33375         * string/test-string.h: Define TEST_IFUNC.
33376         * string/test-bcopy-ifunc.c: Remove.
33377         * string/test-bzero-ifunc.c: Likewise.
33378         * string/test-memccpy-ifunc.c: Likewise.
33379         * string/test-memchr-ifunc.c: Likewise.
33380         * string/test-memcmp-ifunc.c: Likewise.
33381         * string/test-memcpy-ifunc.c: Likewise.
33382         * string/test-memmem-ifunc.c: Likewise.
33383         * string/test-memmove-ifunc.c: Likewise.
33384         * string/test-mempcpy-ifunc.c: Likewise.
33385         * string/test-memrchr-ifunc.c: Likewise.
33386         * string/test-memset-ifunc.c: Likewise.
33387         * string/test-rawmemchr-ifunc.c: Likewise.
33388         * string/test-stpcpy-ifunc.c: Likewise.
33389         * string/test-stpncpy-ifunc.c: Likewise.
33390         * string/test-strcasecmp-ifunc.c: Likewise.
33391         * string/test-strcasestr-ifunc.c: Likewise.
33392         * string/test-strcat-ifunc.c: Likewise.
33393         * string/test-strchr-ifunc.c: Likewise.
33394         * string/test-strchrnul-ifunc.c: Likewise.
33395         * string/test-strcmp-ifunc.c: Likewise.
33396         * string/test-strcpy-ifunc.c: Likewise.
33397         * string/test-strcspn-ifunc.c: Likewise.
33398         * string/test-strlen-ifunc.c: Likewise.
33399         * string/test-strncasecmp-ifunc.c: Likewise.
33400         * string/test-strncat-ifunc.c: Likewise.
33401         * string/test-strncmp-ifunc.c: Likewise.
33402         * string/test-strncpy-ifunc.c: Likewise.
33403         * string/test-strnlen-ifunc.c: Likewise.
33404         * string/test-strpbrk-ifunc.c: Likewise.
33405         * string/test-strrchr-ifunc.c: Likewise.
33406         * string/test-strspn-ifunc.c: Likewise.
33407         * string/test-strstr-ifunc.c: Likewise.
33409 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
33411         * benchtests/Makefile: Remove ifunc tests.
33412         * benchtests/bench-string.h: Define TEST_IFUNC.
33413         * benchtests/bench-bcopy-ifunc.c: Remove.
33414         * benchtests/bench-bzero-ifunc.c: Likewise.
33415         * benchtests/bench-memccpy-ifunc.c: Likewise.
33416         * benchtests/bench-memchr-ifunc.c: Likewise.
33417         * benchtests/bench-memcmp-ifunc.c: Likewise.
33418         * benchtests/bench-memcpy-ifunc.c: Likewise.
33419         * benchtests/bench-memmem-ifunc.c: Likewise.
33420         * benchtests/bench-memmove-ifunc.c: Likewise.
33421         * benchtests/bench-mempcpy-ifunc.c: Likewise.
33422         * benchtests/bench-memrchr-ifunc.c: Likewise.
33423         * benchtests/bench-memset-ifunc.c: Likewise.
33424         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
33425         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
33426         * benchtests/bench-stpcpy-ifunc.c: Likewise.
33427         * benchtests/bench-stpncpy-ifunc.c: Likewise.
33428         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
33429         * benchtests/bench-strcasestr-ifunc.c: Likewise.
33430         * benchtests/bench-strcat-ifunc.c: Likewise.
33431         * benchtests/bench-strchr-ifunc.c: Likewise.
33432         * benchtests/bench-strchrnul-ifunc.c: Likewise.
33433         * benchtests/bench-strcmp-ifunc.c: Likewise.
33434         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
33435         * benchtests/bench-strcpy-ifunc.c: Likewise.
33436         * benchtests/bench-strcspn-ifunc.c: Likewise.
33437         * benchtests/bench-strlen-ifunc.c: Likewise.
33438         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
33439         * benchtests/bench-strncat-ifunc.c: Likewise.
33440         * benchtests/bench-strncmp-ifunc.c: Likewise.
33441         * benchtests/bench-strncpy-ifunc.c: Likewise.
33442         * benchtests/bench-strnlen-ifunc.c: Likewise.
33443         * benchtests/bench-strpbrk-ifunc.c: Likewise.
33444         * benchtests/bench-strrchr-ifunc.c: Likewise.
33445         * benchtests/bench-strsep-ifunc.c: Likewise.
33446         * benchtests/bench-strspn-ifunc.c: Likewise.
33447         * benchtests/bench-strstr-ifunc.c: Likewise.
33449 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
33451         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
33453 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
33455         * resolv/netdb.h: Use __glibc_reserved instead __unused.
33456         * rt/aio.h: Likewise.
33457         * sysdeps/gnu/bits/utmp.h: Likewise.
33458         * sysdeps/gnu/bits/utmpx.h: Likewise.
33459         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
33460         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
33461         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
33462         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
33463         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
33464         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
33465         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
33466         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
33467         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
33468         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
33469         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
33470         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
33471         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
33472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
33473         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
33474         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
33475         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
33476         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
33477         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
33478         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
33479         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
33480         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
33481         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
33482         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
33483         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
33484         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33485         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
33486         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
33487         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
33488         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
33489         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
33490         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
33491         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
33492         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
33493         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
33494         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
33495         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
33496         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
33497         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
33498         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
33499         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
33500         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
33502 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
33504         [BZ #16245]
33505         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
33506         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
33508 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
33510         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
33511         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
33512         Likewise.
33514 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33516         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
33517         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
33518         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
33519         (__fesetround): Remove define.
33520         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
33521         rounding and exceptions handling.
33522         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
33523         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
33524         (__fe_nomask_env): Likewise.
33525         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
33526         __fegetround instead of fegetround.
33527         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
33528         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
33530 2013-11-21  Roland McGrath  <roland@hack.frob.com>
33532         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
33533         it's there.
33535         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
33537 2013-11-21  Meador Inge  <meadori@codesourcery.com>
33539         [BZ #11157]
33540         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
33541         (encrypt_r): Likewise.
33542         * malloc/obstack.h (obstack_free): Likewise.
33543         * posix/unistd.h (encrypt): Likewise.
33545 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
33547         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
33548         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
33549         DL_CALL_DT_FINI() that call the functions directly.
33550         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
33551         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
33552         * elf/dl-fini.c: Likewise.
33554 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
33556         * malloc/hooks.c (memalign_check): Add alignment rounding.
33557         * malloc/malloc.c (_mid_memalign): New function.
33558         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
33559         Implement by calling _mid_memalign.
33560         * manual/probes.texi (Memory Allocation Probes): Remove
33561         memory_valloc_retry and memory_pvalloc_retry.
33563 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
33565         * locale/programs/locarchive.c (open_archive): Add const
33566         qualifier to ARCHIVEFNAME and copy default fname to
33567         DEFAULT_FNAME.
33569         [BZ #15601]
33570         * libio/tst-widetext.input: Rename Oriya to Odia.
33571         * locale/iso-639.def: Likewise.
33573         * manual/probes.texi (Mathematical Function Probes): Add
33574         documentation for sin, cos, asin and acos probes.
33575         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
33576         (__sin32): Add slowasin probe.
33577         (__cos32): Add slowacos probe.
33578         (__mpsin): Add slowsin probe.
33579         (__mpcos): Add slowcos probe.
33581 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
33583         [BZ #15483]
33584         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
33585         thread-local __sim_exceptions_thread and global
33586         __sim_exceptions_global.
33587         (__sim_disabled_exceptions): Change to thread-local
33588         __sim_disabled_exceptions_thread and global
33589         __sim_disabled_exceptions_global.
33590         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
33591         and global __sim_round_mode_global.
33592         (__simulate_exceptions): Use thread-local floating-point state and
33593         set global state from it as needed.
33594         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
33595         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
33596         __sim_round_mode_thread.
33597         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
33598         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
33599         and global __sim_exceptions_global.
33600         (__sim_disabled_exceptions): Change to thread-local
33601         __sim_disabled_exceptions_thread and global
33602         __sim_disabled_exceptions_global.
33603         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
33604         and global __sim_round_mode_global.
33605         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
33606         (SIM_SET_GLOBAL): Likewise.
33607         * sysdeps/powerpc/soft-fp/sfp-machine.h
33608         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
33609         __sim_round_mode_thread.
33610         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
33611         __sim_disabled_exceptions_thread.
33612         (__sim_exceptions): Change to __sim_exceptions_thread.
33613         (__sim_disabled_exceptions): Change to
33614         __sim_disabled_exceptions_thread.
33615         (__sim_round_mode): Change to __sim_round_mode_thread.
33616         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
33617         thread-local floating-point state and set global state from it as
33618         needed.
33619         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
33620         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
33621         (__sim_disabled_exceptions): Remove extern declaration.
33622         (feenableexcept): Use thread-local floating-point state and set
33623         global state from it as needed.
33624         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
33625         extern declaration.
33626         (__sim_disabled_exceptions): Likewise.
33627         (__sim_round_mode): Likewise.
33628         (__fegetenv): Use thread-local floating-point state.
33629         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
33630         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
33631         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
33632         floating-point state and set global state from it as needed.
33633         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
33634         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
33635         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
33636         Likewise.
33637         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
33638         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
33639         Likewise.
33640         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
33641         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
33642         Use __sim_round_mode_thread.
33643         * math/test-fenv-tls.c: New file.
33644         * math/Makefile (tests): Add test-fenv-tls.
33645         ($(objpfx)test-fenv-tls): Depend on
33646         $(common-objpfx)nptl/libpthread.so.
33648 2013-11-19  Andreas Schwab  <schwab@suse.de>
33650         * locale/programs/locale.c (show_info): Decode wordarray elements.
33651         * locale/categories.def (LC_MONETARY): Add element for
33652         _NL_MONETARY_CRNCYSTR.
33653         * locale/C-monetary.c (conversion_rate): New variable.
33654         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
33655         element.
33657 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
33659         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
33660         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
33662 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
33664         * elf/Makefile (tst-auxv): New test.
33665         * elf/tst-auxv.c: New
33666         * elf/rtld.c (dl_main): Adjust AT_EXECFN
33668 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
33670         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
33671         (hidden_proto): Caller changed.
33672         (hidden_tls_proto): New macro.
33673         (libc_hidden_tls_proto): Likewise.
33674         (rtld_hidden_tls_proto): Likewise.
33675         (libm_hidden_tls_proto): Likewise.
33676         (libresolv_hidden_tls_proto): Likewise.
33677         (librt_hidden_tls_proto): Likewise.
33678         (libdl_hidden_tls_proto): Likewise.
33679         (libnss_files_hidden_tls_proto): Likewise.
33680         (libnsl_hidden_tls_proto): Likewise.
33681         (libnss_nisplus_hidden_tls_proto): Likewise.
33682         (libutil_hidden_tls_proto): Likewise.
33684 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
33686         [BZ #10253]
33687         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
33688         (decompose_rpath): Defer expansion to fillin_rpath.
33689         (_dl_init_paths): Pass linkmap to fillin_rpath.
33691 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33693         * benchtests/Makefile: Add strsep.
33694         * benchtests/bench-strsep.c: New file: strsep benchtest.
33695         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
33697 2013-11-18  Andreas Schwab  <schwab@suse.de>
33699         * locale/programs/locale.c (show_info) [case byte]: Check for
33700         '\377' instead of '\177'.
33701         * locale/C-monetary.c (not_available): Always use "\377".
33702         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
33703         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
33704         detect unavailable sign_posn locale elements.
33705         * locale/localeconv.c (__localeconv): For grouping and
33706         mon_grouping handle "\177" and "\377" like no grouping.
33707         (INT_ELEM): New macro.  Use it to set all numeric members.
33708         * locale/programs/ld-monetary.c (monetary_read)
33709         <tok_mon_grouping>: Normalize single -1 to the empty string.
33710         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
33711         Likewise.
33713 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
33715         [BZ #16055]
33716         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
33717         when we match (nil).
33718         * stdio-common/tst-sscanf.c (struct test): Add testcase.
33720 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
33722         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
33723         (NO_TEST_INLINE): Update value.
33724         (ERRNO_UNCHANGED): Likewise.
33725         (ERRNO_EDOM): Likewise.
33726         (ERRNO_ERANGE): Likewise.
33727         (IGNORE_RESULT): Likewise.
33728         (check_float_internal): Check signs of NaN results if
33729         TEST_NAN_SIGN used.
33730         (check_complex): Pass TEST_NAN_SIGN flag through to second
33731         check_float_internal call.
33732         (copysign_test_data): Add tests with quiet NaNs as second
33733         argument.  Use TEST_NAN_SIGN.
33734         (fabs_test_data): Add test of negative quiet NaN argument.  Use
33735         TEST_NAN_SIGN.
33736         (signbit_test_data): Add tests of quiet NaN argument.
33737         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
33739         * math/gen-libm-test.pl (show_exceptions): Take extra argument
33740         $ignore_result.
33741         (parse_args): Handle function results specified as IGNORE.
33742         * math/libm-test.inc (IGNORE_RESULT): New macro.
33743         (check_float_internal): Do not check numerical result if flag
33744         IGNORE_RESULT set.
33745         (check_complex): Pass through IGNORE_RESULT to second
33746         check_float_internal call.
33747         (check_int): Do not check numerical result if flag IGNORE_RESULT
33748         set.
33749         (check_long): Likewise.
33750         (check_bool): Likewise.
33751         (check_longlong): Likewise.
33752         (lrint_test_data): Add tests of infinite and NaN arguments.
33753         (lrint_tonearest_test_data): Likewise.
33754         (lrint_towardzero_test_data): Likewise.
33755         (lrint_downward_test_data): Likewise.
33756         (lrint_upward_test_data): Likewise.
33757         (llrint_test_data): Likewise.
33758         (llrint_tonearest_test_data): Likewise.
33759         (llrint_towardzero_test_data): Likewise.
33760         (llrint_downward_test_data): Likewise.
33761         (llrint_upward_test_data): Likewise.
33762         (lround_test_data): Likewise.
33763         (llround_test_data): Likewise.
33765         * math/libm-test.inc (NO_TEST_INLINE): New macro.
33766         (ERRNO_UNCHANGED): Update value.
33767         (ERRNO_EDOM): Likewise.
33768         (ERRNO_ERANGE): Likewise.
33769         (NO_TEST_INLINE_FLOAT): New macro.
33770         (NO_TEST_INLINE_DOUBLE): Likewise.
33771         (enable_test): New function.
33772         (RUN_TEST_f_f): Check enable_test before running test.
33773         (RUN_TEST_2_f): Likewise.
33774         (RUN_TEST_fff_f): Likewise.
33775         (RUN_TEST_c_f): Likewise.
33776         (RUN_TEST_f_f1): Likewise.
33777         (RUN_TEST_fF_f1): Likewise.
33778         (RUN_TEST_fI_f1): Likewise.
33779         (RUN_TEST_ffI_f1): Likewise.
33780         (RUN_TEST_c_c): Likewise.
33781         (RUN_TEST_cc_c): Likewise.
33782         (RUN_TEST_f_i): Likewise.
33783         (RUN_TEST_f_i_tg): Likewise.
33784         (RUN_TEST_ff_i_tg): Likewise.
33785         (RUN_TEST_f_b): Likewise.
33786         (RUN_TEST_f_b_tg): Likewise.
33787         (RUN_TEST_f_l): Likewise.
33788         (RUN_TEST_f_L): Likewise.
33789         (RUN_TEST_fFF_11): Likewise.
33790         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
33791         conditionals.
33792         (cosh_test_data): Likewise.
33793         (exp_test_data): Likewise.
33794         (expm1_test_data): Likewise.
33795         (hypot_test_data): Likewise.
33796         (pow_test_data): Likewise.
33797         (sinh_test_data): Likewise.
33798         (tanh_test_data): Likewise.
33799         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
33800         flags argument.
33802         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
33803         tests with quiet NaN input and output.
33804         (acosh_test_data): Likewise.
33805         (asin_test_data): Likewise.
33806         (asinh_test_data): Likewise.
33807         (atan_test_data): Likewise.
33808         (atanh_test_data): Likewise.
33809         (atan2_test_data): Likewise.
33810         (cbrt_test_data): Likewise.
33811         (cos_test_data): Likewise.
33812         (cosh_test_data): Likewise.
33813         (erf_test_data): Likewise.
33814         (erfc_test_data): Likewise.
33815         (exp_test_data): Likewise.
33816         (exp10_test_data): Likewise.
33817         (exp2_test_data): Likewise.
33818         (expm1_test_data): Likewise.
33819         (hypot_test_data): Likewise.
33820         (j0_test_data): Likewise.
33821         (j1_test_data): Likewise.
33822         (jn_test_data): Likewise.
33823         (lgamma_test_data): Likewise.
33824         (log_test_data): Likewise.
33825         (log10_test_data): Likewise.
33826         (log1p_test_data): Likewise.
33827         (log2_test_data): Likewise.
33828         (pow_test_data): Likewise.
33829         (scalb_test_data): Likewise.
33830         (sin_test_data): Likewise.
33831         (sincos_test_data): Likewise.
33832         (sinh_test_data): Likewise.
33833         (tan_test_data): Likewise.
33834         (tanh_test_data): Likewise.
33835         (tgamma_test_data): Likewise.
33836         (y0_test_data): Likewise.
33837         (y1_test_data): Likewise.
33838         (yn_test_data): Likewise.
33840         [BZ #16167]
33841         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
33842         argument being NaN and avoid computations with second argument in
33843         that case.
33844         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
33845         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
33846         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
33848 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
33850         * locale/iso-639.def: Add Chitwani Tharu (the).
33852 2013-11-14  Andreas Schwab  <schwab@suse.de>
33854         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
33855         word instead of empty string.
33857 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
33860         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
33861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
33862         (__fe_nomask_env): Likewise.
33864 2013-11-13  Steve Ellcey  <sellcey@mips.com>
33866         * benchtests/bench-timing.h: Include time.h.
33868 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
33870         [BZ #15997]
33871         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
33872         to 3.4.0 for x32.
33873         * sysdeps/unix/sysv/linux/configure: Regenerated.
33875 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
33877         [BZ #16151]
33878         * stdlib/strtod_l.c (round_and_return): Do not consider
33879         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
33880         exponent one less than half the least subnormal exponent.
33881         * stdlib/test-strtod-round-data: Add more tests.
33882         * stdlib/tst-strtod-round.c (tests): Regenerated.
33884 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33886         [BZ #14143]
33887         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
33888         (__fe_mask_env): Likewise.
33889         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
33890         libm_hidden_proto and add function prototype.
33891         (__fe_mask_env): Add function prototype.
33892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
33893         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
33894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
33895         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
33896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
33897         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
33899 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33901         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
33902         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
33904 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33906         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
33907         of htab_find_slot().
33909 2013-11-11  David S. Miller  <davem@davemloft.net>
33911         [BZ #16150]
33912         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
33913         symbol in the non-vis3 case in static builds.
33914         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
33915         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
33916         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
33917         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
33919 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
33921         [BZ #387]
33922         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
33923         it is empty.
33925 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33927         * benchtests/Makefile: Add bench-strtod.
33928         * benchtests/bench-strtod.c: New file: strtod benchtest
33930 2013-11-11  Andreas Schwab  <schwab@suse.de>
33932         [BZ #16153]
33933         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
33934         terminating NUL in key length.
33936 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33938         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
33939         Add artificial ODP entry for vDSO symbol for PPC64.
33940         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
33941         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
33943 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
33945         [BZ #15374]
33946         * nss/getent.c (services_keys): Recognize services starting with digit.
33948 2013-11-06  David S. Miller  <davem@davemloft.net>
33950         [BZ #15985]
33951         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
33952         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
33954 2013-11-06  Will Newton  <will.newton@linaro.org>
33956         * manual/memory.texi (Malloc Examples): Remove register
33957         keyword from examples.
33959 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
33961         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
33963 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
33965         [BZ #6981]
33966         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
33967         depending on [__GCC_IEC_559 > 0].
33968         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
33969         depending on [__GCC_IEC_559_COMPLEX > 0].
33971 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
33973         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
33974         to iso-639.def.
33976 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
33978         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
33980 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
33982         [BZ #16112]
33983         * malloc/malloc (malloc_info): Do not handle first bin as
33984         special case.
33986 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
33988         * locale/iso-639.def: Add Central Nahuatl (nhn).
33990 2013-11-01  Bruno Haible  <bruno@clisp.org>
33992         [BZ #7003]
33993         * manual/math.texi (BSD Random): Specify range upper bound as
33994         in POSIX.
33996 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
33998         * locale/iso-639.def: Add Meadow Mari (mhr).
34000 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
34002         [BZ #14752], [BZ #15763]
34003         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
34004         Validate name.
34005         * rt/tst_shm.c: Add test for escaping directory.
34007 2013-10-31  Andreas Schwab  <schwab@suse.de>
34009         [BZ #15917]
34010         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
34011         followed by 'x' as part of digit sequence.
34012         * stdio-common/tst-sscanf.c (double_tests2): New tests.
34014 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
34016         [BZ #16037]
34017         * configure.ac: allow GNU Make 4.0 and greater.
34018         * configure: Regenerated.
34020 2013-10-30  Will Newton  <will.newton@linaro.org>
34022         [BZ #16038]
34023         * malloc/hooks.c (memalign_check): Limit alignment to the
34024         maximum representable power of two.
34025         * malloc/malloc.c (__libc_memalign): Likewise.
34026         * malloc/tst-memalign.c (do_test): Add test for very
34027         large alignment values.
34028         * malloc/tst-posix_memalign.c (do_test): Likewise.
34030 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
34032         [BZ #11087]
34033         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
34034         (munmap_chunk): Likewise.
34035         (mremap_chunk): Likewise.
34037 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
34039         [BZ #15799]
34040         * stdlib/div.c (div): Remove obsolete code.
34041         * stdlib/ldiv.c (ldiv): Likewise.
34042         * stdlib/lldiv.c (lldiv): Likewise.
34044 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34046         [BZ #16071]
34047         * nss/nss_files/files-XXX.c (get_contents_ret): New
34048         enumerator.
34049         (get_contents): New function.
34050         (internal_getent): Use it.  Expand size of LINEBUFLEN.
34052 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
34054         * configure.in: Moved to ...
34055         * configure.ac: ... here. Change reference to configure.in
34056         to configure.ac.
34057         * sysdeps/arm/preconfigure.ac: ... here.
34058         configure.in to configure.ac.
34059         * sysdeps/gnu/configure.in: Moved to ...
34060         * sysdeps/gnu/configure.ac: ... here.
34061         * sysdeps/i386/configure.in: Moved to ...
34062         * sysdeps/i386/configure.ac: ... here.
34063         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
34064         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
34065         * sysdeps/mach/configure.in: Moved to ...
34066         * sysdeps/mach/configure.ac: ... here.
34067         * sysdeps/mach/hurd/configure.in: Moved to ...
34068         * sysdeps/mach/hurd/configure.ac: ... here.
34069         * sysdeps/powerpc/configure.in: Moved to ...
34070         * sysdeps/powerpc/configure.ac: ... here.
34071         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
34072         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
34073         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
34074         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
34075         * sysdeps/s390/s390-32/configure.in: Moved to ...
34076         * sysdeps/s390/s390-32/configure.ac: ... here.
34077         * sysdeps/s390/s390-64/configure.in: Moved to ...
34078         * sysdeps/s390/s390-64/configure.ac: ... here.
34079         * sysdeps/sh/configure.in: Moved to ...
34080         * sysdeps/sh/configure.ac: ... here.
34081         * sysdeps/sparc/configure.in: Moved to ...
34082         * sysdeps/sparc/configure.ac: ... here.
34083         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
34084         * sysdeps/unix/sysv/linux/configure.ac: ... here.
34085         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
34086         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
34087         * sysdeps/x86_64/configure.in: Moved to ...
34088         * sysdeps/x86_64/configure.ac: ... here.
34089         * sysdeps/x86_64/preconfigure.in: Moved to ...
34090         * sysdeps/x86_64/preconfigure.ac: ... here.
34091         * aclocal.m4: Change reference to configure.in to configure.ac.
34092         * config.h.in: Likewise.
34093         * manual/install.texi: Likewise.
34094         * manual/maint.texi: Likewise.
34095         * Makefile: Likewise.
34096         * malloc/Makefile: Likewise.
34097         * nscd/Makefile: Likewise.
34098         * Makeconfig: Change reference to configure.in and
34099         preconfigure.in to configure.ac and preconfigure.ac
34100         respectively.
34101         * INSTALL: Regenerated.
34102         * configure: Likewise.
34103         * sysdeps/gnu/configure: Likewise.
34104         * sysdeps/i386/configure: Likewise.
34105         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
34106         * sysdeps/mach/configure: Likewise.
34107         * sysdeps/mach/hurd/configure: Likewise.
34108         * sysdeps/powerpc/configure: Likewise.
34109         * sysdeps/powerpc/powerpc32/configure: Likewise.
34110         * sysdeps/powerpc/powerpc64/configure: Likewise.
34111         * sysdeps/s390/s390-32/configure: Likewise.
34112         * sysdeps/s390/s390-64/configure: Likewise.
34113         * sysdeps/sh/configure: Likewise.
34114         * sysdeps/sparc/configure: Likewise.
34115         * sysdeps/unix/sysv/linux/configure: Likewise.
34116         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
34117         * sysdeps/x86_64/configure: Likewise.
34118         * sysdeps/x86_64/preconfigure: Likewise.
34120 2013-10-29  Andreas Schwab  <schwab@suse.de>
34122         * stdio-common/Makefile (tst-swscanf-ENV): Define.
34124 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34126         * benchtests/pow-inputs: Add new inputs.
34128         * benchtests/exp-inputs: Add new inputs.
34130         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
34131         conditional check for return value.
34132         (__cos32): Likewise.
34134 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34136         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
34137         to provide a boost for large inputs with word alignment.
34138         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
34139         implementation based on optimized PPC64 strcpy.
34140         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
34141         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
34142         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
34143         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
34145 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
34147         [BZ #2801]
34148         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
34150 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
34152         [BZ #14876]
34153         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
34154         * time/tst-strptime.c (day_tests): Add testcase.
34156 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
34158         [BZ #14029]
34159         * manual/pattern.texi: Acknowledge that fnmatch can fail.
34161 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
34163         [BZ #16074]
34164         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
34165         MAP_FAILED on error.
34167 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
34169         [BZ #16072]
34170         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
34171         heap for large requests.
34173 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
34175         [BZ #9954]
34176         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
34177         result if the result has no associated interface.
34178         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
34179         interface for all 127.X.Y.Z addresses.
34181 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
34183         * locale/iso-639.def: Add Ligurian (lij)
34185 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
34187         [BZ #15825]
34188         * sunrpc/rpc_main.c: Document rpcgen -5.
34190 2013-10-19  Michael Stahl  <mstahl@redhat.com>
34192         * elf/rtld.c (do_preload): Print the reason why preloading failed.
34194 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
34196         [BZ #10278]
34197         * posix/glob.c: Match only directories when trailing slash is present.
34198         * posix/tst-gnuglob.c (my_opendir): Do not open files.
34199         (main): Add testcase.
34201 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
34203         [BZ #15670]
34204         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
34206 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
34208         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
34209         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
34210         AUTH_DES and cindex for FIPS 140-2.
34211         (DES Encryption): Add cindex FIPS 46-3.
34213         * locale/locarchive.h (struct locarhandle): Add fname.
34214         * locale/programs/localedef.c (main): Pass ARGV[remaining]
34215         if an optional argument was specified to --list-archive,
34216         otherwise NULL.
34217         * locale/programs/locarchive.c (show_archive_content): Take new
34218         argument fname and pass it via ah.fname to open_archive.
34219         * locale/programs/localedef.h: Update decl.
34220         (open_archive): If AH->fname is non-null, open that file
34221         rather than the default file name, and don't ignore ENOENT.
34222         (create_archive): Set AH.fname to NULL.
34223         (delete_locales_from_archive): Likewise.
34224         (add_locales_to_archive): Likewise.
34225         * locale/programs/locfile.c (write_all_categories): Likewise.
34227 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
34228             Aldy Hernandez  <aldyh@redhat.com>
34230         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
34231         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
34232         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
34233         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
34234         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
34235         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
34236         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
34237         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
34238         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
34239         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
34240         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
34241         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
34242         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
34243         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
34244         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
34245         Likewise.
34246         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
34247         Likewise.
34248         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
34249         Likewise.
34250         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
34251         Likewise.
34252         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
34253         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
34254         Likewise.
34255         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
34256         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
34257         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
34258         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
34259         Likewise.
34260         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
34261         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
34262         * sysdeps/powerpc/preconfigure: Likewise.
34263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
34264         Likewise.
34265         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
34266         Replace contents of file by #include of <fenv_libc.h>.
34267         * sysdeps/powerpc/soft-fp/sfp-machine.h
34268         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
34269         and <sys/prctl.h>.
34270         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
34271         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
34272         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
34273         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
34274         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
34275         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
34276         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
34277         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
34278         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
34279         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
34280         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
34281         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
34282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
34283         Allow copysignl PLT reference to be missing.
34285 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
34286             Joseph Myers  <joseph@codesourcery.com
34288         [BZ #15948]
34289         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
34290         single character.
34291         (add_to_tablewc): Assert sequence of wide characters is nonempty.
34293 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
34295         * elf/tst-tls-dlinfo.c: Don't include tls.h.
34296         * elf/tst-tls1.c: Likewise.
34297         * elf/tst-tls10.h: Likewise.
34298         * elf/tst-tls14.c: Likewise.
34299         * elf/tst-tls2.c: Likewise.
34300         * elf/tst-tls3.c: Likewise.
34301         * elf/tst-tls4.c: Likewise.
34302         * elf/tst-tls5.c: Likewise.
34303         * elf/tst-tls6.c: Likewise.
34304         * elf/tst-tls7.c: Likewise.
34305         * elf/tst-tls8.c: Likewise.
34306         * elf/tst-tls9.c: Likewise.
34307         * elf/tst-tlsmod1.c: Likewise.
34308         * elf/tst-tlsmod13.c: Likewise.
34309         * elf/tst-tlsmod13a.c: Likewise.
34310         * elf/tst-tlsmod14a.c: Likewise.
34311         * elf/tst-tlsmod16a.c: Likewise.
34312         * elf/tst-tlsmod16b.c: Likewise.
34313         * elf/tst-tlsmod2.c: Likewise.
34314         * elf/tst-tlsmod3.c: Likewise.
34315         * elf/tst-tlsmod4.c: Likewise.
34316         * elf/tst-tlsmod5.c: Likewise.
34317         * elf/tst-tlsmod6.c: Likewise.
34319 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
34321         [BZ #12486]
34322         * malloc/malloc.c: remove checks for statistics.
34324 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
34326         [BZ #15277]
34327         * inet/inet_net.c (inet_network): Detect additional invalid strings.
34328         * inet/tst-network.c: Add testcase.
34330 2013-10-17  Andreas Schwab  <schwab@suse.de>
34332         [BZ #15218]
34333         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
34334         to determine canonical name.
34336 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
34338         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
34339         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
34340         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34341         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34342         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34343         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34344         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34345         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34346         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
34347         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34348         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
34349         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34350         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34351         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34352         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34353         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34354         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34355         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34356         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
34357         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34358         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34359         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34360         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34361         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
34362         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
34363         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34364         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34365         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
34366         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34367         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
34368         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34369         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34370         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
34371         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34372         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
34373         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34374         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34375         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
34376         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
34377         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34378         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
34379         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
34380         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
34381         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
34382         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
34383         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34384         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
34385         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
34386         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
34387         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
34388         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
34389         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34390         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
34391         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
34392         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34393         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
34394         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34395         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
34397 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
34399         [BZ #16041]
34400         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
34401         make result into a quiet NaN.
34403 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
34405         * soft-fp/adddf3.c: Fix horizontal whitespace.
34406         * soft-fp/addsf3.c: Likewise.
34407         * soft-fp/addtf3.c: Likewise.
34408         * soft-fp/divdf3.c: Likewise.
34409         * soft-fp/divsf3.c: Likewise.
34410         * soft-fp/divtf3.c: Likewise.
34411         * soft-fp/double.h: Likewise.
34412         * soft-fp/eqdf2.c: Likewise.
34413         * soft-fp/eqsf2.c: Likewise.
34414         * soft-fp/eqtf2.c: Likewise.
34415         * soft-fp/extenddftf2.c: Likewise.
34416         * soft-fp/extended.h: Likewise.
34417         * soft-fp/extendsfdf2.c: Likewise.
34418         * soft-fp/extendsftf2.c: Likewise.
34419         * soft-fp/extendxftf2.c: Likewise.
34420         * soft-fp/fixdfdi.c: Likewise.
34421         * soft-fp/fixdfsi.c: Likewise.
34422         * soft-fp/fixdfti.c: Likewise.
34423         * soft-fp/fixsfdi.c: Likewise.
34424         * soft-fp/fixsfsi.c: Likewise.
34425         * soft-fp/fixsfti.c: Likewise.
34426         * soft-fp/fixtfdi.c: Likewise.
34427         * soft-fp/fixtfsi.c: Likewise.
34428         * soft-fp/fixtfti.c: Likewise.
34429         * soft-fp/fixunsdfdi.c: Likewise.
34430         * soft-fp/fixunsdfsi.c: Likewise.
34431         * soft-fp/fixunsdfti.c: Likewise.
34432         * soft-fp/fixunssfdi.c: Likewise.
34433         * soft-fp/fixunssfsi.c: Likewise.
34434         * soft-fp/fixunssfti.c: Likewise.
34435         * soft-fp/fixunstfdi.c: Likewise.
34436         * soft-fp/fixunstfsi.c: Likewise.
34437         * soft-fp/fixunstfti.c: Likewise.
34438         * soft-fp/floatdidf.c: Likewise.
34439         * soft-fp/floatdisf.c: Likewise.
34440         * soft-fp/floatditf.c: Likewise.
34441         * soft-fp/floatsidf.c: Likewise.
34442         * soft-fp/floatsisf.c: Likewise.
34443         * soft-fp/floatsitf.c: Likewise.
34444         * soft-fp/floattidf.c: Likewise.
34445         * soft-fp/floattisf.c: Likewise.
34446         * soft-fp/floattitf.c: Likewise.
34447         * soft-fp/floatundidf.c: Likewise.
34448         * soft-fp/floatundisf.c: Likewise.
34449         * soft-fp/floatunditf.c: Likewise.
34450         * soft-fp/floatunsidf.c: Likewise.
34451         * soft-fp/floatunsisf.c: Likewise.
34452         * soft-fp/floatunsitf.c: Likewise.
34453         * soft-fp/floatuntidf.c: Likewise.
34454         * soft-fp/floatuntisf.c: Likewise.
34455         * soft-fp/floatuntitf.c: Likewise.
34456         * soft-fp/fmadf4.c: Likewise.
34457         * soft-fp/fmasf4.c: Likewise.
34458         * soft-fp/fmatf4.c: Likewise.
34459         * soft-fp/gedf2.c: Likewise.
34460         * soft-fp/gesf2.c: Likewise.
34461         * soft-fp/getf2.c: Likewise.
34462         * soft-fp/ledf2.c: Likewise.
34463         * soft-fp/lesf2.c: Likewise.
34464         * soft-fp/letf2.c: Likewise.
34465         * soft-fp/muldf3.c: Likewise.
34466         * soft-fp/mulsf3.c: Likewise.
34467         * soft-fp/multf3.c: Likewise.
34468         * soft-fp/negdf2.c: Likewise.
34469         * soft-fp/negsf2.c: Likewise.
34470         * soft-fp/negtf2.c: Likewise.
34471         * soft-fp/op-1.h: Likewise.
34472         * soft-fp/op-2.h: Likewise.
34473         * soft-fp/op-4.h: Likewise.
34474         * soft-fp/op-8.h: Likewise.
34475         * soft-fp/op-common.h: Likewise.
34476         * soft-fp/quad.h: Likewise.
34477         * soft-fp/single.h: Likewise.
34478         * soft-fp/soft-fp.h: Likewise.
34479         * soft-fp/sqrtdf2.c: Likewise.
34480         * soft-fp/sqrtsf2.c: Likewise.
34481         * soft-fp/sqrttf2.c: Likewise.
34482         * soft-fp/subdf3.c: Likewise.
34483         * soft-fp/subsf3.c: Likewise.
34484         * soft-fp/subtf3.c: Likewise.
34485         * soft-fp/truncdfsf2.c: Likewise.
34486         * soft-fp/trunctfdf2.c: Likewise.
34487         * soft-fp/trunctfsf2.c: Likewise.
34488         * soft-fp/trunctfxf2.c: Likewise.
34489         * soft-fp/unorddf2.c: Likewise.
34490         * soft-fp/unordsf2.c: Likewise.
34491         * soft-fp/unordtf2.c: Likewise.
34493 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
34495         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
34496         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
34498 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
34500         * elf/dl-libc.c: Clear initfini list after freeing.
34502 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
34504         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
34505         * soft-fp/addsf3.c: Likewise.
34506         * soft-fp/addtf3.c: Likewise.
34507         * soft-fp/divdf3.c: Likewise.
34508         * soft-fp/divsf3.c: Likewise.
34509         * soft-fp/divtf3.c: Likewise.
34510         * soft-fp/double.h: Likewise.
34511         * soft-fp/eqdf2.c: Likewise.
34512         * soft-fp/eqsf2.c: Likewise.
34513         * soft-fp/eqtf2.c: Likewise.
34514         * soft-fp/extenddftf2.c: Likewise.
34515         * soft-fp/extended.h: Likewise.
34516         * soft-fp/extendsfdf2.c: Likewise.
34517         * soft-fp/extendsftf2.c: Likewise.
34518         * soft-fp/extendxftf2.c: Likewise.
34519         * soft-fp/fixdfdi.c: Likewise.
34520         * soft-fp/fixdfsi.c: Likewise.
34521         * soft-fp/fixdfti.c: Likewise.
34522         * soft-fp/fixsfdi.c: Likewise.
34523         * soft-fp/fixsfsi.c: Likewise.
34524         * soft-fp/fixsfti.c: Likewise.
34525         * soft-fp/fixtfdi.c: Likewise.
34526         * soft-fp/fixtfsi.c: Likewise.
34527         * soft-fp/fixtfti.c: Likewise.
34528         * soft-fp/fixunsdfdi.c: Likewise.
34529         * soft-fp/fixunsdfsi.c: Likewise.
34530         * soft-fp/fixunsdfti.c: Likewise.
34531         * soft-fp/fixunssfdi.c: Likewise.
34532         * soft-fp/fixunssfsi.c: Likewise.
34533         * soft-fp/fixunssfti.c: Likewise.
34534         * soft-fp/fixunstfdi.c: Likewise.
34535         * soft-fp/fixunstfsi.c: Likewise.
34536         * soft-fp/fixunstfti.c: Likewise.
34537         * soft-fp/floatdidf.c: Likewise.
34538         * soft-fp/floatdisf.c: Likewise.
34539         * soft-fp/floatditf.c: Likewise.
34540         * soft-fp/floatsidf.c: Likewise.
34541         * soft-fp/floatsisf.c: Likewise.
34542         * soft-fp/floatsitf.c: Likewise.
34543         * soft-fp/floattidf.c: Likewise.
34544         * soft-fp/floattisf.c: Likewise.
34545         * soft-fp/floattitf.c: Likewise.
34546         * soft-fp/floatundidf.c: Likewise.
34547         * soft-fp/floatundisf.c: Likewise.
34548         * soft-fp/floatunsidf.c: Likewise.
34549         * soft-fp/floatunsisf.c: Likewise.
34550         * soft-fp/floatuntidf.c: Likewise.
34551         * soft-fp/floatuntisf.c: Likewise.
34552         * soft-fp/floatuntitf.c: Likewise.
34553         * soft-fp/fmadf4.c: Likewise.
34554         * soft-fp/fmasf4.c: Likewise.
34555         * soft-fp/fmatf4.c: Likewise.
34556         * soft-fp/gedf2.c: Likewise.
34557         * soft-fp/gesf2.c: Likewise.
34558         * soft-fp/getf2.c: Likewise.
34559         * soft-fp/ledf2.c: Likewise.
34560         * soft-fp/lesf2.c: Likewise.
34561         * soft-fp/letf2.c: Likewise.
34562         * soft-fp/muldf3.c: Likewise.
34563         * soft-fp/mulsf3.c: Likewise.
34564         * soft-fp/multf3.c: Likewise.
34565         * soft-fp/negdf2.c: Likewise.
34566         * soft-fp/negsf2.c: Likewise.
34567         * soft-fp/negtf2.c: Likewise.
34568         * soft-fp/op-1.h: Likewise.
34569         * soft-fp/op-2.h: Likewise.
34570         * soft-fp/op-4.h: Likewise.
34571         * soft-fp/op-8.h: Likewise.
34572         * soft-fp/op-common.h: Likewise.
34573         * soft-fp/quad.h: Likewise.
34574         * soft-fp/single.h: Likewise.
34575         * soft-fp/soft-fp.h: Likewise.
34576         * soft-fp/sqrtdf2.c: Likewise.
34577         * soft-fp/sqrtsf2.c: Likewise.
34578         * soft-fp/sqrttf2.c: Likewise.
34579         * soft-fp/subdf3.c: Likewise.
34580         * soft-fp/subsf3.c: Likewise.
34581         * soft-fp/subtf3.c: Likewise.
34582         * soft-fp/truncdfsf2.c: Likewise.
34583         * soft-fp/trunctfdf2.c: Likewise.
34584         * soft-fp/trunctfsf2.c: Likewise.
34585         * soft-fp/trunctfxf2.c: Likewise.
34586         * soft-fp/unorddf2.c: Likewise.
34587         * soft-fp/unordsf2.c: Likewise.
34588         * soft-fp/unordtf2.c: Likewise.
34590 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
34592         [BZ #15672]
34593         * misc/error.c (error_tail): Fix possible buffer overflow.
34595 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
34597         [BZ #13028]
34598         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
34599         address.
34601 2013-10-14  P. J. McDermott  <pj@pehjota.net>
34603         [BZ #832]
34604         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
34605         testing pipefail option.
34607 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
34609         * soft-fp/double.h: Indent preprocessor directives inside #if.
34610         * soft-fp/extended.h: Likewise.
34611         * soft-fp/op-2.h: Likewise.
34612         * soft-fp/op-4.h: Likewise.
34613         * soft-fp/op-common.h: Likewise.
34614         * soft-fp/quad.h: Likewise.
34615         * soft-fp/single.h: Likewise.
34616         * soft-fp/soft-fp.h: Likewise.
34618 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
34620         * iconv/iconv_prog.c: Fix typos.
34621         * stdio-common/psiginfo-data.h: Likewise.
34623 2013-10-12   Reuben Thomas <rrt@sc3d.org>
34625         [BZ #15764]
34626         * locale/setlocale.c: Fix typo.
34628 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
34630         [BZ #16036]
34631         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
34632         signaling NaN arguments.
34633         * soft-fp/unordsf2.c (__unordsf2): Likewise.
34634         * soft-fp/unordtf2.c (__unordtf2): Likewise.
34636         [BZ #14910]
34637         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
34638         unordered operands.
34639         * soft-fp/gesf2.c (__gesf2): Likewise.
34640         * soft-fp/getf2.c (__getf2): Likewise.
34641         * soft-fp/ledf2.c (__ledf2): Likewise.
34642         * soft-fp/lesf2.c (__lesf2): Likewise.
34643         * soft-fp/letf2.c (__letf2): Likewise.
34645         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
34646         * soft-fp/eqsf2.c (__eqsf2): Likewise.
34647         * soft-fp/eqtf2.c (__eqtf2): Likewise.
34648         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
34649         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
34650         * soft-fp/fixdfti.c (__fixdfti): Likewise.
34651         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
34652         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
34653         * soft-fp/fixsfti.c (__fixsfti): Likewise.
34654         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
34655         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
34656         * soft-fp/fixtfti.c (__fixtfti): Likewise.
34657         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
34658         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
34659         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
34660         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
34661         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
34662         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
34663         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
34664         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
34665         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
34666         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
34667         * soft-fp/floatdisf.c (__floatdisf): Likewise.
34668         * soft-fp/floatsisf.c (__floatsisf): Likewise.
34669         * soft-fp/floattidf.c (__floattidf): Likewise.
34670         * soft-fp/floattisf.c (__floattisf): Likewise.
34671         * soft-fp/floattitf.c (__floattitf): Likewise.
34672         * soft-fp/floatundidf.c (__floatundidf): Likewise.
34673         * soft-fp/floatundisf.c (__floatundisf): Likewise.
34674         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
34675         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
34676         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
34677         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
34678         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
34679         * soft-fp/gesf2.c (__gesf2): Likewise.
34680         * soft-fp/getf2.c (__getf2): Likewise.
34681         * soft-fp/ledf2.c (__ledf2): Likewise.
34682         * soft-fp/lesf2.c (__lesf2): Likewise.
34683         * soft-fp/letf2.c (__letf2): Likewise.
34685         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
34686         Undefine and redefine.
34687         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
34688         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
34689         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
34690         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
34691         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
34692         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
34693         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
34694         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
34695         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
34696         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
34697         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
34698         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
34699         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
34700         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
34701         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
34703         [BZ #16032]
34704         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
34705         without decrementing exponent if mantissa >= that for the
34706         denominator, not >.
34707         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
34708         denominator, not >.  Decrement exponent in < case instead of
34709         incrementing in >= case.
34710         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
34711         without decrementing exponent if mantissa >= that for the
34712         denominator, not >.
34714         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
34715         computing saturated result for unsigned overflow.
34717 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34718             Jeff Law  <law@redhat.com>
34720         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
34721         (atan2Mp): Add systemtap probe marker.
34722         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
34723         (__ieee754_log): Add systemtap probe marker.
34724         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
34725         (atanMp): Add systemtap probe marker.
34726         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
34727         (tanMp): Add systemtap probe marker.
34728         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
34729         (__slowexp): Add systemtap probe marker.
34730         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
34731         (__slowpow): Add systemtap probe marker.
34732         * manual/probes.texi: Document probes.
34734 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
34736         [BZ #15362]
34737         * libio/fileops.c (_IO_new_file_write): Return count of bytes
34738         written.
34739         (_IO_new_file_xsputn): Don't return EOF if nothing has been
34740         written.
34741         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
34742         written to buffer but not flushed.
34743         * libio/iofwrite_u.c:  Likewise.
34744         * libio/iopadn.c:  Return bytes returned even if EOF was
34745         encountered.
34746         * libio/iowpadn.c:  Likewise.
34747         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
34748         if _IO_padn does not write the whole buffer.
34749         [!COMPILE_WPRINTF] (PAD): Likewise.
34751 2013-10-10  David S. Miller  <davem@davemloft.net>
34753         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
34754         directory block.
34756 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
34758         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
34759         instead of FSF address.
34760         * soft-fp/fixdfti.c: Likewise.
34761         * soft-fp/fixsfti.c: Likewise.
34762         * soft-fp/fixtfti.c: Likewise.
34763         * soft-fp/fixunsdfti.c: Likewise.
34764         * soft-fp/fixunssfti.c: Likewise.
34765         * soft-fp/fixunstfti.c: Likewise.
34766         * soft-fp/floattidf.c: Likewise.
34767         * soft-fp/floattisf.c: Likewise.
34768         * soft-fp/floattitf.c: Likewise.
34769         * soft-fp/floatuntidf.c: Likewise.
34770         * soft-fp/floatuntisf.c: Likewise.
34771         * soft-fp/floatuntitf.c: Likewise.
34772         * soft-fp/trunctfxf2.c: Likewise.
34774         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
34775         * soft-fp/fixdfti.c: Likewise.
34776         * soft-fp/fixsfti.c: Likewise.
34777         * soft-fp/fixtfti.c: Likewise.
34778         * soft-fp/fixunsdfti.c: Likewise.
34779         * soft-fp/fixunssfti.c: Likewise.
34780         * soft-fp/fixunstfti.c: Likewise.
34781         * soft-fp/floattidf.c: Likewise.
34782         * soft-fp/floattisf.c: Likewise.
34783         * soft-fp/floattitf.c: Likewise.
34784         * soft-fp/floatuntidf.c: Likewise.
34785         * soft-fp/floatuntisf.c: Likewise.
34786         * soft-fp/floatuntitf.c: Likewise.
34787         * soft-fp/trunctfxf2.c: Likewise.
34789 2013-10-10  David S. Miller  <davem@davemloft.net>
34791         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34793 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
34795         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
34796         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
34797         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
34798         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
34799         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
34800         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
34801         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
34803         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
34804         for NaNs before doing comparisons on argument.
34805         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
34806         Likewise.
34808 2013-10-10  Will Newton  <will.newton@linaro.org>
34810         * malloc/hooks.c (memalign_check): Ensure the value of bytes
34811         passed to _int_memalign does not overflow.
34813 2013-10-10  Torvald Riegel  <triegel@redhat.com>
34815         * scripts/bench.pl: Add include-sources directive.
34816         * benchtests/README: Update documentation.
34818 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
34820         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
34821         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
34822         instead of FP_INIT_ROUNDMODE.
34823         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
34824         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
34826         [BZ #16034]
34827         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
34828         copy class of input value.
34829         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
34830         not handle exceptions.
34831         * soft-fp/negsf2.c (__negsf2): Likewise.
34832         * soft-fp/negtf2.c (__negtf2): Likewise.
34833         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
34835 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
34837         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
34838         semicolon.  From Linux kernel.
34840 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
34842         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
34844 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
34846         [BZ #156]
34847         * manual/socket.texi: Added statement about buffer
34848         for gethostbyname2_r.
34850 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
34852         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
34853         Use .p2align directive instead, throughout.
34854         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
34855         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
34856         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
34857         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34858         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34859         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
34860         * sysdeps/x86_64/strchr.S: Likewise.
34861         * sysdeps/x86_64/strrchr.S: Likewise.
34863 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
34865         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
34867         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
34869         * sysdeps/generic/math_private.h (__mpsin1): Remove
34870         declaration.
34871         (__mpcos1): Likewise.
34872         (__mpsin): New argument __range_reduce.
34873         (__mpcos): Likewise.
34874         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34875         (slow): Use __mpsin and __mpcos.
34876         (slow1): Likewise.
34877         (slow2): Likewise.
34878         (sloww): Likewise.
34879         (sloww1): Likewise.
34880         (sloww2): Likewise.
34881         (bsloww): Likewise.
34882         (bsloww1): Likewise.
34883         (bsloww2): Likewise.
34884         (cslow2): Likewise.
34885         (csloww): Likewise.
34886         (csloww1): Likewise.
34887         (csloww2): Likewise.
34888         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
34889         range_reduce.  Merge in __mpsin1.
34890         (__mpcos): Likewise.
34891         (__mpsin1): Remove.
34892         (__mpcos1): Likewise.
34894 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
34896         * locale/loadlocale.c (_nl_intern_locale_data): Use
34897         LOCFILE_ALIGNED_P.
34898         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
34899         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
34900         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
34901         obstack data is appropriately aligned.
34902         (obstack_int32_grow_fast): Likewise.
34903         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
34904         * locale/programs/locfile.c (add_locale_uint32): Likewise.
34905         (add_locale_uint32_array): Likewise.
34907 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
34909         * benchtests/Makefile: Remove ARGLIST and RET variables.
34910         ($(objpfx)bench-%.c): Pass only function name to the script.
34911         * benchtests/README: Update documentation.
34912         * benchtests/acos-inputs: Add new directives.
34913         * benchtests/acosh-inputs: Likewise.
34914         * benchtests/asin-inputs: Likewise.
34915         * benchtests/asinh-inputs: Likewise.
34916         * benchtests/atan-inputs: Likewise.
34917         * benchtests/atanh-inputs: Likewise.
34918         * benchtests/cos-inputs: Likewise.
34919         * benchtests/cosh-inputs: Likewise.
34920         * benchtests/exp-inputs: Likewise.
34921         * benchtests/log-inputs: Likewise.
34922         * benchtests/pow-inputs: Likewise.
34923         * benchtests/rint-inputs: Likewise.
34924         * benchtests/sin-inputs: Likewise.
34925         * benchtests/sinh-inputs: Likewise.
34926         * benchtests/tan-inputs: Likewise.
34927         * benchtests/tanh-inputs: Likewise.
34928         * scripts/bench.pl: Add support for new directives.
34930 2013-10-07  Alan Modra  <amodra@gmail.com>
34932         * README: Fix careless merge.
34934 2013-10-05  Alan Modra  <amodra@gmail.com>
34936         * NEWS: Mention powerpc64le support and bugs fixed.
34937         * README: Both big-endian and little-endian powerpc64 supported.
34939 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34941         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
34942         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
34943         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
34944         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
34946 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
34948         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
34949         match prototype.
34951 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
34953         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
34954         Move -mhard-float appending from
34955         ports/sysdeps/powerpc/powerpc32/Makefile.
34956         [$(with-fp) = yes] (ASFLAGS): Likewise.
34957         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
34958         * sysdeps/powerpc/nofpu: Move directory from
34959         ports/sysdeps/powerpc/nofpu.
34960         * sysdeps/powerpc/soft-fp: Move directory from
34961         ports/sysdeps/powerpc/soft-fp.
34962         * sysdeps/powerpc/powerpc32/405: Move directory from
34963         ports/sysdeps/powerpc/powerpc32/405.
34964         * sysdeps/powerpc/powerpc32/440: Move directory from
34965         ports/sysdeps/powerpc/powerpc32/440.
34966         * sysdeps/powerpc/powerpc32/464: Move directory from
34967         ports/sysdeps/powerpc/powerpc32/464.
34968         * sysdeps/powerpc/powerpc32/476: Move directory from
34969         ports/sysdeps/powerpc/powerpc32/476.
34970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
34971         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
34972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
34973         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
34974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
34975         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
34976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
34977         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
34978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
34979         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
34980         * README: Update for powerpc-*-linux-gnu software floating point
34981         support in libc.
34983         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
34984         case to powerpc/powerpc32*.
34985         * sysdeps/unix/sysv/linux/configure: Regenerated.
34987         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
34988         (_FPU_MASK_OM): Define as 0x04.
34989         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
34990         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
34991         0x00c10080.
34992         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
34993         0x0000003c.
34994         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
34996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
34997         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
34998         getcontext_e500.
34999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
35000         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
35001         setcontext_e500.
35002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
35003         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
35004         and setcontext_e500.
35006 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
35008         * locale/iso-3166.def: Update iso-1366.def and related occurrences
35010 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35012         * manual/threads.texi (Default Thread Attributes): Fix typo.
35014 2013-10-04  Will Newton  <will.newton@linaro.org>
35016         * malloc/Makefile: Add tst-memalign.
35017         * malloc/tst-memalign.c: New file.
35019         * malloc/tst-posix_memalign.c: Add comments.
35020         (do_test): Add comments and call free on all potentially
35021         allocated pointers. Add space after cast.
35023         * malloc/tst-pvalloc.c: Add comments.
35024         (do_test): Add comments and call free on all potentially
35025         allocated pointers. Remove duplicate check for NULL pointer.
35026         Add space after cast.
35028         * malloc/tst-valloc.c: Add comments.
35029         (do_test): Add comments and call free on all potentially
35030         allocated pointers. Remove duplicate check for NULL pointer.
35031         Add space after cast.
35033 2013-10-04  Alan Modra  <amodra@gmail.com>
35035         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
35036         Use stdint types in rather than __attribute__((mode())).
35037         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
35039 2013-10-04  Alan Modra  <amodra@gmail.com>
35041         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
35042         Correct handling of unaligned relocs for little-endian.
35043         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
35045 2013-10-04  Alan Modra  <amodra@gmail.com>
35047         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
35048         * configure: Regenerate.
35049         * nptl/shlib-versions: Powerpc*le starts at 2.18.
35050         * shlib-versions: Likewise.
35052 2013-10-04  Alan Modra  <amodra@gmail.com>
35054         * string/tester.c (test_memrchr): Increment reported test cycle.
35056 2013-10-04  Alan Modra  <amodra@gmail.com>
35058         * string/test-memcpy.c (do_one_test): When reporting errors, print
35059         string address and don't overrun end of string.
35061 2013-10-04  Alan Modra  <amodra@gmail.com>
35063         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
35064         insrdi.  Make better use of reg selection to speed exit slightly.
35065         Schedule entry path a little better.  Remove useless "are we done"
35066         checks on entry to main loop.  Handle wrapping around zero address.
35067         Correct main loop count.  Handle single left-over word from main
35068         loop inline rather than by using loop_small.  Remove extra word
35069         case in loop_small caused by wrong loop count.  Add little-endian
35070         support.
35071         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
35072         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
35073         cache hint.
35074         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
35075         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
35076         support.  Avoid rlwimi.
35077         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
35079 2013-10-04  Alan Modra  <amodra@gmail.com>
35081         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
35082         insrdi.  Formatting.
35083         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
35084         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
35085         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
35086         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
35087         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
35088         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
35090 2013-10-04  Alan Modra  <amodra@gmail.com>
35092         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
35093         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
35094         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
35095         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
35096         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
35097         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
35098         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
35099         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
35100         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
35101         use of regs.  Use power7 mtocrf.  Tidy function tails.
35103 2013-10-04  Alan Modra  <amodra@gmail.com>
35105         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
35106         Formatting.  Consistently use rXXX register defines or rN defines.
35107         Use early exit labels that avoid restoring unused non-volatile regs.
35108         Make cr field use more consistent with rWORDn compares.  Rename
35109         regs used as shift registers for unaligned loop, using rN defines
35110         for short lifetime/multiple use regs.
35111         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
35112         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
35113         addi 1,1,64 to pop stack frame.  Simplify return value code.
35114         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
35116 2013-10-04  Alan Modra  <amodra@gmail.com>
35118         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
35119         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
35120         rather than rlwimi.
35121         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
35122         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
35123         little-endian support.  Correct typos.
35124         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
35125         rather than rlwimi.
35126         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
35127         in loop and entry code to keep "and." results.
35128         (strchr): Add little-endian support.  Comment.  Move cntlzd
35129         earlier in tail.
35130         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
35132 2013-10-04  Alan Modra  <amodra@gmail.com>
35134         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
35135         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
35136         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
35137         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
35139 2013-10-04  Alan Modra  <amodra@gmail.com>
35141         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
35142         (rTMP): Define as r11.
35143         (strcmp): Add little-endian support.  Optimise tail.
35144         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
35145         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
35146         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
35147         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
35148         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
35149         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35150         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
35152 2013-10-04  Alan Modra  <amodra@gmail.com>
35154         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
35155         little-endian support.  Remove unnecessary "are we done" tests.
35156         Handle "s" wrapping around zero and extremely large "size".
35157         Correct main loop count.  Handle single left-over word from main
35158         loop inline rather than by using small_loop.  Correct comments.
35159         Delete "zero" tail, use "end_max" instead.
35160         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
35162 2013-10-04  Alan Modra  <amodra@gmail.com>
35164         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
35165         support.  Don't branch over align.
35166         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
35167         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
35168         support.  Rearrange tmp reg use to suit.  Comment.
35169         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
35171 2013-10-04  Alan Modra  <amodra@gmail.com>
35173         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
35175 2013-10-04  Alan Modra  <amodra@gmail.com>
35177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
35178         conditional form of branch and link when obtaining pc.
35179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
35181 2013-10-04  Alan Modra  <amodra@gmail.com>
35183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
35184         HIWORD/LOWORD.
35185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
35186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
35188 2013-10-04  Alan Modra  <amodra@gmail.com>
35190         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
35191         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
35192         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
35193         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
35194         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
35195         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
35196         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
35197         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
35198         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
35199         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
35201 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
35202             Alistair Popple <alistair@ozlabs.au.ibm.com>
35203             Alan Modra <amodra@gmail.com>
35205         [BZ #15723]
35206         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
35207         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
35208         _dl_hwcap access for little-endian.
35209         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
35210         destroy vmx regs when saving unaligned.
35211         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
35212         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
35213         destroy vmx regs when saving unaligned.
35215 2013-10-04  Alan Modra  <amodra@gmail.com>
35217         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
35218         Don't use a union to pack hi/low value.
35220 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
35222         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
35223         for little-endian.
35224         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
35225         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
35226         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
35227         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
35228         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
35230 2013-10-04  Alan Modra  <amodra@gmail.com>
35232         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
35233         constants to usual value for .cst8 section, and remove redundant
35234         high address load.
35235         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
35236         constant for 0x1p52.  Load little-endian words of double from
35237         correct stack offsets.
35239 2013-10-04  Alan Modra  <amodra@gmail.com>
35241         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
35242         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
35243         words of double from correct stack offsets.
35244         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
35245         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
35246         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
35247         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
35248         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
35249         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
35250         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
35251         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
35252         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
35253         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
35254         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
35255         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
35256         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
35257         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
35258         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
35259         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
35260         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
35262 2013-10-04  Alan Modra  <amodra@gmail.com>
35264         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
35265         64-bit int/double union.
35266         (_FPU_SETCW): Likewise.
35267         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
35268         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
35270 2013-10-04  Alan Modra  <amodra@gmail.com>
35272         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
35273         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
35275 2013-10-04  Alan Modra  <amodra@gmail.com>
35277         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
35278         use vector int constants.
35279         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
35281 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
35283         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
35284         array with long long.
35285         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
35286         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
35287         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
35288         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
35289         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
35290         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
35291         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
35292         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
35293         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
35294         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
35295         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
35296         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
35297         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
35299 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
35301         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
35302         (__signbit): Likewise.  Correct for little-endian.
35303         (__signbitl): Call __signbit.
35304         (lrint): Correct for little-endian.
35305         (lrintf): Call lrint.
35307 2013-10-04  Alan Modra  <amodra@gmail.com>
35309         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
35310         union 32-bit int array member with 64-bit int array.
35311         (t515, tm256): Double rather than long double.
35312         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
35314 2013-10-04  Alan Modra  <amodra@gmail.com>
35316         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
35317         Delete.
35318         (IEEE854_LONG_DOUBLE_BIAS): Delete.
35319         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
35320         version of math_ldbl.h.
35322 2013-10-04  Alan Modra  <amodra@gmail.com>
35324         [BZ #15734], [BZ #15735]
35325         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
35326         all uses of ieee875 long double macros and unions.  Simplify test
35327         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
35328         ldbl_extract_mantissa value for ix,iy exponents.  Properly
35329         normalize after ldbl_extract_mantissa, and don't add hidden bit
35330         already handled.  Don't treat low word of ieee854 mantissa like
35331         low word of IBM long double and mask off bit when testing for
35332         zero.
35333         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
35334         all uses of ieee875 long double macros and unions.  Simplify tests
35335         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
35336         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
35337         two1022, instead use their values.  Recognise that tests for large
35338         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
35339         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
35340         Rewrite all uses of ieee875 long double macros and unions.  Simplify
35341         test for 0.0L and nan.  Correct negation.
35342         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
35343         ieee875 long double macros and unions.  Correct output for large
35344         magnitude x.  Correct absolute value calculation.
35345         (__erfcl): Likewise.
35346         * math/libm-test.inc: Add tests for errors discovered in IBM long
35347         double versions of fmodl, remainderl, erfl and erfcl.
35349 2013-10-04  Alan Modra  <amodra@gmail.com>
35351         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
35352         all uses of ieee854 long double macros and unions.  Simplify tests
35353         for long doubles that are fully specified by the high double.
35354         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
35355         Likewise.
35356         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
35357         Remove dead code too.
35358         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
35359         (__ieee754_ynl): Likewise.
35360         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
35361         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
35362         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
35363         Remove dead code too.
35364         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
35365         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
35366         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
35367         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
35368         Simplify.
35369         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
35370         Simplify.
35371         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
35372         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
35373         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
35374         Comment on variable precision.
35375         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
35376         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35377         Likewise.
35378         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
35379         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
35380         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
35381         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
35382         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
35384 2013-10-04  Alan Modra  <amodra@gmail.com>
35386         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
35387         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
35388         all uses of ieee854 long double macros and unions.
35389         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
35390         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35391         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
35392         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
35393         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
35394         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
35395         Likewise.
35396         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
35397         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35398         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
35399         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35400         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
35401         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
35402         Simplify sign and nan test too.
35403         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
35404         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
35405         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
35406         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
35407         Likewise.
35408         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
35409         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
35410         Likewise.
35411         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35412         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
35413         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
35414         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
35415         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
35416         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
35418 2013-10-04  Alan Modra  <amodra@gmail.com>
35420         * stdio-common/printf_size.c (__printf_size): Don't use
35421         union ieee854_long_double in fpnum union.
35422         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
35423         signbit macro to retrieve sign from long double.
35424         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
35425         retrieve sign from long double.
35426         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
35427         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
35428         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
35429         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
35430         * math/test-misc.c (main): Don't use union ieee854_long_double.
35432 2013-10-04  Alan Modra  <amodra@gmail.com>
35434         [BZ #15680]
35435         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
35436         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
35437         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
35438         calculation.  Remove unnecessary test for denormal exponent.
35439         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
35440         Correct handling of denormals.  Avoid undefined shift behaviour.
35441         Correct normalisation of low mantissa when low double is denormal.
35442         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
35443         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
35444         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
35445         Correct normalisation of low mantissa.  Test for overflow of high
35446         mantissa and normalise.
35447         (ldbl_nearbyint): Use more readable constant for two52.
35448         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
35449         (__mpn_construct_long_double): Fix test for overflow of high
35450         mantissa and correct normalisation.  Avoid undefined shift.
35452 2013-10-04  Alan Modra  <amodra@gmail.com>
35454         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
35455         (union ibm_extended_long_double): Define as an array of ieee754_double.
35456         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
35457         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
35458         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
35459         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35460         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
35461         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
35462         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
35463         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
35464         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35465         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
35466         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
35468 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
35470         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
35471         page size instead of calling getpagesize.
35473         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
35474         (LOCFILE_ALIGN_MASK): Likewise.
35475         (LOCFILE_ALIGN_UP): Likewise.
35476         (LOCFILE_ALIGNED_P): Likewise.
35477         * locale/programs/ld-collate.c (collate_output): Use the new
35478         macros instead of __alignof__ (int32_t).
35479         * locale/weight.h (findidx): Likewise.
35481 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
35483         [BZ #431]
35484         * manual/string.texi: Fix strncat and wcsncat.
35486 2013-10-03  Brooks Moses  <bmoses@google.com>
35488         [BZ #15915]
35489         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
35490         * Makerules: ...here, and adjust associated comments.
35492 2013-10-02  Will Newton  <will.newton@linaro.org>
35494         * malloc/Makefile: Add tst-pvalloc.
35495         * malloc/tst-pvalloc.c: New file.
35497 2013-10-02  Will Newton  <will.newton@linaro.org>
35499         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
35500         improve test coverage.
35502 2013-10-02  Will Newton  <will.newton@linaro.org>
35504         * malloc/Makefile: Add tst-posix_memalign.
35505         * malloc/tst-posix_memalign.c: New file.
35507 2013-10-01  Eric Blake  <eblake@redhat.com>
35509         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
35510         Use __THROWNL rather than __THROW on static functions.
35512 2013-09-30  Petr Machata  <pmachata@redhat.com>
35514         * elf/elf.h (R_AARCH64_ABS16): New macro.
35515         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
35516         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
35517         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
35518         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
35519         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
35520         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
35521         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
35522         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
35523         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
35524         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
35525         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
35526         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
35527         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
35528         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
35529         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
35530         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
35531         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
35532         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
35533         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
35534         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
35535         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
35536         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
35537         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
35538         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
35539         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
35540         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
35541         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
35542         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
35543         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
35544         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
35545         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
35546         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
35547         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
35548         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
35549         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
35550         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
35551         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
35552         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
35553         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
35554         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
35555         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
35556         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
35557         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
35558         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
35559         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
35560         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
35561         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
35562         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
35563         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
35564         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
35565         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
35566         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
35567         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
35568         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
35569         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
35570         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
35571         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
35572         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
35573         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
35574         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
35575         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
35576         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
35577         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
35578         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
35579         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
35580         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
35581         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
35582         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
35583         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
35584         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
35585         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
35586         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
35587         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
35588         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
35589         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
35590         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
35591         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
35592         (R_AARCH64_TLSDESC_LDR): Likewise.
35593         (R_AARCH64_TLSDESC_ADD): Likewise.
35594         (R_AARCH64_TLSDESC_CALL): Likewise.
35596 2013-09-30  Andreas Schwab  <schwab@suse.de>
35598         [BZ #15048]
35599         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
35600         the nss database lookup.
35601         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35602         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
35604 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
35606         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
35608 2013-09-28  P. J. McDermott  <pj@pehjota.net>
35610         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
35611         ${Bash-specific parameter/pattern/string} parameter expansion.
35612         * sysdeps/unix/make-syscalls.sh: Likewise.
35614 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35616         * sysdeps/sh/stackguard-macros.h: New file.
35618 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
35620         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
35621         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
35622         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
35623         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
35624         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35625         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
35627 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35629         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
35630         Fix thread ID register.
35632 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
35634         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
35635         [POSIX || UNIX98]: Require rather than permitting all symbols from
35636         <time.h>.
35637         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
35638         element of struct sched_param.
35639         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
35640         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
35641         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
35642         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
35643         constant.
35645 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
35647         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
35648         argument calculation.
35650 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
35652         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
35653         Expect macro.
35654         [POSIX] (pthread_attr_t): Do not require type.
35655         [POSIX] (pthread_cond_t): Likewise.
35656         [POSIX] (pthread_condattr_t): Likewise.
35657         [POSIX] (pthread_key_t): Likewise.
35658         [POSIX] (pthread_mutex_t): Likewise.
35659         [POSIX] (pthread_mutexattr_t): Likewise.
35660         [POSIX] (pthread_once_t): Likewise.
35661         [POSIX] (pthread_t): Likewise.
35662         [POSIX-based standards] (pthread_atfork): Expect function.
35664 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
35665             Richard Sandiford  <richard@codesourcery.com>
35667         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
35668         (swap_endianness_p): New extern variable.
35669         (set_big_endian): New inline function.
35670         (maybe_swap_uint32): Likewise.
35671         (maybe_swap_uint32_array): Likewise.
35672         (maybe_swap_uint32_obstack): Likewise.
35673         * locale/programs/locfile.c: Include <stdbool.h>.
35674         (swap_endianness_p): New variable.
35675         (add_locale_uint32): Call maybe_swap_uint32.
35676         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
35677         (write_locale_data): Call maybe_swap_uint32_array.
35678         * locale/programs/ld-collate.c (obstack_int32_grow): Call
35679         maybe_swap_uint32.
35680         (obstack_int32_grow_fast): Likewise.
35681         (output_weightwc): Call maybe_swap_uint32_obstack.
35682         (collate_output): Likewise.
35683         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
35684         (OPT_LITTLE_ENDIAN): Likewise.
35685         (options): Add --little-endian and --big-endian options.
35686         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
35687         * locale/programs/locarchive.c: Include "locfile.h".
35688         (GET): New macro.
35689         (SET): Likewise.
35690         (INC): Likewise.
35691         (create_archive): Use the new macros to access fields of
35692         structures directly mapped from or written to locale archives.
35693         (oldlocrecentcmp): Likewise.
35694         (enlarge_archive): Likewise.
35695         (insert_name): Likewise.
35696         (add_alias): Likewise.
35697         (add_locale): Likewise.
35698         (delete_locales_from_archive): Likewise.
35699         (show_archive_content): Likewise.
35700         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
35701         locale data.
35703 2013-09-24  Roland McGrath  <roland@hack.frob.com>
35705         * manual/freemanuals.texi: Updated from (newly) canonical copy at
35706         http://www.gnu.org/doc/freemanuals.texi.
35707         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
35709 2013-09-24  Will Newton  <will.newton@linaro.org>
35711         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
35712         macro.
35714 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
35716         * locale/hashval.h (compute_hashval): Interpret bytes of key as
35717         unsigned char.
35719 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
35721         * manual/threads.texi (POSIX Threads): Fix a typo.
35723 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
35725         [BZ #14547]
35726         * string/tst-strcoll-overflow.c: New test case.
35727         * string/Makefile (xtests): Add tst-strcoll-overflow.
35728         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
35729         cache if string sizes may cause integer overflow.
35731         [BZ #14547]
35732         * string/strcoll_l.c (coll_seq): New members rule, idx,
35733         save_idx and back_us.
35734         (get_next_seq_nocache): New function.
35735         (do_compare_nocache): New function.
35736         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
35737         when malloc fails.
35739 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
35741         [BZ #15754]
35742         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
35743         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
35744         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
35746         [BZ #15754]
35747         * elf/Makefile (tests): Add tst-ptrguard1.
35748         (tests-static): Add tst-ptrguard1-static.
35749         (tst-ptrguard1-ARGS): Define.
35750         (tst-ptrguard1-static-ARGS): Define.
35751         * elf/tst-ptrguard1.c: New file.
35752         * elf/tst-ptrguard1-static.c: New file.
35753         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
35754         * sysdeps/i386/stackguard-macros.h: Likewise.
35755         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35756         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35757         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35758         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35759         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35760         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35762 2013-09-23  Hector Marco  <hecmargi@upv.es>
35763             Ismael Ripoll  <iripoll@disca.upv.es>
35764             Carlos O'Donell  <carlos@redhat.com>
35766         [BZ #15754]
35767         * sysdeps/generic/stackguard-macros.h: Define
35768         __pointer_chk_guard_local and POINTER_CHK_GUARD.
35769         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
35770         Define __pointer_chk_guard_local.
35771         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
35772         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
35774 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
35776         [BZ #15859]
35777         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
35779 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
35781         * include/string.h (__ffs): Declare as hidden.
35782         * string/ffs.c (__ffs): Define as hidden.
35783         * sysdeps/i386/ffs.c (__ffs): Likewise.
35784         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
35785         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
35786         * sysdeps/s390/ffs.c (__ffs): Likewise.
35787         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
35789 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
35791         * NEWS: Mention malloc probes.
35793         * malloc/arena.c (new_heap): New memory_heap_new probe.
35794         (grow_heap): New memory_heap_more probe.
35795         (shrink_heap): New memory_heap_less probe.
35796         (heap_trim): New memory_heap_free probe.
35797         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
35798         (systrim): New memory_sbrk_less probe.
35799         * manual/probes.texi: Document them.
35801         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
35802         * manual/probes.texi: Document it.
35804         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
35805         (__libc_realloc): Add memory_realloc_retry probe.
35806         (__libc_memalign): Add memory_memalign_retry probe.
35807         (__libc_valloc): Add memory_valloc_retry probe.
35808         (__libc_pvalloc): Add memory_pvalloc_retry probe.
35809         (__libc_calloc): Add memory_calloc_retry probe.
35810         * manual/probes.texi: Document them.
35812         * malloc/arena.c (get_free_list): Add probe
35813         memory_arena_reuse_free_list.
35814         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
35815         and memory_arena_reuse.
35816         (arena_get2) [!PER_THREAD]: Likewise.
35817         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
35818         memory_arena_reuse_realloc.
35819         * manual/probes.texi: Document them.
35821         * malloc/malloc.c (__libc_free): Add
35822         memory_mallopt_free_dyn_thresholds probe.
35823         (__libc_mallopt): Add multiple memory_mallopt probes.
35824         * manual/probes.texi: Document them.
35826         * malloc/malloc.c: Include stap-probe.h.
35827         (__libc_mallopt): Add memory_mallopt probe.
35828         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
35829         * manual/probes.texi: New.
35830         * manual/Makefile (chapters): Add probes.
35831         * manual/threads.texi: Set next node.
35833 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
35835         [BZ #15963, #13985]
35836         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
35837         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
35838         Add `Chinese' to `nan' entry name.
35840 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35842         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
35843         (POLYNOMIAL): Likewise.
35844         (TAYLOR_SINCOS): Likewise.
35845         (TAYLOR_SLOW): Likewise.
35846         (__sin): Use TAYLOR_SINCOS.
35847         (__cos): Likewise.
35848         (slow): Use TAYLOR_SLOW.
35849         (sloww): Likewise.
35850         (bsloww): Likewise.
35851         (csloww): Likewise.
35853 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35855         * stdlib/strtod_l.c: Fix buffer overrun.
35857 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35859         * benchtests/Makefile (bench): Add sincos.
35860         * benchtests/bench-sincos.c: New file.
35862         * math/libm-test.inc (cos_test_data): New test inputs.
35863         (sin_test_data): Likewise.
35865         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
35866         macro.
35867         (__sin): Use it.
35868         (__cos): Likewise.
35869         (slow1): Likewise.
35870         (slow2): Likewise.
35871         (sloww1): Likewise.
35872         (sloww2): Likewise.
35873         (bsloww1): Likewise.
35874         (bsloww2): Likewise.
35875         (cslow2): Likewise.
35876         (csloww1): Likewise.
35877         (csloww2): Likewise.
35879         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
35880         function.
35881         (__sin): Use it.
35882         (__cos): Likewise.
35884         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
35885         gotos.
35886         (__cos): Likewise.
35888 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
35890         * config.h.in (HAVE_MIPS_NAN2008): New macro.
35891         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
35892         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
35893         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
35894         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
35895         * elf/cache.c (print_entry): Handle the new cache flags.
35897 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
35898             Aldy Hernandez  <aldyh@redhat.com>
35900         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
35901         Change condition to [_SOFT_FLOAT].
35902         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
35903         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
35904         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
35905         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
35906         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
35907         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
35908         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
35909         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
35910         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
35911         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
35912         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
35913         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
35914         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
35915         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
35916         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
35917         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
35918         declaration.
35920 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
35922         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
35923         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
35924         (__longjmp): Use LOAD_GP to load saved GPRs.
35925         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
35926         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
35927         (__sigsetjmp): Use SAVE_GP to save GPRs.
35929         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
35930         Do not append -msoft-float.
35931         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
35933 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
35935         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
35937 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
35939         [BZ #15966]
35940         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
35941         (_FPU_GETCW): Use initial "__" on variable and field names but not
35942         on macro parameter name.
35943         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
35944         parentheses around reference to macro parameter.
35946 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
35948         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
35949         prototype.
35950         (ctype_startup): Use uint32_t in cast and sizeof for
35951         ctype->charnames.
35953 2013-09-11  Jia Liu  <proljc@gmail.com>
35955         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
35956         __daddr_t_defined.
35957         [__FreeBSD__]: Likewise.
35959 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
35961         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
35962         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
35963         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
35964         (strchr): Remove __strchr_sse42 ifunc selection.
35965         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
35966         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
35968 2013-09-11  Will Newton  <will.newton@linaro.org>
35970         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
35971         parameter to RES. Remove hardcoded 1000 value.
35972         * benchtests/bench-skeleton.c (main): Pass RES parameter
35973         to TIMING_INIT and multiply result by 1000.
35975 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35977         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35979 2013-09-11  Andreas Schwab  <schwab@suse.de>
35981         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
35982         if not defined.
35983         (O_TMPFILE) [__USE_GNU]: Define.
35984         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
35985         Define.
35987 2013-09-11  Will Newton  <will.newton@linaro.org>
35989         [BZ #15857]
35990         * malloc/malloc.c (__libc_memalign): Check the value of bytes
35991         does not overflow.
35993 2013-09-11  Will Newton  <will.newton@linaro.org>
35995         [BZ #15856]
35996         * malloc/malloc.c (__libc_valloc): Check the value of bytes
35997         does not overflow.
35999 2013-09-11  Will Newton  <will.newton@linaro.org>
36001         [BZ #15855]
36002         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
36003         does not overflow.
36005 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
36007         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
36008         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36009         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36010         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36011         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36013 2013-09-10  Allan McRae  <allan@archlinux.org>
36015         [BZ #15748]
36016         * manual/arith.texi (Parsing of Floats): Clarify
36017         cross-reference.
36019         [BZ #15849]
36020         * manual/install.texi (Running make install): Mention
36021         --enable-pt-chown.
36022         * INSTALL: Regenerated.
36024 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
36026         * csu/init-first.c (_init): Remove the !SHARED condition around
36027         FPU control word initialization.
36028         * elf/dl-support.c (_dl_fpu_control): New variable.
36029         (_dl_aux_init) <AT_FPUCW>: Initialize it.
36030         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
36031         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
36032         * math/test-fpucw-static.c: New file.
36033         * math/test-fpucw-ieee.c: New file.
36034         * math/test-fpucw-ieee-static.c: New file.
36035         * math/Makefile (tests): Add `test-fpucw-ieee' and
36036         `$(tests-static)'.
36037         (tests-static): New variable.
36038         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
36039         dependency to...
36040         [($(build-shared),yes)]
36041         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
36042         ... this.
36043         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
36044         New dependency.
36046 2013-09-09  Allan McRae  <allan@archlinux.org>
36048         [BZ #15939]
36049         * manual/string.texi (Collation Functions): Fix typo in
36050         strcoll example.
36051         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
36053         [BZ #15893]
36054         * stdlib/isomac.c (get_null_defines): Fix memory leak.
36056         [BZ #15892]
36057         * libio/memstream.c (open_memstream): Fix memory leak.
36058         * libio/wmemstream.c (open_wmemstream): Likewise.
36060         [BZ #15895]
36061         * nscd/netgroupcache.c: Fix nesting of ifdefs.
36063 2013-09-09  Will Newton  <will.newton@linaro.org>
36065         * malloc/Makefile: Add tst-realloc to tests.
36066         * malloc/tst-realloc.c: New file.
36068 2013-09-09  Allan McRae  <allan@archlinux.org>
36070         [BZ #15844]
36071         * COPYING: Update from GNU website to fix FSF address.
36072         * COPYING.LIB: Likewise.
36074 2013-09-06  David S. Miller  <davem@davemloft.net>
36076         * po/zh_TW.po: Update Chinese (traditional) translation from
36077         translation project.
36079 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
36080             Joseph Myers  <joseph@codesourcery.com>
36082         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
36083         "localeinfo.h".
36084         (obstack_chunk_alloc): New macro.
36085         (obstack_chunk_free): Likewise.
36086         (record_offset): New function.
36087         (init_locale_data): Likewise.
36088         (align_locale_data): Likewise.
36089         (add_locale_empty): Likewise.
36090         (add_locale_raw_data): Likewise.
36091         (add_locale_raw_obstack): Likewise.
36092         (add_locale_string): Likewise.
36093         (add_locale_wstring): Likewise.
36094         (add_locale_uint32): Likewise.
36095         (add_locale_uint32_array): Likewise.
36096         (add_locale_char): Likewise.
36097         (start_locale_structure): Likewise.
36098         (end_locale_structure): Likewise.
36099         (start_locale_prelude): Likewise.
36100         (end_locale_prelude): Likewise.
36101         (write_locale_data): Take locale_file structure rather than an
36102         iovec.
36103         * locale/programs/locfile.h: Include "obstack.h".
36104         (struct locale_file): Change to store locale file contents instead
36105         of header.
36106         (init_locale_data): New prototype.
36107         (align_locale_data): Likewise.
36108         (add_locale_empty): Likewise.
36109         (add_locale_raw_data): Likewise.
36110         (add_locale_raw_obstack): Likewise.
36111         (add_locale_string): Likewise.
36112         (add_locale_wstring): Likewise.
36113         (add_locale_uint32): Likewise.
36114         (add_locale_uint32_array): Likewise.
36115         (add_locale_char): Likewise.
36116         (start_locale_structure): Likewise.
36117         (end_locale_structure): Likewise.
36118         (start_locale_prelude): Likewise.
36119         (end_locale_prelude): Likewise.
36120         (write_locale_data): Update prototype.
36121         * locale/programs/3level.h (struct TABLE): Remove result field.
36122         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
36123         Use new locale_file interface.
36124         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
36125         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
36126         * locale/programs/ld-address.c (address_output): Use new
36127         locale_file interface.
36128         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
36129         NO_ADD_LOCALE.
36130         (collate_finish): Don't call collseq_table_finalize.
36131         (collate_output): Use new locale_file interface.
36132         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
36133         in file.
36134         (NO_FINALIZE): Change to NO_ADD_LOCALE.
36135         (TABLE): Move defines earlier in file.
36136         (ELEMENT): Likewise.
36137         (DEFAULT): Likewise.
36138         (wctrans_table_add): Move macro and inline function earlier in
36139         file.
36140         (struct wctype_table): Move type earlier in file.
36141         (add_locale_wctype_table): New static prototype.
36142         (struct locale_ctype_t): Use logical types instead of struct iovec
36143         pointers for members.
36144         (ctype_output): Use new locale_file interface.
36145         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
36146         new locale_file interface.
36147         (allocate_arrays): Update for use of new locale_file interface.
36148         * locale/programs/ld-identification.c (identification_output): Use
36149         new locale_file interface.
36150         * locale/programs/ld-measurement.c (measurement_output): Likewise.
36151         * locale/programs/ld-messages.c (messages_output): Likewise.
36152         * locale/programs/ld-monetary.c (monetary_output): Likewise.
36153         * locale/programs/ld-name.c (name_output): Likewise.
36154         * locale/programs/ld-numeric.c (numeric_output): Likewise.
36155         * locale/programs/ld-paper.c (paper_output): Likewise.
36156         * locale/programs/ld-telephone.c (telephone_output): Likewise.
36157         * locale/programs/ld-time.c (time_output): Likewise.
36159 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36161         * benchtests/Makefile: Add memrchr benchmark.
36162         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
36163         benchmark as memrchr.
36164         * benchtests/bench-memrchr-ifunc.c: New file.
36165         * benchtests/bench-memrchr.c: New file.
36167 2013-09-06   Will Newton  <will.newton@linaro.org>
36169         * benchtests/Makefile (string-bench): Add memcpy.
36171 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
36172             Cong Wang  <amwang@redhat.com>
36174         [BZ #15850]
36175         * sysdeps/unix/sysv/linux/bits/in.h
36176         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
36177         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
36178         before __USE_KERNEL_IPV6_DEFS uses.
36179         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
36180         IPPROTO_BEETPH.
36181         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
36182         sockaddr_in6, or ipv6_mreq.
36184 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36186         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
36187         memory access for final bytes in some large inputs.
36188         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
36190 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36192         * string/test-memrchr.c: New file.
36193         * string/test-memrchr-ifunc.c: New file.
36194         * string/Makefile: Add new memrchr testcase.
36196 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
36198         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
36199         fanotify_init returns EPERM.
36201 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
36203         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
36204         errors.
36205         (top level): Treat second token from macro or constant entries for
36206         allowed headers as allowed.
36207         * include/complex.h: Condition internal declarations on
36208         [!_ISOMAC].
36209         * include/fenv.h: Condition include of <stdbool.h> and internal
36210         declarations on [!_ISOMAC].
36212 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
36214         [BZ #15923]
36215         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
36217 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
36219         * configure.in (--enable-versioning): Remove configure option.
36220         (libc_cv_asm_symver_directive): Remove configure test.
36221         (libc_cv_ld_version_script_option): Likewise.
36222         (VERSIONING): Remove variable and AC_SUBST.
36223         (DO_VERSIONING): Remove AC_DEFINE.
36224         * configure: Regenerated.
36225         * config.h.in (DO_VERSIONING): Remove macro.
36226         * Makerules [$(versioning) = yes]: Change conditionals to
36227         [$(build-shared) = yes].
36228         * config.make.in (versioning): Remove variable.
36229         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
36230         [$(build-shared) = yes].
36231         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
36232         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
36233         * elf/Makefile [$(versioning) = yes]: Change conditionals to
36234         [$(build-shared) = yes].
36235         * extra-lib.mk [$(versioning) = yes]: Likewise.
36236         * hurd/Makefile [$(versioning) = yes]: Likewise.
36237         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
36238         [SHARED].
36239         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
36240         [SHARED].
36241         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
36242         [SHARED && !NO_HIDDEN].
36243         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
36244         [SHARED].
36245         [SHARED && DO_VERSIONING]: Likewise..
36246         * libio/Makefile [$(versioning) = yes]: Change conditionals to
36247         [$(build-shared) = yes].
36248         * manual/install.texi (--disable-versioning): Remove
36249         documentation.
36250         * INSTALL: Regenerated.
36251         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
36252         to [SHARED].
36253         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
36254         [$(build-shared) = yes].
36255         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
36256         * sysdeps/i386/i686/multiarch/strstr-c.c
36257         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
36258         [SHARED && !NO_HIDDEN].
36259         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
36260         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
36261         * sysdeps/powerpc/powerpc32/dl-machine.c
36262         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
36263         * sysdeps/powerpc/powerpc32/sysdep.h
36264         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
36265         to [SHARED && PIC && !NO_HIDDEN].
36266         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
36267         conditional to [SHARED].
36269 2013-09-04   Will Newton  <will.newton@linaro.org>
36271         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
36272         * benchtests/bench-string.h: Include bench-timing.h instead
36273         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
36274         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
36275         call to HP_TIMING_DIFF_INIT.
36276         * benchtests/bench-memccpy.c: Use bench-timing.h macros
36277         instead of hp-timing.h macros.
36278         * benchtests/bench-memchr.c: Likewise.
36279         * benchtests/bench-memcmp.c: Likewise.
36280         * benchtests/bench-memcpy.c: Likewise.
36281         * benchtests/bench-memmem.c: Likewise.
36282         * benchtests/bench-memmove.c: Likewise.
36283         * benchtests/bench-memset.c: Likewise.
36284         * benchtests/bench-rawmemchr.c: Likewise.
36285         * benchtests/bench-strcasecmp.c: Likewise.
36286         * benchtests/bench-strcasestr.c: Likewise.
36287         * benchtests/bench-strcat.c: Likewise.
36288         * benchtests/bench-strchr.c: Likewise.
36289         * benchtests/bench-strcmp.c: Likewise.
36290         * benchtests/bench-strcpy.c: Likewise.
36291         * benchtests/bench-strcpy_chk.c: Likewise.
36292         * benchtests/bench-strlen.c: Likewise.
36293         * benchtests/bench-strncasecmp.c: Likewise.
36294         * benchtests/bench-strncat.c: Likewise.
36295         * benchtests/bench-strncmp.c: Likewise.
36296         * benchtests/bench-strncpy.c: Likewise.
36297         * benchtests/bench-strnlen.c: Likewise.
36298         * benchtests/bench-strpbrk.c: Likewise.
36299         * benchtests/bench-strrchr.c: Likewise.
36300         * benchtests/bench-strspn.c: Likewise.
36301         * benchtests/bench-strstr.c: Likewise.
36303 2013-09-04  Will Newton  <will.newton@linaro.org>
36305         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
36307 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
36309         [BZ #15427]
36310         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
36311         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
36312         * math/libm-test.inc (lgamma_test_data): Add more tests.
36313         * sysdeps/i386/fpu/libm-test-ulps: Update.
36314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36316 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
36318         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
36319         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36320         Add ifunc.
36321         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
36322         Add strcmp-sse2-unaligned
36323         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
36325 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
36327         * Versions.def (libc): Add GLIBC_2.19.
36329 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
36331         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
36332         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
36334 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
36336         [BZ #14155]
36337         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
36338         intermediate calculations in recurrence.
36339         (__ieee754_ynf): Likewise.
36340         * math/libm-test.inc (jn_test_data): Do not allow spurious
36341         underflow exception.  Add more tests.
36342         (yn_test_data): Add more tests.
36343         * sysdeps/i386/fpu/libm-test-ulps: Update.
36344         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36346 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
36348         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
36350 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
36352         * csu/init-first.c: Fix then/than typos.
36353         * locale/programs/ld-collate.c: Likewise.
36354         * locale/programs/linereader.h: Likewise.
36355         * manual/charset.texi: Likewise.
36356         * manual/filesys.texi: Likewise.
36357         * manual/stdio.texi: Likewise.
36358         * manual/string.texi: Likewise.
36359         * stdlib/fmtmsg.c: Likewise.
36360         * sysdeps/i386/stpncpy.S: Likewise.
36361         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
36362         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
36363         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
36364         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
36366 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
36368         * elf/dl-open.c: Fix typos.
36369         * iconvdata/gbbig5.c: Likewise.
36370         * iconvdata/iso-2022-jp.c: Likewise.
36371         * iconv/gconv_int.h: Likewise.
36372         * iconv/loop.c: Likewise.
36373         * nis/rpcsvc/nis.h: Likewise.
36374         * resolv/ns_name.c: Likewise.
36375         * stdio-common/vfscanf.c: Likewise.
36376         * streams/stropts.h: Likewise.
36377         * sunrpc/rpc_thread.c: Likewise.
36378         * sysdeps/i386/strpbrk.S: Likewise.
36379         * sysdeps/ieee754/k_standard.c: Likewise.
36380         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
36381         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
36382         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
36383         * sysdeps/mach/hurd/profil.c: Likewise.
36384         * sysdeps/s390/dl-procinfo.h: Likewise.
36385         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
36386         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
36387         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
36388         * sysdeps/x86_64/dl-trampoline.S: Likewise.
36389         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
36391 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
36393         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
36394         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
36396 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
36398         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
36399         aix specific files.
36400         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
36401         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
36402         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
36403         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
36404         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
36405         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
36406         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
36407         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
36409 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
36410             Roland McGrath  <roland@hack.frob.com>
36412         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
36413         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
36415 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36417         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
36418         __executable_start symbol instead of _start.
36420 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
36422         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
36423         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
36424         Move macros to...
36425         * sysdeps/gnu/ldsodefs.h: ... this new file.
36427         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
36428         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
36429         instead of ELFOSABI_LINUX.
36431         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
36432         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
36433         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
36434         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
36435         Likewise.
36436         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
36437         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
36438         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
36439         Likewise.
36440         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
36441         (ibm_extended_long_double): Add ieee_nan member.
36442         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
36443         (do_test): New function.
36445         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
36446         TEST_TRUNC.
36447         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
36448         functions, renamed from truncdfsf_test, trunctfsf_test,
36449         trunctfdf_test.
36450         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
36451         functions.
36452         (do_test): Run all these.
36454 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
36456         * argp/argp-help.c: Fix typos.
36457         * argp/argp-parse.c: Likewise.
36458         * debug/backtracesyms.c: Likewise.
36459         * elf/elf.h: Likewise.
36460         * malloc/malloc.c: Likewise.
36461         * nis/nis_print.c: Likewise.
36462         * resolv/res_comp.c: Likewise.
36463         * stdlib/stdlib.h: Likewise.
36464         * sunrpc/clnt_tcp.c: Likewise.
36465         * sunrpc/clnt_udp.c: Likewise.
36466         * sunrpc/clnt_unix.c: Likewise.
36467         * sysdeps/unix/bsd/ptsname.c: Likewise.
36468         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
36469         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
36470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
36471         Likewise.
36472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
36473         Likewise.
36474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
36475         Likewise.
36476         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
36478 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36480         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
36481         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
36483 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
36485         [BZ #15897]
36486         * dlfcn/Makefile (tests): Add bug-dl-leaf.
36487         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
36488         ($(objpfx)bug-dl-leaf): New rule.
36489         ($(objpfx)bug-dl-leaf.so): Likewise.
36490         ($(objpfx)bug-dl-leaf.out): Likewise.
36491         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
36492         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
36493         * dlfcn/bug-dl-leaf.c: New test.
36494         * dlfcn/bug-dl-leaf-lib.c: Likewise.
36495         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
36496         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
36497         (dlclose): Likewise.
36498         (dlmopen): Likewise.
36500 2013-08-27  Roland McGrath  <roland@hack.frob.com>
36502         * include/netdb.h [!_ISOMAC]:
36503         Don't include <tls.h>.
36504         (h_errno, __libc_h_errno): Move declaration and macros out of
36505         [_LIBC_REENTRANT].
36507         * include/resolv.h [_RESOLV_H_]:
36508         Don't include <tls.h>.
36509         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
36510         * resolv/res_libc.c: Don't include <tls.h>.
36511         (_res): Use __attribute__ ((nocommon)) in place of
36512         __attribute__ ((section (".bss"))).
36514         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
36515         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
36517         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
36519         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
36520         only under [SIOCGIFCONF && SIOCGIFNETMASK].
36522         * resolv/res_mkquery.c: Include <sys/time.h>.
36524         * inet/ifreq.c: Moved to ...
36525         * sysdeps/unix/ifreq.c: ... here.
36526         * inet/ifreq.c: New file, true stub version.
36528         * socket/sa_len.c: New file.
36529         * socket/Makefile (aux): Add it.
36530         * sysdeps/unix/sysv/linux/Makefile
36531         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
36532         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
36533         and #include <socket/sa_len.c>.
36534         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
36535         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
36537         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
36538         * bits/socket.h: ... here.
36540         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
36541         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
36542         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
36544 2013-08-27  Andreas Schwab  <schwab@suse.de>
36546         [BZ #15736]
36547         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
36548         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
36549         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
36550         * string/test-strcasecmp.c (test_main): Run tests in several
36551         locales.
36552         * string/test-strncasecmp.c (test_main): Likewise.
36554         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
36555         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
36556         to __strcasecmp_nonascii and __strncasecmp_nonascii.
36557         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
36558         (__strncasecmp_ssse3) [PIC]: Likewise.
36560 2013-08-26  Roland McGrath  <roland@hack.frob.com>
36562         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
36564         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
36565         instead of explicitly declaring xdecrypt.
36566         * nis/nss_nis/nis-publickey.c: Likewise.
36568 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36570         [BZ #15890]
36571         * nscd/aicache.c: Include res_hconf.h.
36572         (addhstaiX): Initialize res_hconf.
36574 2013-08-26  Andreas Schwab  <schwab@suse.de>
36576         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
36577         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
36579 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36581         * nscd/aicache.c (addhstaiX): Fix indentation.
36583 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
36585         * configure.ac: Quote $build_pt_chown test.
36586         * configure: Regenerated.
36588 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
36590         [BZ #15532]
36591         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
36592         * math/s_cexpf.c (__cexpf): Likewise.
36593         * math/s_cexpl.c (__cexpl): Likewise.
36594         * math/libm-test.inc (cexp_test_data): Correct expected return
36595         value for NaN + i0.  Add another test.
36597 2013-08-22  David S. Miller  <davem@davemloft.net>
36599         * po/ca.po: Update Catalan translation from translation project.
36600         * po/uk.po: Add Ukrainian translations from translation project.
36602 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
36604         [BZ #15797]
36605         * math/s_fdim.c (__fdim): Check for infinite arguments if result
36606         is infinite, not alongside NaN test.
36607         * math/s_fdimf.c (__fdimf): Likewise.
36608         * math/s_fdiml.c (__fdiml): Likewise.
36609         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
36610         errno is unchanged.
36612 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
36614         * argp/argp-help.c: Fix typos.
36615         * crypt/speeds.c: Likewise.
36616         * csu/check_fds.c: Likewise.
36617         * elf/dl-load.c: Likewise.
36618         * elf/dl-open.c: Likewise.
36619         * elf/reldep3.c: Likewise.
36620         * elf/reldep.c: Likewise.
36621         * elf/sprof.c: Likewise.
36622         * iconv/iconv_charmap.c: Likewise.
36623         * iconv/skeleton.c: Likewise.
36624         * iconv/strtab.c: Likewise.
36625         * io/lockf64.c: Likewise.
36626         * libio/libioP.h: Likewise.
36627         * resolv/gai_notify.c: Likewise.
36628         * resolv/ns_name.c: Likewise.
36629         * resolv/ns_samedomain.c: Likewise.
36630         * resolv/res_send.c: Likewise.
36631         * stdlib/random.c: Likewise.
36632         * sunrpc/rpc/xdr.h: Likewise.
36633         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
36634         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
36635         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36636         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36637         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36638         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
36639         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
36640         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36641         * sysdeps/mach/hurd/check_fds.c: Likewise.
36642         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
36643         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
36644         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
36645         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
36646         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
36647         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
36648         * sysdeps/pthread/aio_notify.c: Likewise.
36649         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
36650         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
36651         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
36652         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
36653         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
36655 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
36657         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
36658         version if bit_Slow_SSE4_2 is set.
36659         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36660         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36662 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36664         [BZ #15867]
36665         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
36666         trampoline stack frame information.
36667         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
36668         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
36669         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
36670         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
36671         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
36672         * sysdeps/unix/sysv/linux/powerpc/init-first.c
36673         (_libc_vdso_platform_setup): Initialize the signal trampolines.
36674         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
36675         sa_flags value.
36676         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
36677         interrupting a syscall and set with option SA_SIGINFO.
36679 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
36681         [BZ #15531]
36682         * math/s_cproj.c (__cproj): Only return an infinity if one part of
36683         argument is infinite.
36684         * math/s_cprojf.c (__cprojf): Likewise.
36685         * math/s_cprojl.c (__cprojl): Likewise.
36686         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
36687         * math/libm-test.inc (cproj_test_data): Add more tests.
36689         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
36691         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
36692         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
36693         size.  Use __ffs to determine corresponding shift.
36695 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
36696             Roland McGrath  <roland@hack.frob.com>
36698         * Makefile (INSTALL): Remove trailing blank lines from output of
36699         makeinfo.
36701 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36703         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
36704         Align 32 bit compat elf_greg to 8 bytes.
36706 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
36708         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
36710 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
36712         * string/strcoll_l.c (coll_seq): New structure.
36713         (get_next_seq_cached): New function.
36714         (get_next_seq): New function.
36715         (do_compare): New function.
36716         (STRCOLL): Use GNU style definition.  Simplify implementation
36717         by using get_next_seq, get_next_seq_cached and do_compare.
36719 2013-08-16  Florian Weimer  <fweimer@redhat.com>
36721         [BZ #14699]
36722         CVE-2013-4237
36723         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
36724         member.
36725         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
36726         member.
36727         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
36728         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
36729         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
36730         conditional.
36731         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
36732         GETDENTS_64BIT_ALIGNED.
36733         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
36734         * manual/filesys.texi (Reading/Closing Directory): Document
36735         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
36736         strongly.
36737         * manual/conf.texi (Limits for Files): Add portability note to
36738         NAME_MAX, PATH_MAX.
36739         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
36741 2013-08-13  Andreas Schwab  <schwab@suse.de>
36743         [BZ #15749]
36744         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
36745         of fabs.
36746         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
36747         LDBL_MAX_EXP >= 16384]: Add tests for it.
36749 2013-08-12  David S. Miller  <davem@davemloft.net>
36751         * version.h (RELEASE): Set to "development".
36752         (VERSION): Set to "2.18.90".
36753         * NEWS: Add 2.19 section.
36755 2013-08-03  David S. Miller  <davem@davemloft.net>
36757         * po/ko.po: Update Korean translation from translation project.
36759 2013-08-01  David S. Miller  <davem@davemloft.net>
36761         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
36762         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
36763         Bilka.
36765 2013-07-30  David S. Miller  <davem@davemloft.net>
36767         * po/fr.po: Update French translation from translation project.
36769 2013-07-28  David S. Miller  <davem@davemloft.net>
36771         * po/cs.po: Update Czech translation from translation project.
36773         * po/sv.po: Update Swedish translation from translation project.
36775 2013-07-27  David S. Miller  <davem@davemloft.net>
36777         * po/eo.po: Update Esperanto translation from translation project.
36779         * po/vi.po: Update Vietnamese translation from translation project.
36781         * po/de.po: Update German translation from translation project.
36783 2013-07-26  David S. Miller  <davem@davemloft.net>
36785         * po/bg.po: Update Bulgarian translation from translation project.
36787         * po/nl.po: Update Dutch translation from translation project.
36788         * po/pl.po: Update Polish translation from translation project.
36789         * po/ru.po: Update Russian translation from translation project.
36791 2013-07-24  David S. Miller  <davem@davemloft.net>
36793         * po/libc.pot: Update.
36795 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36797         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
36798         variable page size.
36799         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
36800         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
36801         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
36803 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36805         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
36807 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36808             Andreas Schwab  <schwab@suse.de>
36809             Roland McGrath  <roland@hack.frob.com>
36810             Joseph Myers  <joseph@codesourcery.com>
36811             Carlos O'Donell  <carlos@redhat.com>
36813         [BZ #15755]
36814         * config.h.in: Define HAVE_PT_CHOWN.
36815         * config.make.in (build-pt-chown): New variable.
36816         * configure.in (--enable-pt_chown): New configure option.
36817         * configure: Regenerate.
36818         * login/Makefile: Include Makeconfig.  Build pt_chown only if
36819         build-pt-chown is enabled.
36820         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
36821         pt_chown to fix pty ownership.
36822         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
36823         CLOSE_ALL_FDS.
36824         * manual/install.texi (Configuring and compiling): Mention
36825         --enable-pt_chown. Add @findex for grantpt.
36826         * INSTALL: Regenerate.
36828 2013-07-20  David S. Miller  <davem@davemloft.net>
36830         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
36831         difference between 32-bit and 64-bit.
36833 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
36835         [BZ #15711]
36836         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
36837         Avoid system header dependency with -ffreestanding.
36838         ($(objpfx)bits/syscall%d): Likewise.
36840 2013-07-13  David S. Miller  <davem@davemloft.net>
36842         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
36843         underflows from atanl/atan2l due to bug 15319.
36844         (casinh_test_data): Likewise.
36846 2013-07-07  David S. Miller  <davem@davemloft.net>
36848         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
36850 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
36852         * sysdeps/i386/fpu/libm-test-ulps: Update.
36853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36855 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36857         * configure.in (--enable-lock-elision): Fix message text.
36858         * INSTALL: Regenerate.
36859         * configure: Regenerate.
36861 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36863         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36865 2013-07-03  Andreas Jaeger  <aj@suse.de>
36867         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
36868         define.
36869         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
36870         (ptrace_peeksiginfo_args): Add.
36871         (__ptrace_peeksiginfo_flags): Add.
36872         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36873         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36874         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36876 2013-07-03  Allan McRae  <allan@archlinux.org>
36878         * sysdeps/i386/fpu/libm-test-ulps: Update.
36880 2013-07-02  David S. Miller  <davem@davemloft.net>
36882         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36884 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
36886         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36888 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
36890         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
36891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36893 2013-07-02  Andi Kleen <ak@linux.intel.com>
36895         * config.h.in (ENABLE_LOCK_ELISION): Add.
36896         * configure.in (--enable-lock-elision): Add option.
36897         * manual/install.texi: Document --enable lock elision.
36898         * configure: Regenerate
36899         * INSTALL: Regenerate.
36901 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
36903         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
36904         SSE4.2 strcasecmp for libc.a.
36905         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
36907 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
36909         [BZ #13304]
36910         * soft-fp/op-common.h (_FP_FMA): New macro.
36911         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
36912         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
36913         (_FP_MUL_MEAT_1_imm): ... here.
36914         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
36915         (_FP_MUL_MEAT_1_wide): ... here.
36916         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
36917         (_FP_MUL_MEAT_1_hard): ... here.
36918         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
36919         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
36920         (_FP_MUL_MEAT_2_wide): ... here.
36921         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
36922         (_FP_MUL_MEAT_2_wide_3mul): ... here.
36923         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
36924         (_FP_MUL_MEAT_2_gmp): ... here.
36925         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
36926         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
36927         (_FP_MUL_MEAT_4_wide): ... here.
36928         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
36929         (_FP_MUL_MEAT_4_gmp): ... here.
36930         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
36931         (_FP_WFRACBITS_DW_S): Likewise.
36932         (_FP_WFRACXBITS_DW_S): Likewise.
36933         (_FP_HIGHBIT_DW_S): Likewise.
36934         (FP_FMA_S): Likewise.
36935         (_FP_FRAC_HIGH_DW_S): Likewise.
36936         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
36937         (_FP_WFRACBITS_DW_D): Likewise.
36938         (_FP_WFRACXBITS_DW_D): Likewise.
36939         (_FP_HIGHBIT_DW_D): Likewise.
36940         (FP_FMA_D): Likewise.
36941         (_FP_FRAC_HIGH_DW_D): Likewise.
36942         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
36943         (_FP_WFRACBITS_DW_E): Likewise.
36944         (_FP_WFRACXBITS_DW_E): Likewise.
36945         (_FP_HIGHBIT_DW_E): Likewise.
36946         (FP_FMA_E): Likewise.
36947         (_FP_FRAC_HIGH_DW_E): Likewise.
36948         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
36949         (_FP_WFRACBITS_DW_Q): Likewise.
36950         (_FP_WFRACXBITS_DW_Q): Likewise.
36951         (_FP_HIGHBIT_DW_Q): Likewise.
36952         (FP_FMA_Q): Likewise.
36953         (_FP_FRAC_HIGH_DW_Q): Likewise.
36954         * soft-fp/fmasf4.c: New file.
36955         * soft-fp/fmadf4.c: Likewise.
36956         * soft-fp/fmatf4.c: Likewise.
36958 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
36960         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
36961         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
36962         Silvermont.
36963         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
36964         macro.
36965         (index_Slow_SSE4_2): Likewise.
36966         (index_Prefer_PMINUB_for_stringop): Likewise.
36967         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
36968         bit_Slow_SSE4_2 is set.
36969         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
36970         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36972 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
36974         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
36975         rtld_global._dl_hwcap2.
36976         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
36977         POWER8.
36978         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
36979         POWER8 feature descriptions defined in _dl_hwcap2.
36980         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
36981         string handling for POWER8 feature bits.
36982         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
36983         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
36984         _dl_powerpc_cap_flags.
36985         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
36986         * sysdeps/powerpc/rtld-global-offsets.sym
36987         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
36988         _dl_hwcap2 in the rtld_global_ro structure.
36990 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
36992         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
36993         hardware capabilities in support of AT_HWCAP2.
36994         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
36995         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
36996         GLRO(dl_hwcap2).
36997         (_dl_show_auxv): Add support for calling _dl_procinfo to display
36998         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
36999         explicitly the unknown a_type display mechanism is used.
37000         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
37001         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
37002         struct member.
37003         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
37004         to macro prototype for AT_HWCAP2 support.
37005         * sysdeps/i386/dl-procinfo.h: Likewise.
37006         * sysdeps/s390/dl-procinfo.h: Likewise.
37007         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
37008         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
37009         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
37010         return -1 for unknown a_type display fallback.
37011         * sysdeps/sparc/dl-procinfo.h: Likewise.
37012         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
37013         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
37015 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
37017         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
37018         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
37020 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
37022         [BZ #12492]
37023         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
37024         mprotect making __stack_prot writable.
37026 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
37027             Joseph Myers  <joseph@codesourcery.com>
37029         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
37030         as being properly aligned.
37032 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
37034         * dlfcn/modstatic5.c: New file.
37035         * dlfcn/tststatic5.c: New file.
37036         * dlfcn/Makefile (tests): Add tststatic5.
37037         (tests-static): Likewise.
37038         (modules-names): Add modstatic5.
37039         (tststatic5-ENV): New variable.
37040         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
37042         [BZ #15022]
37043         * elf/dl-support.c (_dl_main_map): New variable.
37044         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
37045         (_dl_nns, _dl_load_adds): Set to 1.
37046         (_dl_initial_searchlist): Refer to _dl_main_map.
37047         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
37048         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
37049         call to _dl_get_origin.
37050         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
37051         around call_map.
37052         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
37053         * dlfcn/modstatic3.c: New file.
37054         * dlfcn/tststatic3.c: New file.
37055         * dlfcn/tststatic4.c: New file.
37056         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
37057         (tests-static): Likewise.
37058         (modules-names): Add modstatic3.
37059         (tststatic3-ENV, tststatic4-ENV): New variables.
37060         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
37061         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
37063 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
37065         * configure.in (CC): Require GCC version 4.4 or later.
37066         * configure: Regenerated.
37067         * manual/install.texi (Tools for Compilation): Update GCC version
37068         requirement.
37069         * INSTALL: Regenerated.
37071 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37073         [BZ #15674]
37074         * string/test-memcmp.c (check2): New.
37075         (main): Call check2.
37077         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
37079 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
37081         [BZ #15022]
37082         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
37083         over to...
37084         (dl_open_worker) [!SHARED]: ... here.
37086 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37088         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
37090 2013-06-25  Richard Henderson  <rth@redhat.com>
37092         * locale/programs/locarchive.c: Include <libc-internal.h>
37094 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
37096         * manual/texinfo.tex: Update to version 2013-06-21.17, with
37097         trailing whitespace removed.
37099 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
37101         [BZ #10283]
37102         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
37103         * locale/programs/locarchive.c: Include libc-mmap.h.
37104         (prepare_address_space): Take two new outputs (the mmap base and len).
37105         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
37106         values.
37107         (create_archive): Declare new mmap base and len values for
37108         prepare_address_space, and store the result in ah.
37109         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
37110         (enlarge_archive): If ah->mmap_base is not NULL, use that and
37111         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
37112         Declare new mmap base and len values for
37113         prepare_address_space, and store the result in new_ah.
37114         (open_archive): Declare new mmap base and len values for
37115         prepare_address_space, and store the result in ah.
37116         (close_archive): If ah->mmap_base is not NULL, use that and
37117         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
37118         * sysdeps/generic/libc-mmap.h: New file.
37120 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
37122         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
37123         (ALIGN_UP): Likewise.
37124         (PTR_ALIGN_DOWN): Likewise.
37125         (PTR_ALIGN_UP): Likewise.
37127 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37129         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
37130         entry mapped to PPC_PLATFORM_POWER8.
37131         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
37132         POWER8.
37133         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
37134         (_dl_string_platform): Add case for exporting platform position for
37135         POWER8.
37136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
37137         search path to sysdeps/powerpc/powerpc32/power8 directory.
37138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
37139         search path to sysdeps/powerpc/powerpc64/power8 directory.
37140         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
37141         power7 directories.
37142         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
37143         power7 directories.
37145 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37147         * INSTALL: Regenerate.
37149         * nscd/connections.c (nscd_init): Fix comment.
37151 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
37153         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
37155         [BZ #15667]
37156         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
37157         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
37159 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
37161         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
37162         DL_DST_REQ_STATIC.
37163         (DL_DST_REQ_STATIC): Remove macro.
37165 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
37167         [BZ #7006]
37168         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
37169         with a shift of 0 bits.
37171 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
37173         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
37174         $(tststatic-ENV).
37176 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37178         [BZ #15655]
37179         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
37181 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37183         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
37184         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
37185         accepts -fno-tree-loop-distribute-patterns.
37186         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
37187         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
37188         recursive call.
37189         * string/memset.c (memset): Likewise.
37190         * string/test-memmove.c (simple_memmove): Disable loop transformation
37191         to library calls.
37192         * string/test-memset.c (simple_memset): Likewise.
37193         * benchtests/bench-memmove.c (simple_memmove): Likewise.
37194         * benchtests/bench-memset.c (simple_memset): Likewise.
37195         * configure: Regenerated.
37197 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
37199         * math/test-misc.c (main): Ignore fesetround failure when failures
37200         of subsequent rounding tests would be ignored.
37202         [BZ #15654]
37203         * math/fedisblxcpt.c (fedisableexcept): Return 0.
37204         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
37205         * math/fegetenv.c (__fegetenv): Return 0.
37206         * math/fegetexcept.c (fegetexcept): Return 0.
37207         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
37208         FE_TONEAREST.
37209         * math/feholdexcpt.c (feholdexcept): Return 0.
37210         * math/fesetenv.c (__fesetenv): Return 0.
37211         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
37212         argument FE_TONEAREST.
37213         * math/feupdateenv.c (__feupdateenv): Return 0.
37214         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
37216 2013-06-18  Roland McGrath  <roland@hack.frob.com>
37218         * elf/rtld-Rules (rtld-compile-command.S): New variable.
37219         (rtld-compile-command.s, rtld-compile-command.c): New variables.
37220         ($(objpfx)rtld-%.os rules): Use them.
37222 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37224         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
37225         fields.
37227 2013-06-17  Roland McGrath  <roland@hack.frob.com>
37229         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
37230         length of target pattern, then descending length of dependency pattern.
37231         * configure.in (AWK): Require gawk 3.1.2 or newer.
37232         * manual/install.texi (Tools for Compilation): Say that we do.
37233         * configure: Regenerated.
37235         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
37236         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
37237         * scripts/sysd-rules.awk: ... this new script.
37238         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
37239         than a glob-style pattern.
37241 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
37243         * math/test-misc.c (main): Do not treat incorrectly rounded
37244         conversions as failure unless ROUNDING_TESTS passes.
37246 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
37248         [BZ #15631]
37249         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
37250         restore exception state around main square root computation, then
37251         check for inexactness explicitly.
37253         * math/libm-test.inc (fma_test_data): Add another test.
37255 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37257         * manual/threads.texi (Non-POSIX Extensions): New document
37258         node.  Document pthread_getattr_default_np and
37259         pthread_setattr_default_np.
37261         * Versions.def (libpthread): Add GLIBC_2.18.
37262         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
37263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37264         Likewise.
37265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37266         Likewise.
37267         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37268         Likewise.
37269         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37270         Likewise.
37271         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
37272         Likewise.
37273         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37274         Likewise.
37275         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37276         Likewise.
37277         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
37278         Likewise.
37279         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
37280         Likewise.
37282 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37284         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37285         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
37287 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37288             H.J. Lu  <hjl.tools@gmail.com>
37290         [BZ #15627]
37291         * sysdeps/x86_64/rtld-memset.c: Remove file.
37292         * sysdeps/x86_64/rtld-memset.S: New file.
37294 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
37296         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
37297         (test_in_one_mode): Take arguments for whether the rounding mode
37298         is supported for each floating-point type.
37299         (do_test): Pass new arguments to test_in_one_mode using
37300         ROUNDING_TESTS.
37302 2013-06-13  Roland McGrath  <roland@hack.frob.com>
37304         * posix/tst-waitid.c (do_test): Distinguish different instances of
37305         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
37306         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
37307         before entering the kernel for waitpid.
37309 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
37311         * NEWS: Fix note on clock function precision.  Text by Roland
37312         McGrath.
37314 2013-06-13  Roland McGrath  <roland@hack.frob.com>
37316         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
37317         it into place only when and if the sanity check passes.
37319 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
37321         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
37322         output for whether conversion result is exact.  Take argument
37323         indicating whether type is IBM long double.
37324         (round_for_all): Change need_exact field to ibm_ld.
37325         * stdlib/tst-strtod-round.c (struct exactness): New type.
37326         (struct test): Change bool ld_ok field to struct exactness exact.
37327         (TEST): Update all definitions for change to field.
37328         (tests): Regenerate array contents.
37329         (test_in_one_mode): Take pointer to new field instead of old ld_ok
37330         field value.  Check for IBM long double here.
37331         (do_test): Update calls to test_in_one_mode.
37333 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
37335         [BZ #12515]
37336         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
37337         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
37339 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37341         [BZ #15605]
37342         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
37343         generated by the compiler on loop optimizations.
37344         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
37345         general definitions.
37347 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
37349         * math/bug-nextafter.c: Include <math-tests.h>.
37350         (main): Only test for exceptions if EXCEPTION_TESTS is true for
37351         the relevant type.
37352         * math/bug-nexttoward.c: Include <math-tests.h>.
37353         (main): Only test for exceptions if EXCEPTION_TESTS is true for
37354         the relevant type.
37355         * math/test-misc.c: Include <math-tests.h>.
37356         (main): Only test for exceptions if EXCEPTION_TESTS is true for
37357         the relevant type.
37359 2013-06-12  Andreas Jaeger  <aj@suse.de>
37361         * po/ia.po: Update Interlingua translation from translation
37362         project.
37364 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
37366         * include/fenv.h: Include stdbool.h.
37367         (struct rm_ctx): New structure.
37368         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
37369         Define macro.
37370         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
37371         (SET_RESTORE_ROUNDF): Likewise.
37372         (SET_RESTORE_ROUNDL): Likewise.
37373         (SET_RESTORE_ROUND_NOEX): Likewise.
37374         (SET_RESTORE_ROUND_NOEXF): Likewise.
37375         (SET_RESTORE_ROUND_NOEXL): Likewise.
37376         (SET_RESTORE_ROUND_53BIT): Likewise.
37377         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
37378         (libc_feresetround_noexf_ctx): Likewise.
37379         (libc_feresetround_noexl_ctx): Likewise.
37380         (libc_feholdsetround_53bit_ctx): Likewise.
37381         (libc_feresetround_53bit_ctx): Likewise.
37382         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
37383         (libc_feholdexcept_setround_sse_ctx): New function.
37384         (libc_fesetenv_sse_ctx): Likewise.
37385         (libc_feupdateenv_sse_ctx): Likewise.
37386         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
37387         (libc_feholdexcept_setround_387_ctx): Likewise.
37388         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
37389         (libc_feholdsetround_387_prec_ctx): Likewise.
37390         (libc_feholdsetround_387_ctx): Likewise.
37391         (libc_feholdsetround_387_53bit_ctx): Likewise.
37392         (libc_feholdsetround_sse_ctx): Likewise.
37393         (libc_feresetround_sse_ctx): Likewise.
37394         (libc_feresetround_387_ctx): Likewise.
37395         (libc_feupdateenv_387_ctx): Likewise.
37396         (libc_feholdexcept_setroundf_ctx): Define macro.
37397         (libc_fesetenvf_ctx): Likewise.
37398         (libc_feupdateenvf_ctx): Likewise.
37399         (libc_feholdsetroundf_ctx): Likewise.
37400         (libc_feresetroundf_ctx): Likewise.
37401         (libc_feholdexcept_setround_ctx): Likewise.
37402         (libc_fesetenv_ctx): Likewise.
37403         (libc_feupdateenv_ctx): Likewise.
37404         (libc_feholdsetround_ctx): Likewise.
37405         (libc_feresetround_ctx): Likewise.
37406         (libc_feholdexcept_setroundl_ctx): Likewise.
37407         (libc_feupdateenvl_ctx): Likewise.
37408         (libc_feholdsetroundl_ctx): Likewise.
37409         (libc_feresetroundl_ctx): Likewise.
37410         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
37411         (libc_feresetround_53bit_ctx): Likewise.
37413 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37415         * locale/iso-639.def: Convert to UTF-8.
37417 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
37419         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
37420         (EXCEPTION_TESTS_double): Likewise.
37421         (EXCEPTION_TESTS_long_double): Likewise.
37422         (EXCEPTION_TESTS): Likewise.
37423         * math/libm-test.inc (test_exceptions): Only test exceptions if
37424         EXCEPTION_TESTS (FLOAT).
37426 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37428         * benchtests/Makefile (string-bench): Add strcpy_chk and
37429         stpcpy_chk.
37430         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
37431         * benchtests/bench-stpcpy_chk.c: New file.
37432         * benchtests/bench-strcpy_chk-ifunc.c: New file.
37433         * benchtests/bench-strcpy_chk.c: New file.
37434         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
37435         code.
37436         (do_test): Likewise.
37438 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37440         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
37441         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
37442         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
37443         with tabs where appropriate.
37444         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
37445         dl-procinfo.h.
37446         [PPC_PLATFORM_PPC440]: Likewise.
37447         [PPC_PLATFORM_PPC464]: Likewise.
37448         [PPC_PLATFORM_PPC476]: Likewise.
37449         (_dl_string_platform): Add support for detecting ppc405, ppc440,
37450         ppc464, and ppc476 platform strings merging from ports/
37451         dl-procinfo.h.
37453 2013-06-11  Andreas Schwab  <schwab@suse.de>
37455         [BZ #14991]
37456         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
37457         (from_ucs4_idx): Regenerate.
37458         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
37459         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
37460         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
37461         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
37462         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
37463         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
37464         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
37465         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
37466         from FROM_LOOP and TO_LOOP specific macros.
37467         (BODY): Handle combining characters.
37468         * iconvdata/BIG5HKSCS.irreversible: Update.
37469         * iconvdata/BIG5HKSCS.precomposed: New file.
37470         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
37471         characters.
37472         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
37474 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37476         * include/sys/time.h: Fix indentation and add copyright header.
37478         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
37479         (do_test): Likewise.
37480         * string/test-memchr.c (do_one_test): Likewise.
37481         (do_test): Likewise.
37482         * string/test-memcmp.c (do_one_test): Likewise.
37483         (do_test): Likewise.
37484         * string/test-memcpy.c (do_one_test): Likewise.
37485         (do_test): Likewise.
37486         * string/test-memmem.c (do_one_test): Likewise.
37487         (do_test): Likewise.
37488         (do_random_tests): Likewise.
37489         * string/test-memmove.c (do_one_test): Likewise.
37490         (do_test): Likewise.
37491         * string/test-memset.c (do_one_test): Likewise.
37492         (do_test): Likewise.
37493         * string/test-rawmemchr.c (do_one_test): Likewise.
37494         (do_test): Likewise.
37495         * string/test-strcasecmp.c (do_one_test): Likewise.
37496         (do_test): Likewise.
37497         * string/test-strcasestr.c (do_one_test): Likewise.
37498         (do_test): Likewise.
37499         * string/test-strcat.c (do_one_test): Likewise.
37500         (do_test): Likewise.
37501         * string/test-strchr.c (do_one_test): Likewise.
37502         (do_test): Likewise.
37503         * string/test-strcmp.c (do_one_test): Likewise.
37504         (do_test): Likewise.
37505         * string/test-strcpy.c (do_one_test): Likewise.
37506         (do_test): Likewise.
37507         * string/test-string.h: Likewise.
37508         (test_init): Likewise.
37509         * string/test-strlen.c (do_one_test): Likewise.
37510         (do_test): Likewise.
37511         * string/test-strncasecmp.c (do_one_test): Likewise.
37512         (do_test): Likewise.
37513         * string/test-strncat.c (do_one_test): Likewise.
37514         (do_test): Likewise.
37515         * string/test-strncmp.c (do_one_test): Likewise.
37516         (do_test_limit): Likewise.
37517         (do_test): Likewise.
37518         * string/test-strncpy.c (do_one_test): Likewise.
37519         (do_test): Likewise.
37520         * string/test-strnlen.c (do_one_test): Likewise.
37521         (do_test): Likewise.
37522         * string/test-strpbrk.c (do_one_test): Likewise.
37523         (do_test): Likewise.
37524         * string/test-strrchr.c (do_one_test): Likewise.
37525         (do_test): Likewise.
37526         * string/test-strspn.c (do_one_test): Likewise.
37527         (do_test): Likewise.
37528         * string/test-strstr.c (do_one_test): Likewise.
37529         (do_test): Likewise.
37531         * benchtests/Makefile (string-bench): Add string benchmarks.
37532         * benchtests/bench-bcopy-ifunc.c: New file.
37533         * benchtests/bench-bcopy.c: New file.
37534         * benchtests/bench-bzero-ifunc.c: New file.
37535         * benchtests/bench-bzero.c: New file.
37536         * benchtests/bench-memccpy-ifunc.c: New file.
37537         * benchtests/bench-memccpy.c: New file.
37538         * benchtests/bench-memchr-ifunc.c: New file.
37539         * benchtests/bench-memchr.c: New file.
37540         * benchtests/bench-memcmp-ifunc.c: New file.
37541         * benchtests/bench-memcmp.c: New file.
37542         * benchtests/bench-memmem-ifunc.c: New file.
37543         * benchtests/bench-memmem.c: New file.
37544         * benchtests/bench-memmove-ifunc.c: New file.
37545         * benchtests/bench-memmove.c: New file.
37546         * benchtests/bench-mempcpy-ifunc.c: New file.
37547         * benchtests/bench-mempcpy.c: New file.
37548         * benchtests/bench-memset-ifunc.c: New file.
37549         * benchtests/bench-memset.c: New file.
37550         * benchtests/bench-rawmemchr-ifunc.c: New file.
37551         * benchtests/bench-rawmemchr.c: New file.
37552         * benchtests/bench-stpcpy-ifunc.c: New file.
37553         * benchtests/bench-stpcpy.c: New file.
37554         * benchtests/bench-stpncpy-ifunc.c: New file.
37555         * benchtests/bench-stpncpy.c: New file.
37556         * benchtests/bench-strcasecmp-ifunc.c: New file.
37557         * benchtests/bench-strcasecmp.c: New file.
37558         * benchtests/bench-strcasestr-ifunc.c: New file.
37559         * benchtests/bench-strcasestr.c: New file.
37560         * benchtests/bench-strcat-ifunc.c: New file.
37561         * benchtests/bench-strcat.c: New file.
37562         * benchtests/bench-strchr-ifunc.c: New file.
37563         * benchtests/bench-strchr.c: New file.
37564         * benchtests/bench-strchrnul-ifunc.c: New file.
37565         * benchtests/bench-strchrnul.c: New file.
37566         * benchtests/bench-strcmp-ifunc.c: New file.
37567         * benchtests/bench-strcmp.c: New file.
37568         * benchtests/bench-strcpy-ifunc.c: New file.
37569         * benchtests/bench-strcpy.c: New file.
37570         * benchtests/bench-strcspn-ifunc.c: New file.
37571         * benchtests/bench-strcspn.c: New file.
37572         * benchtests/bench-strlen-ifunc.c: New file.
37573         * benchtests/bench-strlen.c: New file.
37574         * benchtests/bench-strncasecmp-ifunc.c: New file.
37575         * benchtests/bench-strncasecmp.c: New file.
37576         * benchtests/bench-strncat-ifunc.c: New file.
37577         * benchtests/bench-strncat.c: New file.
37578         * benchtests/bench-strncmp-ifunc.c: New file.
37579         * benchtests/bench-strncmp.c: New file.
37580         * benchtests/bench-strncpy-ifunc.c: New file.
37581         * benchtests/bench-strncpy.c: New file.
37582         * benchtests/bench-strnlen-ifunc.c: New file.
37583         * benchtests/bench-strnlen.c: New file.
37584         * benchtests/bench-strpbrk-ifunc.c: New file.
37585         * benchtests/bench-strpbrk.c: New file.
37586         * benchtests/bench-strrchr-ifunc.c: New file.
37587         * benchtests/bench-strrchr.c: New file.
37588         * benchtests/bench-strspn-ifunc.c: New file.
37589         * benchtests/bench-strspn.c: New file.
37590         * benchtests/bench-strstr-ifunc.c: New file.
37591         * benchtests/bench-strstr.c: New file.
37593         * benchtests/Makefile: Disable parallel execution of targets.
37594         (string-bench): Add memcpy.
37595         (benchset): New variable to store a list of benchmark sets.
37596         (bench-func): Renamed from bench.
37597         (bench-set): New target.
37598         (bench): Depend on bench-func and bench-set.
37599         * benchtests/README: Add section on benchmark sets.
37600         * benchtests/bench-memcpy-ifunc.c: New file.
37601         * benchtests/bench-memcpy.c: New file.
37602         * benchtests/bench-string.h: New file.
37604 2013-06-11  Andreas Schwab  <schwab@suse.de>
37606         [BZ #15577]
37607         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
37608         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
37609         values in the triple.
37610         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
37611         terminator in the group key.
37613 2013-06-11  Andreas Jaeger  <aj@suse.de>
37615         * po/zh_TW.po: Update Chinese (traditional) translation from
37616         translation project.
37618 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37620         * include/time.h (__clock_gettime): Add libc_hidden_proto.
37621         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
37622         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
37623         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37624         (clock_getcpuclockid): Likewise.
37625         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
37626         Add weak_alias and libc_hidden_def.
37627         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
37628         * rt/clock_gettime.c (clock_gettime): Rename to
37629         __clock_gettime.  Add weak_alias and libc_hidden_def.
37630         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
37631         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
37632         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
37633         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
37634         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
37635         Likewise.
37636         * rt/clock_settime.c (clock_settime): Rename to
37637         __clock_settime.  Add weak_alias and libc_hidden_def.
37638         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
37640 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
37642         * mach/err_boot.sub: Remove trailing whitespace.
37643         * mach/err_ipc.sub: Likewise.
37644         * mach/err_mach.sub: Likewise.
37646         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
37647         (ROUNDING_TESTS_double): Likewise.
37648         (ROUNDING_TESTS_long_double): Likewise.
37649         (ROUNDING_TESTS): Likewise.
37650         * math/libm-test.inc: Include <math-tests.h>.
37651         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
37652         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
37653         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
37654         (IF_ROUND_INIT_FE_UPWARD): Likewise.
37656 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37658         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
37659         of assigning.
37661 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
37663         * sysdeps/gnu/errlist.awk: Do not generate space at end of
37664         otherwise empty TRANS lines.
37665         * sysdeps/gnu/errlist.c: Regenerated.
37667         * catgets/gencat.c (error_print): Use (void) in function
37668         definition.
37669         * crypt/crypt_util.c (__init_des): Likewise.
37670         * crypt/speeds.c (Stop): Likewise.
37671         (main): Likewise.
37672         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
37673         * inet/ruserpass.c (token): Likewise.
37674         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
37675         * intl/localealias.c (extend_alias_table): Likewise.
37676         * intl/plural-exp.c (init_germanic_plural): Likewise.
37677         * libio/fcloseall.c (__fcloseall): Likewise.
37678         * libio/genops.c (_IO_flush_all): Likewise.
37679         (_IO_flush_all_linebuffered): Likewise.
37680         (_IO_cleanup): Likewise.
37681         (_IO_iter_begin): Likewise.
37682         (_IO_iter_end): Likewise.
37683         (_IO_list_lock): Likewise.
37684         (_IO_list_unlock): Likewise.
37685         (_IO_list_resetlock): Likewise.
37686         * libio/getchar.c (getchar): Likewise.
37687         * libio/getchar_u.c (getchar_unlocked): Likewise.
37688         * libio/getwchar.c (getwchar): Likewise.
37689         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
37690         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
37691         * login/getpt.c (__getpt): Likewise.
37692         * login/tst-utmp.c (main): Likewise.
37693         * malloc/hooks.c (__malloc_check_init): Likewise.
37694         * malloc/malloc.c (__malloc_stats): Likewise.
37695         * malloc/mtrace.c (tr_break): Likewise.
37696         (mtrace): Likewise.
37697         (muntrace): Likewise.
37698         * misc/fstab.c (endfsent): Likewise.
37699         * misc/getclktck.c (__getclktck): Likewise.
37700         * misc/getdtsz.c (__getdtablesize): Likewise.
37701         * misc/gethostid.c (gethostid): Likewise.
37702         * misc/getpagesize.c (__getpagesize): Likewise.
37703         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
37704         (__get_nprocs): Likewise.
37705         (__get_phys_pages): Likewise.
37706         (__get_avphys_pages): Likewise.
37707         * misc/getttyent.c (getttyent): Likewise.
37708         (setttyent): Likewise.
37709         (endttyent): Likewise.
37710         * misc/getusershell.c (getusershell): Likewise.
37711         (endusershell): Likewise.
37712         (setusershell): Likewise.
37713         (initshells): Likewise.
37714         * misc/hsearch.c (__hdestroy): Likewise.
37715         * misc/sync.c (sync): Likewise.
37716         * misc/syslog.c (closelog_internal): Likewise.
37717         (closelog): Likewise.
37718         * misc/ttyslot.c (ttyslot): Likewise.
37719         * misc/vhangup.c (vhangup): Likewise.
37720         * posix/fork.c (__fork): Likewise.
37721         * posix/getegid.c (__getegid): Likewise.
37722         * posix/geteuid.c (__geteuid): Likewise.
37723         * posix/getgid.c (__getgid): Likewise.
37724         * posix/getpid.c (__getpid): Likewise.
37725         * posix/getppid.c (__getppid): Likewise.
37726         * posix/getuid.c (__getuid): Likewise.
37727         * posix/pause.c (pause): Likewise.
37728         * posix/setpgrp.c (setpgrp): Likewise.
37729         * posix/setsid.c (__setsid): Likewise.
37730         * posix/test-vfork.c (noop): Likewise.
37731         * resolv/gethnamaddr.c (_endhtent): Likewise.
37732         (_gethtent): Likewise.
37733         (ht_endhostent): Likewise.
37734         (gethostent): Likewise.
37735         (dns_service): Likewise.
37736         * stdlib/drand48.c (drand48): Likewise.
37737         * stdlib/lrand48.c (lrand48): Likewise.
37738         * stdlib/mrand48.c (mrand48): Likewise.
37739         * stdlib/rand.c (rand): Likewise.
37740         * stdlib/random.c (__random): Likewise.
37741         * stdlib/setenv.c (clearenv): Likewise.
37742         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
37743         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
37744         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
37745         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
37746         (__get_nprocs): Likewise.
37747         (__get_phys_pages): Likewise.
37748         (__get_avphys_pages): Likewise.
37749         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
37750         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
37751         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
37752         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
37753         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
37754         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
37755         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
37756         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
37757         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
37758         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
37759         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
37760         * sysdeps/mach/hurd/sync.c (sync): Likewise.
37761         * sysdeps/posix/clock.c (clock): Likewise.
37762         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
37763         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
37764         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
37765         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
37766         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
37767         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
37768         (__get_nprocs_conf): Likewise.
37769         (__get_phys_pages): Likewise.
37770         (__get_avphys_pages): Likewise.
37771         * time/clock.c (clock): Likewise.
37772         * time/tzset.c (__tzname_max): Likewise.
37774 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
37776         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
37777         (__bswap_32): Do not use "register".
37778         * crypt/crypt.c (_ufc_doit_r): Likewise.
37779         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
37780         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
37781         * gmon/gmon.c (__monstartup): Likewise.
37782         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
37783         * hurd/hurdmalloc.c (more_memory): Likewise.
37784         (malloc): Likewise.
37785         (free): Likewise.
37786         (realloc): Likewise.
37787         (malloc_fork_prepare): Likewise.
37788         (malloc_fork_parent): Likewise.
37789         (malloc_fork_child): Likewise.
37790         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
37791         (_svcauth_des): Likewise.
37792         * inet/inet_lnaof.c (inet_lnaof): Likewise.
37793         * inet/inet_net.c (inet_network): Likewise.
37794         * inet/inet_netof.c (inet_netof): Likewise.
37795         * inet/rcmd.c (__validuser2_sa): Likewise.
37796         * io/fts.c (fts_open): Likewise.
37797         (fts_load): Likewise.
37798         (fts_close): Likewise.
37799         (fts_read): Likewise.
37800         (fts_children): Likewise.
37801         (fts_build): Likewise.
37802         (fts_stat): Likewise.
37803         (fts_sort): Likewise.
37804         (fts_alloc): Likewise.
37805         (fts_lfree): Likewise.
37806         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
37807         (_IO_file_xsgetn): Likewise.
37808         (_IO_file_xsgetn_mmap): Likewise.
37809         * libio/iofopncook.c (_IO_cookie_read): Likewise.
37810         (_IO_cookie_write): Likewise.
37811         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
37812         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
37813         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
37814         * malloc/obstack.c (_obstack_begin): Likewise.
37815         (_obstack_begin_1): Likewise.
37816         (_obstack_newchunk): Likewise.
37817         (_obstack_allocated_p): Likewise.
37818         (obstack_free): Likewise.
37819         (_obstack_memory_used): Likewise.
37820         * misc/getttyent.c (getttynam): Likewise.
37821         (getttyent): Likewise.
37822         (skip): Likewise.
37823         (value): Likewise.
37824         * misc/getusershell.c (initshells): Likewise.
37825         * misc/syslog.c (__vsyslog_chk): Likewise.
37826         * misc/ttyslot.c (ttyslot): Likewise.
37827         * nis/nis_hash.c (__nis_hash): Likewise.
37828         * posix/fnmatch_loop.c (FCT): Likewise.
37829         * posix/getconf.c (print_all): Likewise.
37830         (main): Likewise.
37831         * posix/getopt.c (exchange): Likewise.
37832         * posix/glob.c (globfree): Likewise.
37833         (prefix_array): Likewise.
37834         (__glob_pattern_type): Likewise.
37835         * resolv/arpa/nameser.h (NS_GET16): Likewise.
37836         (NS_GET32): Likewise.
37837         (NS_PUT16): Likewise.
37838         (NS_PUT32): Likewise.
37839         * resolv/gethnamaddr.c (getanswer): Likewise.
37840         (gethostbyname2): Likewise.
37841         (gethostbyaddr): Likewise.
37842         (_gethtent): Likewise.
37843         (_gethtbyname2): Likewise.
37844         (_gethtbyaddr): Likewise.
37845         * resolv/ns_print.c (dst_s_get_int16): Likewise.
37846         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
37847         * resolv/res_init.c (__res_vinit): Likewise.
37848         (net_mask): Likewise.
37849         * resolv/res_mkquery.c (outchar): Likewise.
37850         (PRINT): Likewise.
37851         * stdio-common/printf_fp.c (outchar): Likewise.
37852         (PRINT): Likewise.
37853         * stdio-common/printf_fphex.c (outchar): Likewise.
37854         (PRINT): Likewise.
37855         * stdio-common/printf_size.c (outchar): Likewise.
37856         (PRINT): Likewise.
37857         * stdio-common/test_rdwr.c (main): Likewise.
37858         * stdio-common/tfformat.c (matches): Likewise.
37859         * stdio-common/vfprintf.c (outchar): Likewise.
37860         (printf_unknown): Likewise.
37861         (buffered_vfprintf): Likewise.
37862         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
37863         * stdio-common/xbug.c (AppendToBuffer): Likewise.
37864         (ReadFile): Likewise.
37865         * stdlib/qsort.c (SWAP): Likewise.
37866         (_quicksort): Likewise.
37867         * stdlib/setenv.c (__add_to_environ): Likewise.
37868         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
37869         * stdlib/strtol_l.c (__strtol_l): Likewise.
37870         * stdlib/tst-strtod.c (main): Likewise.
37871         * stdlib/tst-strtol.c (main): Likewise.
37872         * stdlib/tst-strtoll.c (main): Likewise.
37873         * string/bits/string2.h (__strcmp_cc): Likewise.
37874         (__strcmp_cg): Likewise.
37875         (__strcspn_c1): Likewise.
37876         (__strcspn_c2): Likewise.
37877         (__strcspn_c3): Likewise.
37878         (__strspn_c1): Likewise.
37879         (__strspn_c2): Likewise.
37880         (__strspn_c3): Likewise.
37881         (__strsep_1c): Likewise.
37882         (__strsep_2c): Likewise.
37883         (__strsep_3c): Likewise.
37884         * string/memccpy.c (__memccpy): Likewise.
37885         * string/stpcpy.c (__stpcpy): Likewise.
37886         * string/strcmp.c (strcmp): Likewise.
37887         * string/strrchr.c (strrchr): Likewise.
37888         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
37889         Likewise.
37890         * sysdeps/mach/hurd/getcwd.c
37891         (_hurd_canonicalize_directory_name_internal): Likewise.
37892         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
37893         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
37894         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
37895         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
37896         Likewise, in both definitions.
37897         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
37898         definitions.
37899         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
37900         64] (__bswap_64): Likewise.
37901         * time/test_time.c (main): Likewise.
37902         * time/tzfile.c (__tzfile_read): Likewise.
37903         (__tzfile_compute): Likewise.
37904         * time/tzset.c (__tzset_parse_tz): Likewise.
37905         (tzset_internal): Likewise.
37906         (compute_change): Likewise.
37907         * wcsmbs/wcscat.c (__wcscat): Likewise.
37908         * wcsmbs/wcschr.c (wcschr): Likewise.
37909         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
37910         * wcsmbs/wcscspn.c (wcscspn): Likewise.
37911         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
37912         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
37913         * wcsmbs/wcsspn.c (wcsspn): Likewise.
37914         * wcsmbs/wcsstr.c (wcsstr): Likewise.
37915         * wcsmbs/wmemchr.c (wmemchr): Likewise.
37916         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37917         * wcsmbs/wmemset.c (wmemset): Likewise.
37919 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
37921         * scripts/config.guess: Update to version 2013-05-16.
37922         * scripts/config.sub: Update to version 2013-04-24.
37923         * scripts/install-sh: Update to version 2011-11-20.07.
37924         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
37925         * scripts/move-if-change: Update to version 2012-01-06 07:23.
37927 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
37929         * debug/fgetws_u_chk.c: Fix leading whitespaces.
37930         * elf/sln.c: Likewise.
37931         * hurd/hurd/ioctl.h: Likewise.
37932         * hurd/hurdmalloc.c: Likewise.
37933         * hurd/xattr.c: Likewise.
37934         * include/shlib-compat.h: Likewise.
37935         * inet/ruserpass.c: Likewise.
37936         * libio/iofgets_u.c: Likewise.
37937         * libio/iofgetws_u.c: Likewise.
37938         * locale/programs/ld-identification.c: Likewise.
37939         * locale/programs/ld-time.c: Likewise.
37940         * mach/msg-destroy.c: Likewise.
37941         * nss/nss_files/files-netgrp.c: Likewise.
37942         * resolv/res_data.c: Likewise.
37943         * soft-fp/op-1.h: Likewise.
37944         * soft-fp/op-2.h: Likewise.
37945         * soft-fp/op-4.h: Likewise.
37946         * soft-fp/op-common.h: Likewise.
37947         * stdio-common/printf_fphex.c: Likewise.
37948         * stdlib/strtod_l.c: Likewise.
37949         * sunrpc/rpc/clnt.h: Likewise.
37950         * sysdeps/generic/framestate.c: Likewise.
37951         * sysdeps/i386/bsd-_setjmp.S: Likewise.
37952         * sysdeps/i386/bsd-setjmp.S: Likewise.
37953         * sysdeps/i386/__longjmp.S: Likewise.
37954         * sysdeps/i386/setjmp.S: Likewise.
37955         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37956         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37957         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37958         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37959         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37960         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
37961         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37962         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37963         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37964         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
37965         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
37966         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
37967         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
37968         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
37969         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
37970         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37971         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
37972         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
37973         * sysdeps/ieee754/support.c: Likewise.
37974         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37975         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
37976         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
37977         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
37978         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
37979         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
37980         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
37981         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
37982         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
37983         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
37984         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
37985         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
37986         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
37987         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
37988         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
37989         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
37990         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
37991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
37993 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
37995         * posix/transbug.c: Remove executable mode.
37997 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
37999         * crypt/speeds.c: Remove trailing whitespace.
38000         * dlfcn/default.c: Likewise.
38001         * elf/ifuncdep2.c: Likewise.
38002         * elf/ifuncmain1.c: Likewise.
38003         * elf/ifuncmain1vis.c: Likewise.
38004         * elf/testobj.h: Likewise.
38005         * elf/tst-stackguard1.c: Likewise.
38006         * gmon/sys/gmon.h: Likewise.
38007         * hurd/hurdmsg.c: Likewise.
38008         * hurd/new-fd.c: Likewise.
38009         * hurd/ports-get.c: Likewise.
38010         * iconvdata/ibm1008_420.c: Likewise.
38011         * inet/tst-getni1.c: Likewise.
38012         * inet/tst-getni2.c: Likewise.
38013         * libio/ioungetc.c: Likewise.
38014         * libio/wfiledoalloc.c: Likewise.
38015         * manual/libm-err-tab.pl: Likewise.
38016         * math/w_dremf.c: Likewise.
38017         * misc/ftruncate.c: Likewise.
38018         * posix/bug-glob2.c: Likewise.
38019         * posix/tst-pcre.c: Likewise.
38020         * posix/wait4.c: Likewise.
38021         * resolv/README: Likewise.
38022         * resolv/res_debug.h: Likewise.
38023         * resolv/tst-inet_ntop.c: Likewise.
38024         * setjmp/bug269-setjmp.c: Likewise.
38025         * soft-fp/extended.h: Likewise.
38026         * soft-fp/op-1.h: Likewise.
38027         * soft-fp/op-2.h: Likewise.
38028         * soft-fp/op-4.h: Likewise.
38029         * soft-fp/op-8.h: Likewise.
38030         * soft-fp/testit.c: Likewise.
38031         * stdio-common/bug16.c: Likewise.
38032         * stdlib/random.c: Likewise.
38033         * sunrpc/rpcsvc/rquota.x: Likewise.
38034         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
38035         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38036         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38037         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38038         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38039         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38040         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38041         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38042         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38043         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38044         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38045         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
38046         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38047         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
38048         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38049         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
38050         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
38051         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38052         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
38053         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38054         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38055         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38056         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
38057         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
38058         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
38059         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
38060         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
38061         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
38062         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38063         * sysdeps/ieee754/s_lib_version.c: Likewise.
38064         * sysdeps/mach/hurd/check_fds.c: Likewise.
38065         * sysdeps/mach/hurd/getsockname.c: Likewise.
38066         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
38067         * sysdeps/mach/hurd/recvfrom.c: Likewise.
38068         * sysdeps/powerpc/bits/link.h: Likewise.
38069         * sysdeps/powerpc/dl-procinfo.c: Likewise.
38070         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
38071         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
38072         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
38073         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
38074         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
38075         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
38076         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
38077         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
38078         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
38079         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
38080         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
38081         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
38082         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
38083         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
38084         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
38085         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
38086         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
38087         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
38088         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38089         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38090         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
38091         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38092         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
38093         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
38094         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
38095         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
38096         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38097         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38098         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
38099         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
38100         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
38101         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38102         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38103         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
38104         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
38105         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
38106         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
38107         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
38108         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
38109         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
38110         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
38111         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
38112         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
38113         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
38114         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
38115         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
38116         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
38117         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
38118         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
38119         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38120         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38121         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
38122         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
38123         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
38124         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
38125         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
38126         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38127         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
38128         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
38129         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
38130         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
38131         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
38132         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
38133         * sysdeps/powerpc/sysdep.h: Likewise.
38134         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38135         * sysdeps/s390/s390-64/sub_n.S: Likewise.
38136         * sysdeps/sh/dl-trampoline.S: Likewise.
38137         * sysdeps/sh/memset.S: Likewise.
38138         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
38139         * sysdeps/sh/strlen.S: Likewise.
38140         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
38141         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
38142         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
38143         * sysdeps/sparc/sparc32/rem.S: Likewise.
38144         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
38145         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
38146         * sysdeps/sparc/sparc32/strchr.S: Likewise.
38147         * sysdeps/sparc/sparc32/udiv.S: Likewise.
38148         * sysdeps/sparc/sparc32/urem.S: Likewise.
38149         * sysdeps/sparc/sparc64/add_n.S: Likewise.
38150         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38151         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
38152         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
38153         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
38154         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
38155         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
38156         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
38157         * sysdeps/unix/bsd/times.c: Likewise.
38158         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
38159         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
38160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
38161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
38162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
38163         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
38164         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
38165         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
38166         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
38167         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
38168         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
38169         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
38170         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
38171         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
38172         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
38173         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
38174         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
38175         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
38176         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
38177         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
38178         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
38179         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
38180         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
38181         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
38182         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
38183         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
38184         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
38185         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38186         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
38187         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
38188         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
38189         * sysdeps/x86_64/strcspn.S: Likewise.
38191 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38193         * locale/C-translit.h: Revert #include <stdint.h> because this is a
38194         generated file.  Regenerate properly from gen-translit.pl.
38195         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
38196         locale/C-translit.h.
38198 2013-06-05  Andreas Schwab  <schwab@suse.de>
38200         [BZ #15100]
38201         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
38202         week as 6 instead of -1.
38203         * time/tst-strptime.c (day_tests): Add test case.
38205 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
38207         * sysdeps/generic/math_private.h
38208         (libc_feholdexcept_setround_53bit): Replace with
38209         libc_feholdsetround_53bit.
38210         (libc_feupdateenv_53bit): Replace with
38211         libc_feresetround_53bit.
38212         (SET_RESTORE_ROUND_53BIT): Adjust.
38214 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
38216         * string/test-strchrnul.c: Add copyright header.
38218         * posix/tst-getaddrinfo4.c: Increase test timeout.
38220 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
38222         [BZ #15536]
38223         * math/libm-test.inc (MAX_EXP): Remove
38224         (MIN_EXP): Define.
38225         (ulp): Use MIN_EXP - MANT_DIG.
38226         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
38228 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
38230         * po/be.po: Revert last change.
38231         * po/zh_CN.po: Likewise.
38232         * po/header.pot: Likewise.
38234 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
38236         * Makefile ($(common-objpfx)linkobj/libc.so): Define
38237         link-libc-deps to empty as target-specific variable.
38238         * Makerules (link-libc-args): New variable.
38239         (libc-for-link): Likewise.
38240         (link-libc-deps): Likewise.
38241         (lib%.so): Depend on $(link-libc-deps).  Link with
38242         $(link-libc-args).
38243         (build-module): Link with $(link-libc-args).
38244         (build-module-asneeded): Likewise.
38245         (build-module-helper-objlist): Filter out $(link-libc-deps) from
38246         list of objects.
38247         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
38248         target-specific variable.
38249         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
38250         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
38251         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
38252         libc.
38253         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
38254         libc and ld.so.
38255         ($(objpfx)libpcprofile.so): Likewise.
38256         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
38257         libc_nonshared.a.
38258         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
38259         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
38260         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
38261         $(link-libc-deps).
38262         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
38263         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
38264         * login/Makefile ($(objpfx)libutil.so): Likewise.
38265         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
38266         * math/Makefile ($(objpfx)libm.so): Likewise.
38267         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
38268         $(objpfx)libnsl.so): Define libc-for-link as target-specific
38269         variable instead of depending directly on libc.
38270         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
38271         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
38272         $(link-libc-deps).
38273         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
38274         libc.
38275         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
38276         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
38277         ($(objpfx)libanl.so): Likewise.
38278         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
38279         ld.so.
38280         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
38281         $(link-libc-deps).
38282         * sysdeps/i386/fpu/Makefile: Remove file.
38283         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
38284         ($(objpfx)libm.so): Remove dependency on ld.so.
38286 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
38288         [BZ # 15553]
38289         * nis/yp_xdr.c (XDRMAXNAME): Define.
38290         (XDRMAXRECORD): Define.
38291         (xdr_domainname): Use XDRMAXNAME.
38292         (xdr_mapname): Likewise.
38293         (xdr_peername): Likewise.
38294         (xdr_keydat): Use XDRMAXRECORD.
38295         (xdr_valdat): Likewise.
38297 2013-05-30  Jeff Law  <law@redhat.com>
38299         [BZ #14256]
38300         * manual/errno.texi (ESTALE): Update to account for more than
38301         just NFS file systems.
38302         * sysdeps/gnu/errlist.c: Regenerated.
38304 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
38306         [BZ #15465]
38307         * elf/Makefile (tests): Add tst-null-argv.
38308         (modules-names):  Add tst-null-argv-lib.
38309         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
38310         (tst-null-argv-ENV): Set environment for tst-null-argv.
38311         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
38312         (RTLD_PROGNAME): New macro.
38313         * elf/tst-null-argv.c: New test case.
38314         * elf/tst-null-argv-lib.c: Library for test case.
38315         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
38316         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
38317         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
38318         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
38319         * elf/dl-init.c (call_init): Likewise.
38320         (_dl_init): Likewise.
38321         * elf/dl-load.c (print_search_path): Likewise.
38322         (_dl_map_object): Likewise.
38323         * elf/dl-lookup.c (do_lookup_x): Likewise.
38324         (add_dependency): Likewise.
38325         (_dl_lookup_symbol_x): Likewise.
38326         (_dl_debug_bindings): Likewise.
38327         * elf/dl-open.c (_dl_show_scope): Likewise.
38328         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
38329         * elf/dl-version.c (match_symbol): Likewise.
38330         (_dl_check_map_versions): Likewise.
38331         * elf/rtld.c (dl_main): Likewise.
38332         (print_unresolved): Use RTLD_PROGNAME.
38333         (print_missing_version): Likewise.
38334         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
38335         (elf_machine_rela): Likewise.
38336         * sysdeps/powerpc/powerpc32/dl-machine.c
38337         (__process_machine_rela): Likewise.
38338         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38339         Likewise.
38340         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
38341         Likewise.
38342         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
38343         Likewise.
38344         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38345         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
38346         Likewise.
38347         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
38348         Likewise.
38349         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38351 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
38353         * po/be.po: Add descriptive title.
38354         * po/zh_CN.po: Likewise.
38355         * po/header.pot: Likewise.
38357 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
38359         * locale/programs/locarchive.c (create_archive): Inlucde fname in
38360         error message.
38361         (enlarge_archive): Likewise.
38363 2013-05-28  Ben North  <ben@redfrontdoor.org>
38365         * manual/arith.texi (frexp): It is the magnitude of the return
38366         value which lies in [0.5, 1), not the return value itself.
38368 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38370         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38372 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
38374         * stdio-common/bug26.c (main): Correct fscanf template.
38376         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
38377         declare _dl_skip_args.
38379         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
38380         Don't declare.
38382         * manual/platform.texi: Add missing @end deftypefun.
38384 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
38386         [BZ #15529]
38387         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
38388         bit of mantissa of 2^16382.
38389         * math/libm-test.inc (hypot_test_data): Add more tests.
38391         * math/libm-test.inc: Add drem and pow10 to list of tested
38392         functions.
38393         (pow10_test): New function.
38394         (drem_test): Likewise.
38395         (drem_test_tonearest): Likewise.
38396         (drem_test_towardzero): Likewise.
38397         (drem_test_downward): Likewise.
38398         (drem_test_upward): Likewise.
38399         (main): Call the new functions.
38401         * math/libm-test.inc (finite_test_data): Remove.
38402         (finite_test): Run tests from isfinite_test_data.
38403         (gamma_test_data): Remove.
38404         (gamma_test): Run tests from lgamma_test_data.
38405         * sysdeps/i386/fpu/libm-test-ulps: Update.
38406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38408 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38410         * manual/platform.texi: Add PowerPC PPR function set documentation.
38411         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
38412         implementation.
38414 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
38416         * math/libm-test.inc (MAX_EXP): Define.
38417         (ULPDIFF): Define.
38418         (ulp): New function.
38419         (check_float_internal): Use ULPDIFF.
38420         (cpow_test): Disable failing test.
38421         (check_ulp): Test ulp() implemetnation.
38422         (main): Call check_ulp before starting tests.
38424 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
38426         * math/gen-libm-test.pl (generate_testfile): Do not handle
38427         START_DATA and END_DATA.
38428         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
38429         END_DATA.
38430         (acos_tonearest_test_data): Likewise.
38431         (acos_towardzero_test_data): Likewise.
38432         (acos_downward_test_data): Likewise.
38433         (acos_upward_test_data): Likewise.
38434         (acosh_test_data): Likewise.
38435         (asin_test_data): Likewise.
38436         (asin_tonearest_test_data): Likewise.
38437         (asin_towardzero_test_data): Likewise.
38438         (asin_downward_test_data): Likewise.
38439         (asin_upward_test_data): Likewise.
38440         (asinh_test_data): Likewise.
38441         (atan_test_data): Likewise.
38442         (atanh_test_data): Likewise.
38443         (atan2_test_data): Likewise.
38444         (cabs_test_data): Likewise.
38445         (cacos_test_data): Likewise.
38446         (cacosh_test_data): Likewise.
38447         (carg_test_data): Likewise.
38448         (casin_test_data): Likewise.
38449         (casinh_test_data): Likewise.
38450         (catan_test_data): Likewise.
38451         (catanh_test_data): Likewise.
38452         (cbrt_test_data): Likewise.
38453         (ccos_test_data): Likewise.
38454         (ccosh_test_data): Likewise.
38455         (ceil_test_data): Likewise.
38456         (cexp_test_data): Likewise.
38457         (cimag_test_data): Likewise.
38458         (clog_test_data): Likewise.
38459         (clog10_test_data): Likewise.
38460         (conj_test_data): Likewise.
38461         (copysign_test_data): Likewise.
38462         (cos_test_data): Likewise.
38463         (cos_tonearest_test_data): Likewise.
38464         (cos_towardzero_test_data): Likewise.
38465         (cos_downward_test_data): Likewise.
38466         (cos_upward_test_data): Likewise.
38467         (cosh_test_data): Likewise.
38468         (cosh_tonearest_test_data): Likewise.
38469         (cosh_towardzero_test_data): Likewise.
38470         (cosh_downward_test_data): Likewise.
38471         (cosh_upward_test_data): Likewise.
38472         (cpow_test_data): Likewise.
38473         (cproj_test_data): Likewise.
38474         (creal_test_data): Likewise.
38475         (csin_test_data): Likewise.
38476         (csinh_test_data): Likewise.
38477         (csqrt_test_data): Likewise.
38478         (ctan_test_data): Likewise.
38479         (ctan_tonearest_test_data): Likewise.
38480         (ctan_towardzero_test_data): Likewise.
38481         (ctan_downward_test_data): Likewise.
38482         (ctan_upward_test_data): Likewise.
38483         (ctanh_test_data): Likewise.
38484         (ctanh_tonearest_test_data): Likewise.
38485         (ctanh_towardzero_test_data): Likewise.
38486         (ctanh_downward_test_data): Likewise.
38487         (ctanh_upward_test_data): Likewise.
38488         (erf_test_data): Likewise.
38489         (erfc_test_data): Likewise.
38490         (exp_test_data): Likewise.
38491         (exp_tonearest_test_data): Likewise.
38492         (exp_towardzero_test_data): Likewise.
38493         (exp_downward_test_data): Likewise.
38494         (exp_upward_test_data): Likewise.
38495         (exp10_test_data): Likewise.
38496         (exp2_test_data): Likewise.
38497         (expm1_test_data): Likewise.
38498         (fabs_test_data): Likewise.
38499         (fdim_test_data): Likewise.
38500         (finite_test_data): Likewise.
38501         (floor_test_data): Likewise.
38502         (fma_test_data): Likewise.
38503         (fma_towardzero_test_data): Likewise.
38504         (fma_downward_test_data): Likewise.
38505         (fma_upward_test_data): Likewise.
38506         (fmax_test_data): Likewise.
38507         (fmin_test_data): Likewise.
38508         (fmod_test_data): Likewise.
38509         (fpclassify_test_data): Likewise.
38510         (frexp_test_data): Likewise.
38511         (gamma_test_data): Likewise.
38512         (hypot_test_data): Likewise.
38513         (ilogb_test_data): Likewise.
38514         (isfinite_test_data): Likewise.
38515         (isgreater_test_data): Likewise.
38516         (isgreaterequal_test_data): Likewise.
38517         (isinf_test_data): Likewise.
38518         (isless_test_data): Likewise.
38519         (islessequal_test_data): Likewise.
38520         (islessgreater_test_data): Likewise.
38521         (isnan_test_data): Likewise.
38522         (isnormal_test_data): Likewise.
38523         (issignaling_test_data): Likewise.
38524         (isunordered_test_data): Likewise.
38525         (j0_test_data): Likewise.
38526         (j1_test_data): Likewise.
38527         (jn_test_data): Likewise.
38528         (ldexp_test_data): Likewise.
38529         (lgamma_test_data): Likewise.
38530         (lrint_test_data): Likewise.
38531         (lrint_tonearest_test_data): Likewise.
38532         (lrint_towardzero_test_data): Likewise.
38533         (lrint_downward_test_data): Likewise.
38534         (lrint_upward_test_data): Likewise.
38535         (llrint_test_data): Likewise.
38536         (llrint_tonearest_test_data): Likewise.
38537         (llrint_towardzero_test_data): Likewise.
38538         (llrint_downward_test_data): Likewise.
38539         (llrint_upward_test_data): Likewise.
38540         (log_test_data): Likewise.
38541         (log10_test_data): Likewise.
38542         (log1p_test_data): Likewise.
38543         (log2_test_data): Likewise.
38544         (logb_test_data): Likewise.
38545         (logb_downward_test_data): Likewise.
38546         (lround_test_data): Likewise.
38547         (llround_test_data): Likewise.
38548         (modf_test_data): Likewise.
38549         (nearbyint_test_data): Likewise.
38550         (nextafter_test_data): Likewise.
38551         (nexttoward_test_data): Likewise.
38552         (pow_test_data): Likewise.
38553         (pow_tonearest_test_data): Likewise.
38554         (pow_towardzero_test_data): Likewise.
38555         (pow_downward_test_data): Likewise.
38556         (pow_upward_test_data): Likewise.
38557         (remainder_test_data): Likewise.
38558         (remainder_tonearest_test_data): Likewise.
38559         (remainder_towardzero_test_data): Likewise.
38560         (remainder_downward_test_data): Likewise.
38561         (remainder_upward_test_data): Likewise.
38562         (remquo_test_data): Likewise.
38563         (rint_test_data): Likewise.
38564         (rint_tonearest_test_data): Likewise.
38565         (rint_towardzero_test_data): Likewise.
38566         (rint_downward_test_data): Likewise.
38567         (rint_upward_test_data): Likewise.
38568         (round_test_data): Likewise.
38569         (scalb_test_data): Likewise.
38570         (scalbn_test_data): Likewise.
38571         (scalbln_test_data): Likewise.
38572         (signbit_test_data): Likewise.
38573         (sin_test_data): Likewise.
38574         (sin_tonearest_test_data): Likewise.
38575         (sin_towardzero_test_data): Likewise.
38576         (sin_downward_test_data): Likewise.
38577         (sin_upward_test_data): Likewise.
38578         (sincos_test_data): Likewise.
38579         (sinh_test_data): Likewise.
38580         (sinh_tonearest_test_data): Likewise.
38581         (sinh_towardzero_test_data): Likewise.
38582         (sinh_downward_test_data): Likewise.
38583         (sinh_upward_test_data): Likewise.
38584         (sqrt_test_data): Likewise.
38585         (tan_test_data): Likewise.
38586         (tan_tonearest_test_data): Likewise.
38587         (tan_towardzero_test_data): Likewise.
38588         (tan_downward_test_data): Likewise.
38589         (tan_upward_test_data): Likewise.
38590         (tanh_test_data): Likewise.
38591         (tgamma_test_data): Likewise.
38592         (trunc_test_data): Likewise.
38593         (y0_test_data): Likewise.
38594         (y1_test_data): Likewise.
38595         (yn_test_data): Likewise.
38596         (significand_test_data): Likewise.
38598         * math/gen-libm-test.pl (@functions): Remove variable.
38599         (generate_testfile): Don't handle START and END lines.
38600         * math/libm-test.inc (START): New macro.
38601         (END): Likewise.
38602         (END_COMPLEX): Likewise.
38603         (acos_test): Use END macro without arguments.
38604         (acos_test_tonearest): Likewise.
38605         (acos_test_towardzero): Likewise.
38606         (acos_test_downward): Likewise.
38607         (acos_test_upward): Likewise.
38608         (acosh_test): Likewise.
38609         (asin_test): Likewise.
38610         (asin_test_tonearest): Likewise.
38611         (asin_test_towardzero): Likewise.
38612         (asin_test_downward): Likewise.
38613         (asin_test_upward): Likewise.
38614         (asinh_test): Likewise.
38615         (atan_test): Likewise.
38616         (atanh_test): Likewise.
38617         (atan2_test): Likewise.
38618         (cabs_test): Likewise.
38619         (cacos_test): Use END_COMPLEX macro without arguments.
38620         (cacosh_test): Likewise.
38621         (carg_test): Use END macro without arguments.
38622         (casin_test): Use END_COMPLEX macro without arguments.
38623         (casinh_test): Likewise.
38624         (catan_test): Likewise.
38625         (catanh_test): Likewise.
38626         (cbrt_test): Use END macro without arguments.
38627         (ccos_test): Use END_COMPLEX macro without arguments.
38628         (ccosh_test): Likewise.
38629         (ceil_test): Use END macro without arguments.
38630         (cexp_test): Use END_COMPLEX macro without arguments.
38631         (cimag_test): Use END macro without arguments.
38632         (clog_test): Use END_COMPLEX macro without arguments.
38633         (clog10_test): Likewise.
38634         (conj_test): Likewise.
38635         (copysign_test): Use END macro without arguments.
38636         (cos_test): Likewise.
38637         (cos_test_tonearest): Likewise.
38638         (cos_test_towardzero): Likewise.
38639         (cos_test_downward): Likewise.
38640         (cos_test_upward): Likewise.
38641         (cosh_test): Likewise.
38642         (cosh_test_tonearest): Likewise.
38643         (cosh_test_towardzero): Likewise.
38644         (cosh_test_downward): Likewise.
38645         (cosh_test_upward): Likewise.
38646         (cpow_test): Use END_COMPLEX macro without arguments.
38647         (cproj_test): Likewise.
38648         (creal_test): Use END macro without arguments.
38649         (csin_test): Use END_COMPLEX macro without arguments.
38650         (csinh_test): Likewise.
38651         (csqrt_test): Likewise.
38652         (ctan_test): Likewise.
38653         (ctan_test_tonearest): Likewise.
38654         (ctan_test_towardzero): Likewise.
38655         (ctan_test_downward): Likewise.
38656         (ctan_test_upward): Likewise.
38657         (ctanh_test): Likewise.
38658         (ctanh_test_tonearest): Likewise.
38659         (ctanh_test_towardzero): Likewise.
38660         (ctanh_test_downward): Likewise.
38661         (ctanh_test_upward): Likewise.
38662         (erf_test): Use END macro without arguments.
38663         (erfc_test): Likewise.
38664         (exp_test): Likewise.
38665         (exp_test_tonearest): Likewise.
38666         (exp_test_towardzero): Likewise.
38667         (exp_test_downward): Likewise.
38668         (exp_test_upward): Likewise.
38669         (exp10_test): Likewise.
38670         (exp2_test): Likewise.
38671         (expm1_test): Likewise.
38672         (fabs_test): Likewise.
38673         (fdim_test): Likewise.
38674         (finite_test): Likewise.
38675         (floor_test): Likewise.
38676         (fma_test): Likewise.
38677         (fma_test_towardzero): Likewise.
38678         (fma_test_downward): Likewise.
38679         (fma_test_upward): Likewise.
38680         (fmax_test): Likewise.
38681         (fmin_test): Likewise.
38682         (fmod_test): Likewise.
38683         (fpclassify_test): Likewise.
38684         (frexp_test): Likewise.
38685         (gamma_test): Likewise.
38686         (hypot_test): Likewise.
38687         (ilogb_test): Likewise.
38688         (isfinite_test): Likewise.
38689         (isgreater_test): Likewise.
38690         (isgreaterequal_test): Likewise.
38691         (isinf_test): Likewise.
38692         (isless_test): Likewise.
38693         (islessequal_test): Likewise.
38694         (islessgreater_test): Likewise.
38695         (isnan_test): Likewise.
38696         (isnormal_test): Likewise.
38697         (issignaling_test): Likewise.
38698         (isunordered_test): Likewise.
38699         (j0_test): Likewise.
38700         (j1_test): Likewise.
38701         (jn_test): Likewise.
38702         (ldexp_test): Likewise.
38703         (lgamma_test): Likewise.
38704         (lrint_test): Likewise.
38705         (lrint_test_tonearest): Likewise.
38706         (lrint_test_towardzero): Likewise.
38707         (lrint_test_downward): Likewise.
38708         (lrint_test_upward): Likewise.
38709         (llrint_test): Likewise.
38710         (llrint_test_tonearest): Likewise.
38711         (llrint_test_towardzero): Likewise.
38712         (llrint_test_downward): Likewise.
38713         (llrint_test_upward): Likewise.
38714         (log_test): Likewise.
38715         (log10_test): Likewise.
38716         (log1p_test): Likewise.
38717         (log2_test): Likewise.
38718         (logb_test): Likewise.
38719         (logb_test_downward): Likewise.
38720         (lround_test): Likewise.
38721         (llround_test): Likewise.
38722         (modf_test): Likewise.
38723         (nearbyint_test): Likewise.
38724         (nextafter_test): Likewise.
38725         (nexttoward_test): Likewise.
38726         (pow_test): Likewise.
38727         (pow_test_tonearest): Likewise.
38728         (pow_test_towardzero): Likewise.
38729         (pow_test_downward): Likewise.
38730         (pow_test_upward): Likewise.
38731         (remainder_test): Likewise.
38732         (remainder_test_tonearest): Likewise.
38733         (remainder_test_towardzero): Likewise.
38734         (remainder_test_downward): Likewise.
38735         (remainder_test_upward): Likewise.
38736         (remquo_test): Likewise.
38737         (rint_test): Likewise.
38738         (rint_test_tonearest): Likewise.
38739         (rint_test_towardzero): Likewise.
38740         (rint_test_downward): Likewise.
38741         (rint_test_upward): Likewise.
38742         (round_test): Likewise.
38743         (scalb_test): Likewise.
38744         (scalbn_test): Likewise.
38745         (scalbln_test): Likewise.
38746         (signbit_test): Likewise.
38747         (sin_test): Likewise.
38748         (sin_test_tonearest): Likewise.
38749         (sin_test_towardzero): Likewise.
38750         (sin_test_downward): Likewise.
38751         (sin_test_upward): Likewise.
38752         (sincos_test): Likewise.
38753         (sinh_test): Likewise.
38754         (sinh_test_tonearest): Likewise.
38755         (sinh_test_towardzero): Likewise.
38756         (sinh_test_downward): Likewise.
38757         (sinh_test_upward): Likewise.
38758         (sqrt_test): Likewise.
38759         (tan_test): Likewise.
38760         (tan_test_tonearest): Likewise.
38761         (tan_test_towardzero): Likewise.
38762         (tan_test_downward): Likewise.
38763         (tan_test_upward): Likewise.
38764         (tanh_test): Likewise.
38765         (tgamma_test): Likewise.
38766         (trunc_test): Likewise.
38767         (y0_test): Likewise.
38768         (y1_test): Likewise.
38769         (yn_test): Likewise.
38770         (significand_test): Likewise.
38772 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
38774         [BZ #15381]
38775         * libio/genops.c (_IO_no_init): Initialize wide struct info.
38777 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
38779         [BZ #14894]
38780         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
38781         __ppc_mdoio and __ppc_mdoom.
38782         * manual/platform.texi: Document new functions __ppc_yield,
38783         __ppc_mdoio and __ppc_mdoom.
38785 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
38787         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
38788         (main): Mention "tls" pseudo-hwcap is legacy.
38789         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
38791 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
38793         * math/gen-libm-test.pl (parse_args): Output only string of
38794         arguments as text for test name, not full call or descriptions of
38795         tests for extra outputs.
38796         (generate_testfile): Do not pass function name to parse_args.
38797         Generate this_func variable from START.
38798         * math/libm-test.inc (struct test_f_f_data): Rename test_name
38799         field to arg_str.
38800         (struct test_ff_f_data): Likewise.
38801         (test_ff_f_data_nexttoward): Likewise.
38802         (struct test_fi_f_data): Likewise.
38803         (struct test_fl_f_data): Likewise.
38804         (struct test_if_f_data): Likewise.
38805         (struct test_fff_f_data): Likewise.
38806         (struct test_c_f_data): Likewise.
38807         (struct test_f_f1_data): Likewise.  Remove field extra_name.
38808         (struct test_fF_f1_data): Likewise.
38809         (struct test_ffI_f1_data): Likewise.
38810         (struct test_c_c_data): Rename test_name field to arg_str.
38811         (struct test_cc_c_data): Likewise.
38812         (struct test_f_i_data): Likewise.
38813         (struct test_ff_i_data): Likewise.
38814         (struct test_f_l_data): Likewise.
38815         (struct test_f_L_data): Likewise.
38816         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
38817         and extra2_name.
38818         (COMMON_TEST_SETUP): New macro.
38819         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
38820         (COMMON_TEST_CLEANUP): Likewise.
38821         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
38822         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
38823         macros.
38824         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
38825         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
38826         macros.
38827         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
38828         (RUN_TEST_fff_f): Take argument string.  Call new setup and
38829         cleanup macros.
38830         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
38831         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
38832         macros.
38833         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
38834         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
38835         macros.
38836         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
38837         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
38838         cleanup macros.
38839         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
38840         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
38841         cleanup macros.
38842         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
38843         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
38844         cleanup macros.
38845         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
38846         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
38847         macros.
38848         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
38849         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
38850         macros.
38851         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
38852         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
38853         macros.
38854         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
38855         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
38856         cleanup macros.
38857         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
38858         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
38859         cleanup macros.
38860         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
38861         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
38862         macros.
38863         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
38864         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
38865         cleanup macros.
38866         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
38867         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
38868         macros.
38869         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
38870         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
38871         macros.
38872         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
38873         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
38874         cleanup macros.
38875         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
38877 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
38879         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
38880         to _sifields.sigfault.
38881         (si_addr_lsb): Define new macro.
38882         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
38883         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
38884         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
38886 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
38888         [BZ #15441]
38889         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
38890         returns -1.
38891         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
38892         null return -1.
38893         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
38894         loading the domain.
38896 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
38898         * math/gen-libm-test.pl (parse_args): Do not include expected
38899         result in test name.
38900         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
38901         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38902         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
38903         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
38904         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
38905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38907 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
38909         * benchtests/Makefile: Sort function entries.
38911         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
38912         tanh, asinh, acosh, atanh.
38913         * benchtests/acos-inputs: New file.
38914         * benchtests/acosh-inputs: New file.
38915         * benchtests/asin-inputs: New file.
38916         * benchtests/asinh-inputs: New file.
38917         * benchtests/atanh-inputs: New file.
38918         * benchtests/cosh-inputs: New file.
38919         * benchtests/log-inputs: New file.
38920         * benchtests/sinh-inputs: New file.
38921         * benchtests/tanh-inputs: New file.
38923 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
38925         [BZ #15339]
38926         * posix/tst-getaddrinfo4.c: New test.
38927         * posix/Makefile (tests): Add it.
38929 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38931         [BZ #15339]
38932         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
38933         when no services were used.
38934         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
38935         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
38937 2013-05-21  Andreas Schwab  <schwab@suse.de>
38939         [BZ #15014]
38940         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
38941         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
38942         successful.
38943         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
38944         redundant variable declarations and reallocation of buffer when
38945         parsing as IPv6 address.  Always set NSS status when called from
38946         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
38947         buffer too small.  Correct computation of needed size.
38948         * nss/Makefile (tests): Add test-digits-dots.
38949         * nss/test-digits-dots.c: New test.
38951 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38953         * benchtests/Makefile: Remove instructions for adding
38954         benchmark tests.
38955         * benchtests/README: New file to explain how to execute and
38956         enhance the benchmark tests.
38958 2013-05-21  Andreas Schwab  <schwab@suse.de>
38960         [BZ #15493]
38961         * setjmp/Makefile (tests): Add tst-sigsetjmp.
38962         * setjmp/tst-sigsetjmp.c: New test.
38964 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
38966         * sysdeps/x86_64/memset.S (memset): New implementation.
38967         (__bzero): Likewise.
38968         (__memset_tail): New function.
38970 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
38972         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
38973         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
38974         __memcpy_sse2_unaligned ifunc selection.
38975         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
38976         Add memcpy-sse2-unaligned.S.
38977         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38978         Add: __memcpy_sse2_unaligned.
38980 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
38982         [BZ #15490]
38983         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
38984         math_force_eval before restoring floating-point envrionment.
38985         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
38986         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
38987         Likewise.
38988         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
38989         <math_private.h>.
38990         (__nearbyintl): Use math_force_eval before restoring
38991         floating-point environment.
38992         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
38994         * math/gen-libm-test.pl (special_functions): Remove.
38995         (parse_args): Don't handle TEST_extra.  Handle functions with no
38996         return value.
38997         * math/libm-test.inc (struct test_sincos_data): Replace with
38998         struct test_fFF_11_data.
38999         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
39000         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
39001         (sincos_test_data): Change element type to struct
39002         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
39003         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
39004         RUN_TEST_LOOP_sincos.
39005         * math/README.libm-test: Don't mention special handling of
39006         individual functions.
39007         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
39008         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39009         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39010         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
39011         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39014         * math/gen-libm-test.pl (get_variable): Remove function.
39015         (parse_args): Don't show pointer parameters to call in test
39016         names.  Use "extra output N" in test names for extra outputs
39017         rather than naming variables.
39019 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
39021         [BZ #15488]
39022         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
39023         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
39024         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
39025         double tests.
39026         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
39027         disable.
39028         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
39029         check_long_double.
39031         * math/gen-libm-test.pl (@tests): Remove variable.
39032         ($count): Likewise.
39033         (new_test): Remove function.
39034         (show_exceptions): New function.
39035         (special_functions): Use show_exceptions instead of new_test.
39036         (parse_args): Likewise.
39037         (generate_testfile): Pass only function name in generated call to
39038         print_max_error or print_complex_max_error.
39039         (get_ulps): Do not handle complex tests specially.
39040         (output_test): Rename to ...
39041         (get_all_ulps_for_test): ... this.  Return a string rather than
39042         printing to a file.  Require ulps to be present.
39043         (output_ulps): Generate arrays rather than #defines.
39044         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
39045         (struct ulp_data): New type.
39046         (BUILD_COMPLEX_ULP): Remove macro.
39047         (compare_ulp_data): New function.
39048         (find_ulps): Likewise.
39049         (find_test_ulps): Likewise.
39050         (find_function_ulps): Likewise.
39051         (find_complex_function_ulps): Likewise.
39052         (print_max_error): Determine allowed ulps using
39053         find_function_ulps.
39054         (print_complex_max_error): Determine allowed ulps using
39055         find_complex_function_ulps.
39056         (check_float_internal): Determine max ulps using find_test_ulps.
39057         (check_float): Do not take max_ulp parameter.  Update call to
39058         check_float_internal.
39059         (check_complex): Likewise.
39060         (check_int): Do not take max_ulp parameter.
39061         (check_long): Likewise.
39062         (check_bool): Likewise.
39063         (check_longlong): Likewise.
39064         (struct test_f_f_data): Remove max_ulp field.
39065         (struct test_ff_f_data): Likewise.
39066         (struct test_ff_f_data_nexttoward): Likewise.
39067         (struct test_fi_f_data): Likewise.
39068         (struct test_fl_f_data): Likewise.
39069         (struct test_if_f_data): Likewise.
39070         (struct test_fff_f_data): Likewise.
39071         (struct test_c_f_data): Likewise.
39072         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
39073         (struct test_fF_f1_data): Likewise.
39074         (struct test_ffI_f1_data): Likewise.
39075         (struct test_c_c_data): Remove max_ulp field.
39076         (struct test_cc_c_data): Likewise.
39077         (struct test_f_i_data): Likewise.
39078         (struct test_ff_i_data): Likewise.
39079         (struct test_f_l_data): Likewise.
39080         (struct test_f_L_data): Likewise.
39081         (struct test_sincos_data): Likewise.
39082         (RUN_TEST_f_f): Do not handle ulps.
39083         (RUN_TEST_LOOP_f_f): Likewise.
39084         (RUN_TEST_2_f): Likewise.
39085         (RUN_TEST_LOOP_2_f): Likewise.
39086         (RUN_TEST_fff_f): Likewise.
39087         (RUN_TEST_LOOP_fff_f): Likewise.
39088         (RUN_TEST_c_f): Likewise.
39089         (RUN_TEST_LOOP_c_f): Likewise.
39090         (RUN_TEST_f_f1): Likewise.
39091         (RUN_TEST_LOOP_f_f1): Likewise.
39092         (RUN_TEST_fF_f1): Likewise.
39093         (RUN_TEST_LOOP_fF_f1): Likewise.
39094         (RUN_TEST_fI_f1): Likewise.
39095         (RUN_TEST_LOOP_fI_f1): Likewise.
39096         (RUN_TEST_ffI_f1): Likewise.
39097         (RUN_TEST_LOOP_ffI_f1): Likewise.
39098         (RUN_TEST_c_c): Likewise.
39099         (RUN_TEST_LOOP_c_c): Likewise.
39100         (RUN_TEST_cc_c): Likewise.
39101         (RUN_TEST_LOOP_cc_c): Likewise.
39102         (RUN_TEST_f_i): Likewise.
39103         (RUN_TEST_LOOP_f_i): Likewise.
39104         (RUN_TEST_f_i_tg): Likewise.
39105         (RUN_TEST_LOOP_f_i_tg): Likewise.
39106         (RUN_TEST_ff_i_tg): Likewise.
39107         (RUN_TEST_LOOP_ff_i_tg): Likewise.
39108         (RUN_TEST_f_b): Likewise.
39109         (RUN_TEST_LOOP_f_b): Likewise.
39110         (RUN_TEST_f_b_tg): Likewise.
39111         (RUN_TEST_LOOP_f_b_tg): Likewise.
39112         (RUN_TEST_f_l): Likewise.
39113         (RUN_TEST_LOOP_f_l): Likewise.
39114         (RUN_TEST_f_L): Likewise.
39115         (RUN_TEST_LOOP_f_L): Likewise.
39116         (RUN_TEST_sincos): Likewise.
39117         (RUN_TEST_LOOP_sincos): Likewise.
39119 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
39121         [BZ #15480]
39122         [BZ #15485]
39123         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
39124         main case of finite arguments, set rounding mode to FE_TONEAREST
39125         and discard exceptions.
39126         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
39127         exceptions.
39128         (remainder_tonearest_test_data): New variable.
39129         (remainder_test_tonearest): New function.
39130         (remainder_towardzero_test_data): New variable.
39131         (remainder_test_towardzero): New function.
39132         (remainder_downward_test_data): New variable.
39133         (remainder_test_downward): New function.
39134         (remainder_upward_test_data): New variable.
39135         (remainder_test_upward): New function.
39136         (main): Call the new test functions.
39138         * math/libm-test.inc (struct test_f_f1_data): Remove field
39139         extra_init.
39140         (struct test_fF_f1_data): Likewise.
39141         (struct test_ffI_f1_data): Likewise.
39142         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
39143         based on value of EXTRA_EXPECTED.
39144         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
39145         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
39146         EXTRA_VAR based on value of EXTRA_EXPECTED.
39147         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
39148         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
39149         EXTRA_VAR based on value of EXTRA_EXPECTED.
39150         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
39151         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
39152         EXTRA_VAR based on value of EXTRA_EXPECTED.
39153         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
39154         * math/gen-libm-test.pl (parse_args): Don't output initializers
39155         for extra output values.
39157         * math/libm-test.inc (check_int): Expect result to be exactly
39158         equal to expected value and do not handle ulps.
39159         (check_long): Likewise.
39160         (check_longlong): Likewise.
39162         * math/libm-test.inc (ceil_test_data): Test for "inexact"
39163         exceptions.
39164         (cimag_test_data): Likewise.
39165         (conj_test_data): Likewise.
39166         (copysign_test_data): Likewise.
39167         (cproj_test_data): Likewise.
39168         (creal_test_data): Likewise.
39169         (fabs_test_data): Likewise.
39170         (fdim_test_data): Likewise.
39171         (finite_test_data): Likewise.
39172         (floor_test_data): Likewise.
39173         (fmax_test_data): Likewise.
39174         (fmin_test_data): Likewise.
39175         (fmod_test_data): Likewise.
39176         (fpclassify_test_data): Likewise.
39177         (frexp_test_data): Likewise.
39178         (ilogb_test_data): Likewise.
39179         (isfinite_test_data): Likewise.
39180         (isgreater_test_data): Likewise.
39181         (isgreaterequal_test_data): Likewise.
39182         (isinf_test_data): Likewise.
39183         (isless_test_data): Likewise.
39184         (islessequal_test_data): Likewise.
39185         (islessgreater_test_data): Likewise.
39186         (isnan_test_data): Likewise.
39187         (isnormal_test_data): Likewise.
39188         (issignaling_test_data): Likewise.
39189         (isunordered_test_data): Likewise.
39190         (ldexp_test_data): Likewise.
39191         (lrint_test_data): Likewise.
39192         (lrint_test_data) [TEST_FLOAT]: Disable one test.
39193         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
39194         (lrint_tonearest_test_data): Test for "inexact" exceptions.
39195         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
39196         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
39197         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
39198         test input.
39199         (lrint_towardzero_test_data): Test for "inexact" exceptions.
39200         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
39201         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
39202         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
39203         that test input.
39204         (lrint_downward_test_data): Test for "inexact" exceptions.
39205         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
39206         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
39207         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
39208         test input.
39209         (lrint_upward_test_data): Test for "inexact" exceptions.
39210         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
39211         test input.
39212         (llrint_test_data): Test for "inexact" exceptions.
39213         (llrint_test_data) [TEST_FLOAT]: Disable one test.
39214         (llrint_tonearest_test_data): Test for "inexact" exceptions.
39215         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
39216         (llrint_towardzero_test_data): Test for "inexact" exceptions.
39217         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
39218         (llrint_downward_test_data): Test for "inexact" exceptions.
39219         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
39220         (llrint_upward_test_data): Test for "inexact" exceptions.
39221         (logb_test_data): Likewise.
39222         (logb_downward_test_data): Likewise.
39223         (nextafter_test_data): Likewise.
39224         (nexttoward_test_data): Likewise.
39225         (remainder_test_data): Likewise.
39226         (remquo_test_data): Likewise.
39227         (scalbn_test_data): Likewise.
39228         (scalbln_test_data): Likewise.
39229         (signbit_test_data): Likewise.
39230         (sqrt_test_data): Likewise.
39231         (significand_test_data): Likewise.
39233 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
39235         [BZ #15424]
39236         * benchtests/bench-modf.c (struct args): Mark arg0 as
39237         volatile.
39238         * scripts/bench.pl: Mark members of struct args as volatile.
39240 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39242         [BZ # 15497]
39243         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
39244         negative infinity on POWER6 or lower.
39245         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
39247 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
39249         [BZ #15442]
39250         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
39251         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
39252         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
39253         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
39254         (_FP_SETQNAN): New macro.
39255         (_FP_SETQNAN_SEMIRAW): Likewise.
39256         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
39257         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
39258         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
39259         (FP_EXTEND): Use _FP_FRAC_SNANP.
39260         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
39261         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
39262         into account.
39263         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
39264         New macro.
39265         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
39266         Likewise.
39268 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
39270         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
39271         with DIVIDE_BY_ZERO_EXCEPTION.
39272         (gamma_test_data): Likewise.
39273         (lgamma_test_data): Likewise.
39274         (log_test_data): Likewise.
39275         (log10_test_data): Likewise.
39276         (log2_test_data): Likewise.
39277         (tgamma_test_data): Likewise.
39279         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
39280         (acos_test_tonearest): Likewise.
39281         (acos_test_towardzero): Likewise.
39282         (acos_test_downward): Likewise.
39283         (acos_test_upward): Likewise.
39284         (acosh_test): Likewise.
39285         (asin_test): Likewise.
39286         (asin_test_tonearest): Likewise.
39287         (asin_test_towardzero): Likewise.
39288         (asin_test_downward): Likewise.
39289         (asin_test_upward): Likewise.
39290         (asinh_test): Likewise.
39291         (atan_test): Likewise.
39292         (atanh_test): Likewise.
39293         (atan2_test): Likewise.
39294         (cabs_test): Likewise.
39295         (cacos_test): Likewise.
39296         (cacosh_test): Likewise.
39297         (casin_test): Likewise.
39298         (casinh_test): Likewise.
39299         (catan_test): Likewise.
39300         (catanh_test): Likewise.
39301         (cbrt_test): Likewise.
39302         (ccos_test): Likewise.
39303         (ccosh_test): Likewise.
39304         (cexp_test): Likewise.
39305         (clog_test): Likewise.
39306         (clog10_test): Likewise.
39307         (cos_test): Likewise.
39308         (cos_test_tonearest): Likewise.
39309         (cos_test_towardzero): Likewise.
39310         (cos_test_downward): Likewise.
39311         (cos_test_upward): Likewise.
39312         (cosh_test): Likewise.
39313         (cosh_test_tonearest): Likewise.
39314         (cosh_test_towardzero): Likewise.
39315         (cosh_test_downward): Likewise.
39316         (cosh_test_upward): Likewise.
39317         (cpow_test): Likewise.
39318         (csin_test): Likewise.
39319         (csinh_test): Likewise.
39320         (csqrt_test): Likewise.
39321         (ctan_test): Likewise.
39322         (ctan_test_tonearest): Likewise.
39323         (ctan_test_towardzero): Likewise.
39324         (ctan_test_downward): Likewise.
39325         (ctan_test_upward): Likewise.
39326         (ctanh_test): Likewise.
39327         (ctanh_test_tonearest): Likewise.
39328         (ctanh_test_towardzero): Likewise.
39329         (ctanh_test_downward): Likewise.
39330         (ctanh_test_upward): Likewise.
39331         (erf_test): Likewise.
39332         (erfc_test): Likewise.
39333         (exp_test): Likewise.
39334         (exp_test_tonearest): Likewise.
39335         (exp_test_towardzero): Likewise.
39336         (exp_test_downward): Likewise.
39337         (exp_test_upward): Likewise.
39338         (exp10_test): Likewise.
39339         (exp2_test): Likewise.
39340         (expm1_test): Likewise.
39341         (fmod_test): Likewise.
39342         (gamma_test): Likewise.
39343         (hypot_test): Likewise.
39344         (j0_test): Likewise.
39345         (j1_test): Likewise.
39346         (jn_test): Likewise.
39347         (lgamma_test): Likewise.
39348         (log_test): Likewise.
39349         (log10_test): Likewise.
39350         (log1p_test): Likewise.
39351         (log2_test): Likewise.
39352         (logb_test_downward): Likewise.
39353         (pow_test): Likewise.
39354         (pow_test_tonearest): Likewise.
39355         (pow_test_towardzero): Likewise.
39356         (pow_test_downward): Likewise.
39357         (pow_test_upward): Likewise.
39358         (remainder_test): Likewise.
39359         (remquo_test): Likewise.
39360         (sin_test): Likewise.
39361         (sin_test_tonearest): Likewise.
39362         (sin_test_towardzero): Likewise.
39363         (sin_test_downward): Likewise.
39364         (sin_test_upward): Likewise.
39365         (sincos_test): Likewise.
39366         (sinh_test): Likewise.
39367         (sinh_test_tonearest): Likewise.
39368         (sinh_test_towardzero): Likewise.
39369         (sinh_test_downward): Likewise.
39370         (sinh_test_upward): Likewise.
39371         (sqrt_test): Likewise.
39372         (tan_test): Likewise.
39373         (tan_test_tonearest): Likewise.
39374         (tan_test_towardzero): Likewise.
39375         (tan_test_downward): Likewise.
39376         (tan_test_upward): Likewise.
39377         (tanh_test): Likewise.
39378         (tgamma_test): Likewise.
39379         (y0_test): Likewise.
39380         (y1_test): Likewise.
39381         (yn_test): Likewise.
39383         * math/gen-libm-test.pl (adjust_arg): Remove function.
39384         (special_function): Remove argument $in_func.  Only handle
39385         generating output for tables of tests, not inside functions.
39386         (parse_args): Likewise.
39387         (generate_testfile): Remove variable $in_func.  Update call to
39388         parse_args.
39389         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
39390         (MINUS_ZERO_INIT): Rename macro to minus_zero.
39391         (PLUS_INFTY_INIT): Rename macro to plus_infty.
39392         (MINUS_INFTY_INIT): Rename macro to minus_infty.
39393         (QNAN_VALUE_INIT): Rename macro to qnan_value.
39394         (MAX_VALUE_INIT): Rename macro to max_value.
39395         (MIN_VALUE_INIT): Rename macro to min_value.
39396         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
39397         (plus_zero): Remove variable.
39398         (minus_zero): Likewise.
39399         (plus_infty): Likewise.
39400         (minus_infty): Likewise.
39401         (qnan_value): Likewise.
39402         (max_value): Likewise.
39403         (min_value): Likewise.
39404         (min_subnorm_value): Likewise.
39406 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39408         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
39409         uint64_t or uint32_t usage.
39410         * crypt/sha256-block.c: Likewise.
39411         * crypt/sha256-crypt.c: Likewise.
39412         * crypt/sha256.c: Likewise.
39413         * crypt/sha512-block.c: Likewise.
39414         * crypt/sha512-crypt.c: Likewise.
39415         * crypt/sha512.c: Likewise.
39416         * debug/backtrace-tst.c: Likewise.
39417         * debug/pcprofiledump.c: Likewise.
39418         * elf/cache.c: Likewise.
39419         * elf/dl-cache.c: Likewise.
39420         * elf/dl-misc.c: Likewise.
39421         * elf/dl-profile.c: Likewise.
39422         * elf/dl-support.c: Likewise.
39423         * elf/ldconfig.c: Likewise.
39424         * elf/sprof.c: Likewise.
39425         * iconv/dummy-repertoire.c: Likewise.
39426         * iconv/iconv_charmap.c: Likewise.
39427         * iconv/skeleton.c: Likewise.
39428         * iconvdata/8bit-generic.c: Likewise.
39429         * iconvdata/cp737.h: Likewise.
39430         * iconvdata/cp775.h: Likewise.
39431         * iconvdata/ibm1008.h: Likewise.
39432         * iconvdata/ibm1025.h: Likewise.
39433         * iconvdata/ibm1046.h: Likewise.
39434         * iconvdata/ibm1097.h: Likewise.
39435         * iconvdata/ibm1112.h: Likewise.
39436         * iconvdata/ibm1122.h: Likewise.
39437         * iconvdata/ibm1123.h: Likewise.
39438         * iconvdata/ibm1124.h: Likewise.
39439         * iconvdata/ibm1129.h: Likewise.
39440         * iconvdata/ibm1130.h: Likewise.
39441         * iconvdata/ibm1132.h: Likewise.
39442         * iconvdata/ibm1133.h: Likewise.
39443         * iconvdata/ibm1137.h: Likewise.
39444         * iconvdata/ibm1140.h: Likewise.
39445         * iconvdata/ibm1141.h: Likewise.
39446         * iconvdata/ibm1142.h: Likewise.
39447         * iconvdata/ibm1143.h: Likewise.
39448         * iconvdata/ibm1144.h: Likewise.
39449         * iconvdata/ibm1145.h: Likewise.
39450         * iconvdata/ibm1146.h: Likewise.
39451         * iconvdata/ibm1147.h: Likewise.
39452         * iconvdata/ibm1148.h: Likewise.
39453         * iconvdata/ibm1149.h: Likewise.
39454         * iconvdata/ibm1153.h: Likewise.
39455         * iconvdata/ibm1154.h: Likewise.
39456         * iconvdata/ibm1155.h: Likewise.
39457         * iconvdata/ibm1156.h: Likewise.
39458         * iconvdata/ibm1157.h: Likewise.
39459         * iconvdata/ibm1158.h: Likewise.
39460         * iconvdata/ibm1160.h: Likewise.
39461         * iconvdata/ibm1161.h: Likewise.
39462         * iconvdata/ibm1162.h: Likewise.
39463         * iconvdata/ibm1163.h: Likewise.
39464         * iconvdata/ibm1164.h: Likewise.
39465         * iconvdata/ibm1166.h: Likewise.
39466         * iconvdata/ibm1167.h: Likewise.
39467         * iconvdata/ibm12712.h: Likewise.
39468         * iconvdata/ibm1390.h: Likewise.
39469         * iconvdata/ibm1399.h: Likewise.
39470         * iconvdata/ibm16804.h: Likewise.
39471         * iconvdata/ibm4517.h: Likewise.
39472         * iconvdata/ibm4899.h: Likewise.
39473         * iconvdata/ibm4909.h: Likewise.
39474         * iconvdata/ibm4971.h: Likewise.
39475         * iconvdata/ibm5347.h: Likewise.
39476         * iconvdata/ibm803.h: Likewise.
39477         * iconvdata/ibm856.h: Likewise.
39478         * iconvdata/ibm901.h: Likewise.
39479         * iconvdata/ibm902.h: Likewise.
39480         * iconvdata/ibm9030.h: Likewise.
39481         * iconvdata/ibm9066.h: Likewise.
39482         * iconvdata/ibm921.h: Likewise.
39483         * iconvdata/ibm922.h: Likewise.
39484         * iconvdata/ibm9448.h: Likewise.
39485         * iconvdata/isiri-3342.h: Likewise.
39486         * iconvdata/jis0201.h: Likewise.
39487         * include/link.h: Likewise.
39488         * include/netdb.h: Likewise.
39489         * inet/check_native.c: Likewise.
39490         * inet/check_pf.c: Likewise.
39491         * inet/getipv4sourcefilter.c: Likewise.
39492         * inet/getnameinfo.c: Likewise.
39493         * inet/getsourcefilter.c: Likewise.
39494         * inet/htonl.c: Likewise.
39495         * inet/setipv4sourcefilter.c: Likewise.
39496         * inet/setsourcefilter.c: Likewise.
39497         * inet/test-inet6_opt.c: Likewise.
39498         * inet/tst-network.c: Likewise.
39499         * locale/C-collate.c: Likewise.
39500         * locale/C-ctype.c: Likewise.
39501         * locale/C-time.c: Likewise.
39502         * locale/C-translit.h: Likewise.
39503         * locale/loadarchive.c: Likewise.
39504         * locale/programs/3level.h: Likewise.
39505         * locale/programs/charmap.c: Likewise.
39506         * locale/programs/charmap.h: Likewise.
39507         * locale/programs/ld-address.c: Likewise.
39508         * locale/programs/ld-collate.c: Likewise.
39509         * locale/programs/ld-ctype.c: Likewise.
39510         * locale/programs/ld-identification.c: Likewise.
39511         * locale/programs/ld-measurement.c: Likewise.
39512         * locale/programs/ld-messages.c: Likewise.
39513         * locale/programs/ld-monetary.c: Likewise.
39514         * locale/programs/ld-name.c: Likewise.
39515         * locale/programs/ld-numeric.c: Likewise.
39516         * locale/programs/ld-paper.c: Likewise.
39517         * locale/programs/ld-telephone.c: Likewise.
39518         * locale/programs/ld-time.c: Likewise.
39519         * locale/programs/linereader.c: Likewise.
39520         * locale/programs/locale.c: Likewise.
39521         * locale/programs/locarchive.c: Likewise.
39522         * locale/programs/locfile.h: Likewise.
39523         * locale/programs/repertoire.c: Likewise.
39524         * locale/programs/simple-hash.c: Likewise.
39525         * locale/programs/simple-hash.h: Likewise.
39526         * malloc/memusage.c: Likewise.
39527         * malloc/memusagestat.c: Likewise.
39528         * nis/nis_defaults.c: Likewise.
39529         * nis/nis_hash.c: Likewise.
39530         * nis/nis_print.c: Likewise.
39531         * nis/nis_xdr.c: Likewise.
39532         * nscd/connections.c: Likewise.
39533         * nscd/hstcache.c: Likewise.
39534         * nscd/nscd_gethst_r.c: Likewise.
39535         * nscd/nscd_getserv_r.c: Likewise.
39536         * nscd/nscd_helper.c: Likewise.
39537         * nscd/servicescache.c: Likewise.
39538         * nss/makedb.c: Likewise.
39539         * nss/nss_db/db-XXX.c: Likewise.
39540         * nss/nss_db/db-initgroups.c: Likewise.
39541         * nss/nss_db/db-netgrp.c: Likewise.
39542         * nss/nss_files/files-network.c: Likewise.
39543         * nss/nss_files/files-parse.c: Likewise.
39544         * posix/bug-regex5.c: Likewise.
39545         * posix/fnmatch_loop.c: Likewise.
39546         * posix/regcomp.c: Likewise.
39547         * posix/regexec.c: Likewise.
39548         * posix/tst-rfc3484-2.c: Likewise.
39549         * posix/tst-rfc3484-3.c: Likewise.
39550         * posix/tst-rfc3484.c: Likewise.
39551         * resolv/nss_dns/dns-canon.c: Likewise.
39552         * resolv/nss_dns/dns-network.c: Likewise.
39553         * resolv/res_init.c: Likewise.
39554         * resolv/res_mkquery.c: Likewise.
39555         * resolv/tst-aton.c: Likewise.
39556         * stdlib/cxa_atexit.c: Likewise.
39557         * stdlib/cxa_finalize.c: Likewise.
39558         * stdlib/gen-fpioconst.c: Likewise.
39559         * stdlib/strtol_l.c: Likewise.
39560         * string/tst-endian.c: Likewise.
39561         * sunrpc/auth_des.c: Likewise.
39562         * sunrpc/clnt_udp.c: Likewise.
39563         * sunrpc/rtime.c: Likewise.
39564         * sunrpc/svcauth_des.c: Likewise.
39565         * sunrpc/xdr.c: Likewise.
39566         * sunrpc/xdr_intXX_t.c: Likewise.
39567         * sunrpc/xdr_rec.c: Likewise.
39568         * sysdeps/generic/ldconfig.h: Likewise.
39569         * sysdeps/generic/ldsodefs.h: Likewise.
39570         * sysdeps/generic/memusage.h: Likewise.
39571         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
39572         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
39573         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
39574         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
39575         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39576         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39577         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
39578         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
39579         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39580         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
39581         * sysdeps/posix/getaddrinfo.c: Likewise.
39582         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39583         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39584         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
39585         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39586         * sysdeps/powerpc/test-gettimebase.c: Likewise.
39587         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
39588         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
39589         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
39590         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
39591         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
39592         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
39593         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
39594         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
39595         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
39596         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
39597         * sysdeps/x86_64/dl-tls.h: Likewise.
39598         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
39599         * time/alt_digit.c: Likewise.
39600         * time/era.c: Likewise.
39601         * wcsmbs/tst-c16c32-1.c: Likewise.
39603 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
39605         * math/libm-test.inc (struct test_sincos_data): New type.
39606         (RUN_TEST_LOOP_sincos): New macro.
39607         (sincos_test_data): New variable.
39608         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
39610 2013-05-16  Richard Henderson  <rth@redhat.com>
39612         * math/atest-exp2.c (LIMB64): New macro.
39613         (CONSTSZ): New macro.
39614         (mp_exp1, mp_exp_m1, mp_log2): New variables.
39615         (hexdig): Move ...
39616         (print_mpn_fp): ... to function scope.
39617         (read_mpn_hex): Remove.
39618         (get_log2): Remove.
39619         (exp2_mpn): Use mp_log2.
39620         (main): Use mp_exp1.
39622 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
39624         * math/libm-test.inc: Remove comment about not testing "inexact"
39625         exceptions.
39626         (INEXACT_EXCEPTION): New macro.
39627         (NO_INEXACT_EXCEPTION): Likewise.
39628         (INVALID_EXCEPTION_OK): Update value.
39629         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39630         (OVERFLOW_EXCEPTION_OK): Likewise.
39631         (UNDERFLOW_EXCEPTION_OK): Likewise.
39632         (IGNORE_ZERO_INF_SIGN): Likewise.
39633         (ERRNO_UNCHANGED): Likewise.
39634         (ERRNO_EDOM): Likewise.
39635         (ERRNO_ERANGE): Likewise.
39636         (test_exceptions): Handle testing "inexact" exceptions.
39637         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
39638         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
39639         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
39640         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
39641         INEXACT_EXCEPTION.
39642         (rint_towardzero_test_data): Likewise.
39643         (rint_downward_test_data): Likewise.
39644         (rint_upward_test_data): Likewise.
39646         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
39647         with OVERFLOW_EXCEPTION.
39648         (exp10_test_data): Likewise.
39649         (exp2_test_data): Likewise.
39650         (expm1_test_data): Likewise.
39651         (lgamma_test_data): Likewise.
39652         (pow_test_data): Likewise.
39653         (tgamma_test_data): Likewise.
39654         (yn_test_data): Remove duplicate test of overflow.
39656         * math/libm-test.inc (struct test_cc_c_data): New type.
39657         (RUN_TEST_LOOP_cc_c): New macro.
39658         (cpow_test_data): New variable.
39659         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
39661         * math/libm-test.inc (struct test_f_L_data): New type.
39662         (RUN_TEST_LOOP_f_L): New macro.
39663         (llrint_test_data): New variable.
39664         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
39665         (llrint_tonearest_test_data): New variable.
39666         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
39667         (llrint_towardzero_test_data): New variable.
39668         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
39669         (llrint_downward_test_data): New variable.
39670         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
39671         (llrint_upward_test_data): New variable.
39672         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
39673         (llround_test_data): New variable.
39674         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
39676 2013-05-13  Peter Collingbourne  <pcc@google.com>
39678         * math/atest-exp2.c (get_log2): Remove const attribute.
39680 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
39682         * math/libm-test.inc (struct test_f_l_data): New type.
39683         (RUN_TEST_LOOP_f_l): New macro.
39684         (lrint_test_data): New variable.
39685         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
39686         (lrint_tonearest_test_data): New variable.
39687         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
39688         (lrint_towardzero_test_data): New variable.
39689         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
39690         (lrint_downward_test_data): New variable.
39691         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
39692         (lrint_upward_test_data): New variable.
39693         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
39694         (lround_test_data): New variable.
39695         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
39697 2013-05-15  Peter Collingbourne  <pcc@google.com>
39699         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
39700         (EXTRACT_WORDS64) Use where appropriate.
39701         (INSERT_WORDS64) Likewise.
39703         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
39704         constraints with x constraints.
39705         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
39707         * malloc/obstack.c (_obstack_compat): Add initializer.
39709 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
39711         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
39712         si_trapno and add si_addr_lsb to _sifields.sigfault.
39713         (si_trapno): Remove macro.
39714         (si_addr_lsb): Define new macro.
39715         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
39717 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
39719         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
39720         instead of TEST_f_l.
39721         (llrint_test_tonearest): Likewise.
39722         (llrint_test_towardzero): Likewise.
39723         (llrint_test_downward): Likewise.
39724         (llrint_test_upward): Likewise.
39725         (llround_test): Likewise.
39727         * math/libm-test.inc (struct test_f_i_data): Add comment.
39728         (RUN_TEST_LOOP_f_b): New macro.
39729         (RUN_TEST_LOOP_f_b_tg): Likewise.
39730         (finite_test_data): New variable.
39731         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
39732         (isfinite_test_data): New variable.
39733         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
39734         (isinf_test_data): New variable.
39735         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
39736         (isnan_test_data): New variable.
39737         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
39738         (isnormal_test_data): New variable.
39739         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
39740         (issignaling_test_data): New variable.
39741         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
39742         (signbit_test_data): New variable.
39743         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
39745         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
39746         with INVALID_EXCEPTION.
39747         (acosh_test_data): Likewise.
39748         (asin_test_data): Likewise.
39749         (atanh_test_data): Likewise.
39750         (fmod_test_data): Likewise.
39751         (log_test_data): Likewise.
39752         (log10_test_data): Likewise.
39753         (log2_test_data): Likewise.
39754         (pow_test_data): Likewise.
39755         (sqrt_test_data): Likewise.
39756         (y0_test_data): Likewise.
39757         (y1_test_data): Likewise.
39758         (yn_test_data): Likewise.
39760         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
39761         function contents.
39763         * math/libm-test.inc (struct test_ff_i_data): New type.
39764         (RUN_TEST_LOOP_ff_i_tg): New macro.
39765         (isgreater_test_data): New variable.
39766         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
39767         (isgreaterequal_test_data): New variable.
39768         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
39769         (isless_test_data): New variable.
39770         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
39771         (islessequal_test_data): New variable.
39772         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
39773         (islessgreater_test_data): New variable.
39774         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
39775         (isunordered_test_data): New variable.
39776         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
39778 2013-05-14  David S. Miller  <davem@davemloft.net>
39780         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39782 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
39784         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
39786         * math/libm-test.inc (struct test_fF_f1_data): Change type of
39787         extra_test to int.
39788         (struct test_f_i_data): Change type of max_ulp to int.
39790         * math/libm-test.inc (test_ffI_f1_data): New type.
39791         (RUN_TEST_LOOP_ffI_f1): New macro.
39792         (remquo_test_data): New variable.
39793         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
39795         * setjmp/tst-setjmp-fp.c: New file.
39796         * setjmp/Makefile (tests): Add tst-setjmp-fp.
39797         (link-libm): New variable.
39798         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
39800         * math/libm-test.inc (struct test_f_i_data): New type.
39801         (RUN_TEST_LOOP_f_i): New macro.
39802         (RUN_TEST_LOOP_f_i_tg): Likewise.
39803         (fpclassify_test_data): New variable.
39804         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
39805         (ilogb_test_data): New variable.
39806         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
39808         * math/libm-test.inc (scalbln_test): Correct function name in END
39809         call.
39811         * math/libm-test.inc (struct test_f_f1_data): Add comment.
39812         (RUN_TEST_LOOP_fI_f1): New macro.
39813         (frexp_test_data): New variable.
39814         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
39816         * math/libm-test.inc (struct test_fF_f1_data): New type.
39817         (RUN_TEST_LOOP_fF_f1): New macro.
39818         (modf_test_data): New variable.
39819         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
39821         * math/libm-test.inc (struct test_f_f1_data): New type.
39822         (RUN_TEST_LOOP_f_f1): New macro.
39823         (gamma_test_data): New variable.
39824         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
39825         (lgamma_test_data): New variable.
39826         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
39828 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
39830         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
39831         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
39832         (main): Comment "tls" pseudo-hwcap.
39834 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
39836         * math/libm-test.inc (struct test_fl_f_data): New type.
39837         (RUN_TEST_LOOP_fl_f): New variable.
39838         (scalbln_test_data): New variable.
39839         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
39841         * math/libm-test.inc (struct test_fi_f_data): New type.
39842         (RUN_TEST_LOOP_fi_f): New macro.
39843         (ldexp_test_data): New variable.
39844         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
39845         (scalbn_test_data): New variable.
39846         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
39848         * math/libm-test.inc (struct test_c_f_data): New type.
39849         (RUN_TEST_LOOP_c_f): New macro.
39850         (cabs_test_data): New variable.
39851         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
39852         (carg_test_data): New variable.
39853         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
39854         (cimag_test_data): New variable.
39855         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
39856         (creal_test_data): New variable.
39857         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
39859         * math/libm-test.inc (struct test_if_f_data): New type.
39860         (RUN_TEST_LOOP_if_f): New macro.
39861         (jn_test_data): New variable.
39862         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
39863         (yn_test_data): New variable.
39864         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
39866         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
39868 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39870         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
39871         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
39873 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
39875         * benchtests/Makefile (CPPFLAGS-nonlib): Add
39876         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
39877         (bench-deps): Add bench-timing.h.
39878         * benchtests-bench-skeleton.c: Include bench-timing.h.
39879         (main): Use TIMING_* macros instead of clock_gettime.
39880         * benchtests/bench-timing.h: New file.
39882         [BZ #14582]
39883         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
39884         Renamed from _LIB_VERSION.
39885         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
39887 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
39889         * math/libm-test.inc (struct test_fff_f_data): New type.
39890         (RUN_TEST_LOOP_fff_f): New macro.
39891         (fma_test_data): New variable.
39892         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
39893         (fma_towardzero_test_data): New variable.
39894         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
39895         (fma_downward_test_data): New variable.
39896         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
39897         (fma_upward_test_data): New variable.
39898         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
39900         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
39901         (struct test_c_c_data): New type.
39902         (RUN_TEST_LOOP_c_c): New macro.
39903         (cacos_test_data): New variable.
39904         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
39905         (cacosh_test_data): New variable.
39906         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
39907         (casin_test_data): New variable.
39908         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
39909         (casinh_test_data): New variable.
39910         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
39911         (catan_test_data): New variable.
39912         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
39913         (catanh_test_data): New variable.
39914         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
39915         (ccos_test_data): New variable.
39916         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
39917         (ccosh_test_data): New variable.
39918         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
39919         (cexp_test_data): New variable.
39920         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
39921         (clog_test_data): New variable.
39922         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
39923         (clog10_test_data): New variable.
39924         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
39925         (conj_test_data): New variable.
39926         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
39927         (cproj_test_data): New variable.
39928         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
39929         (csin_test_data): New variable.
39930         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
39931         (csinh_test_data): New variable.
39932         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
39933         (csqrt_test_data): New variable.
39934         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
39935         (ctan_test_data): New variable.
39936         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
39937         (ctan_tonearest_test_data): New variable.
39938         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
39939         (ctan_towardzero_test_data): New variable.
39940         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
39941         (ctan_downward_test_data): New variable.
39942         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
39943         (ctan_upward_test_data): New variable.
39944         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
39945         (ctanh_test_data): New variable.
39946         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
39947         (ctanh_tonearest_test_data): New variable.
39948         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
39949         (ctanh_towardzero_test_data): New variable.
39950         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
39951         (ctanh_downward_test_data): New variable.
39952         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
39953         (ctanh_upward_test_data): New variable.
39954         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
39955         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
39956         of BUILD_COMPLEX.
39958         * math/libm-test.inc (struct test_ff_f_data): New type.
39959         (struct test_ff_f_data_nexttoward): Likewise.
39960         (RUN_TEST_LOOP_2_f): New macro.
39961         (RUN_TEST_LOOP_ff_f): Likewise.
39962         (atan2_test_data): New variable.
39963         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
39964         (copysign_test_data): New variable.
39965         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
39966         (fdim_test_data): New variable.
39967         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
39968         (fmax_test_data): New variable.
39969         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
39970         (fmin_test_data): New variable.
39971         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
39972         (fmod_test_data): New variable.
39973         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
39974         (hypot_test_data): New variable.
39975         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
39976         (nextafter_test_data): New variable.
39977         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
39978         (nexttoward_test_data): New variable.
39979         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
39980         (pow_test_data): New variable.
39981         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
39982         (pow_tonearest_test_data): New variable.
39983         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
39984         (pow_towardzero_test_data): New variable.
39985         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
39986         (pow_downward_test_data): New variable.
39987         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
39988         (pow_upward_test_data): New variable.
39989         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
39990         (remainder_test_data): New variable.
39991         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
39992         (scalb_test_data): New variable.
39993         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
39994         * sysdeps/i386/fpu/libm-test-ulps: Update.
39996 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
39998         * math/libm-test.inc (fma_test): Use max_value instead of local
39999         variable fltmax.
40000         (nextafter_test): Likewise.
40002         * math/libm-test.inc (acos_towardzero_test_data): New variable.
40003         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40004         (acos_downward_test_data): New variable.
40005         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40006         (acos_upward_test_data): New variable.
40007         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40008         (acosh_test_data): New variable.
40009         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
40010         (asin_test_data): New variable.
40011         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
40012         (asin_tonearest_test_data): New variable.
40013         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40014         (asin_towardzero_test_data): New variable.
40015         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40016         (asin_downward_test_data): New variable.
40017         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40018         (asin_upward_test_data): New variable.
40019         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40020         (asinh_test_data): New variable.
40021         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
40022         (atan_test_data): New variable.
40023         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
40024         (atanh_test_data): New variable.
40025         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
40026         (cbrt_test_data): New variable.
40027         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
40028         (ceil_test_data): New variable.
40029         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
40030         (cos_test_data): New variable.
40031         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
40032         (cos_tonearest_test_data): New variable.
40033         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40034         (cos_towardzero_test_data): New variable.
40035         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40036         (cos_downward_test_data): New variable.
40037         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40038         (cos_upward_test_data): New variable.
40039         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40040         (cosh_test_data): New variable.
40041         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
40042         (cosh_tonearest_test_data): New variable.
40043         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40044         (cosh_towardzero_test_data): New variable.
40045         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40046         (cosh_downward_test_data): New variable.
40047         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40048         (cosh_upward_test_data): New variable.
40049         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40050         (erf_test_data): New variable.
40051         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
40052         (erfc_test_data): New variable.
40053         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
40054         (exp_test_data): New variable.
40055         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
40056         (exp_tonearest_test_data): New variable.
40057         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40058         (exp_towardzero_test_data): New variable.
40059         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40060         (exp_downward_test_data): New variable.
40061         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40062         (exp_upward_test_data): New variable.
40063         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40064         (exp10_test_data): New variable.
40065         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
40066         (exp2_test_data): New variable.
40067         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
40068         (expm1_test_data): New variable.
40069         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
40070         (fabs_test_data): New variable.
40071         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
40072         (floor_test_data): New variable.
40073         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
40074         (j0_test_data): New variable.
40075         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
40076         (j1_test_data): New variable.
40077         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
40078         (log_test_data): New variable.
40079         (log_test): Run tests with RUN_TEST_LOOP_f_f.
40080         (log10_test_data): New variable.
40081         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
40082         (log1p_test_data): New variable.
40083         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
40084         (log2_test_data): New variable.
40085         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
40086         (logb_test_data): New variable.
40087         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
40088         (logb_downward_test_data): New variable.
40089         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40090         (nearbyint_test_data): New variable.
40091         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
40092         (rint_test_data): New variable.
40093         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
40094         (rint_tonearest_test_data): New variable.
40095         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40096         (rint_towardzero_test_data): New variable.
40097         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40098         (rint_downward_test_data): New variable.
40099         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40100         (rint_upward_test_data): New variable.
40101         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40102         (round_test_data): New variable.
40103         (round_test): Run tests with RUN_TEST_LOOP_f_f.
40104         (sin_test_data): New variable.
40105         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
40106         (sin_tonearest_test_data): New variable.
40107         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40108         (sin_towardzero_test_data): New variable.
40109         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40110         (sin_downward_test_data): New variable.
40111         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40112         (sin_upward_test_data): New variable.
40113         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40114         (sinh_test_data): New variable.
40115         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
40116         (sinh_tonearest_test_data): New variable.
40117         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40118         (sinh_towardzero_test_data): New variable.
40119         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40120         (sinh_downward_test_data): New variable.
40121         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40122         (sinh_upward_test_data): New variable.
40123         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40124         (sqrt_test_data): New variable.
40125         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
40126         (tan_test_data): New variable.
40127         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
40128         (tan_tonearest_test_data): New variable.
40129         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40130         (tan_towardzero_test_data): New variable.
40131         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40132         (tan_downward_test_data): New variable.
40133         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40134         (tan_upward_test_data): New variable.
40135         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40136         (tanh_test_data): New variable.
40137         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
40138         (tgamma_test_data): New variable.
40139         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
40140         (trunc_test_data): New variable.
40141         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
40142         (y0_test_data): New variable.
40143         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
40144         (y1_test_data): New variable.
40145         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
40146         (significand_test_data): New variable.
40147         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
40149 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
40151         [BZ #12387]
40152         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
40154 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
40156         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
40158 2013-05-10  Andreas Jaeger  <aj@suse.de>
40160         [BZ #15448]
40161         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
40162         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
40164 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
40166         * math/gen-libm-test.pl (adjust_arg): New function.
40167         (special_functions): Handle generating output in both functions
40168         and arrays.
40169         (parse_args): Likewise.
40170         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
40171         $in_func argument to parse_args.
40172         * math/libm-test.inc (struct test_f_f_data): New type.
40173         (IF_ROUND_INIT_): New macro.
40174         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
40175         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
40176         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
40177         (IF_ROUND_INIT_FE_UPWARD): Likewise.
40178         (ROUND_RESTORE_): Likewise.
40179         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
40180         (ROUND_RESTORE_FE_TONEAREST): Likewise.
40181         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
40182         (ROUND_RESTORE_FE_UPWARD): Likewise.
40183         (RUN_TEST_LOOP_f_f): New macro.
40184         (acos_test_data): New variable.
40185         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
40186         (acos_tonearest_test_data): New variable.
40187         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40189 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40191         * benchtests/bench-skeleton.c (startup): Fix coding style.
40193 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
40195         [BZ #6809]
40196         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
40197         negative infinity argument.
40198         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
40199         negative infinity argument.
40200         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
40201         negative infinity argument.
40202         * math/libm-test.inc (tgamma_test): Expect errno to be set for
40203         domain errors.
40205 2013-05-10  Florian Weimer  <fweimer@redhat.com>
40207         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
40208         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
40209         * iconv/iconv_prog.c (main): Likewise.
40210         * locale/programs/charmap-dir.c (charmap_readdir)
40211         (fopen_uncompressed): Likewise.
40212         * locale/programs/locfile.c (siblings_uncached)
40213         (write_locale_data): Use lstat64 instead of lstat.
40214         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
40215         stat.
40217 2013-05-10  Andreas Jaeger  <aj@suse.de>
40219         [BZ #15395]
40220         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
40221         localization.
40222         Include <locale.h>.
40224 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
40226         * elf/dl-close.c (_dl_close_worker): Add comments.
40228 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
40230         [BZ #15359]
40231         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
40232         high part of pi/2.
40233         (__ieee754_rem_pio2l): Update comments.
40235         [BZ #15429]
40236         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
40237         high part of pi/2.
40238         (__ieee754_rem_pio2l): Update comments.
40240         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
40241         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
40243         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
40244         M_PI_4l.
40246         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
40247         (M_PI_34_LOG10El): Likewise.
40248         (M_PI2_LOG10El): Likewise.
40249         (M_PI4_LOG10El): Likewise.
40250         (M_PI_LOG10El): Likewise.
40252 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40254         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40256 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
40258         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
40259         (MINUS_ZERO_INIT): Likewise.
40260         (PLUS_INFTY_INIT): Likewise.
40261         (MINUS_INFTY_INIT): Likewise.
40262         (QNAN_VALUE_INIT): Likewise.
40263         (MAX_VALUE_INIT): Likewise.
40264         (MIN_VALUE_INIT): Likewise.
40265         (MIN_SUBNORM_VALUE_INIT): Likewise.
40266         (plus_zero): Initialize with PLUS_ZERO_INIT.
40267         (minus_zero): Initialize with MINUS_ZERO_INIT.
40268         (plus_infty): Initialize with PLUS_INFTY_INIT.
40269         (minus_infty): Initialize with MINUS_INFTY_INIT.
40270         (qnan_value): Initialize with QNAN_VALUE_INIT.
40271         (max_value): Initialize with MAX_VALUE_INIT.
40272         (min_value): Initialize with MIN_VALUE_INIT.
40273         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
40275         * math/libm-test.inc (RUN_TEST_if_f): New macro.
40276         (jn_test): Use TEST_if_f instead of TEST_ff_f.
40277         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
40278         (yn_test): Use TEST_if_f instead of TEST_ff_f.
40280         * math/libm-test.inc (RUN_TEST_f_f): New macro.
40281         (RUN_TEST_2_f): Likewise.
40282         (RUN_TEST_ff_f): Likewise.
40283         (RUN_TEST_fi_f): Likewise.
40284         (RUN_TEST_fl_f): Likewise.
40285         (RUN_TEST_fff_f): Likewise.
40286         (RUN_TEST_c_f): Likewise.
40287         (RUN_TEST_f_f1): Likewise.
40288         (RUN_TEST_fF_f1): Likewise.
40289         (RUN_TEST_fI_f1): Likewise.
40290         (RUN_TEST_ffI_f1): Likewise.
40291         (RUN_TEST_c_c): Likewise.
40292         (RUN_TEST_cc_c): Likewise.
40293         (RUN_TEST_f_i): Likewise.
40294         (RUN_TEST_f_i_tg): Likewise.
40295         (RUN_TEST_ff_i_tg): Likewise.
40296         (RUN_TEST_f_b): Likewise.
40297         (RUN_TEST_f_b_tg): Likewise.
40298         (RUN_TEST_f_l): Likewise.
40299         (RUN_TEST_f_L): Likewise.
40300         (RUN_TEST_sincos): Likewise.
40301         * math/gen-libm-test.pl (new_test): Take new argument to indicate
40302         whether to show exceptions.  Do not include ");\n" in return
40303         value.
40304         (special_functions): Output call to RUN_TEST_sincos instead of
40305         check_float calls.  Update calls to new_test.
40306         (parse_args): Output call to single RUN_TEST_* macro instead of
40307         check_* calls and other assignments.  Update calls to new_test.
40309         [BZ #2546]
40310         [BZ #2560]
40311         [BZ #5159]
40312         [BZ #15426]
40313         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
40314         input to result for tgamma overflow.
40315         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
40316         (gamma_coeff): New variable.
40317         (NCOEFF): New macro.
40318         (gamma_positive): New function.
40319         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
40320         underflow here.  Use gamma_positive instead of exp (lgamma) for
40321         other arguments.
40322         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
40323         (gamma_coeff): New variable.
40324         (NCOEFF): New macro.
40325         (gammaf_positive): New function.
40326         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
40327         underflow here.  Use gamma_positive instead of exp (lgamma) for
40328         other arguments.
40329         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
40330         (gamma_coeff): New variable.
40331         (NCOEFF): New macro.
40332         (gammal_positive): New function.
40333         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
40334         underflow here.  Use gamma_positive instead of exp (lgamma) for
40335         other arguments.
40336         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
40337         (gamma_coeff): New variable.
40338         (NCOEFF): New macro.
40339         (gammal_positive): New function.
40340         (__ieee754_gammal_r): Handle positive infinity, overflow and
40341         underflow here.  Handle NaN the same as positive infinity.  Remove
40342         check x < 0xffffffff for negative integers.  Use gamma_positive
40343         instead of exp (lgamma) for other arguments.
40344         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
40345         (gamma_coeff): New variable.
40346         (NCOEFF): New macro.
40347         (gammal_positive): New function.
40348         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
40349         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
40350         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
40351         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
40352         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
40353         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
40354         * sysdeps/generic/math_private.h (__gamma_productf): New
40355         prototype.
40356         (__gamma_product): Likewise.
40357         (__gamma_productl): Likewise.
40358         * math/Makefile (libm-calls): Add gamma_product.
40359         * math/libm-test.inc (tgamma_test): Add more tests.
40360         * sysdeps/i386/fpu/libm-test-ulps: Update.
40361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40363 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
40365         * benchtests/bench-skeleton.c (main): Preheat CPU.
40367 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
40369         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
40371 2013-05-07  Roland McGrath  <roland@hack.frob.com>
40373         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
40374         and _dl_skip_args_internal.
40376 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
40378         * manual/message.texi (Message Translation): Talk about users.
40379         Message to key mapping impacts design.
40381 2013-05-06  Roland McGrath  <roland@hack.frob.com>
40383         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
40385         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
40387         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
40388         * sysdeps/wordsize-64/glob64.c: ... here.
40390         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
40391         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
40392         New macros.
40394         * debug/getlogin_r_chk.c: Moved to ...
40395         * login/getlogin_r_chk.c: ... here.
40396         * debug/Makefile (routines): Move getlogin_r_chk to ...
40397         * login/Makefile (routines): ... here.
40398         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
40399         * login/Versions (libc: GLIBC_2.4): ... here.
40401         * io/poll.c (__poll): Renamed from poll.
40402         Add libc_hidden_def.
40403         (poll): Define as weak alias.
40405         * debug/ptsname_r_chk.c: Moved to ...
40406         * login/ptsname_r_chk.c: ... here.
40407         * debug/Makefile (routines): Move ptsname_r_chk to ...
40408         * login/Makefile (routines): ... here.
40409         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
40410         * login/Versions (libc: GLIBC_2.4): ... here.
40412         * posix/getlogin.c: Moved to ...
40413         * login/getlogin.c: ... here.
40414         * posix/getlogin_r.c: Moved to ...
40415         * login/getlogin_r.c: ... here.
40416         * posix/getlogin_r.c: Moved to ...
40417         * login/getlogin_r.c: ... here.
40418         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
40419         * login/Makefile (routines): ... here.
40420         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
40421         * login/Versions (libc: GLIBC_2.0): ... here.
40423         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
40424         (setrlimit): Define as weak alias.
40426         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
40427         Call __ names for open, ftruncate, and close.
40428         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
40429         (truncate): Define as weak alias.
40431 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
40433         * math/gen-libm-test.pl (parse_args): Initialize x before each
40434         test of frexp, modf and remquo.
40436         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
40437         test signgam value.
40439 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40441         [BZ #15418]
40442         [BZ #15419]
40443         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
40444         internal tests.
40445         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40447 2013-05-06  Roland McGrath  <roland@hack.frob.com>
40449         * elf/dl-writev.h: New file.
40450         * elf/dl-misc.c: Include it.
40451         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
40452         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
40454 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
40456         * math/libm-test.inc (noXFails): Remove variable.
40457         (noXPasses): Likewise.
40458         (BUILD_COMPLEX_INT): Remove macro.
40459         (print_screen): Remove xfail argument.
40460         (print_screen_max_error): Likewise.
40461         (update_stats): Likewise.
40462         (print_max_error): Likewise.  Update calls to other affected
40463         functions.
40464         (print_complex_max_error): Likewise.
40465         (test_single_exception): Update calls to print_screen.
40466         (test_single_errno): Likewise.
40467         (check_float_internal): Remove xfail argument.  Update calls to
40468         other affected functions.
40469         (check_float): Likewise.
40470         (check_complex): Likewise.
40471         (check_int): Likewise.
40472         (check_long): Likewise.
40473         (check_bool): Likewise.
40474         (check_longlong): Likewise.
40475         (main): Don't print noXFails and noXPasses.
40476         * math/gen-libm-test.pl (top level): Don't mention expected
40477         failure handling in comment.
40478         (new_test): Don't handle expected failures.
40479         (parse_args): Don't mention expected failure handling in comment.
40480         (generate_testfile): Don't handle expected failures.
40481         (parse_ulps): Likewise.
40482         (print_ulps_file): Likewise.
40483         (get_failure): Remove function.
40484         (output_test): Don't handle expected failures.
40485         * make/README.libm-test: Don't mention expected failure handling.
40487         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
40488         (minus_zero): Likewise.
40489         (plus_infty): Likewise.
40490         (minus_infty): Likewise.
40491         (qnan_value): Likewise.
40492         (max_value): Likewise.
40493         (min_value): Likewise.
40494         (min_subnorm_value): Likewise.
40495         (initialize): Do not initialize those variables dynamically.
40497 2013-05-03  Roland McGrath  <roland@hack.frob.com>
40499         * io/open.c (__open_2): Moved to ...
40500         * io/open_2.c: ... this new file.
40501         * io/open64.c (__open64_2): Moved to ...
40502         * io/open64_2.c: ... this new file.
40503         * io/openat.c (__openat_2): Moved to ...
40504         * io/openat_2.c: ... this new file.
40505         * io/openat64.c (__openat64_2): Moved to ...
40506         * io/openat64_2.c: ... this new file.
40507         * io/Makefile (routines): Add them.
40508         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
40509         * sysdeps/unix/sysv/linux/open_2.c: File removed.
40510         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
40511         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
40512         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
40513         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
40514         (__openat64): Add hidden_ver.
40515         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
40516         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
40518         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
40519         Separately conditionalize setting of GLRO(dl_sysinfo) so
40520         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
40521         as well, but the actual setting is only under [NEED_DL_SYSINFO].
40523 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40525         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
40526         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
40527         definition.
40528         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
40529         * sysdeps/unix/sysv/linux/powerpc/init-first.c
40530         (_libc_vdso_platform_setup): Add __vdso_time initialization.
40531         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
40532         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
40534 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
40536         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
40537         test signgam value.
40539         * math/libm-test.inc (hypot_test): Do not use
40540         IGNORE_ZERO_INF_SIGN.
40542 2013-05-03  Andreas Jaeger  <aj@suse.de>
40544         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
40545         Linux 3.9.
40546         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
40547         (PF_MAX): Adjust for VSOCK change.
40549 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40551         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40553 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
40555         [BZ #15264]
40556         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
40557         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
40558         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
40560 2013-05-02  David S. Miller  <davem@davemloft.net>
40562         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40564 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
40566         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
40568 2013-05-01  Roland McGrath  <roland@hack.frob.com>
40570         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
40572 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
40574         [BZ #14952]
40575         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
40576         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
40577         Use __attribute__ ((__gnu_inline__)).
40578         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
40579         Don't use __attribute__ ((__gnu_inline__)).
40581 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
40583         [BZ #15423]
40584         * math/s_catan.c (__catan): Handle small real or imaginary part of
40585         input specially to avoid spurious underflow.
40586         * math/s_catanf.c (__catanf): Likewise.
40587         * math/s_catanh.c (__catanh): Likewise.
40588         * math/s_catanhf.c (__catanhf): Likewise.
40589         * math/s_catanhl.c (__catanhl): Likewise.
40590         * math/s_catanl.c (__catanl): Likewise.
40591         * math/libm-test.inc (catan_test): Add more tests.
40592         (catanh_test): Likewise.
40593         * sysdeps/i386/fpu/libm-test-ulps: Update.
40594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40596 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40598         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40600 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
40602         [BZ #15416]
40603         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
40604         accurately for denominator in atan2.
40605         * math/s_catanf.c (__catanf): Likewise.
40606         * math/s_catanh.c (__catanh): Likewise.
40607         * math/s_catanhf.c (__catanhf): Likewise.
40608         * math/s_catanhl.c (__catanhl): Likewise.
40609         * math/s_catanl.c (__catanl): Likewise.
40610         * math/libm-test.inc (catan_test): Add more tests.
40611         (catanh_test): Likewise.
40612         * sysdeps/i386/fpu/libm-test-ulps: Update.
40613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40615 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40617         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
40619         * benchtests/Makefile (bench): Remove slow benchmarks.
40620         * benchtests/atan-inputs: Add slow benchmark inputs.
40621         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
40622         (BENCH_FUNC): Accept variant offset.
40623         (VARIANT): Define.
40624         * benchtests/bench-skeleton.c (main): Run benchmark for each
40625         variant.
40626         * benchtests/cos-inputs: Add slow benchmark inputs.
40627         * benchtests/exp-inputs: Likewise.
40628         * benchtests/pow-inputs: Likewise.
40629         * benchtests/sin-inputs: Likewise.
40630         * benchtests/slowatan-inputs: Remove.
40631         * benchtests/slowatan.c: Remove.
40632         * benchtests/slowcos-inputs: Remove.
40633         * benchtests/slowcos.c: Remove.
40634         * benchtests/slowexp-inputs: Remove.
40635         * benchtests/slowexp.c: Remove.
40636         * benchtests/slowpow-inputs: Remove.
40637         * benchtests/slowpow.c: Remove.
40638         * benchtests/slowsin-inputs: Remove.
40639         * benchtests/slowsin.c: Remove.
40640         * benchtests/slowtan-inputs: Remove.
40641         * benchtests/slowtan.c: Remove.
40642         * benchtests/tan-inputs: Add slow benchmark inputs.
40643         * scripts/bench.pl: Parse comments and directives.
40645         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
40646         in CPPFLAGS.
40647         ($(objpfx)bench-%.c): Remove *-ITER.
40648         * benchtests/bench-modf.c: Remove definition of ITER.
40649         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
40650         (main): Loop for DURATION seconds instead of fixed number of
40651         iterations.
40652         * scripts/bench.pl: Don't expect iterations in parameters.
40654 2013-04-29  Roland McGrath  <roland@hack.frob.com>
40656         * io/fchdir.c (__fchdir): Renamed from fchdir.
40657         (fchdir): Define as weak alias.
40659 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
40661         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
40662         (ERRNO_EDOM): Likewise.
40663         (ERRNO_ERANGE): Likewise.
40664         (noErrnoTests): New variable.
40665         (init_max_error): Set errno to 0.
40666         (test_single_errno): New function.
40667         (test_errno): Likewise.
40668         (check_float_internal): Call test_errno.  Set errno to 0.
40669         (check_complex): Refer to errno tests in comment.
40670         (check_int): Call test_errno.  Set errno to 0.
40671         (check_long): Likewise.
40672         (check_bool): Likewise.
40673         (check_longlong): Likewise.
40674         (cos_test): Use ERRNO_* flags for errno tests instead of
40675         check_int.
40676         (expm1_test): Likewise.
40677         (fmod_test): Likewise.
40678         (ilogb_test): Likewise.
40679         (lgamma_test): Likewise.
40680         (pow_test): Likewise.
40681         (remainder_test): Likewise.
40682         (sin_test): Likewise.
40683         (tan_test): Likewise.
40684         (yn_test): Likewise.
40685         (initialize): Set errno to 0.
40686         (main): Print number of errno tests.
40687         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
40689 2013-04-29  Andreas Jaeger  <aj@suse.de>
40691         [BZ #15084]
40692         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
40693         and RES_USEVC.
40695         [BZ #15085]
40696         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
40697         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
40698         unimplemented.
40700         [BZ #15380]
40701         * stdlib/random.c (__initstate): Return NULL if
40702         __initstate fails.
40704         [BZ #15086]
40705         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
40706         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
40707         RES_SNGLKUPREOP.
40709 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40711         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40713 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
40715         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
40716         of individual tests.
40717         (casin_test): Likewise.
40718         (casinh_test): Likewise.
40720 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
40722         [BZ #15409]
40723         * math/s_catan.c (__catan): Handle arguments with large real or
40724         imaginary part separately without squaring.
40725         * math/s_catanf.c (__catanf): Likewise.
40726         * math/s_catanh.c (__catanh): Likewise.
40727         * math/s_catanhf.c (__catanhf): Likewise.
40728         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
40729         and redefine.
40730         (__catanhl): Handle arguments with large real or imaginary part
40731         separately without squaring.
40732         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
40733         and redefine.
40734         (__catanl): Handle arguments with large real or imaginary part
40735         separately without squaring.
40736         * math/libm-test.inc (catan_test): Add more tests.
40737         (catanh_test): Likewise.
40738         * sysdeps/i386/fpu/libm-test-ulps: Update.
40739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40741 2013-04-27  Andreas Jaeger  <aj@suse.de>
40743         [BZ #15007]
40744         * stdlib/stdlib.h: Update guards for qecvt.
40745         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
40746         <stdlib.h>.
40748 2013-04-27  Allan McRae  <allan@archlinux.org>
40750         * sysdeps/i386/fpu/libm-test-ulps: Update.
40752 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
40754         [BZ #15406]
40755         * math/s_catan.c: Include <float.h>.
40756         (__catan): Ensure underflow exception occurs for underflowed
40757         result.
40758         * math/s_catanf.c: Include <float.h>.
40759         (__catanf): Ensure underflow exception occurs for underflowed
40760         result.
40761         * math/s_catanh.c: Include <float.h>.
40762         (__catanh): Ensure underflow exception occurs for underflowed
40763         result.
40764         * math/s_catanhf.c: Include <float.h>.
40765         (__catanhf): Ensure underflow exception occurs for underflowed
40766         result.
40767         * math/s_catanhl.c: Include <float.h>.
40768         (__catanhl): Ensure underflow exception occurs for underflowed
40769         result.
40770         * math/s_catanl.c: Include <float.h>.
40771         (__catanl): Ensure underflow exception occurs for underflowed
40772         result.
40773         * math/libm-test.inc (catan_test): Add more tests.
40774         (catanh_test): Likewise.
40776         [BZ #15405]
40777         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
40778         underflowed result.
40779         * math/s_ccoshf.c (__ccoshf): Likewise.
40780         * math/s_ccoshl.c (__ccoshl): Likewise.
40781         * math/s_csin.c (__csin): Likewise.
40782         * math/s_csinf.c (__csinf): Likewise.
40783         * math/s_csinh.c (__csinh): Likewise.
40784         * math/s_csinhf.c (__csinhf): Likewise.
40785         * math/s_csinhl.c (__csinhl): Likewise.
40786         * math/s_csinl.c (__csinl): Likewise.
40787         * math/libm-test.inc (ccos_test): Add more tests.
40788         (ccosh_test): Likewise.
40789         (csin_test): Likewise.
40790         (csinh_test): Likewise.
40792 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40794         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
40795         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
40796         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
40797         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
40798         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
40799         powerpc/power5+/fpu folders.
40800         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
40803 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
40805         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40807 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
40809         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
40810         additions to variable.
40811         [$(config-machine) = x86_64] (modules-names): Likewise.
40812         ($(objpfx)tst-audit3): Remove dependency.
40813         ($(objpfx)tst-audit3.out): Likewise.
40814         ($(objpfx)tst-audit4): Likewise.
40815         ($(objpfx)tst-audit4.out): Likewise.
40816         ($(objpfx)tst-audit5): Likewise.
40817         ($(objpfx)tst-audit5.out): Likewise.
40818         ($(objpfx)tst-audit6): Likewise.
40819         ($(objpfx)tst-audit6.out): Likewise.
40820         ($(objpfx)tst-audit7): Likewise.
40821         ($(objpfx)tst-audit7.out): Likewise.
40822         (tst-audit3-ENV): Remove variable.
40823         (tst-audit4-ENV): Likewise.
40824         (tst-audit5-ENV): Likewise.
40825         (tst-audit6-ENV): Likewise.
40826         (tst-audit7-ENV): Likewise.
40827         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
40828         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
40829         addition to variable.
40830         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
40831         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
40832         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
40833         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
40834         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
40835         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
40836         tst-audit3, tst-audit4 and tst-audit5.
40837         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
40838         tst-audit6 and tst-audit7.
40839         [$(subdir) = elf] (modules-names): Add audit modules for those
40840         tests.
40841         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
40842         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
40843         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
40844         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
40845         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
40846         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
40847         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
40848         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
40849         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
40850         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
40851         [$(subdir) = elf] (tst-audit3-ENV): New variable.
40852         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
40853         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
40854         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
40855         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
40856         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
40857         Likewise.
40858         [$(subdir) = elf && $(config-cflags-avx) = yes]
40859         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
40860         [$(subdir) = elf && $(config-cflags-avx) = yes]
40861         (CFLAGS-tst-auditmod4a.c): Likewise.
40862         [$(subdir) = elf && $(config-cflags-avx) = yes]
40863         (CFLAGS-tst-auditmod4b.c): Likewise.
40864         [$(subdir) = elf && $(config-cflags-avx) = yes]
40865         (CFLAGS-tst-auditmod6b.c): Likewise.
40866         [$(subdir) = elf && $(config-cflags-avx) = yes]
40867         (CFLAGS-tst-auditmod6c.c): Likewise.
40868         [$(subdir) = elf && $(config-cflags-avx) = yes]
40869         (CFLAGS-tst-auditmod7b.c): Likewise.
40870         * elf/tst-audit3.c: Move to ...
40871         * sysdeps/x86_64/tst-audit3.c: ... here.
40872         * elf/tst-audit4.c: Move to ...
40873         * sysdeps/x86_64/tst-audit4.c: ... here.
40874         * elf/tst-audit5.c: Move to ...
40875         * sysdeps/x86_64/tst-audit5.c: ... here.
40876         * elf/tst-audit6.c: Move to ...
40877         * sysdeps/x86_64/tst-audit6.c: ... here.
40878         * elf/tst-audit7.c: Move to ...
40879         * sysdeps/x86_64/tst-audit7.c: ... here.
40880         * elf/tst-auditmod3a.c: Move to ...
40881         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
40882         * elf/tst-auditmod3b.c: Move to ...
40883         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
40884         * elf/tst-auditmod4a.c: Move to ...
40885         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
40886         * elf/tst-auditmod4b.c: Move to ...
40887         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
40888         * elf/tst-auditmod5a.c: Move to ...
40889         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
40890         * elf/tst-auditmod5b.c: Move to ...
40891         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
40892         * elf/tst-auditmod6a.c: Move to ...
40893         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
40894         * elf/tst-auditmod6b.c: Move to ...
40895         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
40896         * elf/tst-auditmod6c.c: Move to ...
40897         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
40898         * elf/tst-auditmod7a.c: Move to ...
40899         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
40900         * elf/tst-auditmod7b.c: Move to ...
40901         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
40903 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
40905         [BZ #15366]
40906         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
40907         define unconditionally.
40908         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
40909         define unconditionally.
40910         (INT8_C, INT16_C, etc.): Likewise.
40912 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
40914         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
40915         __ehdr_start with hidden visibility.
40917         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
40919 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
40921         * math/libm-test.inc (cos_test): Use accurate hex constants.
40922         (sincost_test): Likewise.
40924 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
40926         * math/libm-test.inc (catan_test): Add more tests.
40927         (catanh_test): Likewise.
40929         * math/s_catanf.c (__catanf): Use suffixed floating-point
40930         constants.
40931         * math/s_catanhf.c (__catanhf): Likewise.
40932         * math/s_catanhl.c (__catanhl): Likewise.
40933         * math/s_catanl.c (__catanl): Likewise.
40935         [BZ #15394]
40936         * math/s_catan.c (__catan): Calculate imaginary part of result
40937         with log1p not log unless computing log of number close to 0.
40938         * math/s_catanf.c (__catanf): Likewise.
40939         * math/s_catanl.c (__catanl): Likewise.
40940         * math/s_catanh.c (__catanh): Calculate real part of result with
40941         log1p not log unless computing log of number close to 0.
40942         * math/s_catanhf.c (__catanhf): Likewise.
40943         * math/s_catanhl.c (__catanhl): Likewise.
40944         * math/libm-test.inc (catan_test): Add more tests.
40945         (catanh_test): Likewise.
40946         * sysdeps/i386/fpu/libm-test-ulps: Update.
40947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40949 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
40951         * benchtests/Makefile: Mention files in which fast and slow
40952         paths of math functions are implemented.
40954 2013-04-23  Roland McGrath  <roland@hack.frob.com>
40956         * sysdeps/posix/timespec_get.c: New file.
40958 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40960         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
40961         POWER.
40962         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
40963         for POWER.
40964         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
40965         powerpc/power5/fpu folders.
40966         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
40967         * benchtests/Makefile: Add modf testcase.
40968         * benchtests/bench-modf.c: New file: Benchmark test for mo
40970 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
40972         [BZ #14888]
40973         * time/Makefile (tests): Add tst-strptime-whitespace.
40974         * time/strptime_l.c (get_number): Use ISSPACE.
40975         (__strptime_internal): Likewise.
40976         * time/tst-strptime-whitespace.c: New test case.
40978 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
40980         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
40981         member.
40982         (_nss_files_init): Set it here.
40984 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
40986         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
40987         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
40988         unsigned.
40990 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
40992         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
40994 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
40996         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
40997         size just once.
40999 2013-04-21  David S. Miller  <davem@davemloft.net>
41001         * po/ru.po: Update Russion translation from translation project.
41003 2013-04-17  Adam Conrad  <adconrad@0c3.net>
41005         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
41006         and setfsgid.
41008 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
41010         * configure.in: Remove i386 configure warning. Remove i386 case.
41011         * configure: Regenerate.
41012         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
41013         Add example to error message.
41014         * sysdeps/i386/configure: Regenerate.
41016 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
41018         * benchtests/Makefile (bench): Add cos, tan, slowcos and
41019         slowtan.
41020         * benchtests/cos-inputs: New file.
41021         * benchtests/slowcos-inputs: New file.
41022         * benchtests/slowcos.c: New file.
41023         * benchtests/slowtan-inputs: New file.
41024         * benchtests/slowtan.c: New file.
41025         * benchtests/tan-inputs: New file.
41027 2013-04-16  Roland McGrath  <roland@hack.frob.com>
41029         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
41030         considered kosher.
41032 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41034         * benchtests/Makefile: Include cppflags-iterator.mk to add
41035         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
41037         * Makefile.in (bench-clean): New target.
41038         * benchtests/Makefile (bench-clean): Likewise.
41040 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
41042         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
41044 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
41046         * stdio-common/tstdiomisc.c: Fix coding-style violation.
41048 2013-04-15  Andreas Schwab  <schwab@suse.de>
41050         * nscd/grpcache.c (cache_addgr): Properly check for short write.
41051         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41052         * nscd/pwdcache.c (cache_addpw): Likewise.
41053         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
41054         more than recsize.
41056 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41058         * benchtests/Makefile (bench): Write all output to
41059         bench-out.tmp together.
41061 2013-04-15  Andreas Schwab  <schwab@suse.de>
41063         * nscd/nscd.c (main): Don't fork again after closing files.
41065 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41067         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
41069         * benchtests/Rules (bench-deps): Collect dependencies into a
41070         single variable.  Add Makefile to dependencies.
41071         ($(objpfx)bench-%.c): Depend on bench-deps.
41073 2013-04-12  Roland McGrath  <roland@hack.frob.com>
41074             Xavier Roche  <roche+kml2@exalead.com>
41076         [BZ #15361]
41077         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
41078         just that it's a file descriptor.
41079         * manual/llio.texi (Synchronizing AIO Operations): Update description
41080         for EBADF error from aio_fsync.
41082 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
41084         * Rules (bench): Move target definition...
41085         * benchtests/Makefile: ... here.
41087 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
41089         * math/libm-test.inc (cos_test): Fix PI/2 test.
41090         (sincos_test): Likewise.
41091         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
41092         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
41094 2013-04-11  Andreas Schwab  <schwab@suse.de>
41096         [BZ #13988]
41097         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
41098         accept exponent character only when digits were seen.
41099         * stdio-common/Makefile (tests): Add bug26.
41100         * stdio-common/bug26.c: New file.
41102         [BZ #14293]
41103         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
41104         non-freeable.
41106 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41108         * Makeconfig (rtld-prefix): Define built linker prefix.
41109         * Rules (run-bench): Use it.
41110         * math/Makefile (run-regen-ulps): Likewise.
41112         * Rules (bench): Remove eval.
41114 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41115             Roland McGrath  <roland@hack.frob.com>
41116             Ondrej Bilka  <neleai@seznam.cz>
41118         [BZ #15346]
41119         * time/getdate.c: Include ctype.h and alloca.h.
41120         (__getdate_r): Trim leading and trailing spaces of input.
41121         * time/tst-getdate.c (tests): Add tests with leading and
41122         trailing spaces.
41124 2013-04-08  Roland McGrath  <roland@hack.frob.com>
41126         [BZ #14280]
41127         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
41128         when computing value.
41130 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
41132         * math/README.libm-test (How can I generate "libm-test-ulps"?):
41133         Use testrun.sh to run libm tests.
41135         [BZ #15309]
41136         * elf/dl-open.c (dl_open_worker): memset all of seen array.
41138 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
41140         [BZ #15264]
41141         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
41143 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
41145         * Makefile.in (regen-ulps): New target.
41146         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
41147         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
41148         [ifneq (no,$(PERL)] (regen-ulps): New target.
41149         [ifeq (no,$(PERL)] (regen-ulps): New target.
41150         * math/libm-test.inc (ulps_file_name): Define.
41151         (output_dir): New variable.
41152         (options): Add "output-dir" option.
41153         (parse_opt): Handle 'o' case.
41154         (main): If output_dir is non-NULL use it as a prefix
41155         otherwise use "".
41156         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
41158 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
41160         [BZ #10060, #10062]
41161         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
41162         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
41163         fail configure if __sync_val_compare_and_swap is not inlined.
41164         * sysdeps/i386/configure: Regenerate.
41165         * configure.in: Build for i686 when configured for i386.
41166         * configure: Regenerate.
41167         * README: Remove i386 reference.
41169 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
41171         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
41172         * sysdeps/s390/s390-64/sysdep.h: Likewise.
41174 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
41176         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
41177         (lmsnanval): New variables.
41178         (F): Add conversion tests.
41179         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
41180         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
41182         * stdio-common/tstdiomisc.c (F): Properly collect individual
41183         tests' results.
41185         [BZ #14686, #15336]
41186         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
41187         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
41188         Instead, use input NaN values or generate a qNaN by arithmetic
41189         operation.  Also fix bugs to comply with the standard.
41190         * math/libm-test.inc (remainder_test): Add more tests.
41192         [BZ #15335, #15342]
41193         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
41194         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
41195         input NaN values or generate a qNaN by arithmetic operation.
41197         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
41198         unreachable code.
41200         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
41201         definitions.
41203 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
41205         [BZ #14478]
41206         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
41207         underflowed result.
41208         * math/s_cexpf.c (__cexpf): Likewise.
41209         * math/s_cexpl.c (__cexpl): Likewise.
41210         * math/libm-test.inc (cexp_test): Add more tests.
41212 2013-04-03  Andreas Schwab  <schwab@suse.de>
41214         [BZ #15330]
41215         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
41216         order arrays from heap if bigger than alloca cutoff.
41218 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
41220         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
41221         (SNAN_TESTS_double): Refer to GCC PR56831.
41222         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
41223         GCC PR56828.
41225 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
41227         * Rules (bench): Move bench.out after the run is complete.
41229         * Rules (bench): Echo currently running benchmark.
41231         * benchtests/Makefile (bench): Add atan and slowatan.
41232         * benchtests/atan-inputs: New file.
41233         * benchtests/slowatan-inputs: New file.
41234         * benchtests/slowatan.c: New file.
41236         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
41237         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
41238         its value.
41240         [BZ #15305]
41241         * sysdeps/unix/sysv/linux/kernel-features.h
41242         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
41243         __ASSUME_XFS_RESTRICTED_CHOWN.
41244         * sysdeps/unix/sysv/linux/pathconf.c
41245         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
41246         Save and restore errno.
41248 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
41250         [BZ #15327]
41251         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
41252         arguments using __kernel_casinh.
41253         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
41254         arguments using __kernel_casinhf.
41255         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
41256         arguments using __kernel_casinhl.
41257         * math/libm-test.inc (cacosh_test): Add more tests.
41258         * sysdeps/i386/fpu/libm-test-ulps: Update.
41259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41261 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41263         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
41264         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
41266         * bench/Makefile (bench): Add sin and slowsin.
41267         * benchtests/sin-inputs: New file.
41268         * benchtests/slowsin-inputs: New file.
41269         * benchtests/slowsin.c: New file.
41271         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
41272         (bench): Add slowexp and slowpow.
41273         (exp-ITER): Increase iterations.
41274         (pow-ITER): Likewise.
41275         * benchtests/exp-inputs: Change input.
41276         * benchtests/pow-inputs: Likewise.
41277         * benchtests/slowexp-inputs: New file.
41278         * benchtests/slowexp.c: New file.
41279         * benchtests/slowpow-inputs: New file.
41280         * benchtests/slowpow.c: New file.
41282 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41284         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
41285         instructions.
41286         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
41287         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
41288         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
41289         * benchtests/Makefile: Add rint benchtest.
41290         * benchtests/rint-inputs: Input for rint benchtest.
41292 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
41294         * Versions.def (libm): Add GLIBC_2.18.
41295         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
41296         hidden libm prototypes.
41297         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
41298         * math/Makefile (libm-calls): Add s_issignaling.
41299         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
41300         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
41301         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
41302         declaration.
41303         * math/math.h [__USE_GNU] (issignaling): New macro.
41304         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
41305         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
41306         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
41307         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
41308         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
41309         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
41310         * manual/arith.texi (issignaling): New section.
41311         * manual/libm-err-tab.pl (@all_functions): Update comment.
41312         * math/gen-libm-test.pl (parse_args): Apply special handling for
41313         issignaling.
41314         * math/libm-test.inc (print_float, issignaling_test): New
41315         functions.
41316         (check_float_internal): Add issignaling checks.
41317         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
41318         default definition.
41319         * sysdeps/powerpc/math-tests.h: New file.
41320         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
41321         tests.
41322         * math/test-snan.c (TEST_FUNC): Likewise.
41324 2013-03-30  David S. Miller  <davem@davemloft.net>
41326         * po/de.po: Update from translation team.
41328 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
41330         [BZ #10357]
41331         * math/k_casinh.c (__kernel_casinh): Handle arguments with
41332         imaginary part less than 1.0 and real part less than 0.5
41333         specially.
41334         * math/k_casinhf.c (__kernel_casinhf): Likewise.
41335         * math/k_casinhl.c (__kernel_casinhl): Likewise.
41336         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
41337         (cacos_test): Add more tests.
41338         (casin_test): Likewise.
41339         (casinh_test): Likewise.
41340         * sysdeps/i386/fpu/libm-test-ulps: Update.
41341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41343 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41345         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
41346         ONE with its value.
41348         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
41349         (__pow_mp): Replace ONE and MONE with their values.
41350         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
41351         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
41352         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
41353         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
41354         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
41355         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
41357         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
41359         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
41360         (__pow_mp): Replace ZERO and MZERO with their values.
41361         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
41362         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
41363         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
41364         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
41365         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
41366         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
41367         (__sqr): Likewise.
41369         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
41371         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
41373 2013-03-28  Roland McGrath  <roland@hack.frob.com>
41375         * include/stdlib.h [!SHARED] (__call_tls_dtors):
41376         Declare with __attribute__ ((weak)).
41377         * stdlib/exit.c (__libc_atexit) [!SHARED]:
41378         Call __call_tls_dtors only if it's not NULL.
41380 2013-03-28  Roland McGrath  <roland@hack.frob.com>
41382         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
41383         didn't do it already, then set _dl_phdr and _dl_phnum based on the
41384         magic __ehdr_start linker symbol if it's defined.
41385         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
41386         them up here if it was already done.
41388         * elf/dl-support.c (_dl_phdr): Make pointer to const.
41389         (_dl_aux_init): Use const in cast when setting it.
41390         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
41391         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
41392         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
41394         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
41395         Declare them here.
41396         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
41397         * csu/libc-tls.c: Nor here.
41398         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
41400         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
41401         (__libc_message): Never call vsyslog.
41403 2013-03-28  Alan Modra  <amodra@gmail.com>
41405         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
41406         Define as empty.
41407         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
41408         Likewise.
41410 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41412         [BZ #15214]
41413         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
41414         underflow.
41415         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41417 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41419         [BZ #15304]
41420         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
41421         Don't add gid passed as argument.
41423         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
41425 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
41427         [BZ #15307]
41428         * math/k_casinh.c (__kernel_casinh): Handle arguments with
41429         imaginary part between 1.0 and 1.5 and real part less than 0.5
41430         specially.
41431         * math/k_casinhf.c (__kernel_casinhf): Likewise.
41432         * math/k_casinhl.c (__kernel_casinhl): Likewise.
41433         * math/libm-test.inc (cacos_test): Add more tests.
41434         (casin_test): Likewise.
41435         (casinh_test): Likewise.
41436         * sysdeps/i386/fpu/libm-test-ulps: Update.
41437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41439 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41441         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
41442         constants.
41443         (norm): Likewise.
41444         (denorm): Likewise.
41445         (__dbl_mp): Likewise.
41446         (add_magnitudes): Likewise.
41447         (sub_magnitudes): Likewise.
41448         (__add): Likewise.
41449         (__sub): Likewise.
41450         (__mul): Likewise.
41451         (__sqr): Likewise.
41452         (__inv): Likewise.
41453         (__dvd): Likewise.
41455         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
41456         commented code.
41457         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
41458         (__dubcos): Likewise.
41459         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
41460         (__ieee754_acos): Likewise.
41461         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
41462         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
41463         (__exp1): Likewise.
41464         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
41465         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
41466         (log1): Likewise.
41467         (my_log2): Likewise.
41468         (checkint): Likewise.
41469         * sysdeps/ieee754/dbl-64/e_remainder.c
41470         (__ieee754_remainder): Likewise.
41471         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
41472         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
41473         (bsloww): Likewise.
41474         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
41476         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
41477         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
41478         MANTISSA_STORE_T to store computations on mantissa.  Use
41479         macros for rounding and division.
41480         (denorm): Likewise.
41481         (__dbl_mp): Likewise.
41482         (add_magnitudes): Likewise.
41483         (sub_magnitudes): Likewise.
41484         (__mul): Likewise.
41485         (__sqr): Likewise.
41486         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
41487         powers of two in terms of TWOPOW macro.
41488         (mp_no): Make type of mantissa as MANTISSA_T.
41489         [!RADIXI]: Define RADIXI.
41490         [!TWO52]: Define TWO52.
41491         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
41493 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41495         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
41496         llroundl symbol when building for PPC32.
41498 2013-03-24  Mark H Weaver  <mhw@netris.org>
41500         * manual/arith.texi (Normalization Functions): Fix prototypes for
41501         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
41503 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41505         [BZ #13889]
41506         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
41507         high value to check if expl overflow.
41508         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
41509         to check for underflow and overflow.
41510         * math/libm-test.inc: Add exp test.
41512 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
41514         [BZ #11120]
41515         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
41516         with NOT_IN_libc.
41518 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41520         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
41521         symbol.
41523 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
41525         * math/gen-libm-test.pl (parse_args, special_functions): Properly
41526         wrap blocks consisting of several statements.
41528         * sysdeps/generic/math-tests.h: New file.
41529         * sysdeps/i386/fpu/math-tests.h: Likewise.
41530         * math/test-snan.c: Include it.
41531         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
41533 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
41535         [BZ #15285]
41536         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
41537         (__ieee754_j0l): Do not improve calculations using cos of twice
41538         input for inputs above LDBL_MAX / 2.0L.
41539         (__ieee754_y0l): Likewise.
41540         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
41541         (__ieee754_j1l): Do not improve calculations using cos of twice
41542         input for inputs above LDBL_MAX / 2.0L.
41543         (__ieee754_y1l): Likewise.
41544         * math/libm-test.inc (j0_test): Add another test.
41545         (j1_test): Likewise.
41546         (y0_test): Likewise.
41547         (y1_test): Likewise.
41548         * sysdeps/i386/fpu/libm-test-ulps: Update.
41550 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41552         * Rules ($(objpfx)bench-%.c): Include code from a C source
41553         file.
41555 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
41557         [BZ #15287]
41558         * math/k_casinh.c (__kernel_casinh): Handle arguments with
41559         imaginary part 1.0 and real part less than 0.5 specially.
41560         * math/k_casinhf.c (__kernel_casinhf): Likewise.
41561         * math/k_casinhl.c (__kernel_casinhl): Likewise.
41562         * math/libm-test.inc (cacos_test): Add more tests.
41563         (casin_test): Likewise.
41564         (casinh_test): Likewise.
41565         * sysdeps/i386/fpu/libm-test-ulps: Update.
41566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41568 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41570         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
41571         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
41573 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
41575         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
41576         * config.make.in (config-cflags-sse4): Remove variable.
41577         (config-cflags-avx): Likewise.
41578         (config-cflags-sse2avx): Likewise.
41579         (config-cflags-novzeroupper): Likewise.
41580         (config-asflags-i686): Likewise.
41581         (have-mfma4): Likewise.
41582         (have-as-vis3): Likewise.
41583         (MIG): Likewise.
41584         * configure.in (MIG): Do not AC_SUBST.
41585         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
41586         (libc_cv_cc_sse4): Do not AC_SUBST.
41587         (libc_cv_cc_avx): Likewise.
41588         (libc_cv_cc_sse2avx): Likewise.
41589         (libc_cv_cc_novzeroupper): Likewise.
41590         (libc_cv_cc_fma4): Likewise.
41591         (libc_cv_as_i686): Likewise.
41592         (libc_cv_sparc_as_vis3): Likewise.
41593         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
41594         LIBC_CONFIG_VAR.
41595         (config-asflags-i686): Likewise.
41596         (config-cflags-avx): Likewise.
41597         (config-cflags-sse2avx): Likewise.
41598         (have-mfma4): Likewise.
41599         (config-cflags-novzeroupper): Likewise.
41600         * sysdeps/mach/configure.in (MIG): Likewise.
41601         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
41602         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
41603         LIBC_CONFIG_VAR.
41604         (config-cflags-avx): Likewise.
41605         (config-cflags-sse2avx): Likewise.
41606         (have-mfma4): Likewise.
41607         (config-cflags-novzeroupper): Likewise.
41608         * configure: Regenerated.
41609         * sysdeps/i386/configure: Likewise.
41610         * sysdeps/mach/configure: Likewise.
41611         * sysdeps/sparc/configure: Likewise.
41612         * sysdeps/x86_64/configure: Likewise.
41614 2013-03-20  Roland McGrath  <roland@hack.frob.com>
41616         [BZ #14812]
41617         * locale/programs/localedef.c (options): Put N_ translation marker
41618         on argument names, not just descriptions.
41620 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41622         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
41624 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
41626         [BZ #14176]
41627         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
41629 2013-03-19  Roland McGrath  <roland@hack.frob.com>
41631         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
41632         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
41633         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
41634         [!BEFORE_ABORT] (before_abort): New function.
41635         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
41636         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
41637         (writev_for_fatal): New function.
41638         (WRITEV_FOR_FATAL): New macro; call that.
41639         (backtrace_and_maps): New function.
41640         (BEFORE_ABORT): New macro; call that.
41641         (struct str_list): Type removed.
41642         (__libc_message, __libc_fatal): Functions removed.
41643         Include <sysdeps/posix/libc_fatal.c> instead.
41645 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
41647         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
41648         constants.
41649         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
41650         double constants.
41652 2013-03-19  Andreas Schwab  <schwab@suse.de>
41654         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
41655         * sysdeps/gnu/configure: Regenerate.
41657         * configure.in: Substitute libc_cv_rtlddir.
41658         * configure: Regenerate.
41659         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
41660         * Makeconfig (rtlddir, inst_rtlddir): New variables.
41661         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
41662         * elf/Makefile (install-others, CFLAGS-interp.c)
41663         (ldso_install, common-ldd-rewrite): Likewise.
41664         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
41665         $(inst_slibdir)/$(rtld-installed-name).
41666         * scripts/rellns-sh: Add -p option.
41667         * Makerules (make-shlib-link): Use rellns-sh to get relative name
41668         for source.
41670 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41672         * manual/nptl.texi: Renamed to ...
41673         * manual/threads.texi: ... this.
41674         * manual/Makefile (chapters): Update.
41676 2013-03-18  Roland McGrath  <roland@hack.frob.com>
41678         [BZ #14812]
41679         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
41680         on argument names, not just descriptions.
41681         * malloc/memusagestat.c (options): Likewise.
41682         * nss/getent.c (options): Likewise.
41684 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
41686         [BZ #14812]
41687         * iconv/iconv_prog.c (options): Put N_ translation marker
41688         on argument names, not just descriptions.
41689         * iconv/iconvconfig.c (options): Likewise.
41691 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
41693         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
41694         implementation which is faster on all x86_64 architectures.
41695         Tested on AMD, Intel Nehalem, SNB, IVB.
41696         * sysdeps/x86_64/strnlen.S: Likewise.
41698         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
41699         Remove all multiarch strlen and strnlen versions.
41700         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
41701         Remove strlen and strnlen related parts.
41703         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
41704         Inline strlen part.
41705         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
41707         * sysdeps/x86_64/multiarch/strlen.S: Remove.
41708         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
41709         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
41710         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
41711         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
41712         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
41714 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
41716         * manual/memory.texi (Malloc Tunable Parameters):
41717         Sort parameters alphabetically. Add comments for missing entries.
41719 2013-03-17  David S. Miller  <davem@davemloft.net>
41721         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41723 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
41725         [BZ #15283]
41726         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
41727         for arguments at most half maximum finite value.
41728         * math/libm-test.inc (j0_test): Add more tests.
41729         (j1_test): Likewise.
41730         (y0_test): Likewise.
41731         (y1_test): Likewise.
41732         * sysdeps/i386/fpu/libm-test-ulps: Update.
41733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41735         [BZ #14155]
41736         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
41737         1 / x and functions P and Q for arguments above 0x1p256L.
41738         (__ieee754_y0l): Likewise.
41739         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
41740         (__ieee754_y1l): Likewise.
41741         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
41742         (j1_test): Likewise.
41743         (y0_test): Likewise.
41744         (y1_test): Likewise.
41746 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
41748         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
41749         variable.
41751 2013-03-15  Roland McGrath  <roland@hack.frob.com>
41753         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
41754         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
41755         zero since it's initialized to EXEC_PAGESIZE.
41757         * sysdeps/unix/sysv/linux/ldsodefs.h
41758         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
41759         * sysdeps/generic/ldsodefs.h: ... here.
41761 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
41763         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
41765         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
41766         math/test-snan.c.
41767         * math/test-snan.c: Renamed from
41768         sysdeps/powerpc/fpu/test-powerpc-snan.c.
41769         * math/Makefile (tests): Add test-snan.
41770         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
41771         test-powerpc-snan.
41773         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
41774         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
41775         functions.
41776         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
41777         __builtin_nan family of functions.
41778         * math/libm-test.inc (initialize): Initialize qnan_value with
41779         __builtin_nan family of functions.
41780         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
41781         Remove variables.
41782         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
41783         Remove functions.
41784         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
41785         storage class.  Initialize qNaN_var and sNaN_var with
41786         __builtin_nan and __builtin_nans families of functions,
41787         respectively.
41789         * math/libm-test.inc (acosh_test): Also test with qNaN input.
41790         (sqrt_test): Remove duplicate test with qNaN input.
41791         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
41792         (round_test, signbit_test, significand_test): Note missing +/-Inf
41793         as well as qNaN tests.
41795         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
41796         qNaN_var.  Fix a few strings, too.
41797         * math/libm-test.inc (nan_value): Rename to qnan_value.
41798         * math/gen-libm-test.pl (%beautify): Adjust to that.
41799         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
41800         * math/test-misc.c (main): Likewise.
41801         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
41802         to __qnan_bytes, and __qnan_union, respectively.
41803         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
41804         Likewise.
41805         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
41806         and lqnanval, respectively.
41807         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
41808         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
41809         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
41810         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
41812         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
41813         * math/test-misc.c (main) [__x86_64__]: Enable test for long
41814         doubles.
41816         * math/test-misc.c (main): Fix copy'n'pastos.
41817         * misc/tst-efgcvt.c (special): Likewise.
41819         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
41820         Remove declarations.
41822 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41824         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
41825         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
41826         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
41827         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
41829 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41831         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
41832         macro to return vdso values correctly in IFUNC implementations.
41833         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
41834         Optimization by using IFUNC.
41836 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41837             Richard Henderson  <rth@redhat.com>
41838             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41840         * Makefile.in (bench): New target.
41841         * NEWS: Mention the benchmark framework.
41842         * Rules (bench): Likewise.
41843         (binaries-bench): Generate binaries for functions to
41844         benchmark.
41845         * benchtests/Makefile: New makefile for benchmark tests.
41846         * benchtests/bench-skeleton.c: New skeleton file for benchmark
41847         programs.
41848         * benchtests/exp-inputs: New input file for EXP function.
41849         * benchtests/pow-inputs: New input file for POW function.
41850         * scripts/bench.pl: New script to generate source files for
41851         benchmark programs.
41853 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41855         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
41856         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
41857         computations on mantissa.  Use macros for rounding and
41858         division.
41859         (denorm): Likewise.
41860         (__dbl_mp): Likewise.
41861         (add_magnitudes): Likewise.
41862         (sub_magnitudes): Likewise.
41863         (__mul): Likewise.
41864         (__sqr): Likewise.
41865         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
41866         powers of two in terms of TWOPOW macro.
41867         (mp_no): Make type of mantissa as MANTISSA_T.
41868         [!RADIXI]: Define RADIXI.
41869         [!TWO52]: Define TWO52.
41870         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
41872         * manual/nptl.texi (cindex): Modify threads to pthreads.
41874 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
41876         * sysdeps/x86_64/preconfigure: Regenerated.
41878 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
41880         [BZ #14155]
41881         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
41882         0x1p28 and above.
41883         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
41884         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
41885         0x1p28 and above.
41886         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
41887         * math/libm-test.inc (j0_test): Do not allow one spurious
41888         underflow exception.
41889         (y1_test): Likewise.
41891 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
41893         * manual/Makefile (chapters): Add nptl.
41894         * manual/debug.texi (Debugging Support): Add link to Threads
41895         chapter.
41896         * manual/nptl.texi: New file.
41898         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
41900 2013-03-14  Petr Baudis  <pasky@ucw.cz>
41902         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
41903         for non-NULL pointer before the memory validity test. Pointed
41904         out by Holger Brunck <holger.brunck@keymile.com>.
41906 2013-03-13  Andreas Schwab  <schwab@suse.de>
41908         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
41909         instead of .os.
41911 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
41913         * timezone/zic.c: Update from tzcode 2013b.
41915 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
41917         * manual/install.texi (Configuring and compiling):
41918         Mention i686 and i586.
41919         * INSTALL: Regenerate.
41921 2013-03-12  Roland McGrath  <roland@hack.frob.com>
41923         * sysdeps/init_array/elf-init.c: New file.
41924         * csu/elf-init.c
41925         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
41926         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
41928         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
41929         __gmon_start__ as global, but as static with a .preinit_array pointer.
41930         * sysdeps/init_array/gmon-start.c: New file.  Use that.
41931         * sysdeps/init_array/crti.S: New file, empty except for comments.
41932         * sysdeps/init_array/crtn.S: Likewise.
41934 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
41936         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
41937         definining bcopy.
41938         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41939         Remove Prefer_SSE_for_memop.
41940         * sysdeps/x86_64/multiarch/init-arch.h: Remove
41941         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
41942         HAS_PREFER_SSE_FOR_MEMOP.
41943         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
41944         memset-x86-64.
41945         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
41946         Remove bzero, memset ifunc support.
41947         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
41948         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
41949         * sysdeps/x86_64/multiarch/memset.S: Likewise.
41950         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41952 2013-03-11  Andreas Schwab  <schwab@suse.de>
41954         [BZ #15234]
41955         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
41956         by SHLIB_COMPAT.
41957         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
41958         (GLIBC_2.16): Remove pthread_atfork.
41960 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
41962         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
41963         (ptestcases.h): Likewise.
41965 2013-03-08  Roland McGrath  <roland@hack.frob.com>
41967         * Makeconfig ($(common-objpfx)config.status): Depend on
41968         sysdeps/*/preconfigure{,.in} too.
41970 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
41972         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
41973         (__free_hook): Use void * instead of __malloc_ptr_t.
41974         (__malloc_hook): Likewise.
41975         (__realloc_hook): Likewise.
41976         (__memalign_hook): Likewise.
41977         (__after_morecore_hook): Likewise.
41978         * malloc/arena.c (save_malloc_hook): Likewise.
41979         (save_free_hook): Likewise.
41980         * malloc/hooks.c (malloc_hook_ini): Likewise.
41981         (realloc_hook_ini): Likewise.
41982         (memalign_hook_ini): Likewise.
41983         * malloc/malloc.c (malloc_hook_ini): Likewise.
41984         (realloc_hook_ini): Likewise.
41985         (memalign_hook_ini): Likewise.
41986         (__free_hook): Likewise.
41987         (__malloc_hook): Likewise.
41988         (__realloc_hook): Likewise.
41989         (__memalign_hook): Likewise.
41990         (__libc_malloc): Likewise.
41991         (__libc_free): Likewise.
41992         (__libc_realloc): Likewise.
41993         (__libc_memalign): Likewise.
41994         (__libc_valloc): Likewise.
41995         (__libc_pvalloc): Likewise.
41996         (__libc_calloc): Likewise.
41997         (__posix_memalign): Likewise.
41998         * malloc/morecore.c (__sbrk): Likewise.
41999         (__default_morecore): Likewise.
42001         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
42003         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
42004         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
42005         __malloc_ptrdiff_t.
42007         * malloc/malloc.h (__malloc_size_t): Remove macro.
42008         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
42009         __malloc_size_t.
42010         (old_memalign_hook): Likewise.
42011         (old_realloc_hook): Likewise.
42012         (struct hdr): Likewise.
42013         (flood): Likewise.
42014         (mallochook): Likewise.
42015         (memalignhook): Likewise.
42016         (reallochook): Likewise.
42017         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
42018         (tr_old_realloc_hook): Likewise.
42019         (tr_old_memalign_hook): Likewise.
42020         (tr_mallochook): Likewise.
42021         (tr_reallochook): Likewise.
42022         (tr_memalignhook): Likewise.
42024 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42026         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
42027         default_ldbl_pack and using as default implementation.
42028         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
42029         implementation.
42030         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
42031         redundant definition.
42032         (ldbl_insert_mantissa): Likewise.
42033         (ldbl_canonicalize): Likewise.
42034         (ldbl_nearbyint): Likewise.
42035         (ldbl_pack): Rename to ldbl_pack_ppc.
42036         (ldbl_unpack): Rename to ldbl_unpack_ppc.
42037         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
42038         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
42040 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
42042         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
42043         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
42044         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
42045         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
42046         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
42047         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
42048         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
42049         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
42051 2013-03-07  Andreas Jaeger  <aj@suse.de>
42053         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42054         bits/mman-linux.h.
42056 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
42058         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
42059         Include mpa.h and declare __MPEXP.
42060         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
42061         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
42062         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
42063         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
42064         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
42065         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
42066         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
42068         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
42069         (__slowpow): Use long double EXPL and LOGL functions to
42070         compute POW.
42071         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
42072         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
42073         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
42074         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
42075         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
42076         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
42078         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
42079         intermediate variable to calculate exponent.
42080         (__sqr): Likewise.
42081         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
42082         Likewise.
42083         (__sqr): Likewise.
42085         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
42086         [!NO__SQR]: Define __sqr.
42087         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
42088         and NO__SQR.  Remove all code except __mul and __sqr.  Include
42089         sysdeps/ieee754/dbl-64/mpa.c.
42090         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
42092         [BZ #12723]
42093         * posix/Makefile (tests): Add tst-pathconf.
42094         * posix/tst-pathconf.c: New test case.
42095         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
42096         _PC_PIPE_BUF.
42097         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
42099 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
42101         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
42103 2013-03-06  Andreas Jaeger  <aj@suse.de>
42105         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
42106         definition via __MAP_ANONYMOUS.
42108         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
42109         it's not part of Linux headers.
42111         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
42112         (MAP_HUGE_MASK): Define.
42114         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
42115         Define.
42116         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
42117         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
42118         Define.
42119         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
42120         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
42121         Define.
42122         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
42123         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
42124         Define.
42125         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
42127         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
42128         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
42129         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
42130         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
42131         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
42132         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
42134         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42135         Handle f2fs.
42137         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42138         Handle f2fs and efivarfs.
42140         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
42141         f2fs.
42143         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
42144         (EFIVARFS_MAGIC): Add.
42145         (F2FS_LINK_MAX): Add.
42147 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
42149         * stdio-common/vfprintf.c: Replace __builtin_expect with
42150         __glibc_unlikely.
42152 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
42154         [BZ #13550]
42155         * sysdeps/generic/bp-sym.h: Remove file.
42156         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
42157         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
42158         <bp-sym.h> and <bp-asm.h>.
42159         (__longjmp): Don't use BP_SYM.
42160         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
42161         and <bp-asm.h>.
42162         (memcpy): Don't use BP_SYM.
42163         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
42164         <bp-sym.h> and <bp-asm.h>.
42165         (memcpy): Don't use BP_SYM.
42166         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
42167         <bp-asm.h>.
42168         (memcpy): Don't use BP_SYM.
42169         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
42170         <bp-asm.h>.
42171         (memset): Don't use BP_SYM.
42172         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
42173         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
42174         (__bzero): Don't use BP_SYM.
42175         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
42176         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
42177         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
42178         <bp-sym.h> and <bp-asm.h>.
42179         (memcmp): Don't use BP_SYM.  Remove comment about bounded
42180         pointers.
42181         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
42182         <bp-sym.h> and <bp-asm.h>.
42183         (memcpy): Don't use BP_SYM.
42184         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
42185         <bp-sym.h> and <bp-asm.h>.
42186         (memset): Don't use BP_SYM.
42187         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
42188         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
42189         (__bzero): Don't use BP_SYM.
42190         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
42191         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
42192         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
42193         <bp-sym.h> and <bp-asm.h>.
42194         (strncmp): Don't use BP_SYM.  Remove comment about bounded
42195         pointers.
42196         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
42197         <bp-sym.h> and <bp-asm.h>.
42198         (memcpy): Don't use BP_SYM.
42199         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
42200         <bp-sym.h> and <bp-asm.h>.
42201         (memset): Don't use BP_SYM.
42202         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
42203         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
42204         (__bzero): Don't use BP_SYM.
42205         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
42206         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
42207         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
42208         <bp-sym.h> and <bp-asm.h>.
42209         (__memchr): Don't use BP_SYM.
42210         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
42211         <bp-sym.h> and <bp-asm.h>.
42212         (memcmp): Don't use BP_SYM.  Remove comment about bounded
42213         pointers.
42214         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
42215         <bp-sym.h> and <bp-asm.h>.
42216         (memcpy): Don't use BP_SYM.
42217         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
42218         <bp-sym.h> and <bp-asm.h>.
42219         (__mempcpy): Don't use BP_SYM.
42220         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
42221         <bp-sym.h> and <bp-asm.h>.
42222         (__memrchr): Don't use BP_SYM.
42223         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
42224         <bp-sym.h> and <bp-asm.h>.
42225         (memset): Don't use BP_SYM.
42226         (__bzero): Likewise.
42227         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
42228         <bp-sym.h> and <bp-asm.h>.
42229         (__rawmemchr): Don't use BP_SYM.
42230         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
42231         <bp-sym.h> and <bp-asm.h>.
42232         (__STRCMP): Don't use BP_SYM.
42233         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
42234         <bp-sym.h> and <bp-asm.h>.
42235         (strchr): Don't use BP_SYM.
42236         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
42237         <bp-sym.h> and <bp-asm.h>.
42238         (__strchrnul): Don't use BP_SYM.
42239         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
42240         <bp-sym.h> and <bp-asm.h>.
42241         (strlen): Don't use BP_SYM.
42242         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
42243         <bp-sym.h> and <bp-asm.h>.
42244         (strncmp): Don't use BP_SYM.  Remove comment about bounded
42245         pointers.
42246         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
42247         <bp-sym.h> and <bp-asm.h>.
42248         (__strnlen): Don't use BP_SYM.
42249         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
42250         <bp-sym.h> and <bp-asm.h>.
42251         (__GI__setjmp): Don't use BP_SYM.
42252         (_setjmp): Likewise.
42253         (__sigsetjmp): Likewise.
42254         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
42255         (L(start_addresses)): Don't use BP_SYM.
42256         (_start): Likewise.
42257         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
42258         <bp-asm.h>.
42259         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
42260         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
42261         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
42262         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
42263         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
42264         <bp-asm.h>.
42265         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
42266         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
42267         about bounded pointers.
42268         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
42269         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
42270         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
42271         <bp-asm.h>.
42272         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
42273         about bounded pointers.  Remove GKM FIXME comments.
42274         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
42275         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
42276         <bp-asm.h>.
42277         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
42278         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
42279         Remove GKM FIXME comments.
42280         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
42281         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
42282         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
42283         <bp-asm.h>.
42284         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
42285         about bounded pointers.  Remove GKM FIXME comment.
42286         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
42287         and <bp-asm.h>.
42288         (strncmp): Don't use BP_SYM.  Remove comment about bounded
42289         pointers.
42290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
42291         <bp-sym.h> and <bp-asm.h>.
42292         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
42293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
42294         <bp-sym.h> and <bp-asm.h>.
42295         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
42296         comment.
42298 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
42300         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
42301         call free(NULL).
42303 2013-03-05  David S. Miller  <davem@davemloft.net>
42305         * po/es.po: Update from translation team.
42307 2013-03-05  Andreas Jaeger  <aj@suse.de>
42309         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
42310         <bits/mman-linux.h>.
42311         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
42312         is fine.
42313         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
42314         <bits/mman-linux.h> to end of file.
42315         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
42316         is fine.
42317         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
42318         <bits/mman-linux.h> to end of file.
42319         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
42320         is fine.
42321         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
42322         <bits/mman-linux.h> to end of file.
42324         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
42325         (MCL_CURRENT, MCL_FUTURE): Define here.
42327 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42329         [BZ #15232]
42330         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
42331         attribute_hidden.
42332         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
42334 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42336         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
42337         fourth parameter needed for rt_sigprocmask syscall.
42338         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
42339         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
42340         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
42341         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
42342         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
42343         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
42345 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
42347         [BZ #13550]
42348         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
42349         comment about bounded pointers.
42350         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
42351         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
42353 2013-03-04  Andreas Jaeger  <aj@suse.de>
42355         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
42356         common definitions.
42358         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
42359         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
42360         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
42361         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42362         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
42363         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42365 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42367         [BZ #15055]
42368         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
42369         __ieee754_sqrl instead of __sqrl.
42371 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
42373         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
42374         * sysdeps/powerpc/fpu_control.h: ... here.
42375         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
42376         * sysdeps/powerpc/bits/fenvinline.h: ... here.
42377         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
42378         * sysdeps/powerpc/bits/mathinline.h: ... here.
42380 2013-03-01  Roland McGrath  <roland@hack.frob.com>
42382         * elf/dl-hwcaps.c (_dl_important_hwcaps):
42383         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
42384         to just [NEED_DL_SYSINFO_DSO].
42385         * elf/dl-support.c: Likewise.
42386         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
42387         * elf/rtld.c (dl_main): Likewise.
42388         * elf/setup-vdso.h (setup_vdso): Likewise.
42389         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
42390         * sysdeps/unix/sysv/linux/dl-sysdep.c
42391         (_dl_discover_osversion): Likewise.
42393 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
42395         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
42396         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
42398 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
42400         * NEWS: Mention libm performance improvements and non-x86 PI
42401         futex support.
42403         * csu/libc-start.c (__pthread_initialize_minimal): Change
42404         function arguments.
42405         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
42407 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
42409         [BZ #13550]
42410         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
42411         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
42412         <bp-sym.h> and <bp-asm.h>.
42413         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
42414         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
42415         and <bp-asm.h>.
42416         (memcpy): Don't use BP_SYM.
42417         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
42418         <bp-asm.h>.
42419         (__mpn_add_n): Don't use BP_SYM.
42420         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
42421         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
42422         and <bp-asm.h>.
42423         (__mpn_addmul_1): Don't use BP_SYM.
42424         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
42425         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
42426         <bp-sym.h>.
42427         (_setjmp): Don't use BP_SYM.
42428         (__novmx_setjmp): Likewise.
42429         (__GI__setjmp): Likewise.
42430         (__vmx_setjmp): Likewise.
42431         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
42432         <bp-sym.h>.
42433         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
42434         (__bzero): Don't use BP_SYM.
42435         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
42436         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
42437         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
42438         <bp-sym.h> and <bp-asm.h>.
42439         (memcpy): Don't use BP_SYM.
42440         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
42441         <bp-sym.h> and <bp-asm.h>.
42442         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
42443         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
42444         <bp-sym.h> and <bp-asm.h>.
42445         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
42446         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
42447         <bp-asm.h>.
42448         (__mpn_lshift): Don't use BP_SYM.
42449         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
42450         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
42451         <bp-asm.h>.
42452         (memset): Don't use BP_SYM.
42453         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
42454         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
42455         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
42456         <bp-asm.h>.
42457         (__mpn_mul_1): Don't use BP_SYM.
42458         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
42459         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
42460         <bp-sym.h> and <bp-asm.h>.
42461         (memcmp): Don't use BP_SYM.
42462         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
42463         <bp-sym.h> and <bp-asm.h>.
42464         (memcpy): Don't use BP_SYM.
42465         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
42466         <bp-sym.h> and <bp-asm.h>.
42467         (memset): Don't use BP_SYM.
42468         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
42469         <bp-sym.h> and <bp-asm.h>.
42470         (strncmp): Don't use BP_SYM.
42471         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
42472         <bp-sym.h> and <bp-asm.h>.
42473         (memcpy): Don't use BP_SYM.
42474         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
42475         <bp-sym.h> and <bp-asm.h>.
42476         (memset): Don't use BP_SYM.
42477         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
42478         <bp-sym.h> and <bp-asm.h>.
42479         (__memchr): Don't use BP_SYM.
42480         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
42481         <bp-sym.h> and <bp-asm.h>.
42482         (memcmp): Don't use BP_SYM.
42483         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
42484         <bp-sym.h> and <bp-asm.h>.
42485         (memcpy): Don't use BP_SYM.
42486         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
42487         <bp-sym.h> and <bp-asm.h>.
42488         (__mempcpy): Don't use BP_SYM.
42489         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
42490         <bp-sym.h> and <bp-asm.h>.
42491         (__memrchr): Don't use BP_SYM.
42492         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
42493         <bp-sym.h> and <bp-asm.h>.
42494         (memset): Don't use BP_SYM.
42495         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
42496         <bp-sym.h> and <bp-asm.h>.
42497         (__rawmemchr): Don't use BP_SYM.
42498         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
42499         <bp-sym.h> and <bp-asm.h>.
42500         (__STRCMP): Don't use BP_SYM.
42501         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
42502         <bp-sym.h> and <bp-asm.h>.
42503         (strchr): Don't use BP_SYM.
42504         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
42505         <bp-sym.h> and <bp-asm.h>.
42506         (__strchrnul): Don't use BP_SYM.
42507         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
42508         <bp-sym.h> and <bp-asm.h>.
42509         (strlen): Don't use BP_SYM.
42510         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
42511         <bp-sym.h> and <bp-asm.h>.
42512         (strncmp): Don't use BP_SYM.
42513         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
42514         <bp-sym.h> and <bp-asm.h>.
42515         (__strnlen): Don't use BP_SYM.
42516         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
42517         <bp-asm.h>.
42518         (__mpn_rshift): Don't use BP_SYM.
42519         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
42520         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
42521         <bp-sym.h> and <bp-asm.h>.
42522         (__sigsetjmp): Don't use BP_SYM.
42523         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
42524         (L(start_addresses)): Don't use BP_SYM.
42525         (_start): Likewise.
42526         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
42527         <bp-asm.h>.
42528         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
42529         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
42530         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
42531         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
42532         <bp-asm.h>.
42533         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
42534         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
42535         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
42536         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
42537         <bp-asm.h>.
42538         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
42539         comments.
42540         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
42541         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
42542         <bp-asm.h>.
42543         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
42544         FIXME comments.
42545         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
42546         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
42547         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
42548         <bp-asm.h>.
42549         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
42550         comment.
42551         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
42552         and <bp-asm.h>.
42553         (strncmp): Don't use BP_SYM,
42554         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
42555         <bp-asm.h>.
42556         (__mpn_sub_n): Don't use BP_SYM.
42557         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
42558         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
42559         and <bp-asm.h>.
42560         (__mpn_submul_1): Don't use BP_SYM.
42561         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
42562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
42563         <bp-sym.h> and <bp-asm.h>.
42564         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
42565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
42566         <bp-sym.h> and <bp-asm.h>.
42567         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
42568         comment.
42570 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42572         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
42573         Use ZK to minimize writes to Z.
42574         (sub_magnitudes): Simplify code a bit.
42575         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
42576         Use ZK to minimize writes to Z.
42577         (sub_magnitudes): Simplify code a bit.
42579 2013-02-27  Roland McGrath  <roland@hack.frob.com>
42581         * csu/gmon-start.c: Add special exception to license text.
42583 2013-02-27  Richard Henderson  <rth@redhat.com>
42585         * scripts/config.guess: Update from config.git.
42586         * scripts/config.sub: Likewise.
42588 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
42590         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
42592         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
42594         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
42596         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
42598         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
42600 2013-02-26  Roland McGrath  <roland@hack.frob.com>
42602         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
42603         [$(build-shared = yes].
42605 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42607         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
42608         (__mul): Reduce iterations for calculating mantissa.
42610         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
42611         MPTWO.
42612         (__mpranred): Likewise.
42614         [BZ #15160]
42615         * malloc/memusagestat.c (main): Draw graphs for heap and stack
42616         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
42618 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
42620         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
42621         Define __attribute__.
42623 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42625         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
42626         unused.
42627         * posix/regex_internal.h (__attribute): Remove.
42628         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
42629         (re_string_context_at): Likewise.
42630         (bitset_not): Use __attribute__ and mark function as possibly
42631         unused.
42632         (bitset_merge): Likewise.
42633         (bitset_mask): Likewise.
42634         (re_string_char_size_at): Likewise.
42635         (re_string_wchar_at): Likewise.
42636         (re_string_elem_size_at): Likewise.
42638 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42640         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
42641         code.
42642         (cc32): Likewise.
42644         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
42645         (__acr): Likewise.
42646         (__cpy): Likewise.
42647         (norm): Likewise.
42648         (denorm): Likewise.
42649         (__dbl_mp): Likewise.
42650         (add_magnitudes): Likewise.
42651         (sub_magnitudes): Likewise.
42652         (__mul): Likewise.
42653         (__inv): Likewise.
42655         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
42656         style.
42658         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
42659         style.
42661         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
42662         code.
42664         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
42665         up changes with default code.
42666         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
42667         Likewise.
42669 2013-02-24  Allan McRae  <allan@archlinux.org>
42671         * manual/socket.texi (The Internet Namespace): Order menu items
42672         to match that in the file.
42674         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
42675         node listing of the info page menu.
42677 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
42679         [BZ #13550]
42680         * sysdeps/i386/bp-asm.h: Remove file.
42681         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
42682         (PARMS): Do not use macros from bp-asm.h.
42683         (S1): Likewise.
42684         (S2): Likewise.
42685         (SIZE): Likewise.
42686         (__mpn_add_n): Do not use BP_SYM
42687         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
42688         "bp-asm.h".
42689         (PARMS): Do not use macros from bp-asm.h.
42690         (S1): Likewise.
42691         (SIZE): Likewise.
42692         (__mpn_addmul_1): Do not use BP_SYM
42693         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
42694         "bp-asm.h".
42695         (PARMS): Do not use macros from bp-asm.h.
42696         (SIGMSK): Likewise.
42697         (_setjmp): Likewise.  Do not use BP_SYM.
42698         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
42699         "bp-asm.h".
42700         (PARMS): Do not use macros from bp-asm.h.
42701         (SIGMSK): Likewise.
42702         (setjmp): Likewise.  Do not use BP_SYM.
42703         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
42704         "bp-asm.h".
42705         (PARMS): Do not use macros from bp-asm.h.
42706         (__frexp): Do not use BP_SYM.
42707         (frexp): Likewise.
42708         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
42709         "bp-asm.h".
42710         (PARMS): Do not use macros from bp-asm.h.
42711         (__frexpf): Do not use BP_SYM.
42712         (frexpf): Likewise.
42713         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
42714         "bp-asm.h".
42715         (PARMS): Do not use macros from bp-asm.h.
42716         (__frexpl): Do not use BP_SYM.
42717         (frexpl): Likewise.
42718         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
42719         "bp-asm.h".
42720         (PARMS): Do not use macros from bp-asm.h.
42721         (__remquo): Do not use BP_SYM.
42722         (remquo): Likewise.
42723         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
42724         "bp-asm.h".
42725         (PARMS): Do not use macros from bp-asm.h.
42726         (__remquof): Do not use BP_SYM.
42727         (remquof): Likewise.
42728         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
42729         "bp-asm.h".
42730         (PARMS): Do not use macros from bp-asm.h.
42731         (__remquol): Do not use BP_SYM.
42732         (remquol): Likewise.
42733         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
42734         "bp-asm.h".
42735         (PARMS): Do not use macros from bp-asm.h.
42736         (DEST): Likewise.
42737         (SRC): Likewise.
42738         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
42739         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
42740         "bp-asm.h".
42741         (PARMS): Do not use macros from bp-asm.h.
42742         (strlen): Do not use BP_SYM.
42743         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
42744         "bp-asm.h".
42745         (PARMS): Do not use macros from bp-asm.h.
42746         (S1): Likewise.
42747         (S2): Likewise.
42748         (SIZE): Likewise.
42749         (__mpn_add_n): Do not use BP_SYM.
42750         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
42751         "bp-asm.h".
42752         (PARMS): Do not use macros from bp-asm.h.
42753         (S1): Likewise.
42754         (SIZE): Likewise.
42755         (__mpn_addmul_1): Do not use BP_SYM.
42756         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
42757         weak_alias.
42758         (bzero): Likewise.
42759         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
42760         "bp-asm.h".
42761         (PARMS): Do not use macros from bp-asm.h.
42762         (S): Likewise.
42763         (SIZE): Likewise.
42764         (__mpn_lshift): Do not use BP_SYM.
42765         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
42766         "bp-asm.h".
42767         (PARMS): Do not use macros from bp-asm.h.
42768         (DEST): Likewise.
42769         (SRC): Likewise.
42770         (LEN): Likewise.
42771         (memcpy): Likewise.  Do not use BP_SYM.
42772         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
42773         libc_hidden_def and weak_alias.
42774         (mempcpy): Do not use BP_SYM in weak_alias.
42775         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
42776         "bp-asm.h".
42777         (PARMS): Do not use macros from bp-asm.h.
42778         (DEST): Likewise.
42779         (LEN): Likewise.
42780         [!BZERO_P] (CHR): Likewise.
42781         (memset): Likewise.  Do not use BP_SYM.
42782         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
42783         "bp-asm.h".
42784         (PARMS): Do not use macros from bp-asm.h.
42785         (S1): Likewise.
42786         (SIZE): Likewise.
42787         (__mpn_mul_1): Do not use BP_SYM.
42788         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
42789         "bp-asm.h".
42790         (PARMS): Do not use macros from bp-asm.h.
42791         (S): Likewise.
42792         (SIZE): Likewise.
42793         (__mpn_rshift): Do not use BP_SYM.
42794         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
42795         "bp-asm.h".
42796         (PARMS): Do not use macros from bp-asm.h.
42797         (STR): Likewise.
42798         (CHR): Likewise.
42799         (strchr): Likewise.  Do not use BP_SYM.
42800         (index): Do not use BP_SYM in weak_alias.
42801         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
42802         "bp-asm.h".
42803         (PARMS): Do not use macros from bp-asm.h.
42804         (DEST): Likewise.
42805         (SRC): Likewise.
42806         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
42807         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
42808         "bp-asm.h".
42809         (PARMS): Do not use macros from bp-asm.h.
42810         (strlen): Do not use BP_SYM.
42811         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
42812         "bp-asm.h".
42813         (PARMS): Do not use macros from bp-asm.h.
42814         (S1): Likewise.
42815         (S2): Likewise.
42816         (SIZE): Likewise.
42817         (__mpn_sub_n): Do not use BP_SYM.
42818         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
42819         "bp-asm.h".
42820         (PARMS): Do not use macros from bp-asm.h.
42821         (S1): Likewise.
42822         (SIZE): Likewise.
42823         (__mpn_submul_1): Do not use BP_SYM.
42824         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
42825         "bp-asm.h".
42826         (PARMS): Do not use macros from bp-asm.h.
42827         (S1): Likewise.
42828         (S2): Likewise.
42829         (SIZE): Likewise.
42830         (__mpn_add_n): Do not use BP_SYM.
42831         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
42832         weak_alias.
42833         (bzero): Likewise.
42834         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
42835         "bp-asm.h".
42836         (PARMS): Do not use macros from bp-asm.h.
42837         (BLK2): Likewise.
42838         (LEN): Likewise.
42839         (memcmp): Do not use BP_SYM.
42840         (bcmp): Do not use BP_SYM in weak_alias.
42841         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
42842         "bp-asm.h".
42843         (PARMS): Do not use macros from bp-asm.h.
42844         (DEST): Likewise.
42845         (SRC): Likewise.
42846         (LEN): Likewise.
42847         (memcpy): Likewise.  Do not use BP_SYM.
42848         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
42849         "bp-asm.h".
42850         (PARMS): Do not use macros from bp-asm.h.
42851         (DEST): Likewise.
42852         (SRC): Likewise.
42853         (LEN): Likewise.
42854         (memmove): Likewise.  Do not use BP_SYM.
42855         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
42856         "bp-asm.h".
42857         (PARMS): Do not use macros from bp-asm.h.
42858         (DEST): Likewise.
42859         (SRC): Likewise.
42860         (LEN): Likewise.
42861         (__mempcpy): Likewise.  Do not use BP_SYM.
42862         (mempcpy): Do not use BP_SYM in weak_alias.
42863         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
42864         "bp-asm.h".
42865         (PARMS): Do not use macros from bp-asm.h.
42866         (DEST): Likewise.
42867         (LEN): Likewise.
42868         [!BZERO_P] (CHR): Likewise.
42869         (memset): Likewise.  Do not use BP_SYM.
42870         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
42871         "bp-asm.h".
42872         (PARMS): Do not use macros from bp-asm.h.
42873         (STR2): Likewise.
42874         (strcmp): Do not use BP_SYM.
42875         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
42876         "bp-asm.h".
42877         (PARMS): Do not use macros from bp-asm.h.
42878         (STR): Likewise.
42879         (DELIM): Likewise.
42880         [USE_AS_STRTOK_R] (SAVE): Likewise.
42881         (FUNCTION): Likewise.  Do not use BP_SYM.
42882         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
42883         aliases.
42884         (strtok_r): Likewise.
42885         (__GI___strtok_r): Likewise.
42886         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
42887         (PARMS): Do not use macros from bp-asm.h.
42888         (S): Likewise.
42889         (SIZE): Likewise.
42890         (__mpn_lshift): Do not use BP_SYM.
42891         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
42892         (PARMS): Do not use macros from bp-asm.h.
42893         (STR): Likewise.
42894         (CHR): Likewise.
42895         (__memchr): Do not use BP_SYM.
42896         (memchr): Do not use BP_SYM in weak_alias.
42897         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
42898         (PARMS): Do not use macros from bp-asm.h.
42899         (BLK2): Likewise.
42900         (LEN): Likewise.
42901         (memcmp): Do not use BP_SYM.
42902         (bcmp): Do not use BP_SYM in weak_alias.
42903         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
42904         (PARMS): Do not use macros from bp-asm.h.
42905         (S1): Likewise.
42906         (SIZE): Likewise.
42907         (__mpn_mul_1): Do not use BP_SYM.
42908         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
42909         "bp-asm.h".
42910         (PARMS): Do not use macros from bp-asm.h.
42911         (STR): Likewise.
42912         (CHR): Likewise.
42913         (__rawmemchr): Do not use BP_SYM.
42914         (rawmemchr): Do not use BP_SYM in weak_alias.
42915         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
42916         (PARMS): Do not use macros from bp-asm.h.
42917         (S): Likewise.
42918         (SIZE): Likewise.
42919         (__mpn_rshift): Do not use BP_SYM.
42920         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
42921         (PARMS): Do not use macros from bp-asm.h.
42922         (SIGMSK): Likewise.
42923         (__sigsetjmp): Likewise.  Do not use BP_SYM.
42924         * sysdeps/i386/start.S: Do not include "bp-sym.h".
42925         (_start): Do not use BP_SYM.
42926         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
42927         (PARMS): Do not use macros from bp-asm.h.
42928         (DEST): Likewise.
42929         (SRC): Likewise.
42930         (__stpcpy): Likewise.  Do not use BP_SYM.
42931         (stpcpy): Do not use BP_SYM in weak_alias.
42932         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
42933         "bp-asm.h".
42934         (PARMS): Do not use macros from bp-asm.h.
42935         (DEST): Likewise.
42936         (SRC): Likewise.
42937         (LEN): Likewise.
42938         (__stpncpy): Likewise.  Do not use BP_SYM.
42939         (stpncpy): Do not use BP_SYM in weak_alias.
42940         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
42941         (PARMS): Do not use macros from bp-asm.h.
42942         (STR): Likewise.
42943         (CHR): Likewise.
42944         (strchr): Likewise.  Do not use BP_SYM.
42945         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
42946         "bp-asm.h".
42947         (PARMS): Do not use macros from bp-asm.h.
42948         (STR): Likewise.
42949         (CHR): Likewise.
42950         (__strchrnul): Likewise.  Do not use BP_SYM.
42951         (strchrnul): Do not use BP_SYM in weak_alias.
42952         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
42953         "bp-asm.h".
42954         (PARMS): Do not use macros from bp-asm.h.
42955         (STOP): Likewise.
42956         (strcspn): Do not use BP_SYM.
42957         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
42958         "bp-asm.h".
42959         (PARMS): Do not use macros from bp-asm.h.
42960         (STR): Likewise.
42961         (STOP): Likewise.
42962         (strpbrk): Likewise.  Do not use BP_SYM.
42963         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
42964         "bp-asm.h".
42965         (PARMS): Do not use macros from bp-asm.h.
42966         (STR): Likewise.
42967         (CHR): Likewise.
42968         (strrchr): Likewise.  Do not use BP_SYM.
42969         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
42970         (PARMS): Do not use macros from bp-asm.h.
42971         (SKIP): Likewise.
42972         (strspn): Do not use BP_SYM.
42973         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
42974         (PARMS): Do not use macros from bp-asm.h.
42975         (STR): Likewise.
42976         (DELIM): Likewise.
42977         (SAVE): Likewise.
42978         (FUNCTION): Likewise.  Do not use BP_SYM.
42979         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
42980         aliases.
42981         (strtok_r): Likewise.
42982         (__GI___strtok_r): Likewise.
42983         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
42984         (PARMS): Do not use macros from bp-asm.h.
42985         (S1): Likewise.
42986         (S2): Likewise.
42987         (SIZE): Likewise.
42988         (__mpn_sub_n): Do not use BP_SYM.
42989         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
42990         "bp-asm.h".
42991         (PARMS): Do not use macros from bp-asm.h.
42992         (S1): Likewise.
42993         (SIZE): Likewise.
42994         (__mpn_submul_1): Do not use BP_SYM.
42995         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
42996         <bp-sym.h>.
42997         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
42998         and <bp-asm.h>.
42999         (PARMS): Do not use macros from bp-asm.h.
43000         (FLAGS): Likewise.
43001         (PTID): Likewise.
43002         (TLS): Likewise.
43003         (CTID): Likewise.
43004         (__clone): Do not use BP_SYM.
43005         (clone): Do not use BP_SYM in weak_alias.
43006         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
43007         and <bp-asm.h>.
43008         (PARMS): Do not use macros from bp-asm.h.
43009         (LEN): Likewise.
43010         (__mmap64): Do not use BP_SYM.
43011         (mmap64): Do not use BP_SYM in weak_alias.
43012         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
43013         <bp-sym.h> and <bp-asm.h>.
43014         (PARMS): Do not use macros from bp-asm.h.
43015         (__posix_fadvise64_l64): Do not use BP_SYM.
43016         * sysdeps/unix/sysv/linux/i386/semtimedop.S
43017         (PARMS): Do not use macros from bp-asm.h.
43018         (NSOPS): Likewise.
43019         (semtimedop): Do not use BP_SYM.
43020         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
43021         and <bp-asm.h>.
43023 2013-02-21  Allan McRae  <allan@archlinux.org>
43025         * manual/message.texi (Charset conversion in gettext):
43026         Move @end statement to beginning of line.
43028 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43030         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
43031         static.
43032         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
43033         Likewise.
43035         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
43036         (denorm): Likewise.
43037         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
43038         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
43040 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43042         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
43043         tail-call to the resolved function if pltexit isn't needed.
43045 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43047         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
43048         or Y being zero as being unlikely.
43049         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
43050         Likewise.
43052 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
43054         * manual/nss.texi (System Databases and Name Service Switch):
43055         Remove frobnicate @pxref.
43057 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
43059         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
43060         __attribute__ ((unused)) to __attribute__ ((__unused__)).
43062 2013-02-20  Petr Machata  <pmachata@redhat.com>
43064         * elf/elf.h (R_ARM_TARGET1): New macro.
43065         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
43066         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
43067         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
43068         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
43069         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
43070         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
43071         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
43072         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
43073         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
43074         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
43075         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
43076         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
43077         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
43078         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
43079         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
43080         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
43081         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
43082         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
43083         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
43084         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
43085         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
43086         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
43087         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
43088         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
43089         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
43090         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
43091         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
43092         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
43093         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
43094         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
43095         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
43096         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
43097         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
43098         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
43099         (R_ARM_THM_GOT_BREL12): Likewise.
43100         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
43101         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
43102         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
43103         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
43104         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
43105         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
43106         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
43107         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
43108         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
43110 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
43112         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
43113         __attribute_used__ to __attribute__ ((unused)).
43115 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
43117         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
43118         powerpc mpa.c.
43119         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
43120         comment formatting.
43121         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
43123 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
43125         [BZ #13550]
43126         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
43127         Remove macro.
43128         (ENTER): Remove both macro definitions.
43129         (LEAVE): Likewise.
43130         (CHECK_BOUNDS_LOW): Likewise.
43131         (CHECK_BOUNDS_HIGH): Likewise.
43132         (CHECK_BOUNDS_BOTH): Likewise.
43133         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
43134         (RETURN_BOUNDED_POINTER): Likewise.
43135         (RETURN_NULL_BOUNDED_POINTER): Likewise.
43136         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
43137         (POP_ERRNO_LOCATION_RETURN): Likewise.
43138         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
43139         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
43140         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
43141         macros.
43142         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
43143         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
43144         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
43145         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
43146         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
43147         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
43148         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
43149         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
43150         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
43151         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
43152         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
43153         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
43154         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
43155         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
43156         removed macros.
43157         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
43158         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
43159         macros.
43160         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
43161         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
43162         * sysdeps/i386/i586/memset.S (memset): Likewise.
43163         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
43164         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
43165         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
43166         macros.
43167         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
43168         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
43169         Change uses of L(2) to L(out).
43170         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
43171         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
43172         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
43173         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
43174         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
43175         removed macros.
43176         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
43177         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
43178         macros.
43179         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
43180         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
43181         (RETURN): Do not use macro LEAVE.
43182         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
43183         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
43184         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
43185         * sysdeps/i386/i686/memset.S (memset): Likewise.
43186         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
43187         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
43188         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
43189         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
43190         Likewise.
43191         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
43192         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
43193         L(1_2) and L(1_3) into L(1).
43194         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
43195         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
43196         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
43197         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
43198         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
43199         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
43200         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
43201         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
43202         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
43203         macros.
43204         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
43205         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
43206         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
43207         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
43208         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
43209         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
43210         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
43211         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
43212         * sysdeps/i386/strcspn.S (strcspn): Likewise.
43213         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
43214         * sysdeps/i386/strrchr.S (strrchr): Likewise.
43215         * sysdeps/i386/strspn.S (strspn): Likewise.
43216         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
43217         conditional code.
43218         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
43219         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
43220         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
43221         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
43222         L(1_3) into L(1_1).
43223         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
43224         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
43225         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
43226         macros.
43227         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
43229 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
43231         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
43232         macro.
43234 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
43236         * math/atest-exp.c (exp_mpn): Remove ROUND.
43237         * math/atest-exp2.c (exp_mpn): Likewise.
43238         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
43240         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
43241         * stdlib/tst-tls-atexit-lib.c: Likewise.
43242         * stdlib/tst-tls-atexit.c: Likewise.
43244 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
43246         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
43247         and __attribute_alloc_size__.
43249 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
43251         * include/programs/xmalloc.h: Change __attribute_alloc_size to
43252         __attribute_alloc_size__.
43253         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
43254         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
43256 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
43258         * include/programs/xmalloc.h: New file.
43259         * catgets/gencat.c: Include it.
43260         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
43261         * elf/pldd.c: Likewise.
43262         * iconv/iconv_charmap.c: Likewise.
43263         * iconv/iconvconfig.c: Likewise.
43264         * iconv/strtab.c: Likewise.
43265         * locale/programs/locale.c: Likewise.
43266         * locale/programs/localedef.h: Likewise.
43267         * locale/programs/simple-hash.c: Likewise.
43268         * nscd/nscd.h: Likewise.
43269         * nss/makedb.c: Likewise.
43270         * sysdeps/generic/ldconfig.h: Likewise.
43272 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
43274         * Versions.def: Add GLIBC_2.18.
43275         * include/link.h (struct link_map): New member l_tls_dtor_count.
43276         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
43277         (__call_tls_dtors): Likewise.
43278         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
43279         __cxa_thread_atexit_impl.
43280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43281         Likewise.
43282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43283         Likewise.
43284         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
43285         Likewise.
43286         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
43287         Likewise.
43288         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
43289         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
43290         Likewise.
43291         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
43292         Likewise.
43293         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
43294         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
43295         Likewise.
43296         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
43297         (tests): Add test case tst-tls-atexit.
43298         (modules-names): Add shared library for tst-tls-atexit.
43299         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
43300         (GLIBC_PRIVATE): Add __call_tls_dtors.
43301         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
43302         for libstdc++.
43303         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
43304         * stdlib/tst-tls-atexit.c: New test case.
43305         * stdlib/tst-tls-atexit-lib.c: New test case.
43307         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
43309         * elf/Versions (ld): Add _dl_find_dso_for_object.
43310         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
43311         * elf/dl-open.c (_dl_find_dso_for_object): New function.
43312         (dl_open_worker): Use _dl_find_dso_for_object.
43313         * elf/dl-sym.c (do_sym): Likewise.
43314         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
43316 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43318         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
43319         Syntactic changes only.
43320         (_dl_runtime_profile): Do a tail-call to the resolved function.
43322 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
43324         [BZ #13550]
43325         * sysdeps/x86_64/bp-asm.h: Remove file.
43326         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
43327         <bp-sym.h> and <bp-asm.h>.
43328         (__clone): Do not use BP_SYM.
43329         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
43330         <bp-sym.h> and <bp-asm.h>.
43331         * sysdeps/unix/x86_64/sysdep.S: Likewise.
43332         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
43333         "bp-asm.h".
43334         (_setjmp): Do not use BP_SYM.
43335         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
43336         "bp-asm.h".
43337         (setjmp): Do not use BP_SYM.
43338         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
43339         libc_hidden_def.
43340         (mempcpy): Do not use BP_SYM in weak_alias.
43341         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
43342         "bp-asm.h".
43343         (strchr): Do not use BP_SYM.
43344         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
43345         "bp-asm.h".
43346         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
43347         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
43348         (_start): Do not use BP_SYM.
43349         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
43350         "bp-asm.h".
43351         (strcat): Do not use BP_SYM.
43352         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
43353         "bp-asm.h".
43354         (STRCMP): Do not use BP_SYM.
43355         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
43356         "bp-asm.h".
43357         (STRCPY): Do not use BP_SYM.
43358         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
43359         "bp-asm.h".
43360         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
43361         "bp-asm.h".
43362         (FUNCTION): Do not use BP_SYM.
43363         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
43364         weak_alias.
43365         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
43367 2013-02-17  Andreas Jaeger  <aj@suse.de>
43369         * time/Versions: Sort entries.
43370         * string/Versions: Likewise.
43371         * resolv/Versions: Likewise.
43372         * posix/Versions: Likewise.
43373         * iconv/Versions: Likewise.
43374         * elf/Versions: Likewise.
43375         * wcsmbs/Versions: Likewise.
43377 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43379         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
43380         loop termination condition.
43382         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
43383         variable to calculate EZ.
43384         (__sqr): Likewise.
43386         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
43387         the lower precision input.
43389 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
43391         [BZ #13550]
43392         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
43393         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
43394         (run-via-rtld-prefix): Do not handle %-bp tests.
43395         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
43396         (all-object-suffixes): Remove .ob.
43397         (bppfx): Remove variable.
43398         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
43399         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
43400         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
43401         [$(build-bounded) = yes] (libtype.ob): Likewise.
43402         * Makerules (elide-routines.ob): Remove variable.
43403         (do-tests-clean): Do not handle *-bp.out.
43404         (common-mostlyclean): Do not handle *-bp and *-bp.out.
43405         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
43406         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
43407         (tests): Do not include $(tests-bp.out).
43408         (xtests): Do not include $(xtests-bp.out).
43409         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
43410         [$(build-bounded) = yes] ($(addprefix
43411         $(objpfx),$(binaries-bounded))): Remove rule.
43412         ($(objpfx)%-bp.out): Remove rule.
43413         * config.make.in (build-bounded): Remove variable.
43414         * crypt/Makefile [$(build-bounded) = yes]
43415         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
43416         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
43417         append to variable.
43418         [$(build-bounded) = yes] (install-lib): Likewise.
43419         [$(build-bounded) = yes] (generated): Likewise.
43420         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
43421         Remove rule.
43422         * intl/Makefile [$(build-bounded) = yes]
43423         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
43424         * math/Makefile [$(build-bounded) = yes]
43425         ($(tests:%=$(objpfx)%-bp): Likewise.
43426         * misc/Makefile [$(build-bounded) = yes]
43427         ($(objpfx)tst-tsearch-bp): Likewise.
43428         * nptl/Makeconfig (bounded-thread-library): Remove variable.
43429         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
43430         Remove dependency.
43431         * string/Makefile (o-objects.ob): Remove variable.
43432         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
43433         (CFLAGS-.ob): Remove variable.
43434         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
43435         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
43436         both definitions of variable.
43437         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
43438         (ASFLAGS-.ob): Remove variable.
43440 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
43442         [BZ #13550]
43443         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
43444         Remove __BOUNDED_POINTERS__ from condition.
43445         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
43446         * string/bits/string2.h [!__NO_STRING_INLINES &&
43447         !__BOUNDED_POINTERS__]: Likewise.
43448         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
43449         Likewise.
43450         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
43451         Remove conditional code.
43452         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
43453         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
43454         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
43455         condition.
43457         [BZ #13550]
43458         * csu/libc-start.c: Do not include <bp-sym.h>.
43459         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
43460         * elf/dl-open.c: Do not include <bp-sym.h>.
43461         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
43462         * math/fegetenv.c: Do not include <bp-sym.h>.
43463         (fegetenv): Do not use BP_SYM in versioned symbols.
43464         * nptl/sysdeps/pthread/bits/libc-lockP.h
43465         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
43466         <bp-sym.h>.
43467         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43468         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
43469         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43470         (__pthread_mutex_destroy): Likewise.
43471         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43472         (__pthread_mutex_lock): Likewise.
43473         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43474         (__pthread_mutex_trylock): Likewise.
43475         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43476         (__pthread_mutex_unlock): Likewise.
43477         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43478         (__pthread_mutexattr_init): Likewise.
43479         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43480         (__pthread_mutexattr_destroy): Likewise.
43481         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43482         (__pthread_mutexattr_settype): Likewise.
43483         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43484         (__pthread_rwlock_init): Likewise.
43485         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43486         (__pthread_rwlock_destroy): Likewise.
43487         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43488         (__pthread_rwlock_rdlock): Likewise.
43489         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43490         (__pthread_rwlock_tryrdlock): Likewise.
43491         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43492         (__pthread_rwlock_wrlock): Likewise.
43493         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43494         (__pthread_rwlock_trywrlock): Likewise.
43495         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43496         (__pthread_rwlock_unlock): Likewise.
43497         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43498         (__pthread_key_create): Likewise.
43499         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43500         (__pthread_setspecific): Likewise.
43501         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43502         (__pthread_getspecific): Likewise.
43503         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
43504         Likewise.
43505         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43506         (_pthread_cleanup_push_defer): Likewise.
43507         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43508         (_pthread_cleanup_pop_restore): Likewise.
43509         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43510         (pthread_setcancelstate): Likewise.
43511         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
43512         <bp-sym.h>.
43513         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
43514         (memchr): Do not use BP_SYM in weak_alias.
43515         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
43516         (fegetenv): Do not use BP_SYM in versioned symbols.
43517         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
43518         (fesetenv): Do not use BP_SYM in versioned symbols.
43519         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
43520         (feupdateenv): Do not use BP_SYM in versioned symbols.
43521         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
43522         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
43523         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
43524         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
43525         (open64): Do not use BP_SYM in weak_alias.
43526         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
43527         (fegetenv): Do not use BP_SYM in versioned symbols.
43528         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
43529         (fesetenv): Do not use BP_SYM in versioned symbols.
43530         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
43531         (feupdateenv): Do not use BP_SYM in versioned symbols.
43532         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
43533         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
43534         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
43535         (feraiseexcept): Do not use BP_SYM in versioned symbols.
43536         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
43537         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
43538         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
43539         <bp-sym.h>.
43540         (__libc_start_main): Do not use BP_SYM.
43542 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
43544         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
43545         redundant return line.
43546         (norm): Likewise.
43547         (denorm): Likewise.
43548         (dbl_mp): Likewise.
43549         (sub_magnitudes): Likewise.
43550         (__add): Likewise.
43551         (__sub): Likewise.
43552         (__mul): Likewise.
43553         (__inv): Likewise.
43554         (__dvd): Likewise.
43555         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
43556         (norm): Likewise.
43557         (denorm): Likewise.
43558         (dbl_mp): Likewise.
43559         (sub_magnitudes): Likewise.
43560         (__add): Likewise.
43561         (__sub): Likewise.
43562         (__mul): Likewise.
43563         (__inv): Likewise.
43564         (__dvd): Likewise.
43566         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
43567         instead of __mul.
43568         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43569         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
43570         (cc32): Likewise.
43572         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
43573         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
43574         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
43575         of __mul for squares.
43576         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
43577         function
43578         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
43579         Likewise.
43580         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
43581         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43583 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
43585         [BZ #13550]
43586         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
43587         code.
43588         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
43589         prototype or function definition.  Rename ubp_* variables and
43590         parameters.  Remove argv definitions conditional on
43591         [__BOUNDED_POINTERS__].
43592         * debug/backtrace.c (__backtrace): Do not use __unbounded.
43593         * elf/dl-runtime.c (_dl_fixup): Likewise.
43594         * include/set-hooks.h (RUN_HOOK): Likewise.
43595         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
43596         definition.
43597         * string/strcpy.c (strcpy): Do not use __unbounded.
43598         * sysdeps/generic/frame.h (struct layout): Likewise.
43599         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
43600         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
43601         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
43602         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
43603         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
43604         (__backtrace): Likewise.
43605         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
43606         use __ptrvalue.
43607         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
43608         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
43609         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
43610         Likewise.
43611         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
43612         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
43613         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
43614         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
43615         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
43616         Do not use __unbounded.
43617         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
43618         Rename __unboundedrlimits parameter to rlimits in prototype.
43619         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
43620         Do not use __unbounded.
43621         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
43622         not use __ptrvalue.
43623         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
43624         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
43625         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
43626         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
43627         __ptrvalue or __unbounded.
43628         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
43629         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
43630         use __unbounded.
43631         (__new_msgctl): Do not use __ptrvalue.
43632         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
43633         __unbounded.
43634         (__libc_msgrcv): Do not use __ptrvalue.
43635         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
43636         startup_info): Do not use __unbounded.
43637         (__libc_start_main): Likewise.  Rename ubp_* variables and
43638         parameters.  Remove argv definitions conditional on
43639         [__BOUNDED_POINTERS__].
43640         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
43641         __ptrvalue.
43642         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
43643         use __unbounded.
43644         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
43645         or __ptrvalue.
43646         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
43647         use __unbounded.
43648         (__new_shmctl): Do not use __ptrvalue.
43649         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
43650         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
43651         Likewise.
43652         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
43653         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
43654         (__libc_sigaction): Likewise.
43655         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
43656         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
43657         Likewise.
43658         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
43660 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
43662         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
43664         * string/mempcpy.c: Implement by calling memcpy.
43666 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
43668         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
43670         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
43671         evaluation.
43673         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
43674         values in the mantissa.
43676         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
43677         minimize writes to Z.
43678         (sub_magnitudes): Simplify code a bit.
43680 2013-02-12  Roland McGrath  <roland@hack.frob.com>
43682         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
43683         from the message.  The linker prefixes all warnings with that already.
43685 2013-02-12  Andreas Schwab  <schwab@suse.de>
43687         [BZ #15078]
43688         * posix/regexec.c (extend_buffers): Add parameter min_len.
43689         (check_matching): Pass minimum needed length.
43690         (clean_state_log_if_needed): Likewise.
43691         (get_subexp): Likewise.
43692         * posix/Makefile (tests): Add bug-regex34.
43693         (bug-regex34-ENV): Define.
43694         * posix/bug-regex34.c: New file.
43696         [BZ #11561]
43697         * posix/regcomp.c (parse_bracket_exp): When looking up collating
43698         elements compare against the byte sequence of it, not its name.
43699         * posix/Makefile (tests): Add bug-regex35.
43700         (bug-regex35-ENV): Define.
43701         * posix/bug-regex35.c: New file.
43703 2013-02-11  Tom de Vries  <tom@codesourcery.com>
43705         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
43706         comment.
43707         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
43708         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
43709         (CHECK_EOL): Add undef.
43711 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
43713         * bits/stdlib-bsearch.h: New file.
43714         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
43715         * stdlib/stdlib.h: Likewise.
43717 2013-02-11  Roland McGrath  <roland@hack.frob.com>
43719         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
43720         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
43721         declaration.
43722         * manual/search.texi (Array Search Function): Add missing const in
43723         lfind prototype.
43724         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
43725         declaration to use rlim_t.
43726         (Basic Scheduling Functions): Remove erroneous const from
43727         sched_getparam prototype.  Remove erroneous * from
43728         sched_get_priority_max and sched_get_priority_min prototypes.
43729         (Resource Usage): Fix summary @comment on vtimes to refer to
43730         sys/vtimes.h rather than vtimes.h.
43731         Add missing *s in vtimes prototype.
43732         (Limits on Resources): Fix ulimit prototype to return long int.
43733         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
43734         prototypes to use long int rather than double.
43735         (BSD Random): Fix initstate and setstate to use char *, not void *.
43736         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
43737         prototype to make second argument 'struct aiocb64 *const[]'.
43738         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
43739         (Status of AIO Operations): Remove erroneous const in aio_return and
43740         aio_return64 prototypes.
43741         (Synchronizing I/O): Fix sync prototype to return void.
43742         * manual/startup.texi (Suboptions): Remove an erroneous const in
43743         getsubopt prototype.
43744         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
43745         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
43746         use size_t rather than int.
43747         (Scanning All Users): Likewise for getpwent_r.
43748         (Setting Groups): Add missing const to setgroups prototype.
43749         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
43750         * manual/socket.texi (Host Names): Fix gethostbyaddr and
43751         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
43752         'const void *' rather than 'const char *'.
43753         (Host Address Functions): Likewise for inet_ntop.
43754         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
43755         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
43756         ssize_t for return value.
43757         (Sending Data): Likewise for send, sendto, sendmsg.
43758         (Socket Option Functions): Add a missing const in setsockopt prototype.
43759         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
43760         use wchar_t for the argument.
43761         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
43762         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
43763         take no arguments.
43764         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
43765         double/float/long double for second argument.
43766         Fix return types of significand, significandf, significandl.
43767         * manual/filesys.texi (Setting Permissions): Use mode_t for second
43768         argument in fchmod prototype.
43769         (File Owner): Use uid_t and gid_t in fchown prototype.
43770         (File Times): Add const to utimes, futimes, and lutimes prototypes.
43771         (Making Special Files): Use mode_t and dev_t in mknod prototype.
43772         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
43773         use 'const struct dirent **' as argument types to CMP function pointer
43774         argument.
43775         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
43776         (File Times): Fix summary magic @comment for struct utimbuf and utime
43777         to refer to utime.h, not time.h.
43778         * manual/string.texi (Argz Functions): Add missing const in
43779         argz_extract and argz_next prototypes.
43780         (Finding Tokens in a String): Likewise for basename.
43781         (String/Array Comparison): Fix typo in wcscasecmp prototype.
43782         (Copying and Concatenation): Fix typo in wmemmove prototype.
43783         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
43784         (Signal Stack): Remove erroneous const in sigstack prototype.
43785         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
43786         prototype.
43787         (Simple Calendar Time): Likewise for stime.
43788         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
43789         prototype.
43790         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
43791         say sys/sysctl.h instead.
43792         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
43793         and vsyslog prototypes.
43795 2013-02-11  Tom de Vries  <tom@codesourcery.com>
43797         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
43798         Remove.
43800 2013-02-11  Roland McGrath  <roland@hack.frob.com>
43802         * misc/sys/mman.h: Fix typo in mremap comment.
43804 2013-02-08  Roland McGrath  <roland@hack.frob.com>
43806         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
43807         the '\0' terminator.
43809 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
43811         [BZ #13550]
43812         * debug/segfault.c: Don't include <bp-checks.h>.
43813         * sysdeps/generic/bp-checks.h: Remove file.
43814         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
43815         (__GETDENTS): Don't use CHECK_N.
43816         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
43817         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
43818         (__getgroups): Don't use CHECK_N.
43819         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
43820         (setgroups): Don't use CHECK_N.
43821         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
43822         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
43823         (__libc_msgrcv): Don't use CHECK_N.
43824         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
43825         (__libc_msgsnd): Don't use CHECK_N.
43826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
43827         <bp-checks.h>.
43828         (__libc_pread): Don't use CHECK_N.
43829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
43830         include <bp-checks.h>.
43831         (__libc_pread64): Don't use CHECK_N.
43832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
43833         include <bp-checks.h>.
43834         (__libc_pwrite): Don't use CHECK_N.
43835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
43836         include <bp-checks.h>.
43837         (__libc_pwrite64): Don't use CHECK_N.
43838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
43839         <bp-checks.h>.
43840         (__libc_pread): Don't use CHECK_N.
43841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
43842         include <bp-checks.h>.
43843         (__libc_pread64): Don't use CHECK_N.
43844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
43845         include <bp-checks.h>.
43846         (__libc_pwrite): Don't use CHECK_N.
43847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
43848         include <bp-checks.h>.
43849         (__libc_pwrite64): Don't use CHECK_N.
43850         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
43851         (do_pread): Don't use CHECK_N.
43852         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
43853         (do_pread64): Don't use CHECK_N.
43854         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
43855         (do_pwrite): Don't use CHECK_N.
43856         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
43857         (do_pwrite64): Don't use CHECK_N.
43858         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
43859         (__libc_readv): Don't use CHECK_N.
43860         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
43861         (semop): Don't use CHECK_N.
43862         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
43863         <bp-checks.h>.
43864         (semtimedop): Don't use CHECK_N.
43865         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
43866         (__libc_pread): Don't use CHECK_N.
43867         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
43868         <bp-checks.h>.
43869         (__libc_pread64): Don't use CHECK_N.
43870         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
43871         <bp-checks.h>.
43872         (__libc_pwrite): Don't use CHECK_N.
43873         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
43874         <bp-checks.h>.
43875         (__libc_pwrite64): Don't use CHECK_N.
43876         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
43877         <bp-checks.h>.
43878         (__libc_msgrcv): Don't use CHECK_N.
43879         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
43880         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
43881         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
43882         (__libc_writev): Don't use CHECK_N.
43884 2013-02-08  Roland McGrath  <roland@hack.frob.com>
43886         * string/strcpy.c: Removed unused variable.
43888         * Makeconfig (+sysdep-includes): Define with := rather than =.
43889         Use an existing include/ subdir of each sysdeps dir before it.
43891 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
43893         * nscd/connection.c (register_traced_file): Comment function.
43894         [HAVE_INOTIFY] (union __inev): Define.
43895         [HAVE_INOTIFY] (inotify_check_files): New function.
43896         [HAVE_INOTIFY] (clear_db_cache): Likewise.
43897         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
43898         clear_db_cache.
43899         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
43901 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
43903         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
43904         loaded if not already and that a failure is permanent.
43906 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
43908         [BZ #15006]
43909         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
43910         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
43912 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
43914         [BZ #13550]
43915         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
43916         (CHECK_1_NULL_OK): Likewise.
43917         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
43918         (__fxstat): Do not use CHECK_1.
43919         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
43920         <bp-checks.h>.
43921         (___fxstat64): Do not use CHECK_1.
43922         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
43923         <bp-checks.h>.
43924         (__fxstatat): Do not use CHECK_1.
43925         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
43926         <bp-checks.h>.
43927         (__fxstatat64): Do not use CHECK_1.
43928         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
43929         <bp-checks.h>.
43930         (__fxstat): Do not use CHECK_1.
43931         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
43932         <bp-checks.h>.
43933         (__fxstatat): Do not use CHECK_1.
43934         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
43935         <bp-checks.h>.
43936         (__getresgid): Do not use CHECK_1.
43937         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
43938         <bp-checks.h>.
43939         (__getresuid): Do not use CHECK_1.
43940         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
43941         <bp-checks.h>.
43942         (__lxstat): Do not use CHECK_1.
43943         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
43944         <bp-checks.h>.
43945         (__old_msgctl): Do not use CHECK_1.
43946         (__new_msgctl): Likewise.
43947         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
43948         <bp-checks.h>.
43949         (__new_setrlimit): Do not use CHECK_1.
43950         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
43951         <bp-checks.h>.
43952         (__old_shmctl): Do not use CHECK_1.
43953         (__new_shmctl): Likewise.
43954         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
43955         <bp-checks.h>.
43956         (__xstat): Do not use CHECK_1.
43957         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
43958         (__lxstat): Do not use CHECK_1.
43959         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
43960         <bp-checks.h>.
43961         (___lxstat64): Do not use CHECK_1.
43962         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
43963         (__old_msgctl): Do not use CHECK_1.
43964         (__new_msgctl): Likewise.
43965         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
43966         <bp-checks.h>.
43967         (__gettimeofday): Do not use CHECK_1.
43968         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
43969         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
43970         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
43971         <bp-checks.h>.
43972         (__gettimeofday): Do not use CHECK_1.
43973         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
43974         (__old_shmctl): Do not use CHECK_1_NULL_OK.
43975         (__new_shmctl): Do not use CHECK_1.
43976         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
43977         <bp-checks.h>.
43978         (do_sigtimedwait): Do not use CHECK_1.
43979         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
43980         <bp-checks.h>.
43981         (do_sigwaitinfo): Do not use CHECK_1.
43982         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
43983         <bp-checks.h>.
43984         (msgctl): Do not use CHECK_1.
43985         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
43986         <bp-checks.h>.
43987         (shmctl): Do not use CHECK_1.
43988         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
43989         (ustat): Do not use CHECK_1.
43990         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
43991         <bp-checks.h>.
43992         (__fxstat): Do not use CHECK_1.
43993         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
43994         <bp-checks.h>.
43995         (__fxstatat): Do not use CHECK_1.
43996         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
43997         <bp-checks.h>.
43998         (__lxstat): Do not use CHECK_1.
43999         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
44000         <bp-checks.h>.
44001         (__xstat): Do not use CHECK_1.
44002         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
44003         (__xstat): Do not use CHECK_1.
44004         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
44005         (___xstat64): Do not use CHECK_1.
44007         [BZ #13550]
44008         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
44009         definitions.
44010         (CHECK_BOUNDS_HIGH): Likewise.
44011         * string/strcpy.c: Do not include <bp-checks.h>.
44012         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
44014 2013-02-07  Roland McGrath  <roland@hack.frob.com>
44016         * nscd/nscd-client.h (__nscd_drop_map_ref):
44017         Add __attribute__ ((unused)).
44018         * nis/nss-nisplus.h (niserr2nss): Likewise.
44020         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
44021         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
44023         * csu/libc-tls.c (init_static_tls, init_slotinfo):
44024         Remove inline keyword.
44025         * include/rounding-mode.h (round_away): Likewise.
44026         * libio/wfileops.c (adjust_wide_data): Likewise.
44027         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
44028         (__m128i_strloadu_tolower): Likewise.
44029         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
44030         (__m128i_strloadu_tolower): Likewise.
44031         * time/mktime.c (ydhms_diff): Likewise.
44032         * locale/elem-hash.h (elem_hash): Likewise.
44033         * locale/setlocale.c (setdata): Likewise.
44034         * posix/regex_internal.h (re_string_char_size_at): Likewise.
44035         (re_string_wchar_at): Likewise.
44036         (bitset_not, bitset_merge, bitset_mask): Likewise.
44037         [!(__GNUC__ > 3)] (inline): Remove macro.
44038         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
44039         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
44040         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
44041         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
44042         * string/memcmp.c (memcmp_bytes): Likewise.
44043         * locale/programs/locarchive.c (compute_hashval): Likewise.
44044         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
44045         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
44046         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
44047         * nss/getent.c (print_rpc, print_protocols): Likewise.
44048         (print_passwd, print_group, print_aliases): Likewise.
44049         * nis/nss-nisplus.h (niserr2nss): Likewise.
44050         * nscd/connections.c (restart_p): Likewise.
44051         Change return type to bool.
44053 2013-02-05  Roland McGrath  <roland@hack.frob.com>
44055         * Makeconfig (all-Depend-files): Add existing
44056         $(sorted-subdirs:=/Depend) files.
44057         (all-subdirs): Remove nss.
44058         * sysdeps/unix/inet/Subdirs: Add it here instead.
44059         * hesiod/Depend: New file.
44061         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
44062         instead of calling alloca.
44064         * io/lseek.c (__lseek): Rename to __libc_lseek.
44065         Define __lseek as an alias.
44067         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
44069 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
44071         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
44072         else clause and remove check for non-standard endianness.
44074 2013-02-04  David S. Miller  <davem@davemloft.net>
44076         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44078 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
44080         [BZ #13550]
44081         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
44082         (__ubp_memchr): Remove prototype.
44083         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
44084         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
44085         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
44086         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
44087         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
44088         Remove alias.
44089         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
44090         (__ubp_memchr): Likewise.
44091         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
44092         (__ubp_memchr): Likewise.
44093         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
44094         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
44095         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
44096         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
44097         CHECK_STRING.
44098         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
44099         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
44100         (__getcwd): Do not use CHECK_STRING.
44101         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
44102         <bp-checks.h>.
44103         (__real_chown): Do not use CHECK_STRING.
44104         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
44105         <bp-checks.h>.
44106         (fchownat): Do not use CHECK_STRING.
44107         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
44108         CHECK_STRING.
44109         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
44110         <bp-checks.h>.
44111         (__lchown): Do not use CHECK_STRING.
44112         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
44113         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
44114         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
44115         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
44116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
44117         include <bp-checks.h>.
44118         (truncate64): Do not use CHECK_STRING.
44119         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
44120         <bp-checks.h>.
44121         (__real_chown): Do not use CHECK_STRING.
44122         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
44123         <bp-checks.h>.
44124         (__lchown): Do not use CHECK_STRING.
44125         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
44126         <bp-checks.h>.
44127         (__chown): Do not use CHECK_STRING.
44128         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
44129         <bp-checks.h>.
44130         (truncate64): Do not use CHECK_STRING.
44131         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
44132         Likewise.
44133         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
44134         (__xmknod): Do not use CHECK_STRING.
44135         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
44136         <bp-checks.h>.
44137         (__xmknodat): Do not use CHECK_STRING.
44138         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
44139         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
44141 2013-02-04  Andreas Schwab  <schwab@suse.de>
44143         [BZ #14142]
44144         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
44145         * include/netdb.h: Likewise for h_errno.
44146         * elf/tst-stackguard1.c: Include <tls.h>.
44148 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
44150         * elf/link.h (struct link_map): Extend the l_addr comment.
44151         * include/link.h (struct link_map): Likewise.
44153 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
44155         [BZ #13550]
44156         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
44157         (BOUNDED_1): Remove macro.
44158         * debug/backtrace.c: Don't include <bp-checks.h>.
44159         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
44160         (__backtrace): Likewise.
44161         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
44162         <bp-checks.h>.
44163         (__backtrace): Don't use BOUNDED_1.
44164         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
44165         <bp-checks.h>.
44166         (__backtrace): Don't use BOUNDED_1.
44167         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
44168         (__backtrace): Don't use BOUNDED_1.
44169         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
44170         (shmat): Don't use BOUNDED_N.
44172 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
44174         [BZ #13550]
44175         * sysdeps/generic/bp-start.h: Remove file.
44176         * csu/libc-start.c: Don't include <bp-start.h>.
44177         (LIBC_START_MAIN): Set up __environ directly instead of using
44178         INIT_ARGV_and_ENVIRON.
44179         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
44180         <bp-start.h>.
44182         [BZ #13550]
44183         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
44184         definitions.
44185         (CHECK_FCNTL): Likewise.
44186         (CHECK_N_PAGES): Likewise.
44188         [BZ #13550]
44189         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
44190         definitions.
44191         (CHECK_SIGSET_NULL_OK): Likewise.
44192         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
44193         <bp-checks.h>.
44194         (sigpending): Don't use CHECK_SIGSET.
44195         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
44196         <bp-checks.h>.
44197         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
44198         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
44199         <bp-checks.h>.
44200         (do_sigsuspend): Don't use CHECK_SIGSET.
44201         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
44202         use CHECK_SIGSET.
44203         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
44204         (do_sigwait): Don't use CHECK_SIGSET.
44205         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
44206         use CHECK_SIGSET.
44207         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
44208         include <bp-checks.h>.
44209         (sigpending): Don't use CHECK_SIGSET.
44210         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
44211         include <bp-checks.h>.
44212         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
44213         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
44214         <bp-checks.h>.
44215         (sigpending): Don't use CHECK_SIGSET.
44216         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
44217         <bp-checks.h>.
44218         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
44220         [BZ #13550]
44221         * sysdeps/generic/bp-semctl.h: Remove file.
44222         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
44223         <bp-checks.h> and <bp-semctl.h>.
44224         (__old_semctl): Don't use CHECK_SEMCTL.
44225         (__new_semctl): Likewise.
44226         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
44227         and <bp-semctl.h>.
44228         (__old_semctl): Don't use CHECK_SEMCTL.
44229         (__new_semctl): Likewise.
44230         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
44231         <bp-checks.h> and <bp-semctl.h>.
44232         (__old_semctl): Don't use CHECK_SEMCTL.
44233         (__new_semctl): Likewise.
44234         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
44235         <bp-checks.h> and <bp-semctl.h>.
44236         (semctl): Don't use CHECK_SEMCTL.
44238         [BZ #13550]
44239         * Makerules (elide-bp-thunks): Remove variable.
44240         (elide-routines.oS): Don't use $(elide-bp-thunks).
44241         (elide-routines.os): Likewise.
44242         (elide-routines.o): Likewise.
44243         (elide-routines.op): Likewise.
44244         (elide-routines.og): Likewise.
44245         (objects): Don't use $(bp-thunks).
44246         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
44247         include.
44248         (common-generated): Do not add s-proto-bp.d.
44249         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
44250         (int): Likewise.
44251         (typ): Likewise.
44252         Do not generate makefile rules for bounded-pointer thunks.
44253         * sysdeps/generic/bp-thunks.h: Remove file.
44254         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
44255         * sysdeps/unix/s-proto-bp.S: Likewise.
44257         [BZ #15062]
44258         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
44259         parts of result separately when argument is not close to line from
44260         -i to i and one part of argument is small.
44261         * math/k_casinhf.c (__kernel_casinhf): Likewise.
44262         * math/k_casinhl.c (__kernel_casinhl): Likewise.
44263         * math/libm-test.inc (cacos_test): Add more tests.
44264         (casin_test): Likewise.
44265         (casinh_test): Likewise.
44266         * sysdeps/i386/fpu/libm-test-ulps: Update.
44267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44269 2013-01-31  David S. Miller  <davem@davemloft.net>
44271         * po/de.po: Update from translation team.
44273 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
44275         * time/tzfile.c: Include stdint.h for SIZE_MAX.
44277 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
44279         * configure.in (_AC_PROG_CC_C89): New definition.
44280         * configure: Regenerate.
44282         * configure.in (AC_PROG_CPP): New definition.
44283         * configure: Regenerate.
44285 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
44287         * debug/tst-backtrace.h: New file.
44288         * debug/tst-backtrace2.c: Include tst-backtrace.h.
44289         (ret): Remove variable.
44290         (x): Likewise.
44291         (FAIL): Remove macro.
44292         (NO_INLINE): Likewise.
44293         (fn1): Use match function instead of strstr.
44294         * debug/tst-backtrace3.c: Include tst-backtrace.h.
44295         (ret): Remove variable.
44296         (x): Likewise.
44297         (FAIL): Remove macro.
44298         (NO_INLINE): Likewise.
44299         (fn): Use match function instead of strstr.
44300         * debug/tst-backtrace4.c: Include tst-backtrace.h.
44301         (ret): Remove variable.
44302         (x): Likewise.
44303         (FAIL): Remove macro.
44304         (NO_INLINE): Likewise.
44305         (handle_signal): Use match function instead of strstr.
44306         * debug/tst-backtrace5.c: Include tst-backtrace.h.
44307         (ret): Remove variable.
44308         (x): Likewise.
44309         (FAIL): Remove macro.
44310         (NO_INLINE): Likewise.
44311         (handle_signal): Use match function instead of strstr.
44313 2013-01-23  Roland McGrath  <roland@hack.frob.com>
44315         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
44317 2013-01-23  David S. Miller  <davem@davemloft.net>
44319         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
44320         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
44321         argument of CAS if possible.
44322         * sysdeps/sparc/sparc64/bits/atomic.h
44323         (__arch_compare_and_exchange_val_32_acq): Likewise.
44324         (__arch_compare_and_exchange_val_64_acq): Likewise.
44326 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
44328         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
44329         * sysdeps/posix/ulimit.c: ... this.
44330         Include <limits.h>.
44331         * sysdeps/unix/bsd/ulimit.c: Remove file.
44333 2013-01-23  Adam Conrad  <adconrad@0c3.net>
44335         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
44336         (LDFLAGS-tst-array5): Likewise.
44338 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
44340         [BZ #15036]
44341         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
44342         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
44343         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
44344         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
44346 2013-01-21  David S. Miller  <davem@davemloft.net>
44348         * sysdeps/sparc/backtrace.c: New file.
44349         * sysdeps/sparc/sparc32/backtrace.h: New file.
44350         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
44351         * sysdeps/sparc/sparc64/backtrace.h: New file.
44352         * sysdeps/sparc/sparc64/backtrace.c: Delete.
44353         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
44354         -funwind-tables.
44356 2013-01-21  Andreas Schwab  <schwab@suse.de>
44358         [BZ #15020]
44359         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
44360         closed its stdout.
44362 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
44364         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
44365         "mpa2.h".
44366         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
44368 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
44369             Mark Mitchell  <mark@codesourcery.com>
44370             Tom de Vries  <tom@codesourcery.com>
44371             Paul Pluzhnikov  <ppluzhnikov@google.com>
44373         * debug/tst-backtrace2.c: New file.
44374         * debug/tst-backtrace3.c: Likewise.
44375         * debug/tst-backtrace4.c: Likewise.
44376         * debug/tst-backtrace5.c: Likewise.
44377         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
44378         (CFLAGS-tst-backtrace3.c): Likewise.
44379         (CFLAGS-tst-backtrace4.c): Likewise.
44380         (CFLAGS-tst-backtrace5.c): Likewise.
44381         (LDFLAGS-tst-backtrace2): Likewise.
44382         (LDFLAGS-tst-backtrace3): Likewise.
44383         (LDFLAGS-tst-backtrace4): Likewise.
44384         (LDFLAGS-tst-backtrace5): Likewise.
44385         (tests): Add new tests tst-backtrace2, tst-backtrace3,
44386         tst-backtrace4 and tst-backtrace5.
44388 2013-01-18  Anton Blanchard  <anton@samba.org>
44389             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44391         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
44392         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
44393         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
44394         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
44395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
44396         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
44397         "+r" and remove output regs list as redundant.  Add explicit inline
44398         asm to specify register of return val to work around compiler codegen
44399         bug.  Remove (int) cast on return value.  Add return type parameter to
44400         use in macro so that this macro does not truncate return value for
44401         64-bit values.
44402         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
44403         pass to INTERNAL_VSYSCALL_NCS.
44404         (INLINE_VSYSCALL): Add 'long int' as return type to
44405         INTERNAL_VSYSCALL_NCS macro invocation.
44406         (INTERNAL_VSYSCALL): Add 'long int' as return type to
44407         INTERNAL_VSYSCALL_NCS macro invocation.
44408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
44410 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
44412         [BZ #14496]
44413         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
44414         Fix application of SIMD FP exception mask.
44416         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
44417         mp_no from a power of two.
44418         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
44419         __mpexp_twomm1.  Use __pow_mp.
44421         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
44422         multiplication.
44424 2013-01-17  David S. Miller  <davem@davemloft.net>
44426         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44428 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
44430         [BZ #15023]
44431         * include/complex.h: Condition contents on [!_COMPLEX_H].
44432         (__kernel_casinhf): New prototype.
44433         (__kernel_casinh): Likewise.
44434         (__kernel_casinhl): Likewise.
44435         * math/Makefile (libm_calls): Add k_casinh.
44436         * math/k_casinh.c: New file.
44437         * math/k_casinhf.c: Likewise.
44438         * math/k_casinhl.c: Likewise.
44439         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
44440         finite nonzero arguments.
44441         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
44442         finite nonzero arguments.
44443         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
44444         finite nonzero arguments.
44445         * math/s_casinh.c: Do not include <float.h>.
44446         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
44447         * math/s_casinhf.c: Do not include <float.h>.
44448         (__casinhf): Move code for finite nonzero arguments to
44449         k_casinhf.c.
44450         * math/s_casinhl.c: Do not include <float.h>.
44451         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
44452         redefine.
44453         (__casinhl): Move code for finite nonzero arguments to
44454         k_casinhl.c.
44455         * math/libm-test.inc (cacos_test): Add more tests.
44456         * sysdeps/i386/fpu/libm-test-ulps: Update.
44457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44459 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
44461         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
44462         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
44463         [!HAVE_MREMAP]: Remove [defined linux] case.
44464         * malloc/arena.c: Do not include <malloc-sysdep.h>.
44466 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
44468         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
44470 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
44472         * elf/elf.h (R_386_SIZE32): New relocation.
44473         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
44474         R_386_SIZE32.
44475         (elf_machine_rela): Likewise.
44476         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
44477         R_X86_64_SIZE64 and R_X86_64_SIZE32.
44479 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
44481         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
44482         (FP_FAST_FMA): Do not define.
44483         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
44484         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
44485         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
44486         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
44487         !_SOFT_FLOAT]: Likewise.
44488         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
44489         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
44490         value.
44491         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
44492         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
44493         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
44494         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
44495         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
44496         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
44497         file.
44499 2013-01-16  Andreas Schwab  <schwab@suse.de>
44501         [BZ #14327]
44502         * include/stdlib.h (__mktemp): Add declaration.
44503         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
44504         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
44506 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44508         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
44509         definitions.
44510         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
44511         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
44512         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
44513         definitions here.
44514         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
44515         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
44516         definitions.
44517         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
44518         and ONE.
44519         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
44520         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
44521         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
44522         definitions.
44523         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
44524         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
44525         definitions.
44526         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
44528         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
44530 2013-01-15  David S. Miller  <davem@davemloft.net>
44532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
44533         trunc{,f} to libm-sysdep_routes.
44534         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
44535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
44536         file.
44537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
44538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
44539         file.
44540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
44541         file.
44542         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
44543         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
44544         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
44545         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
44546         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
44547         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
44548         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
44549         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
44551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
44552         nearbyint{,f} to libm-sysdep_routes.
44553         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
44554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
44555         New file.
44556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
44557         file.
44558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
44559         New file.
44560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
44561         file.
44562         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
44563         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
44564         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
44565         file.
44566         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
44567         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
44568         file.
44569         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
44570         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
44571         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
44573         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
44574         libc_feholdexcept and libc_fesetenv.
44576 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
44578         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
44580 2013-01-14  David S. Miller  <davem@davemloft.net>
44582         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
44583         (SPARC_ASM_VIS2_IFUNC): Likewise.
44584         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
44585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
44586         use of 'siam' instruction.
44587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
44588         Likewise.
44589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
44590         Likewise.
44591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
44592         Likewise.
44593         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
44594         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
44595         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
44596         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
44597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
44598         file.
44599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
44600         file.
44601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
44602         file.
44603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
44604         file.
44605         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
44606         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
44607         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
44608         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
44609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
44610         new VIS2 routines.
44611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
44612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
44614         Likewise.
44615         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
44616         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
44617         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
44618         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
44619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
44620         routines to libm-sysdep_routines.
44621         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
44623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
44624         fdim/fdimf to libm-sysdep_routines.
44625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
44626         file.
44627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
44628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
44629         file.
44630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
44631         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
44632         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
44633         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
44634         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
44635         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
44636         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
44638 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
44640         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
44641         to optimize copies.
44643         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
44644         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
44645         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
44647         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
44648         local variable MPTWO.
44649         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
44650         Likewise.
44652 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
44654         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
44655         GLOB_NOESCAPE.
44657 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
44659         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
44661 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
44663         * manual/pattern.texi (glob_t): Document gl_flags.
44664         (glob64_t): Likewise.
44666 2013-01-11  David S. Miller  <davem@davemloft.net>
44668         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
44669         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
44670         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
44671         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
44672         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
44673         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
44674         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
44675         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
44676         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
44677         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
44678         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
44679         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
44680         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
44682         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
44683         sparc V9 rather than using V8 code.
44684         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
44685         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
44687         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
44688         Move to...
44689         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
44690         Here.
44692 2013-01-11  Roland McGrath  <roland@hack.frob.com>
44694         [BZ #14941]
44695         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
44696         not in the main loop.
44697         * configure: Regenerated.
44699 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
44701         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
44702         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
44703         to just #else.
44704         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
44705         [!__GLIBC_HAVE_LONG_LONG] case.
44706         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
44707         condition to just #else.
44708         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
44709         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
44710         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
44711         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
44712         unconditional.
44713         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
44714         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
44715         #elif condition to just #else.
44716         * sysdeps/unix/sysv/linux/sys/sysmacros.h
44717         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
44718         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
44719         #elif condition to just #else.
44721 2013-01-11  Steve Ellcey  <sellcey@mips.com>
44723         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
44724         (EF_MIPS_ARCH_64): Fix value.
44725         (EF_MIPS_ARCH_32R2): New.
44726         (EF_MIPS_ARCH_64R2): New.
44728 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
44730         * Makeconfig (+link-pie-before-libc): New.
44731         (+link-pie-after-libc): Likewise.
44732         (+link-pie-tests): Likewise.
44733         (+link-pie): Rewritten.
44734         (link-before-libc): Remove $(config-LDFLAGS).
44735         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
44736         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
44737         (config-LDFLAGS): Renamed to ...
44738         (rtld-LDFLAGS): This.
44739         (rtld-tests-LDFLAGS): New macro.
44740         (link-libc-rpath-link): Likewise.
44741         (link-libc-tests-rpath-link): Likewise.
44742         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
44743         (link-libc): Prepand $(link-libc-rpath-link).
44744         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
44745         (test-program-prefix): New macro.
44746         (test-via-rtld-prefix): Likewise.
44747         (test-program-cmd): Likewise.
44748         (host-test-program-cmd): Likewise.
44749         * Makefile ($(common-objpfx)testrun.sh): Replace
44750         $(run-program-prefix) with $(test-program-prefix).
44751         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
44752         $(rtld-LDFLAGS).
44753         ($(common-objpfx)shlib.lds): Likewise.
44754         (build-module-helper): Likewise.
44755         ($(common-objpfx)format.lds): Likewise.
44756         * Rules (binaries-pie-tests): New.
44757         (binaries-pie-notests): Likewise.
44758         (binaries-pie): Rewritten.
44759         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
44760         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
44761         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
44762         (make-test-out): Replace $(host-built-program-cmd) with
44763         $(host-test-program-cmd).
44764         * config.make.in (build-hardcoded-path-in-tests): New variable.
44765         * configure.in (--enable-hardcoded-path-in-tests): New configure
44766         option.
44767         (hardcoded_path_in_tests): New AC_SUBST.
44768         * configure: Regenerated.
44769         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
44770         $(built-program-cmd) with $(test-program-cmd).
44771         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
44772         (test_program_cmd): This.
44773         * elf/Makefile ($(objpfx)order.out): Run test with
44774         $(test-program-prefix).
44775         ($(objpfx)order2.out): Likewise.
44776         ($(objpfx)tst-initorder.out): Likewise.
44777         ($(objpfx)tst-initorder2.out): Likewise.
44778         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
44779         $(test-program-cmd).
44780         ($(objpfx)tst-array1-static.out): Likewise.
44781         ($(objpfx)tst-array2.out): Likewise.
44782         ($(objpfx)tst-array3.out): Likewise.
44783         ($(objpfx)tst-array4.out): Likewise.
44784         ($(objpfx)tst-array5.out): Likewise.
44785         ($(objpfx)tst-array5-static.out): Likewise.
44786         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
44787         $(test-program-cmd).
44788         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
44789         $(run-program-prefix) with $(test-program-prefix).
44790         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
44791         (test_program_prefix): This.
44792         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
44793         $(run-program-prefix) with $(test-program-prefix).
44794         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
44795         (test_program_prefix): This.
44796         * iconvdata/tst-tables.sh: Likewise.
44797         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
44798         $(run-program-prefix) with $(test-program-prefix).
44799         ($(objpfx)tst-translit.out): Likewise.
44800         ($(objpfx)tst-gettext2.out): Likewise.
44801         ($(objpfx)tst-gettext4.out): Likewise.
44802         ($(objpfx)tst-gettext6.out): Likewise.
44803         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
44804         (test_program_prefix): This.
44805         * intl/tst-gettext2.sh: Likewise.
44806         * intl/tst-gettext4.sh  Likewise.
44807         * intl/tst-gettext6.sh: Likewise.
44808         * intl/tst-translit.sh: Likewise.
44809         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
44810         with $(test-program-cmd).
44811         * libio/Makefile ($(objpfx)test-freopen.out): Replace
44812         $(run-program-prefix) with $(test-program-prefix).
44813         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
44814         (test_program_prefix): This.
44815         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
44816         $(run-program-prefix) with $(test-program-prefix).
44817         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
44818         (test_program_prefix): This.
44819         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
44820         * posix/Makefile ($(objpfx)globtest.out): Replace
44821         $(run-via-rtld-prefix) and $(test-wrapper) with
44822         $(test-program-prefix) and $(test-via-rtld-prefix).
44823         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
44824         $(test-program-prefix).
44825         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
44826         $(host-test-program-cmd).
44827         (tst-spawn-ARGS): Likewise.
44828         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
44829         $(test-program-prefix).
44830         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
44831         (test_via_rtld_prefix): This.
44832         (test_wrapper): Renamed to ...
44833         (test_program_prefix): This.
44834         (run_program_prefix): Replaced by test_program_prefix.
44835         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
44836         (test_program_prefix): This.
44837         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
44838         with $(host-test-program-cmd).
44839         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
44840         $(run-program-prefix) with $(test-program-prefix).
44841         ($(objpfx)tst-printf.out): Likewise.
44842         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
44843         $(test-program-cmd).
44844         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
44845         (test_program_prefix): This.
44846         * stdio-common/tst-unbputc.sh: Likewise.
44847         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
44848         $(run-program-prefix) with $(test-program-prefix).
44849         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
44850         (test_program_prefix): This.
44851         * string/Makefile ($(objpfx)tst-svc.out):  Replace
44852         $(built-program-cmd) with $(test-program-cmd).
44854 2013-01-11  Andreas Jaeger  <aj@suse.de>
44856         [BZ #15003]
44857         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
44858         value. Sync with Linux 3.7.
44860 2013-01-10  David S. Miller  <davem@davemloft.net>
44862         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
44863         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
44864         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
44866 2013-01-10  Roland McGrath  <roland@hack.frob.com>
44868         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
44869         never set.
44870         * configure: Regenerated.
44872 2013-01-10  David S. Miller  <davem@davemloft.net>
44874         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
44875         sparc V9 rather than using V8 code.
44876         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
44877         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
44879 2013-01-10  Roland McGrath  <roland@hack.frob.com>
44881         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
44882         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
44883         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
44884         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
44885         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
44886         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
44887         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
44888         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
44889         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
44890         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
44891         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
44892         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
44893         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
44894         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
44895         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
44896         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
44897         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
44898         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
44899         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
44900         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
44901         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
44902         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
44903         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
44904         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
44905         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
44906         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
44907         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
44909 2013-01-10  David S. Miller  <davem@davemloft.net>
44911         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44913 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
44915         * posix/Makefile (tests-static): New variable.
44916         (tests): Add $(tests-static).
44917         (tst-exec-static-ARGS): New variable.
44918         (tst-spawn-static-ARGS): Likewise.
44919         * posix/tst-exec-static.c: New file.
44920         * posix/tst-spawn-static.c: Likewise.
44921         * posix/tst-exec.c: Support run directly.
44922         * posix/tst-spawn.c: Likewise.
44924 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
44926         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
44927         long.
44928         * math/bits/mathcalls.h (llrint): Likewise.
44929         (llround): Likewise.
44930         * stdlib/stdlib.h (struct drand48_data): Likewise.
44931         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
44932         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
44933         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
44934         Likewise.
44935         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
44936         Likewise.
44937         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
44938         (elf_greg_t): Likewise.
44939         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
44940         (__jmp_buf): Likewise.
44941         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
44942         definitions.
44943         (llrint): Likewise, for all definitions.
44944         (llrintl): Likewise.
44946         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
44947         Remove [__GNUC__] condition.
44948         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
44949         condition to just [__USE_ISOC99].
44950         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
44952 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
44954         [BZ #14200]
44955         * sysdeps/unix/sysv/linux/x86/bits/environments.h
44956         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
44957         defined.
44958         (_POSIX_V6_ILP32_OFF32): Likewise.
44959         (_XBS5_ILP32_OFF32): Likewise.
44960         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
44961         (__ILP32_OFFBIG_LDFLAGS): Likewise.
44963 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44965         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
44967         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
44968         doubles __mpexp_twomm1.  Adjust usage.
44969         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
44970         Remove.
44972 2013-01-10  Andreas Schwab  <schwab@suse.de>
44974         [BZ #14964]
44975         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
44976         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
44978 2013-01-09  David S. Miller  <davem@davemloft.net>
44980         [BZ #15003]
44981         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
44982         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
44983         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
44984         (TCP_FASTOPEN): Define.
44985         (tcp_repair_opt): New structure.
44986         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
44987         enum values.
44988         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
44989         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
44990         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
44991         (tcp_cookie_transactions): New structure.
44993 2013-01-09  Anton Blanchard  <anton@samba.org>
44995         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
44996         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
44997         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
44998         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
45000 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
45002         * include/features.h (__USE_ANSI): Remove.
45004 2013-01-09  Roland McGrath  <roland@hack.frob.com>
45006         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
45008         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
45010 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
45012         * sysdeps/s390/fpu/libm-test-ulps: Update.
45014         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45016         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
45017         (__acr): Likewise.
45018         (__cpy): Likewise.
45019         (norm): Likewise.
45020         (denorm): Likewise.
45021         (__mp_dbl): Likewise.
45022         (__dbl_mp): Likewise.
45023         (add_magnitudes): Likewise.
45024         (sub_magnitudes): Likewise.
45025         (__add): Likewise.
45026         (__sub): Likewise.
45027         (__mul): Likewise.
45028         (__inv): Likewise.
45029         (__dvd): Likewise.
45030         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
45031         (__acr): Likewise.
45032         (__cpy): Likewise.
45033         (norm): Likewise.
45034         (denorm): Likewise.
45035         (__mp_dbl): Likewise.
45036         (__dbl_mp): Likewise.
45037         (add_magnitudes): Likewise.
45038         (sub_magnitudes): Likewise.
45039         (__add): Likewise.
45040         (__sub): Likewise.
45041         (__mul): Likewise.
45042         (__inv): Likewise.
45043         (__dvd): Likewise.
45044         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
45045         (__acr): Likewise.
45046         (__cpy): Likewise.
45047         (norm): Likewise.
45048         (denorm): Likewise.
45049         (__mp_dbl): Likewise.
45050         (__dbl_mp): Likewise.
45051         (add_magnitudes): Likewise.
45052         (sub_magnitudes): Likewise.
45053         (__add): Likewise.
45054         (__sub): Likewise.
45055         (__mul): Likewise.
45056         (__inv): Likewise.
45057         (__dvd): Likewise.
45059 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
45061         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
45062         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
45063         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
45064         2 && __USE_EXTERN_INLINES]: Likewise.
45066 2013-01-08  Andreas Jaeger  <aj@suse.de>
45068         [BZ# 14985]
45069         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
45070         Remove.
45071         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
45072         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
45074 2013-01-07  Anton Blanchard  <anton@samba.org>
45076         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
45077         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
45078         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
45079         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
45080         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
45081         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
45082         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
45083         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
45084         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
45085         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
45086         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
45087         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
45088         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
45089         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
45090         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
45091         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
45092         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
45093         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
45094         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
45095         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
45096         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
45097         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
45098         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45099         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
45100         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
45101         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
45102         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45103         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
45104         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
45105         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
45106         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
45107         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
45108         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
45109         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
45110         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
45111         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45112         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
45113         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
45114         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
45115         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
45116         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
45117         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45118         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
45120 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
45122         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
45123         (__MALLOC_PMT): Likewise.
45124         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
45125         [__GNUC__], only on [_LIBC].
45126         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
45127         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
45128         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
45129         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
45130         forward declaration.
45131         (realloc_hook_ini): Likewise.
45132         (memalign_hook_ini): Likewise.
45133         (__libc_memalign): Do not use __MALLOC_PMT in variable
45134         declaration.
45135         (__libc_valloc): Likewise.
45136         (__libc_pvalloc): Likewise.
45137         (__libc_calloc): Likewise.
45138         (__posix_memalign): Likewise.
45140         [BZ #14996]
45141         * math/s_casinh.c: Include <float.h>.
45142         (__casinh): Do not do computation with squaring and square root
45143         for large arguments.
45144         * math/s_casinhf.c: Include <float.h>.
45145         (__casinhf): Do not do computation with squaring and square root
45146         for large arguments.
45147         * math/s_casinhl.c: Include <float.h>.
45148         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
45149         (__casinhl): Do not do computation with squaring and square root
45150         for large arguments.
45151         * math/libm-test.inc (casin_test): Add more tests.
45152         (casinh_test): Likewise.
45153         * sysdeps/i386/fpu/libm-test-ulps: Update.
45154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45156 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
45158         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
45159         (__x86_64_raw_data_cache_size): Likewise.
45160         (__x86_64_data_cache_size_half): Likewise.
45161         (__x86_64_raw_data_cache_size_half): Likewise.
45162         (__x86_64_shared_cache_size): Likewise.
45163         (__x86_64_raw_shared_cache_size): Likewise.
45164         (__x86_64_shared_cache_size_half): Likewise.
45165         (__x86_64_raw_shared_cache_size_half): Likewise.
45166         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
45167         to ...
45168         (__x86_data_cache_size): This.
45169         (__x86_64_raw_data_cache_size): Renamed to ...
45170         (__x86_raw_data_cache_size): This.
45171         (__x86_64_data_cache_size_half): Renamed to ...
45172         (__x86_data_cache_size_half): This.
45173         (__x86_64_raw_data_cache_size_half): Renamed to ...
45174         (__x86_raw_data_cache_size_half): This.
45175         (__x86_64_shared_cache_size): Renamed to ...
45176         (__x86_shared_cache_size): This.
45177         (__x86_64_raw_shared_cache_size): Renamed to ...
45178         (__x86_raw_shared_cache_size): This.
45179         (__x86_64_shared_cache_size_half): Renamed to ...
45180         (__x86_shared_cache_size_half): This.
45181         (__x86_64_raw_shared_cache_size_half): Renamed to ...
45182         (__x86_raw_shared_cache_size_half): This.
45183         * sysdeps/x86_64/memcpy.S: Updated.
45184         * sysdeps/x86_64/memset.S: Likewise.
45185         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
45186         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45187         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45189 2013-01-04  David S. Miller  <davem@davemloft.net>
45191         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45193 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
45195         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
45196         1 to avoid redefinition warning.
45197         (__USE_GNU): Don't define.
45198         (init_signaling_nan): Protoize.
45200         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45202 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45204         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
45205         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
45206         (__cpymn): Likewise.
45207         (norm): Remove commented code.
45208         (denorm): Likewise.
45209         (__mp_dbl): Likewise.
45210         (__inv): Likewise.
45211         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
45212         (__cpymn): Likewise.
45213         (norm): Remove commented code.
45214         (denorm): Likewise.
45215         (__mp_dbl): Likewise.
45216         (__inv): Likewise.
45218         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
45219         mp_no value for 1.0 and 2.0.
45220         (norm): Use RADIXI instead of radixi.d.
45221         (denorm): Likewise.
45222         (__mul): Use 0.0 instead of zero.d.
45223         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
45224         mp_no value for 1.0 and 2.0.
45225         (norm): Use RADIXI instead of radixi.d.
45226         (denorm): Likewise.
45227         (__mul): Use 0.0 instead of zero.d.
45229 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
45231         [BZ #14994]
45232         * math/s_casinh.c (__casinh): Reduce finite argument to first
45233         quadrant then set signs of results at the end.
45234         * math/s_casinhf.c (__casinhf): Likewise.
45235         * math/s_casinhl.c (__casinhl): Likewise.
45236         * math/libm-test.inc (casin_test): Add more tests.
45237         (casinh_test): Likewise.
45238         * sysdeps/i386/fpu/libm-test-ulps: Update.
45239         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45241 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45243         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
45245         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
45247         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
45248         declarations.
45249         (denorm): Likewise.
45250         (__mp_dbl): Likewise.
45251         (__inv): Likewise.
45253         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
45254         and adjust the header comment.
45256         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
45257         variable name from declaration.
45259 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
45261         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45262         Initialize COMMON_CPUID_INDEX_7 element.
45263         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
45264         (CPUID_RTM): Likewise.
45265         (HAS_RTM): Likewise.
45266         (COMMON_CPUID_INDEX_7): New enum.
45268 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
45270         [BZ #14981]
45271         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
45272         size is zero, record memory as freed.
45274 2013-01-03  Andreas Jaeger  <aj@suse.de>
45276         * po/ia.po: Add new Interlingua translation.
45278 2012-01-03  Allan McRae  <allan@archlinux.org>
45280         * locale/programs/localedef.c: Fix description of '--posix' flag.
45282 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
45284         * NEWS: Update dates in second copyright notice.
45285         * README: Update copyright dates in example.
45286         * manual/libc.texinfo: Update copyright dates.
45287         * scripts/test-installation.pl: Update copyright date in --version
45288         output.
45290         * hurd/ctty-input.c: Fix copyright notice formatting.
45291         * hurd/ctty-output.c: Likewise.
45292         * hurd/dtable.c: Likewise.
45293         * hurd/hurd-raise.c: Likewise.
45294         * hurd/hurdprio.c: Likewise.
45295         * hurd/msgportdemux.c: Likewise.
45296         * misc/sys/file.h: Likewise.
45297         * misc/sys/ioctl.h: Likewise.
45298         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
45299         * sysdeps/mach/hurd/chdir.c: Likewise.
45300         * sysdeps/mach/hurd/fchdir.c: Likewise.
45301         * sysdeps/mach/hurd/rename.c: Likewise.
45302         * sysdeps/mach/hurd/rmdir.c: Likewise.
45303         * sysdeps/mach/hurd/seekdir.c: Likewise.
45304         * sysdeps/mach/hurd/setsid.c: Likewise.
45305         * sysdeps/posix/wait3.c: Likewise.
45307         * All files with FSF copyright notices: Update copyright dates
45308         using scripts/update-copyrights.
45309         * intl/plural.c: Regenerated.
45310         * locale/programs/charmap-kw.h: Likewise.
45311         * locale/programs/locfile-kw.h: Likewise.
45313 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45315         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
45316         four values.
45318         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
45319         calculation loop and add branch prediction.
45321         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
45322         check access beyond bounds of m1np.
45324         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
45325         MPTWO.
45326         (__inv): Remove local variable MPTWO to use the global
45327         constant.
45328         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
45329         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
45330         variable MPTWO.
45331         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
45332         MP3HALFS static const.
45334 2013-01-01  David S. Miller  <davem@davemloft.net>
45336         * po/ca.po: Update from translation team.
45338 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
45340         * scripts/update-copyrights: New file.
45341         * Makeconfig: Reformat copyright notice.
45342         * ctype/ctype.h: Likewise.
45343         * debug/swprintf_chk.c: Likewise.
45344         * elf/dl-cache.c: Likewise.
45345         * elf/dl-debug.c: Likewise.
45346         * elf/dl-object.c: Likewise.
45347         * grp/initgroups.c: Likewise.
45348         * hurd/Makefile: Likewise.
45349         * hurd/hurd/signal.h: Likewise.
45350         * hurd/hurdfault.c: Likewise.
45351         * hurd/hurdioctl.c: Likewise.
45352         * hurd/hurdlookup.c: Likewise.
45353         * hurd/intr-msg.c: Likewise.
45354         * iconv/gconv_open.c: Likewise.
45355         * libio/swprintf.c: Likewise.
45356         * locale/lc-ctype.c: Likewise.
45357         * locale/nl_langinfo.c: Likewise.
45358         * mach/Machrules: Likewise.
45359         * mach/Makefile: Likewise.
45360         * malloc/obstack.h: Likewise.
45361         * manual/Makefile: Likewise.
45362         * manual/tsort.awk: Likewise.
45363         * misc/bits/stab.def: Likewise.
45364         * nis/nis_print_group_entry.c: Likewise.
45365         * nis/nis_table.c: Likewise.
45366         * nis/nss_compat/compat-pwd.c: Likewise.
45367         * nis/nss_compat/compat-spwd.c: Likewise.
45368         * po/Makefile: Likewise.
45369         * posix/fnmatch.c: Likewise.
45370         * posix/regex.h: Likewise.
45371         * resolv/Makefile: Likewise.
45372         * resolv/nss_dns/dns-network.c: Likewise.
45373         * resolv/res_hconf.c: Likewise.
45374         * scripts/gen-sorted.awk: Likewise.
45375         * soft-fp/soft-fp.h: Likewise.
45376         * stdio-common/printf.h: Likewise.
45377         * stdlib/monetary.h: Likewise.
45378         * stdlib/random.c: Likewise.
45379         * stdlib/random_r.c: Likewise.
45380         * sysdeps/generic/Makefile: Likewise.
45381         * sysdeps/gnu/Makefile: Likewise.
45382         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45383         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45384         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45385         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45386         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45387         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45388         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45389         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45390         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45391         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45392         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
45393         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
45394         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
45395         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
45396         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
45397         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
45398         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
45399         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45400         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45401         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45402         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45403         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45404         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45405         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
45406         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
45407         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
45408         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
45409         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
45410         * sysdeps/mach/hurd/errnos.awk: Likewise.
45411         * sysdeps/mach/hurd/fork.c: Likewise.
45412         * sysdeps/mach/hurd/getcwd.c: Likewise.
45413         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
45414         * sysdeps/mach/hurd/mmap.c: Likewise.
45415         * sysdeps/mach/hurd/utimes.c: Likewise.
45416         * sysdeps/mach/hurd/xmknod.c: Likewise.
45417         * sysdeps/posix/profil.c: Likewise.
45418         * sysdeps/posix/readdir_r.c: Likewise.
45419         * sysdeps/powerpc/bits/mathdef.h: Likewise.
45420         * sysdeps/powerpc/bits/setjmp.h: Likewise.
45421         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
45422         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
45423         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
45424         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
45425         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
45426         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
45427         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
45428         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
45429         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
45430         * sysdeps/pthread/lio_listio.c: Likewise.
45431         * sysdeps/sparc/dl-procinfo.h: Likewise.
45432         * sysdeps/unix/i386/sysdep.S: Likewise.
45433         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
45434         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
45435         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
45436         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
45437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
45438         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
45439         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
45440         * sysdeps/unix/sysv/linux/speed.c: Likewise.
45441         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
45442         * sysdeps/wordsize-32/divdi3.c: Likewise.
45443         * time/sys/time.h: Likewise.
45444         * wcsmbs/Makefile: Likewise.
45446 2013-01-01  David S. Miller  <davem@davemloft.net>
45448         * po/fr.po: Update from translation team.
45450         * catgets/gencat.c: Update copyright year.
45451         * csu/version.c: Likewise.
45452         * debug/catchsegv.sh: Likewise.
45453         * debug/pcprofiledump.c: Likewise.
45454         * debug/xtrace.sh: Likewise.
45455         * elf/ldconfig.c: Likewise.
45456         * elf/ldd.bash.in: Likewise.
45457         * elf/pldd.c: Likewise.
45458         * elf/sotruss.ksh: Likewise.
45459         * elf/sprof.c: Likewise.
45460         * iconv/iconv_prog.c: Likewise.
45461         * iconv/iconvconfig.c: Likewise.
45462         * locale/programs/locale.c: Likewise.
45463         * locale/programs/localedef.c: Likewise.
45464         * login/programs/pt_chown.c: Likewise.
45465         * malloc/memusage.sh: Likewise.
45466         * malloc/memusagestat.c: Likewise.
45467         * malloc/mtrace.pl: Likewise.
45468         * nscd/nscd.c: Likewise.
45469         * nss/getent.c: Likewise.
45470         * nss/makedb.c: Likewise.
45471         * posix/getconf.c: Likewise.
45473 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
45475         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
45476         numbers.
45478 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
45480         * math/bits/mathcalls.h (modf): Use __nonnull.
45482 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45484         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
45485         (split): Use macro CN instead of the bare value.
45486         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
45487         could be used.
45488         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
45489         instead of the bare value.
45490         (power1): Likewise.
45492 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45494         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
45495         __ATAN_TWOM.
45496         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
45498         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
45499         their values.
45500         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
45501         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
45502         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
45503         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
45505 2012-12-28  Andreas Jaeger  <aj@suse.de>
45507         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
45508         values are from Linux 3.7.
45510         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
45511         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
45513 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45515         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
45516         TRUE case.
45518         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
45519         (norm): Likewise.
45520         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
45521         variables with preprocessor constants.
45522         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
45523         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
45524         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
45526 2012-12-27  Bruno Haible  <bruno@clisp.org>
45528         [BZ #14317]
45529         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
45530         only if needed.
45532 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45534         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
45535         and use variable directly.
45536         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
45538         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
45539         MPONE.
45540         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
45541         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
45542         variable MPONE.
45543         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
45544         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
45545         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
45546         include directive.  Remove local variable MPONE.
45547         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
45548         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
45549         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
45551 2012-12-25  David S. Miller  <davem@davemloft.net>
45553         * version.h (RELEASE): Set to "development".
45554         (VERSION): Set to "2.17.90".
45555         * NEWS: Add 2.18 section.
45557 2012-12-21  David S. Miller  <davem@davemloft.net>
45559         * po/hr.po: Update from translation team.
45561 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45563         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
45565 2012-12-19  Steve Ellcey  <sellcey@mips.com>
45567         * NEWS:  Mention new memcpy for MIPS.
45569 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45571         * manual/contrib.texi (Contributors): Spelling correction.
45573 2012-12-15  David S. Miller  <davem@davemloft.net>
45575         * po/ru.po: Update from translation team.
45577 2012-12-13  David S. Miller  <davem@davemloft.net>
45579         * NEWS: Mention IFUNC testsuite enhancements.
45581         * po/pl.po: Update from translation team.
45582         * po/bg.po: Likewise.
45584         * manual/contrib.texi (Contributors): Update entries for Hongjiu
45585         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
45587 2012-12-11  David S. Miller  <davem@davemloft.net>
45589         * po/sv.po: Update from translation team.
45591         * po/vi.po: Update from translation team.
45593         * po/cs.po: Update from translation team.
45595         * po/de.po: Update from translation team.
45596         * po/eo.po: Likewise.
45597         * po/nl.po: Likewise.
45599 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45601         [BZ #14246]
45602         * manual/argp.texi (Argp Helper Functions): Move node to follow
45603         Argp Parsing State.
45605         [BZ #14872]
45606         * manual/conf.texi (Limits on File System Capacity): Mention if
45607         terminating null is included in the max size.
45609 2012-12-10  Andreas Jaeger  <aj@suse.de>
45611         * po/cs.po: Update from translation team.
45613 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
45615         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
45616         void pointer and cast to uintptr_t.
45617         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
45618         path.
45619         * sysdeps/s390/s390-64/memcpy.S: Likewise.
45620         * sysdeps/s390/s390-64/memset.S: Likewise.
45622 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
45624         [BZ #14833]
45625         * menual/message.texi (Message Translation): Fix typos.
45626         (Helper programs for gettext): Likewise.
45628 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
45630         [BZ #14898]
45631         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
45632         Change to -1.
45634 2012-12-07  David S. Miller  <davem@davemloft.net>
45636         * po/libc.pot: Update.
45638 2012-12-07  Richard Henderson  <rth@redhat.com>
45640         [BZ #10114]
45641         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
45642         normal/normal case to before the switch.
45643         (_FP_DIV): Likewise.
45645 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
45646             Mike Frysinger  <vapier@gentoo.org>
45648         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
45649         check for __NR_fadvise64_64.
45651 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
45653         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
45654         0, not just to plain "0" as a statement.
45655         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
45656         with cw.
45658 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
45660         * NEWS: Use sourceware.org in Bugzilla URL.
45662 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
45664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
45665         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
45667         * stdio-common/tst-put-error.c (do_test): Add newline to the
45668         padded test to ensure flush.
45670 2012-12-05  Jeff Law  <law@redhat.com>
45672         * sunrpc/etc.rpc (fedfs_admin): Add entry.
45674 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
45676         * README: Don't refer to ports add-on as distributed separately.
45677         Mention AArch64 in list of systems supported in the ports add-on.
45679         * LICENSES: Add more non-FSF copyright and license notices.
45681         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
45682         ((unused)).
45684         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
45686         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
45687         10000 as width of padded output.
45689 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
45691         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
45693         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
45694         variable LX with __attribute__ ((unused)).
45695         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
45696         Likewise.
45697         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
45698         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
45699         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
45700         with __attribute__ ((unused)).
45702 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
45704         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
45706 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
45708         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
45709         (CFLAGS-nldbl-acos.c): New variable.
45710         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
45711         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
45712         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
45713         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
45714         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
45715         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
45716         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
45717         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
45718         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
45719         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
45720         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
45721         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
45722         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
45723         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
45724         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
45725         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
45726         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
45727         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
45728         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
45729         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
45730         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
45731         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
45732         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
45733         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
45734         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
45735         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
45736         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
45737         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
45738         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
45739         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
45740         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
45741         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
45742         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
45743         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
45744         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
45745         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
45746         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
45747         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
45748         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
45749         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
45750         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
45751         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
45752         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
45753         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
45754         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
45755         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
45756         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
45757         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
45758         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
45759         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
45760         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
45761         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
45762         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
45763         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
45764         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
45765         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
45766         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
45767         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
45768         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
45769         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
45770         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
45771         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
45772         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
45773         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
45774         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
45775         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
45776         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
45777         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
45778         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
45779         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
45780         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
45781         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
45782         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
45783         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
45784         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
45785         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
45786         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
45787         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
45788         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
45789         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
45790         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
45791         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
45792         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
45793         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
45794         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
45795         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
45796         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
45797         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
45798         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
45799         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
45800         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
45801         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
45802         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
45803         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
45804         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
45805         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
45806         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
45808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
45809         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
45811         [BZ #14914]
45812         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
45813         whole low double instead of just low 47 bits when splitting values
45814         into two parts.
45816 2012-12-03  Allan McRae  <allan@archlinux.org>
45818         * manual/stdio.texi (Predefined Printf Handlers): Remove
45819         @hsep and @vsep usage.
45821 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
45823         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
45824         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
45826 2012-12-03  Jeff Law  <law@redhat.com>
45828         * time/sys/time.h (settimeofday): Do not mark TV argument
45829         as __nonnull.
45831 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
45833         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
45834         when currently writing and seek to current position when not.
45835         * libio/Makefile (tests): Remove bug-fclose1.
45836         * libio/bug-fclose1.c: Delete.
45838 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
45840         * manual/arith.texi (feenableexcept): Fix typo.
45841         (fedisableexcept): Likewise.
45843 2012-11-30  Roland McGrath  <roland@hack.frob.com>
45845         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
45846         second, differently-typed declaration, rather than a cast.
45848 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45850         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
45851         * include/rpc/svc.h: ... here.
45853 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
45855         [BZ #13013]
45856         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
45857         depending n and resplen2 to catch cases where answer
45858         equals answerp2.
45860 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
45862         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
45863         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
45865 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
45867         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
45869 2012-11-29  Roland McGrath  <roland@hack.frob.com>
45871         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
45873 2012-11-28  Jeff Law  <law@redhat.com>
45875         [BZ #13761]
45876         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
45877         dataset_temporary.  Track alloca usage into alloca_used.
45878         If dataset is large allocate and release it via malloc/free.
45880 2012-06-04  Florian Weimer  <fweimer@redhat.com>
45882         [BZ #14197]
45883         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
45885 2012-11-28  David S. Miller  <davem@davemloft.net>
45887         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45889 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
45891         [BZ #14803]
45892         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
45893         of pi/2 rounded to nearest to 64 bits.
45894         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
45895         nearest to 64 bits.
45896         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
45897         bits.
45899 2012-11-28  Jeff Law <law@redhat.com>
45900             Martin Osvald <mosvald@redhat.com>
45902         [BZ #14889]
45903         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
45904         * sunrpc/svc.c: Include time.h.
45905         (__svc_accept_failed): New function.
45906         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
45907         any reason other than EINTR, call __svc_accept_failed.
45908         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
45909         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
45911 2012-11-28  Andreas Schwab  <schwab@suse.de>
45913         * scripts/abilist.awk: Also handle indirect functions in .opd
45914         section.
45916 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
45918         [BZ #13881]
45919         * sysdeps/x86/fpu/powl_helper.c: New file.
45920         * sysdeps/x86/fpu/Makefile: Likewise.
45921         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
45922         (p3): New object.
45923         (__ieee754_powl): Use __powl_helper for finite arguments except
45924         integer exponents below 8.
45925         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
45926         (p3): New object.
45927         (__ieee754_powl): Use __powl_helper for finite arguments except
45928         integer exponents below 8.
45929         * math/libm-test.inc (pow_test): Add more tests and enable some
45930         previously disabled tests.
45931         * sysdeps/i386/fpu/libm-test-ulps: Update.
45932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45934 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45935             Carlos O'Donell  <carlos_odonell@mentor.com>
45937         * nss/makedb.c (is_prime): Assert that input is odd and greater
45938         than 4.  Note that fact in a comment too.
45939         (next_prime): Add 4 to input.
45941 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45943         [BZ #11741]
45944         * libio/Makefile (tests): Add test case tst-fwrite-error.
45945         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
45946         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
45947         * libio/tst-fwrite-error.c: New test case.
45949 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
45951         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
45952         before casting to void *.
45953         * include/libc-internal.h (__pointer_type): New macro.
45954         (__integer_if_pointer_type_sub): Likewise.
45955         (__integer_if_pointer_type): Likewise.
45956         (cast_to_integer): Likewise.
45957         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
45958         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
45959         before casting to atomic64_t.
45960         (atomic_exchange_acq): Likewise.
45961         (__arch_exchange_and_add_body): Likewise.
45962         (__arch_add_body): Likewise.
45963         (atomic_add_negative): Likewise.
45964         (atomic_add_zero): Likewise.
45966 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
45968         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
45969         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
45970         (add_fdes): Likewise.
45971         (linear_search_fdes): Likewise.
45972         (binary_search_unencoded_fdes): Likewise.
45974 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
45976         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
45978 2012-11-24  Adam Conrad  <adconrad@0c3.net>
45980         * configure.in: Autodetect C++ header directories.
45981         * configure: Regenerated.
45983 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
45985         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
45987 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
45989         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45991 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
45993         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
45994         LDBL_MANT_DIG == 106]: Disable some tests.
45995         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
45996         Likewise.
45997         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
45998         Likewise.
46000         [BZ #14871]
46001         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
46002         input for small inputs.  Return +/- pi/2 for large inputs.
46003         * math/libm-test.inc (atan_test): Add more tests.
46005         * sysdeps/generic/unwind-dw2-fde-glibc.c
46006         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
46007         __attribute__ ((unused)).
46009         [BZ #14645]
46010         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
46011         x * y if x and y are nonzero and z is zero.
46013         [BZ #14811]
46014         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
46015         nonzero exponents with absolute value below 0x1p-117 to +/-
46016         0x1p-117.
46018         [BZ #14869]
46019         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
46020         up arguments below 2**-450, not just those below 2**-500.
46021         * math/libm-test.inc (hypot_test): Add another test.
46023         [BZ #14868]
46024         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
46025         Return a+b for ratio over 2**120, not 2**60.
46026         * math/libm-test.inc (hypot_test): Add another test.
46028         * math/libm-test.inc (clog_test): Use
46029         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
46030         (clog10_test): Likewise.
46032         [BZ #6778]
46033         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
46035 2012-11-22  Andreas Schwab  <schwab@suse.de>
46037         * sysdeps/i386/fpu/libm-test-ulps: Update.
46039 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
46041         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
46042         printf output with newline.
46044 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
46046         [BZ #14865]
46047         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
46048         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
46049         -z nodlopen, -z initfirst and -z execstack support.
46050         * configure: Regenerated.
46052         * elf/elf.h (DF_1_NODIRECT): New macro.
46053         (DF_1_IGNMULDEF): Likewise.
46054         (DF_1_NOKSYMS): Likewise.
46055         (DF_1_NOHDR): Likewise.
46056         (DF_1_EDITED): Likewise.
46057         (DF_1_NORELOC): Likewise.
46058         (DF_1_SYMINTPOSE): Likewise.
46059         (DF_1_GLOBAUDIT): Likewise.
46060         (DF_1_SINGLETON): Likewise.
46061         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
46062         DT_1_SUPPORTED_MASK bits.
46063         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
46065 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
46067         * sysdeps/unix/make-syscalls.sh: Document prefixes.
46069 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
46071         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
46072         macro.
46074         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
46075         (sendmmsg): Move declarations...
46076         * socket/sys/socket.h: ... here.
46077         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
46078         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
46079         include it from...
46080         * socket/recvmmsg.c: ... this new file.
46081         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
46082         (sendmmsg): Rename to __sendmmsg, create weak alias and make
46083         definition of __sendmmsg hidden.
46084         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
46085         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
46086         Move ENOSYS stub into and include it from...
46087         * socket/sendmmsg.c: ... this new file.
46088         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
46089         (sysdep_routines): Move recvmmsg and sendmmsg...
46090         * socket/Makefile (routines): ... here.
46091         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
46092         (GLIBC_PRIVATE): Add __sendmmsg.
46093         * include/sys/socket.h (__sendmmsg): Add declarations.
46094         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
46095         sendmmsg.
46097 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
46099         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
46100         variable I1 with __attribute__ ((unused)).
46101         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
46103 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
46105         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
46106         DUMMY variables with __attribute__ ((unused)).
46108         * bits/byteswap.h: Include <bits/types.h>.
46109         (__bswap_64): Use __uint64_t instead of unsigned long long int.
46111 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
46113         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
46114         string_t.  Do not manually set errno.
46115         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
46116         length with __strnlen.  Make sure to both set errno and return it on
46117         failure.
46119 2012-11-19  David S. Miller  <davem@davemloft.net>
46121         With help from Joseph Myers.
46122         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
46123         very large arguments properly.
46124         * math/libm-test.inc (atan_test): New tests.
46125         (atan2_test): New tests.
46126         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46127         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46129 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
46131         [BZ #14856]
46132         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
46133         Define to 3.
46135         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
46136         [POSIX] (EADDRNOTAVAIL): Likewise.
46137         [POSIX] (EAFNOSUPPORT): Likewise.
46138         [POSIX] (EALREADY): Likewise.
46139         [POSIX] (ECONNABORTED): Likewise.
46140         [POSIX] (ECONNREFUSED): Likewise.
46141         [POSIX] (ECONNRESET): Likewise.
46142         [POSIX] (EDESTADDRREQ): Likewise.
46143         [POSIX] (EDQUOT): Likewise.
46144         [POSIX] (EHOSTUNREACH): Likewise.
46145         [POSIX] (EIDRM): Likewise.
46146         [POSIX] (EISCONN): Likewise.
46147         [POSIX] (ELOOP): Likewise.
46148         [POSIX] (EMULTIHOP): Likewise.
46149         [POSIX] (ENETDOWN): Likewise.
46150         [POSIX] (ENETUNREACH): Likewise.
46151         [POSIX] (ENOBUFS): Likewise.
46152         [POSIX] (ENODATA): Likewise.
46153         [POSIX] (ENOLINK): Likewise.
46154         [POSIX] (ENOMSG): Likewise.
46155         [POSIX] (ENOPROTOOPT): Likewise.
46156         [POSIX] (ENOSR): Likewise.
46157         [POSIX] (ENOSTR): Likewise.
46158         [POSIX] (ENOTCONN): Likewise.
46159         [POSIX] (ENOTSOCK): Likewise.
46160         [POSIX] (EOPNOTSUPP): Likewise.
46161         [POSIX] (EOVERFLOW): Likewise.
46162         [POSIX] (EPROTO): Likewise.
46163         [POSIX] (EPROTONOSUPPORT): Likewise.
46164         [POSIX] (EPROTOTYPE): Likewise.
46165         [POSIX] (ESTALE): Likewise.
46166         [POSIX] (ETIME): Likewise.
46167         [POSIX] (ETXTBSY): Likewise.
46168         [POSIX] (EWOULDBLOCK): Likewise.
46169         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
46170         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
46171         [POSIX] (SEEK_CUR): Likewise.
46172         [POSIX] (SEEK_END): Likewise.
46173         [POSIX || UNIX98] (mode_t): Do not require.
46174         [POSIX] (off_t): Likewise.
46175         [POSIX] (pid_t): Likewise.
46176         [POSIX] (sys/stat.h): Do not allow header.
46177         [POSIX] (unistd.h): Likewise.
46178         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
46179         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
46180         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
46181         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
46182         require.
46183         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
46184         sigevent): Specify elements.
46185         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
46186         entry.
46187         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
46188         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
46190         * conform/data/cpio.h-data [POSIX]: Disable whole file.
46191         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
46192         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
46193         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
46194         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
46195         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
46196         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
46197         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
46198         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
46199         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
46200         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
46201         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
46202         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
46203         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
46204         Likewise.
46205         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
46206         Likewise.
46207         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
46208         Likewise.
46209         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
46210         Likewise.
46211         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
46212         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
46213         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
46214         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
46215         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
46216         Specify lower bound on value.
46217         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
46218         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
46219         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
46220         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
46221         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
46222         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
46223         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
46224         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
46225         value.
46226         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
46227         as optional.
46228         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
46229         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
46230         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
46231         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
46232         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
46233         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
46234         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
46235         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
46236         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
46237         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
46238         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
46239         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
46240         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
46241         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
46242         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
46243         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
46244         entry.
46245         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
46246         optional.
46247         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
46248         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
46249         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
46250         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
46251         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
46252         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
46253         Likewise.
46254         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
46255         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
46256         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
46257         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
46258         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
46259         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
46260         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
46261         as optional.
46262         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
46263         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
46264         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
46265         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
46266         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
46267         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
46268         specify as optional.
46269         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
46270         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
46271         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
46272         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
46273         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
46274         [XPG3] (NL_LANGMAX): Likewise.
46275         [POSIX || XPG3] (NL_MSGMAX): Likewise.
46276         [POSIX || XPG3] (NL_NMAX): Likewise.
46277         [POSIX || XPG3] (NL_SETMAX): Likewise.
46278         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
46279         [XPG3] (NZERO): Likewise.
46280         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
46281         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
46282         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
46283         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
46284         (REG_ERANGE): Expect.
46285         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
46286         optional-constant.
46287         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
46288         Use (void) in prototype.
46289         [POSIX] (*_t): Allow.
46290         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
46291         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
46292         (WRDE_BADVAL): Expect.
46294         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
46295         expect.
46296         [XPG3 || XPG4] (O_RSYNC): Likewise.
46297         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
46298         Likewise.
46299         [XPG3 || XPG4] (pthread_sigmask): Likewise.
46300         [XPG3 || XPG4] (sigqueue): Likewise.
46301         [XPG3 || XPG4] (sigtimedwait): Likewise.
46302         [XPG3 || XPG4] (sigwaitinfo): Likewise.
46303         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
46304         [XPG3 || XPG4] (vsnprintf): Likewise.
46305         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
46306         Likewise.
46307         [XPG3 || XPG4] (blksize_t): Likewise.
46308         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
46309         Likewise.
46310         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
46311         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
46312         [XPG3 || XPG4] (struct itimerspec): Likewise.
46313         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
46314         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
46315         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
46316         [XPG3 || XPG4] (clockid_t): Likewise.
46317         [XPG3 || XPG4] (timer_t): Likewise.
46318         [XPG3 || XPG4] (clock_getres): Likewise.
46319         [XPG3 || XPG4] (clock_gettime): Likewise.
46320         [XPG3 || XPG4] (clock_settime): Likewise.
46321         [XPG3 || XPG4] (nanosleep): Likewise.
46322         [XPG3 || XPG4] (timer_create): Likewise.
46323         [XPG3 || XPG4] (timer_delete): Likewise.
46324         [XPG3 || XPG4] (timer_gettime): Likewise.
46325         [XPG3 || XPG4] (timer_getoverrun): Likewise.
46326         [XPG3 || XPG4] (timer_settime): Likewise.
46327         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
46328         [XPG3 || XPG4] (getlogin_r): Likewise.
46329         [XPG3 || XPG4] (pread): Likewise.
46330         [XPG3 || XPG4] (pthread_atfork): Likewise.
46331         [XPG3 || XPG4] (pwrite): Likewise.
46333         [BZ #14835]
46334         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
46335         <bits/siginfo.h>.
46337 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
46339         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
46340         finalizing MALLSTREAM.
46342         * sysdeps/mach/hurd/syncfs.c: New file.
46344 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46346         [BZ #14719]
46347         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
46348         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
46349         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
46350         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
46351         (_nss_dns_gethostbyname4_r): Likewise.
46352         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
46353         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
46355 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
46357         [BZ #13763]
46358         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
46360 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
46362         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
46363         * elf/cache.c (print_entry): Print ",AArch64" for
46364         FLAG_AARCH64_LIB64
46366         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
46367         * elf/cache.c (print_entry): Print ",hard-float" for
46368         FLAG_ARM_LIBHF.
46370 2012-11-18  David S. Miller  <davem@davemloft.net>
46372         With help from Joseph Myers.
46373         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
46374         cutoff to 2**-13.
46375         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
46376         cutoff to 2**-25.
46377         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
46378         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
46379         small.
46380         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
46381         * math/libm-test.inc (y0_test): New tests.
46382         (y1_test): New tests.
46383         * sysdeps/i386/fpu/libm-test-ulps: Update.
46384         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46385         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46387 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
46389         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
46390         64-bit targets.
46391         * configure: Regenerated.
46393 2012-11-17  David S. Miller  <davem@davemloft.net>
46395         [BZ #14811]
46396         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
46397         nonzero exponents with absolute value below 0x1p-128 to +/-
46398         0x1p-128.
46400 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
46402         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
46404         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
46406         * posix/getconf-speclist.c: New file.
46407         * posix/posix-envs.def: Likewise.
46408         * posix/confstr.c (START_ENV_GROUP): New macro.
46409         (END_ENV_GROUP): Likewise.
46410         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
46411         (KNOWN_PRESENT_ENV_STRING): Likewise.
46412         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
46413         (UNKNOWN_ENVIRONMENT): Likewise.
46414         (confstr): Include posix-envs.def instead of handling
46415         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
46416         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
46417         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
46418         (END_ENV_GROUP): Likewise.
46419         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
46420         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
46421         (UNKNOWN_ENVIRONMENT): Likewise.
46422         (__sysconf): Include posix-envs.def instead of handling associated
46423         cases directly here.
46424         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
46425         preprocessing getconf-speclist.c rather than running getconf or
46426         generating empty file.
46428 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
46430         * scripts/check-local-headers.sh: Ignore 'mach' headers.
46432 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
46434         [BZ #14672]
46435         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
46437 2012-11-16  David S. Miller  <davem@davemloft.net>
46439         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
46440         smaller than LDBL_EPSILON/2.0L, just return xm1.
46442 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
46444         * elf/tst-array1.c (init): Set constructor priority to 1000.
46445         (fini): Set destructor priority to 1000.
46446         * elf/tst-array2dep.c: Likewise.
46448 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46450         [BZ #11741]
46451         * libio/fileops.c (_IO_new_file_write): Correctly return error.
46452         (_IO_new_file_xsputn): Also return EOF if none of the input
46453         data was written when overflow failed.
46454         * libio/iopadn.c (_IO_padn): Likewise.
46455         * libio/iowpadn.c (_IO_wpadn): Likewise.
46456         * stdio-common/tst-put-error.c: Add copyright notice.
46457         (do_test): Add case for printing padded string.
46458         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
46459         _IO_padn returned error.
46460         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
46461         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
46462         return EOF.
46464 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46466         * libio/libioP.h: Add comment note that the references to C++
46467         bits are now obsolete.
46469 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46471         * math/libm-test.inc (check_complex): Use asprintf.
46473 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
46475         * debug/pcprofiledump.c (print_version): Update copyright year.
46476         * malloc/memusagestat.c (print_version): Likewise.
46478 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
46480         [BZ #14831]
46481         * elf/Makefile (tests): Add tst-audit8.
46482         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
46483         ($(objpfx)tst-audit8.out): New target.
46484         (tst-audit8-ENV): New variable.
46485         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
46486         audit if l_reloc_result is NULL.
46487         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
46488         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
46489         * elf/tst-audit8.c: New file.
46491 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46493         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
46494         * misc/Makefile (CFLAGS-select.c): Define.
46495         * posix/Makefile (CFLAGS-pause.c): Define.
46497 2012-11-13  David S. Miller  <davem@davemloft.net>
46499         * crypt/Makefile: Move test targets after toplevel Rules
46500         inclusion.  Grab any necessary sysdep routines when linking.
46501         * crypt/md5.c (md5_process_block): Remove define, we will always
46502         name it __md5_process_block.
46503         (md5_finish_ctx): Update md5_process_block call.
46504         (md5_stream): Likewise.
46505         (md5_process_bytes): Likewise.
46506         (md5_process_block): Rename to __md5_process_block and move to ...
46507         * crypt/md5-block.c: ... here.
46508         * crypt/sha256.c (sha256_process_block): Move to ...
46509         * crypt/sha256-block.c: ... here.
46510         * crypt/sha512.c (sha512_process_block): Move to ...
46511         * crypt/sha512-block.c: ... here.
46512         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
46513         path.
46514         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
46515         * sysdeps/sparc/sparc64/multiarch/Makefile
46516         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
46517         crypt subdir.
46518         (localedef-aux): Add md5 crypto assembler when in locale subdir.
46519         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
46520         multiarch changes.
46521         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
46522         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
46523         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
46524         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
46525         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
46526         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
46527         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
46528         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
46529         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
46530         file.
46531         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
46532         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
46533         file.
46534         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
46536 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
46538         * timezone/tzselect.ksh: Update from tzcode git revision
46539         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
46540         * timezone/zdump.c: Likewise.
46541         * timezone/zic.c: Likewise.
46542         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
46543         in TZVERSION setting, not $(PKGVERSION).
46544         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
46545         REPORT_BUGS_TO settings.
46547         [BZ #14838]
46548         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
46549         macro.
46551 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46553         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
46554         detection to immediately after _FP_ROUND().
46555         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
46556         bits are 0.
46558 2012-11-11  David S. Miller  <davem@davemloft.net>
46560         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
46561         inttypes.h
46562         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
46563         __close rather than their public counterparts.
46565 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
46567         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
46568         file.
46569         [UNIX98] (sem_timedwait): Do not expect.
46570         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
46571         [XPG4 || UNIX98] (sockatmark): Do not expect.
46572         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
46573         (clock_getcpuclockid): Do not expect.
46574         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
46575         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
46576         Do not expect.
46577         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
46578         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
46579         [UNIX98] (vwscanf): Likewise.
46580         [UNIX98] (vswscanf): Likewise.
46582 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
46584         * timezone/version.h: Remove file.
46585         * timezone/README: Do not refer to version.h.
46586         * timezone/Makefile ($(objpfx)zic.o): New dependency on
46587         $(objpfx)version.h.
46588         ($(objpfx)zdump.o): Likewise.
46589         ($(objpfx)version.h): New target.
46591         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
46592         2012i.
46593         * timezone/README: Don't mention modification to tzselect.ksh.
46594         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
46595         work on unmodified tzselect.ksh.  Substitute version numbers in
46596         tzselect.ksh.
46598         * Makefile (format-me): Remove.
46599         (INSTALL): Adjust indentation.  Use commands directly instead of
46600         using $(format-me).
46602         * aclocal.m4 (ACX_PKGVERSION): New macro.
46603         (ACX_BUGURL): Likewise.
46604         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
46605         (PKGVERSION): New AC_DEFINE_UNQUOTED.
46606         (REPORT_BUGS_TO): Likewise.
46607         * configure: Regenerated.
46608         * config.h.in (PKGVERSION): New macro.
46609         (REPORT_BUGS_TO): Likewise.
46610         * config.make.in (PKGVERSION): New variable.
46611         (PKGVERSION_TEXI): Likewise.
46612         (REPORT_BUGS_TO): Likewise.
46613         (REPORT_BUGS_TEXI): Likewise.
46614         * Makefile (format-me): Use -I$(common-objpfx)manual.
46615         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
46616         ($(common-objpfx)manual/%): New target.
46617         (manual/%): Remove target.
46618         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
46619         (print_version): Use PKGVERSION.
46620         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
46621         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
46622         and REPORT_BUGS_TO.
46623         ($(objpfx)xtrace): Likewise.
46624         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
46625         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
46626         (print_version): Use PKGVERSION.
46627         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
46628         (do_version): Use PKGVERSION.
46629         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
46630         REPORT_BUGS_TO.
46631         (common-ldd-rewrite): Likewise.
46632         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
46633         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
46634         (print_version): Use PKGVERSION.
46635         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
46636         * elf/pldd.c (argp_program_bug_address): Remove variable.
46637         (more_help): New function.
46638         (argp): Use more_help.
46639         (print_version): Use PKGVERSION.
46640         * elf/sln.c (main): Use PKGVERSION.
46641         (usage): Use REPORT_BUGS_TO.
46642         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
46643         (top level): Use PKGVERSION.
46644         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
46645         (print_version): Use PKGVERSION.
46646         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
46647         (print_version): Use PKGVERSION.
46648         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
46649         (print_version): Use PKGVERSION.
46650         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
46651         (print_version): Use PKGVERSION.
46652         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
46653         (print_version): Use PKGVERSION.
46654         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
46655         (print_version): Use PKGVERSION.
46656         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
46657         and BUGURL.
46658         ($(objpfx)memusage): Likewise.
46659         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
46660         (do_version): Use PKGVERSION.
46661         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
46662         (print_version): Use PKGVERSION.
46663         * malloc/mtrace.pl ($PACKAGE): Remove variable.
46664         ($PKGVERSION): New variable.
46665         ($REPORT_BUGS_TO): Likewise.
46666         (usage): Use $REPORT_BUGS_TO.
46667         (top level): Use $PKGVERSION.
46668         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
46669         ($(objpfx)pkgvers.texi): New rule.
46670         ($(objpfx)stamp-pkgvers): Likewise.
46671         * manual/install.texi: Include pkgvers.texi.
46672         (--with-pkgversion): Document new configure option.
46673         (--with-bugurl): Likewise.
46674         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
46675         than necessarily for this particular distribution.  Use
46676         REPORT_BUGS_TO for where to report bugs.
46677         * INSTALL: Regenerated.
46678         * manual/libc.texinfo: Include pkgvers.texi.
46679         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
46680         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
46681         (print_version): Use PKGVERSION.
46682         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
46683         (print_version): Use PKGVERSION.
46684         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
46685         (print_version): Use PKGVERSION.
46686         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
46687         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
46688         macro.
46689         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
46690         (print_version): Use PKGVERSION.
46691         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
46692         (print_version): Use PKGVERSION.
46693         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
46694         and PKGVERSION.
46696         * timezone/checktab.awk: Update from tzcode 2012i.
46697         * timezone/ialloc.c: Likewise.
46698         * timezone/private.h: Likewise.
46699         * timezone/scheck.c: Likewise.
46700         * timezone/tzfile.h: Likewise.
46701         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
46702         (TZVERSION): Hardcode tzcode version number.
46703         * timezone/zdump.c: Update from tzcode 2012i.
46704         * timezone/zic.c: Likewise.
46705         * timezone/version.h: New file.
46706         * timezone/README: Describe version.h.  Update upstream location.
46708         [BZ #14824]
46709         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
46710         (mktemp): Enable declaration.
46711         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
46712         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
46713         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
46714         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
46715         Likewise.
46716         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
46717         Likewise.
46718         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
46719         Likewise.
46720         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
46721         Likewise.
46722         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
46723         Likewise.
46724         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
46725         Likewise.
46727         [BZ #14821]
46728         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
46729         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
46730         for copies of such integer values.
46731         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
46732         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
46734 2012-11-09  Andreas Jaeger  <aj@suse.de>
46736         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
46737         definitions and declarations that are provided by
46738         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
46740 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46742         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
46743         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
46744         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
46745         definition.
46747 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46749         * elf/elf.h: Update comment before AArch64 relocations.
46751 2012-11-07  David S. Miller  <davem@davemloft.net>
46753         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
46754         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
46755         (__start_context): Declare.
46756         (__makecontext_ret): Delete.
46757         (__makecontext): Hook up __start_context instead of
46758         __makecontext_ret.
46759         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
46760         (sysdep_routines): Add __start_context when in stdlib.
46762 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
46764         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
46765         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
46766         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
46767         hardcoded "nm".
46768         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
46769         (READELF): New variable.  Use it instead of hardcoded "readelf".
46771 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
46773         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
46774         * sysdeps/x86/Makefile: Here.
46775         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
46776         * sysdeps/x86/tst-xmmymm.sh: This.
46778 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
46780         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
46781         expectations.
46782         [UNIX98] (pthread_barrier_t): Do not expect.
46783         [UNIX98] (pthread_barrierattr_t): Likewise.
46784         [UNIX98] (pthread_spinlock_t): Likewise.
46785         [UNIX98] (pthread_barrier_destroy): Likewise.
46786         [UNIX98] (pthread_barrier_init): Likewise.
46787         [UNIX98] (pthread_barrier_wait): Likewise.
46788         [UNIX98] (pthread_barrierattr_destroy): Likewise.
46789         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
46790         [UNIX98] (pthread_barrierattr_init): Likewise.
46791         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
46792         [UNIX98] (pthread_getcpuclockid): Likewise.
46793         [UNIX98] (pthread_mutex_timedlock): Likewise.
46794         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
46795         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
46796         [UNIX98] (pthread_sigmask): Likewise.
46797         [UNIX98] (pthread_spin_destroy): Likewise.
46798         [UNIX98] (pthread_spin_init): Likewise.
46799         [UNIX98] (pthread_spin_lock): Likewise.
46800         [UNIX98] (pthread_spin_trylock): Likewise.
46801         [UNIX98] (pthread_spin_unlock): Likewise.
46802         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
46803         Do not expect.
46804         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
46805         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
46806         [XPG3 || XPG4] (pthread_cond_t): Likewise.
46807         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
46808         [XPG3 || XPG4] (pthread_key_t): Likewise.
46809         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
46810         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
46811         [XPG3 || XPG4] (pthread_once_t): Likewise.
46812         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
46813         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
46814         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
46815         [XPG3 || XPG4] (pthread_t): Likewise.
46817         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
46818         not expect.
46819         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
46821         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
46822         Change function return type to int.
46824         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
46825         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
46826         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
46827         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
46828         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
46829         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
46830         [!POSIX] (posix_madvise): Likewise.
46831         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
46832         && !UNIX98].
46833         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
46834         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
46835         (mode_t): Likewise.
46836         (posix_mem_offset): Likewise.
46837         (posix_typed_mem_get_info): Likewise.
46838         (posix_typed_mem_open): Likewise.
46840         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
46841         Change condition to [XOPEN2K8].
46843         * conform/conformtest.pl: Preprocess allow-header data with -x c
46844         instead of from stdin.
46845         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
46846         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
46847         [C99-based standards] (cerfc): Likewise.
46848         [C99-based standards] (cexp2): Likewise.
46849         [C99-based standards] (cexpm1): Likewise.
46850         [C99-based standards] (clog10): Likewise.
46851         [C99-based standards] (clog1p): Likewise.
46852         [C99-based standards] (clog2): Likewise.
46853         [C99-based standards] (clgamma): Likewise.
46854         [C99-based standards] (ctgamma): Likewise.
46855         [C99-based standards] (cerff): Likewise.
46856         [C99-based standards] (cerfcf): Likewise.
46857         [C99-based standards] (cexp2f): Likewise.
46858         [C99-based standards] (cexpm1f): Likewise.
46859         [C99-based standards] (clog10f): Likewise.
46860         [C99-based standards] (clog1pf): Likewise.
46861         [C99-based standards] (clog2f): Likewise.
46862         [C99-based standards] (clgammaf): Likewise.
46863         [C99-based standards] (ctgammaf): Likewise.
46864         [C99-based standards] (cerfl): Likewise.
46865         [C99-based standards] (cerfcl): Likewise.
46866         [C99-based standards] (cexp2l): Likewise.
46867         [C99-based standards] (cexpm1l): Likewise.
46868         [C99-based standards] (clog10l): Likewise.
46869         [C99-based standards] (clog1pl): Likewise.
46870         [C99-based standards] (clog2l): Likewise.
46871         [C99-based standards] (clgammal): Likewise.
46872         [C99-based standards] (ctgammal): Likewise.
46873         * conform/data/inttypes.h-data [C99-based standards]: Include
46874         stdint.h-data.  Remove all expectations for stdint.h contents.
46875         [C99-based standards] (PRI*): Do not allow.
46876         [C99-based standards] (SCN*): Likewise.
46877         [C99-based standards] (*_t): Likewise.
46878         [C99-based-standards] (PRId8): Expect macro.
46879         [C99-based-standards] (PRIi8): Likewise.
46880         [C99-based-standards] (PRIo8): Likewise.
46881         [C99-based-standards] (PRIu8): Likewise.
46882         [C99-based-standards] (PRIx8): Likewise.
46883         [C99-based-standards] (PRIX8): Likewise.
46884         [C99-based-standards] (SCNd8): Likewise.
46885         [C99-based-standards] (SCNi8): Likewise.
46886         [C99-based-standards] (SCNo8): Likewise.
46887         [C99-based-standards] (SCNu8): Likewise.
46888         [C99-based-standards] (SCNx8): Likewise.
46889         [C99-based-standards] (PRIdLEAST8): Likewise.
46890         [C99-based-standards] (PRIiLEAST8): Likewise.
46891         [C99-based-standards] (PRIoLEAST8): Likewise.
46892         [C99-based-standards] (PRIuLEAST8): Likewise.
46893         [C99-based-standards] (PRIxLEAST8): Likewise.
46894         [C99-based-standards] (PRIXLEAST8): Likewise.
46895         [C99-based-standards] (SCNdLEAST8): Likewise.
46896         [C99-based-standards] (SCNiLEAST8): Likewise.
46897         [C99-based-standards] (SCNoLEAST8): Likewise.
46898         [C99-based-standards] (SCNuLEAST8): Likewise.
46899         [C99-based-standards] (SCNxLEAST8): Likewise.
46900         [C99-based-standards] (PRIdFAST8): Likewise.
46901         [C99-based-standards] (PRIiFAST8): Likewise.
46902         [C99-based-standards] (PRIoFAST8): Likewise.
46903         [C99-based-standards] (PRIuFAST8): Likewise.
46904         [C99-based-standards] (PRIxFAST8): Likewise.
46905         [C99-based-standards] (PRIXFAST8): Likewise.
46906         [C99-based-standards] (SCNdFAST8): Likewise.
46907         [C99-based-standards] (SCNiFAST8): Likewise.
46908         [C99-based-standards] (SCNoFAST8): Likewise.
46909         [C99-based-standards] (SCNuFAST8): Likewise.
46910         [C99-based-standards] (SCNxFAST8): Likewise.
46911         [C99-based-standards] (PRId16): Likewise.
46912         [C99-based-standards] (PRIi16): Likewise.
46913         [C99-based-standards] (PRIo16): Likewise.
46914         [C99-based-standards] (PRIu16): Likewise.
46915         [C99-based-standards] (PRIx16): Likewise.
46916         [C99-based-standards] (PRIX16): Likewise.
46917         [C99-based-standards] (SCNd16): Likewise.
46918         [C99-based-standards] (SCNi16): Likewise.
46919         [C99-based-standards] (SCNo16): Likewise.
46920         [C99-based-standards] (SCNu16): Likewise.
46921         [C99-based-standards] (SCNx16): Likewise.
46922         [C99-based-standards] (PRIdLEAST16): Likewise.
46923         [C99-based-standards] (PRIiLEAST16): Likewise.
46924         [C99-based-standards] (PRIoLEAST16): Likewise.
46925         [C99-based-standards] (PRIuLEAST16): Likewise.
46926         [C99-based-standards] (PRIxLEAST16): Likewise.
46927         [C99-based-standards] (PRIXLEAST16): Likewise.
46928         [C99-based-standards] (SCNdLEAST16): Likewise.
46929         [C99-based-standards] (SCNiLEAST16): Likewise.
46930         [C99-based-standards] (SCNoLEAST16): Likewise.
46931         [C99-based-standards] (SCNuLEAST16): Likewise.
46932         [C99-based-standards] (SCNxLEAST16): Likewise.
46933         [C99-based-standards] (PRIdFAST16): Likewise.
46934         [C99-based-standards] (PRIiFAST16): Likewise.
46935         [C99-based-standards] (PRIoFAST16): Likewise.
46936         [C99-based-standards] (PRIuFAST16): Likewise.
46937         [C99-based-standards] (PRIxFAST16): Likewise.
46938         [C99-based-standards] (PRIXFAST16): Likewise.
46939         [C99-based-standards] (SCNdFAST16): Likewise.
46940         [C99-based-standards] (SCNiFAST16): Likewise.
46941         [C99-based-standards] (SCNoFAST16): Likewise.
46942         [C99-based-standards] (SCNuFAST16): Likewise.
46943         [C99-based-standards] (SCNxFAST16): Likewise.
46944         [C99-based-standards] (PRId32): Likewise.
46945         [C99-based-standards] (PRIi32): Likewise.
46946         [C99-based-standards] (PRIo32): Likewise.
46947         [C99-based-standards] (PRIu32): Likewise.
46948         [C99-based-standards] (PRIx32): Likewise.
46949         [C99-based-standards] (PRIX32): Likewise.
46950         [C99-based-standards] (SCNd32): Likewise.
46951         [C99-based-standards] (SCNi32): Likewise.
46952         [C99-based-standards] (SCNo32): Likewise.
46953         [C99-based-standards] (SCNu32): Likewise.
46954         [C99-based-standards] (SCNx32): Likewise.
46955         [C99-based-standards] (PRIdLEAST32): Likewise.
46956         [C99-based-standards] (PRIiLEAST32): Likewise.
46957         [C99-based-standards] (PRIoLEAST32): Likewise.
46958         [C99-based-standards] (PRIuLEAST32): Likewise.
46959         [C99-based-standards] (PRIxLEAST32): Likewise.
46960         [C99-based-standards] (PRIXLEAST32): Likewise.
46961         [C99-based-standards] (SCNdLEAST32): Likewise.
46962         [C99-based-standards] (SCNiLEAST32): Likewise.
46963         [C99-based-standards] (SCNoLEAST32): Likewise.
46964         [C99-based-standards] (SCNuLEAST32): Likewise.
46965         [C99-based-standards] (SCNxLEAST32): Likewise.
46966         [C99-based-standards] (PRIdFAST32): Likewise.
46967         [C99-based-standards] (PRIiFAST32): Likewise.
46968         [C99-based-standards] (PRIoFAST32): Likewise.
46969         [C99-based-standards] (PRIuFAST32): Likewise.
46970         [C99-based-standards] (PRIxFAST32): Likewise.
46971         [C99-based-standards] (PRIXFAST32): Likewise.
46972         [C99-based-standards] (SCNdFAST32): Likewise.
46973         [C99-based-standards] (SCNiFAST32): Likewise.
46974         [C99-based-standards] (SCNoFAST32): Likewise.
46975         [C99-based-standards] (SCNuFAST32): Likewise.
46976         [C99-based-standards] (SCNxFAST32): Likewise.
46977         [C99-based-standards] (PRId64): Likewise.
46978         [C99-based-standards] (PRIi64): Likewise.
46979         [C99-based-standards] (PRIo64): Likewise.
46980         [C99-based-standards] (PRIu64): Likewise.
46981         [C99-based-standards] (PRIx64): Likewise.
46982         [C99-based-standards] (PRIX64): Likewise.
46983         [C99-based-standards] (SCNd64): Likewise.
46984         [C99-based-standards] (SCNi64): Likewise.
46985         [C99-based-standards] (SCNo64): Likewise.
46986         [C99-based-standards] (SCNu64): Likewise.
46987         [C99-based-standards] (SCNx64): Likewise.
46988         [C99-based-standards] (PRIdLEAST64): Likewise.
46989         [C99-based-standards] (PRIiLEAST64): Likewise.
46990         [C99-based-standards] (PRIoLEAST64): Likewise.
46991         [C99-based-standards] (PRIuLEAST64): Likewise.
46992         [C99-based-standards] (PRIxLEAST64): Likewise.
46993         [C99-based-standards] (PRIXLEAST64): Likewise.
46994         [C99-based-standards] (SCNdLEAST64): Likewise.
46995         [C99-based-standards] (SCNiLEAST64): Likewise.
46996         [C99-based-standards] (SCNoLEAST64): Likewise.
46997         [C99-based-standards] (SCNuLEAST64): Likewise.
46998         [C99-based-standards] (SCNxLEAST64): Likewise.
46999         [C99-based-standards] (PRIdFAST64): Likewise.
47000         [C99-based-standards] (PRIiFAST64): Likewise.
47001         [C99-based-standards] (PRIoFAST64): Likewise.
47002         [C99-based-standards] (PRIuFAST64): Likewise.
47003         [C99-based-standards] (PRIxFAST64): Likewise.
47004         [C99-based-standards] (PRIXFAST64): Likewise.
47005         [C99-based-standards] (SCNdFAST64): Likewise.
47006         [C99-based-standards] (SCNiFAST64): Likewise.
47007         [C99-based-standards] (SCNoFAST64): Likewise.
47008         [C99-based-standards] (SCNuFAST64): Likewise.
47009         [C99-based-standards] (SCNxFAST64): Likewise.
47010         [C99-based-standards] (PRIdMAX): Likewise.
47011         [C99-based-standards] (PRIiMAX): Likewise.
47012         [C99-based-standards] (PRIoMAX): Likewise.
47013         [C99-based-standards] (PRIuMAX): Likewise.
47014         [C99-based-standards] (PRIxMAX): Likewise.
47015         [C99-based-standards] (PRIXMAX): Likewise.
47016         [C99-based-standards] (SCNdMAX): Likewise.
47017         [C99-based-standards] (SCNiMAX): Likewise.
47018         [C99-based-standards] (SCNoMAX): Likewise.
47019         [C99-based-standards] (SCNuMAX): Likewise.
47020         [C99-based-standards] (SCNxMAX): Likewise.
47021         [C99-based-standards] (PRIdPTR): Likewise.
47022         [C99-based-standards] (PRIiPTR): Likewise.
47023         [C99-based-standards] (PRIoPTR): Likewise.
47024         [C99-based-standards] (PRIuPTR): Likewise.
47025         [C99-based-standards] (PRIxPTR): Likewise.
47026         [C99-based-standards] (PRIXPTR): Likewise.
47027         [C99-based-standards] (SCNdPTR): Likewise.
47028         [C99-based-standards] (SCNiPTR): Likewise.
47029         [C99-based-standards] (SCNoPTR): Likewise.
47030         [C99-based-standards] (SCNuPTR): Likewise.
47031         [C99-based-standards] (SCNxPTR): Likewise.
47032         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
47033         allow.
47034         * conform/data/stdint.h-data: Update comments to clarify
47035         requirements.
47036         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
47037         type.
47038         [C99-based standards] (INT8_MAX): Likewise.
47039         [C99-based standards] (INT16_MIN): Likewise.
47040         [C99-based standards] (INT16_MAX): Likewise.
47041         [C99-based standards] (INT32_MIN): Likewise.
47042         [C99-based standards] (INT32_MAX): Likewise.
47043         [C99-based standards] (INT64_MIN): Likewise.
47044         [C99-based standards] (INT64_MAX): Likewise.
47045         [C99-based standards] (UINT8_MAX): Likewise.
47046         [C99-based standards] (UINT16_MAX): Likewise.
47047         [C99-based standards] (UINT32_MAX): Likewise.
47048         [C99-based standards] (UINT64_MAX): Likewise.
47049         [C99-based standards] (INT_LEAST8_MIN): Likewise.
47050         [C99-based standards] (INT_LEAST8_MAX): Likewise.
47051         [C99-based standards] (INT_LEAST16_MIN): Likewise.
47052         [C99-based standards] (INT_LEAST16_MAX): Likewise.
47053         [C99-based standards] (INT_LEAST32_MIN): Likewise.
47054         [C99-based standards] (INT_LEAST32_MAX): Likewise.
47055         [C99-based standards] (INT_LEAST64_MIN): Likewise.
47056         [C99-based standards] (INT_LEAST64_MAX): Likewise.
47057         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
47058         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
47059         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
47060         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
47061         [C99-based standards] (INT_FAST8_MIN): Likewise.
47062         [C99-based standards] (INT_FAST8_MAX): Likewise.
47063         [C99-based standards] (INT_FAST16_MIN): Likewise.
47064         [C99-based standards] (INT_FAST16_MAX): Likewise.
47065         [C99-based standards] (INT_FAST32_MIN): Likewise.
47066         [C99-based standards] (INT_FAST32_MAX): Likewise.
47067         [C99-based standards] (INT_FAST64_MIN): Likewise.
47068         [C99-based standards] (INT_FAST64_MAX): Likewise.
47069         [C99-based standards] (UINT_FAST8_MAX): Likewise.
47070         [C99-based standards] (UINT_FAST16_MAX): Likewise.
47071         [C99-based standards] (UINT_FAST32_MAX): Likewise.
47072         [C99-based standards] (UINT_FAST64_MAX): Likewise.
47073         [C99-based standards] (INTPTR_MIN): Likewise.
47074         [C99-based standards] (INTPTR_MAX): Likewise.
47075         [C99-based standards] (UINTPTR_MAX): Likewise.
47076         [C99-based standards] (INTMAX_MIN): Likewise.
47077         [C99-based standards] (INTMAX_MAX): Likewise.
47078         [C99-based standards] (UINTMAX_MAX): Likewise.
47079         [C99-based standards] (PTRDIFF_MIN): Likewise.
47080         [C99-based standards] (PTRDIFF_MAX): Likewise.
47081         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
47082         [C99-based standards] (SIZE_MAX): Likewise.
47083         [C99-based standards] (WCHAR_MAX): Likewise.
47084         [C99-based standards] (WINT_MAX): Likewise.
47085         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
47086         constraint on value.
47087         [C99-based standards] (WCHAR_MIN): Likewise.
47088         [C99-based standards] (WINT_MIN): Likewise.
47089         [C99-based standards] (*_t): Allow.
47090         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
47091         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
47092         Include math.h-data and complex.h-data.  Remove all expectations
47093         of math.h and complex.h contents.
47094         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
47095         at end of line.
47096         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
47097         (struct tm): Expect tag.
47098         [C99-based-standards] (wcstof): Expect function.
47099         [C99-based-standards] (wcstold): Likewise.
47100         [C99-based-standards] (wcstoll): Likewise.
47101         [C99-based-standards] (wcstoull): Likewise.
47102         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
47103         macro-int-constant.  Specify type.
47104         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
47105         constraint on value.
47106         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
47107         Specify type.
47108         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
47109         Specify value.
47110         [ISO C standards]: Do not allow headers.
47111         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
47112         wcs[abcdefghijklmnopqrstuvwxyz]*.
47113         [ISO C standards] (*_t): Do not allow.
47114         * conform/data/wctype.h-data [C99-based standards] (iswblank):
47115         Expect function.
47116         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
47117         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
47118         Specify type.
47119         [ISO C standards]: Do not allow headers.
47120         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
47121         is[abcdefghijklmnopqrstuvwxyz]*.
47122         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
47123         to[abcdefghijklmnopqrstuvwxyz]*.
47124         [ISO C standards] (*_t): Do not allow.
47125         * conform/data/stdalign.h-data: New file.
47126         * conform/data/stdbool.h-data: Likewise.
47127         * conform/data/stdnoreturn.h-data: Likewise.
47129 2012-11-07  Roland McGrath  <roland@hack.frob.com>
47131         [BZ #14815]
47132         * manual/filesys.texi (Directory Entries): Typo fix.
47133         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
47135 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47137         * elf/elf.h (EM_AARCH64): New macro.
47138         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
47139         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
47140         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
47141         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
47142         (R_AARCH64_TLSDESC): Likewise.
47143         (NT_ARM_TLS): Likewise.
47144         (NT_ARM_HW_BREAK): Likewise.
47145         (NT_ARM_HW_WATCH): Likewise.
47147 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
47149         [BZ #14811]
47150         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
47151         (__ieee754_powl): Saturate nonzero exponents with absolute value
47152         below 0x1p-79 to +/- 0x1p-79.
47153         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
47154         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
47155         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
47156         nonzero exponents with absolute value below 0x1p-32 to +/-
47157         0x1p-32.
47158         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
47159         (__ieee754_powl): Saturate nonzero exponents with absolute value
47160         below 0x1p-79 to +/- 0x1p-79.
47161         * math/libm-test.inc (pow_test): Add more tests.
47163 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47165         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
47166         _dl_s390_cap_flags with kernel. Increase string length.
47167         (_dl_s390_platforms): Add z196 and zEC12.
47169 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
47171         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
47172         Change XOPEN21K to XOPEN2K.
47174 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
47176         * string/memmove.c: Use memcpy when possible.
47178 2012-11-06  Andreas Jaeger  <aj@suse.de>
47180         * po/eo.po: Update from translation team.
47182 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
47184         [BZ #14793]
47185         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
47186         exponent and small x and y exponents, scale x or y up.  Increase
47187         by 2 the exponent used in scaling up.
47188         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
47189         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47190         * math/libm-test.inc (fma_test): Add more tests.
47191         (fma_test_towardzero): Likewise.
47192         (fma_test_downward): Likewise.
47193         (fma_test_upward): Likewise.
47195 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
47197         [BZ #14805]
47198         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
47199         fenv_t *.
47201         [BZ #14801]
47202         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
47203         namespace for names of struct fields.
47204         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
47205         fenv_t fields.
47206         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
47207         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
47209 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47211         [BZ #3665]
47212         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
47214 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
47216         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
47217         PTR_DEMANGLE.
47219         [BZ #5246]
47220         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
47221         PTR_DEMANGLE.
47223 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
47225         [BZ #14797]
47226         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
47227         definitely overflow as x * y not x * y + z.
47228         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
47229         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47230         * math/libm-test.inc (fma_test): Add more tests.
47231         (fma_test_towardzero): Likewise.
47232         (fma_test_downward): Likewise.
47233         (fma_test_upward): Likewise.
47235 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
47237         [BZ #157]
47239         * include/stub-tag.h: Remove file.
47240         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
47241         '#include' of it.
47242         * manual/maint.texi (Porting): Don't reference it.
47243         * Makerules ($(objpfx)stubs): Likewise.
47244         * dirent/closedir.c: Don't include <stub-tag.h>.
47245         * dirent/dirfd.c: Likewise.
47246         * dirent/fdopendir.c: Likewise.
47247         * dirent/getdents.c: Likewise.
47248         * dirent/getdents64.c: Likewise.
47249         * dirent/opendir.c: Likewise.
47250         * dirent/readdir.c: Likewise.
47251         * dirent/readdir64.c: Likewise.
47252         * dirent/readdir64_r.c: Likewise.
47253         * dirent/readdir_r.c: Likewise.
47254         * dirent/rewinddir.c: Likewise.
47255         * dirent/seekdir.c: Likewise.
47256         * dirent/telldir.c: Likewise.
47257         * gmon/profil.c: Likewise.
47258         * grp/setgroups.c: Likewise.
47259         * inet/if_index.c: Likewise.
47260         * io/access.c: Likewise.
47261         * io/chdir.c: Likewise.
47262         * io/chmod.c: Likewise.
47263         * io/chown.c: Likewise.
47264         * io/close.c: Likewise.
47265         * io/dup.c: Likewise.
47266         * io/dup2.c: Likewise.
47267         * io/dup3.c: Likewise.
47268         * io/euidaccess.c: Likewise.
47269         * io/faccessat.c: Likewise.
47270         * io/fchdir.c: Likewise.
47271         * io/fchmod.c: Likewise.
47272         * io/fchmodat.c: Likewise.
47273         * io/fchown.c: Likewise.
47274         * io/fchownat.c: Likewise.
47275         * io/fcntl.c: Likewise.
47276         * io/flock.c: Likewise.
47277         * io/fstatfs.c: Likewise.
47278         * io/fstatfs64.c: Likewise.
47279         * io/fstatvfs.c: Likewise.
47280         * io/fstatvfs64.c: Likewise.
47281         * io/futimens.c: Likewise.
47282         * io/fxstat.c: Likewise.
47283         * io/fxstat64.c: Likewise.
47284         * io/fxstatat.c: Likewise.
47285         * io/fxstatat64.c: Likewise.
47286         * io/getcwd.c: Likewise.
47287         * io/isatty.c: Likewise.
47288         * io/lchmod.c: Likewise.
47289         * io/lchown.c: Likewise.
47290         * io/link.c: Likewise.
47291         * io/linkat.c: Likewise.
47292         * io/lseek.c: Likewise.
47293         * io/lseek64.c: Likewise.
47294         * io/lxstat64.c: Likewise.
47295         * io/mkdir.c: Likewise.
47296         * io/mkdirat.c: Likewise.
47297         * io/mkfifo.c: Likewise.
47298         * io/mkfifoat.c: Likewise.
47299         * io/open.c: Likewise.
47300         * io/open64.c: Likewise.
47301         * io/openat.c: Likewise.
47302         * io/openat64.c: Likewise.
47303         * io/pipe.c: Likewise.
47304         * io/pipe2.c: Likewise.
47305         * io/poll.c: Likewise.
47306         * io/posix_fadvise.c: Likewise.
47307         * io/posix_fadvise64.c: Likewise.
47308         * io/posix_fallocate.c: Likewise.
47309         * io/posix_fallocate64.c: Likewise.
47310         * io/read.c: Likewise.
47311         * io/readlink.c: Likewise.
47312         * io/readlinkat.c: Likewise.
47313         * io/rmdir.c: Likewise.
47314         * io/sendfile.c: Likewise.
47315         * io/sendfile64.c: Likewise.
47316         * io/statfs.c: Likewise.
47317         * io/statfs64.c: Likewise.
47318         * io/statvfs.c: Likewise.
47319         * io/statvfs64.c: Likewise.
47320         * io/symlink.c: Likewise.
47321         * io/symlinkat.c: Likewise.
47322         * io/ttyname.c: Likewise.
47323         * io/ttyname_r.c: Likewise.
47324         * io/umask.c: Likewise.
47325         * io/unlink.c: Likewise.
47326         * io/unlinkat.c: Likewise.
47327         * io/utime.c: Likewise.
47328         * io/utimensat.c: Likewise.
47329         * io/write.c: Likewise.
47330         * io/xmknod.c: Likewise.
47331         * io/xmknodat.c: Likewise.
47332         * io/xstat.c: Likewise.
47333         * io/xstat64.c: Likewise.
47334         * login/getpt.c: Likewise.
47335         * login/grantpt.c: Likewise.
47336         * login/unlockpt.c: Likewise.
47337         * math/e_acoshl.c: Likewise.
47338         * math/e_acosl.c: Likewise.
47339         * math/e_asinl.c: Likewise.
47340         * math/e_atan2l.c: Likewise.
47341         * math/e_atanhl.c: Likewise.
47342         * math/e_coshl.c: Likewise.
47343         * math/e_expl.c: Likewise.
47344         * math/e_fmodl.c: Likewise.
47345         * math/e_gammal_r.c: Likewise.
47346         * math/e_hypotl.c: Likewise.
47347         * math/e_j0l.c: Likewise.
47348         * math/e_j1l.c: Likewise.
47349         * math/e_jnl.c: Likewise.
47350         * math/e_lgammal_r.c: Likewise.
47351         * math/e_log10l.c: Likewise.
47352         * math/e_log2l.c: Likewise.
47353         * math/e_logl.c: Likewise.
47354         * math/e_powl.c: Likewise.
47355         * math/e_rem_pio2l.c: Likewise.
47356         * math/e_sinhl.c: Likewise.
47357         * math/e_sqrtl.c: Likewise.
47358         * math/fclrexcpt.c: Likewise.
47359         * math/fedisblxcpt.c: Likewise.
47360         * math/feenablxcpt.c: Likewise.
47361         * math/fegetenv.c: Likewise.
47362         * math/fegetexcept.c: Likewise.
47363         * math/fegetround.c: Likewise.
47364         * math/feholdexcpt.c: Likewise.
47365         * math/fesetenv.c: Likewise.
47366         * math/fesetround.c: Likewise.
47367         * math/feupdateenv.c: Likewise.
47368         * math/fgetexcptflg.c: Likewise.
47369         * math/fraiseexcpt.c: Likewise.
47370         * math/fsetexcptflg.c: Likewise.
47371         * math/ftestexcept.c: Likewise.
47372         * math/k_cosl.c: Likewise.
47373         * math/k_rem_pio2l.c: Likewise.
47374         * math/k_sinl.c: Likewise.
47375         * math/k_tanl.c: Likewise.
47376         * math/s_asinhl.c: Likewise.
47377         * math/s_atanl.c: Likewise.
47378         * math/s_cbrtl.c: Likewise.
47379         * math/s_erfl.c: Likewise.
47380         * math/s_expm1l.c: Likewise.
47381         * math/s_log1pl.c: Likewise.
47382         * math/s_tanhl.c: Likewise.
47383         * misc/acct.c: Likewise.
47384         * misc/brk.c: Likewise.
47385         * misc/chflags.c: Likewise.
47386         * misc/chroot.c: Likewise.
47387         * misc/fchflags.c: Likewise.
47388         * misc/fgetxattr.c: Likewise.
47389         * misc/flistxattr.c: Likewise.
47390         * misc/fremovexattr.c: Likewise.
47391         * misc/fsetxattr.c: Likewise.
47392         * misc/fsync.c: Likewise.
47393         * misc/ftruncate.c: Likewise.
47394         * misc/futimes.c: Likewise.
47395         * misc/futimesat.c: Likewise.
47396         * misc/getdomain.c: Likewise.
47397         * misc/getdtsz.c: Likewise.
47398         * misc/gethostid.c: Likewise.
47399         * misc/gethostname.c: Likewise.
47400         * misc/getloadavg.c: Likewise.
47401         * misc/getpagesize.c: Likewise.
47402         * misc/getsysstats.c: Likewise.
47403         * misc/getxattr.c: Likewise.
47404         * misc/gtty.c: Likewise.
47405         * misc/ioctl.c: Likewise.
47406         * misc/lgetxattr.c: Likewise.
47407         * misc/listxattr.c: Likewise.
47408         * misc/llistxattr.c: Likewise.
47409         * misc/lremovexattr.c: Likewise.
47410         * misc/lsetxattr.c: Likewise.
47411         * misc/lutimes.c: Likewise.
47412         * misc/madvise.c: Likewise.
47413         * misc/mincore.c: Likewise.
47414         * misc/mlock.c: Likewise.
47415         * misc/mlockall.c: Likewise.
47416         * misc/mmap.c: Likewise.
47417         * misc/mprotect.c: Likewise.
47418         * misc/msync.c: Likewise.
47419         * misc/munlock.c: Likewise.
47420         * misc/munlockall.c: Likewise.
47421         * misc/munmap.c: Likewise.
47422         * misc/preadv.c: Likewise.
47423         * misc/preadv64.c: Likewise.
47424         * misc/ptrace.c: Likewise.
47425         * misc/pwritev.c: Likewise.
47426         * misc/pwritev64.c: Likewise.
47427         * misc/readv.c: Likewise.
47428         * misc/reboot.c: Likewise.
47429         * misc/remap_file_pages.c: Likewise.
47430         * misc/removexattr.c: Likewise.
47431         * misc/revoke.c: Likewise.
47432         * misc/select.c: Likewise.
47433         * misc/setdomain.c: Likewise.
47434         * misc/setegid.c: Likewise.
47435         * misc/seteuid.c: Likewise.
47436         * misc/sethostid.c: Likewise.
47437         * misc/sethostname.c: Likewise.
47438         * misc/setregid.c: Likewise.
47439         * misc/setreuid.c: Likewise.
47440         * misc/setxattr.c: Likewise.
47441         * misc/sstk.c: Likewise.
47442         * misc/stty.c: Likewise.
47443         * misc/swapoff.c: Likewise.
47444         * misc/swapon.c: Likewise.
47445         * misc/sync.c: Likewise.
47446         * misc/syncfs.c: Likewise.
47447         * misc/syscall.c: Likewise.
47448         * misc/truncate.c: Likewise.
47449         * misc/ualarm.c: Likewise.
47450         * misc/usleep.c: Likewise.
47451         * misc/ustat.c: Likewise.
47452         * misc/utimes.c: Likewise.
47453         * misc/vhangup.c: Likewise.
47454         * misc/writev.c: Likewise.
47455         * posix/_exit.c: Likewise.
47456         * posix/alarm.c: Likewise.
47457         * posix/execve.c: Likewise.
47458         * posix/fexecve.c: Likewise.
47459         * posix/fork.c: Likewise.
47460         * posix/fpathconf.c: Likewise.
47461         * posix/getaddrinfo.c: Likewise.
47462         * posix/getegid.c: Likewise.
47463         * posix/geteuid.c: Likewise.
47464         * posix/getgid.c: Likewise.
47465         * posix/getgroups.c: Likewise.
47466         * posix/getlogin.c: Likewise.
47467         * posix/getlogin_r.c: Likewise.
47468         * posix/getpgid.c: Likewise.
47469         * posix/getpid.c: Likewise.
47470         * posix/getppid.c: Likewise.
47471         * posix/getresgid.c: Likewise.
47472         * posix/getresuid.c: Likewise.
47473         * posix/getsid.c: Likewise.
47474         * posix/getuid.c: Likewise.
47475         * posix/glob64.c: Likewise.
47476         * posix/nanosleep.c: Likewise.
47477         * posix/pathconf.c: Likewise.
47478         * posix/pause.c: Likewise.
47479         * posix/posix_madvise.c: Likewise.
47480         * posix/pread.c: Likewise.
47481         * posix/pread64.c: Likewise.
47482         * posix/pwrite.c: Likewise.
47483         * posix/pwrite64.c: Likewise.
47484         * posix/sched_getaffinity.c: Likewise.
47485         * posix/sched_getp.c: Likewise.
47486         * posix/sched_gets.c: Likewise.
47487         * posix/sched_primax.c: Likewise.
47488         * posix/sched_primin.c: Likewise.
47489         * posix/sched_rr_gi.c: Likewise.
47490         * posix/sched_setaffinity.c: Likewise.
47491         * posix/sched_setp.c: Likewise.
47492         * posix/sched_sets.c: Likewise.
47493         * posix/sched_yield.c: Likewise.
47494         * posix/setgid.c: Likewise.
47495         * posix/setlogin.c: Likewise.
47496         * posix/setpgid.c: Likewise.
47497         * posix/setresgid.c: Likewise.
47498         * posix/setresuid.c: Likewise.
47499         * posix/setsid.c: Likewise.
47500         * posix/setuid.c: Likewise.
47501         * posix/sleep.c: Likewise.
47502         * posix/spawni.c: Likewise.
47503         * posix/sysconf.c: Likewise.
47504         * posix/times.c: Likewise.
47505         * posix/wait.c: Likewise.
47506         * posix/wait3.c: Likewise.
47507         * posix/wait4.c: Likewise.
47508         * posix/waitpid.c: Likewise.
47509         * resolv/gai_sigqueue.c: Likewise.
47510         * resource/getpriority.c: Likewise.
47511         * resource/getrlimit.c: Likewise.
47512         * resource/getrusage.c: Likewise.
47513         * resource/nice.c: Likewise.
47514         * resource/setpriority.c: Likewise.
47515         * resource/setrlimit.c: Likewise.
47516         * resource/ulimit.c: Likewise.
47517         * rt/aio_cancel.c: Likewise.
47518         * rt/aio_fsync.c: Likewise.
47519         * rt/aio_read.c: Likewise.
47520         * rt/aio_sigqueue.c: Likewise.
47521         * rt/aio_suspend.c: Likewise.
47522         * rt/aio_write.c: Likewise.
47523         * rt/clock_getres.c: Likewise.
47524         * rt/clock_gettime.c: Likewise.
47525         * rt/clock_nanosleep.c: Likewise.
47526         * rt/clock_settime.c: Likewise.
47527         * rt/lio_listio.c: Likewise.
47528         * rt/mq_close.c: Likewise.
47529         * rt/mq_getattr.c: Likewise.
47530         * rt/mq_notify.c: Likewise.
47531         * rt/mq_open.c: Likewise.
47532         * rt/mq_receive.c: Likewise.
47533         * rt/mq_send.c: Likewise.
47534         * rt/mq_setattr.c: Likewise.
47535         * rt/mq_timedreceive.c: Likewise.
47536         * rt/mq_timedsend.c: Likewise.
47537         * rt/mq_unlink.c: Likewise.
47538         * rt/shm_open.c: Likewise.
47539         * rt/shm_unlink.c: Likewise.
47540         * rt/timer_create.c: Likewise.
47541         * rt/timer_delete.c: Likewise.
47542         * rt/timer_getoverr.c: Likewise.
47543         * rt/timer_gettime.c: Likewise.
47544         * rt/timer_settime.c: Likewise.
47545         * setjmp/__longjmp.c: Likewise.
47546         * setjmp/setjmp.c: Likewise.
47547         * signal/kill.c: Likewise.
47548         * signal/killpg.c: Likewise.
47549         * signal/raise.c: Likewise.
47550         * signal/sigaction.c: Likewise.
47551         * signal/sigaltstack.c: Likewise.
47552         * signal/sigblock.c: Likewise.
47553         * signal/sigignore.c: Likewise.
47554         * signal/sigintr.c: Likewise.
47555         * signal/signal.c: Likewise.
47556         * signal/sigpause.c: Likewise.
47557         * signal/sigpending.c: Likewise.
47558         * signal/sigqueue.c: Likewise.
47559         * signal/sigreturn.c: Likewise.
47560         * signal/sigset.c: Likewise.
47561         * signal/sigsetmask.c: Likewise.
47562         * signal/sigstack.c: Likewise.
47563         * signal/sigsuspend.c: Likewise.
47564         * signal/sigtimedwait.c: Likewise.
47565         * signal/sigvec.c: Likewise.
47566         * signal/sigwait.c: Likewise.
47567         * signal/sigwaitinfo.c: Likewise.
47568         * signal/sysv_signal.c: Likewise.
47569         * socket/accept.c: Likewise.
47570         * socket/accept4.c: Likewise.
47571         * socket/bind.c: Likewise.
47572         * socket/connect.c: Likewise.
47573         * socket/getpeername.c: Likewise.
47574         * socket/getsockname.c: Likewise.
47575         * socket/getsockopt.c: Likewise.
47576         * socket/isfdtype.c: Likewise.
47577         * socket/listen.c: Likewise.
47578         * socket/recv.c: Likewise.
47579         * socket/recvfrom.c: Likewise.
47580         * socket/recvmsg.c: Likewise.
47581         * socket/send.c: Likewise.
47582         * socket/sendmsg.c: Likewise.
47583         * socket/sendto.c: Likewise.
47584         * socket/setsockopt.c: Likewise.
47585         * socket/shutdown.c: Likewise.
47586         * socket/sockatmark.c: Likewise.
47587         * socket/socket.c: Likewise.
47588         * socket/socketpair.c: Likewise.
47589         * stdio-common/ctermid.c: Likewise.
47590         * stdio-common/cuserid.c: Likewise.
47591         * stdio-common/remove.c: Likewise.
47592         * stdio-common/rename.c: Likewise.
47593         * stdio-common/renameat.c: Likewise.
47594         * stdio-common/tempname.c: Likewise.
47595         * stdlib/getcontext.c: Likewise.
47596         * stdlib/makecontext.c: Likewise.
47597         * stdlib/setcontext.c: Likewise.
47598         * stdlib/swapcontext.c: Likewise.
47599         * stdlib/system.c: Likewise.
47600         * streams/fattach.c: Likewise.
47601         * streams/fdetach.c: Likewise.
47602         * streams/getmsg.c: Likewise.
47603         * streams/getpmsg.c: Likewise.
47604         * streams/putmsg.c: Likewise.
47605         * streams/putpmsg.c: Likewise.
47606         * sysdeps/unix/bsd/getpt.c: Likewise.
47607         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
47608         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
47609         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
47610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47611         Likewise.
47612         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
47613         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47614         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
47615         * sysvipc/msgctl.c: Likewise.
47616         * sysvipc/msgget.c: Likewise.
47617         * sysvipc/msgrcv.c: Likewise.
47618         * sysvipc/msgsnd.c: Likewise.
47619         * sysvipc/semctl.c: Likewise.
47620         * sysvipc/semget.c: Likewise.
47621         * sysvipc/semop.c: Likewise.
47622         * sysvipc/semtimedop.c: Likewise.
47623         * sysvipc/shmat.c: Likewise.
47624         * sysvipc/shmctl.c: Likewise.
47625         * sysvipc/shmdt.c: Likewise.
47626         * sysvipc/shmget.c: Likewise.
47627         * termios/tcdrain.c: Likewise.
47628         * termios/tcflow.c: Likewise.
47629         * termios/tcflush.c: Likewise.
47630         * termios/tcgetattr.c: Likewise.
47631         * termios/tcgetpgrp.c: Likewise.
47632         * termios/tcsendbrk.c: Likewise.
47633         * termios/tcsetattr.c: Likewise.
47634         * termios/tcsetpgrp.c: Likewise.
47635         * time/adjtime.c: Likewise.
47636         * time/clock.c: Likewise.
47637         * time/getitimer.c: Likewise.
47638         * time/gettimeofday.c: Likewise.
47639         * time/setitimer.c: Likewise.
47640         * time/settimeofday.c: Likewise.
47641         * time/stime.c: Likewise.
47642         * time/time.c: Likewise.
47644 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
47646         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
47647         /usr/old/bin.
47649         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
47650         instead of spaces.
47651         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
47653 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
47655         [BZ #14796]
47656         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
47657         FE_TONEAREST before applying Dekker multiplication and Knuth
47658         addition.  Clear inexact exceptions and check for exact zero
47659         results afterwards.
47660         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
47661         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
47662         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47663         * math/libm-test.inc (fma_test): Add more tests.
47664         (fma_test_towardzero): Likewise.
47665         (fma_test_downward): Likewise.
47666         (fma_test_upward): Likewise.
47667         * sysdeps/generic/math_private.h (default_libc_fesetround): New
47668         function.
47669         (libc_fesetround): New macro.
47670         (libc_fesetroundf): Likewise.
47671         (libc_fesetroundl): Likewise.
47672         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
47673         function.
47674         (libc_fesetround_387): Likewise.
47675         (libc_fesetroundf): New macro.
47676         (libc_fesetround): Likewise.
47677         (libc_fesetroundl): Likewise.
47678         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
47679         function.
47680         (libc_fesetroundf): New macro.
47681         (libc_fesetround): Likewise.
47682         (libc_fesetroundl): Likewise.
47683         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
47684         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
47685         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
47686         libm_hidden_ver.
47687         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
47688         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
47689         libm_hidden_def.
47690         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
47691         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
47692         libm_hidden_ver.
47693         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
47694         libm_hidden_def.
47696         [BZ #3439]
47697         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
47698         integer constant usable in #if and use that to give value to enum
47699         constant.
47700         (FE_DIVBYZERO): Likewise.
47701         (FE_UNDERFLOW): Likewise.
47702         (FE_OVERFLOW): Likewise.
47703         (FE_INVALID): Likewise.
47704         (FE_INVALID_SNAN): Likewise.
47705         (FE_INVALID_ISI): Likewise.
47706         (FE_INVALID_IDI): Likewise.
47707         (FE_INVALID_ZDZ): Likewise.
47708         (FE_INVALID_IMZ): Likewise.
47709         (FE_INVALID_COMPARE): Likewise.
47710         (FE_INVALID_SOFTWARE): Likewise.
47711         (FE_INVALID_SQRT): Likewise.
47712         (FE_INVALID_INTEGER_CONVERSION): Likewise.
47713         (FE_TONEAREST): Likewise.
47714         (FE_TOWARDZERO): Likewise.
47715         (FE_UPWARD): Likewise.
47716         (FE_DOWNWARD): Likewise.
47717         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
47718         (FE_DIVBYZERO): Likewise.
47719         (FE_OVERFLOW): Likewise.
47720         (FE_UNDERFLOW): Likewise.
47721         (FE_INEXACT): Likewise.
47722         (FE_TONEAREST): Likewise.
47723         (FE_DOWNWARD): Likewise.
47724         (FE_UPWARD): Likewise.
47725         (FE_TOWARDZERO): Likewise.
47726         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
47727         (FE_UNDERFLOW): Likewise.
47728         (FE_OVERFLOW): Likewise.
47729         (FE_DIVBYZERO): Likewise.
47730         (FE_INVALID): Likewise.
47731         (FE_TONEAREST): Likewise.
47732         (FE_TOWARDZERO): Likewise.
47733         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
47734         (FE_OVERFLOW): Likewise.
47735         (FE_UNDERFLOW): Likewise.
47736         (FE_DIVBYZERO): Likewise.
47737         (FE_INEXACT): Likewise.
47738         (FE_TONEAREST): Likewise.
47739         (FE_TOWARDZERO): Likewise.
47740         (FE_UPWARD): Likewise.
47741         (FE_DOWNWARD): Likewise.
47742         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
47743         (FE_DIVBYZERO): Likewise.
47744         (FE_OVERFLOW): Likewise.
47745         (FE_UNDERFLOW): Likewise.
47746         (FE_INEXACT): Likewise.
47747         (FE_TONEAREST): Likewise.
47748         (FE_DOWNWARD): Likewise.
47749         (FE_UPWARD): Likewise.
47750         (FE_TOWARDZERO): Likewise.
47752 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
47754         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
47756 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
47758         * scripts/cross-test-ssh.sh (command): Use newlines to separate
47759         commands.  Quote $PWD.
47760         (blacklist_exports): Don't use remove_newlines.  Replace "declare
47761         -x" by "export".
47762         (remove_newlines): Remove.
47764 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
47766         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
47767         * stdlib/stdlib.h (atof): Moved to ...
47768         * include/bits/stdlib-float.h: Here.  New file.
47769         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
47770         * stdlib/bits/stdlib-float.h: New file.
47771         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
47772         -mno-sse -mno-mmx.
47773         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
47774         <xmmintrin.h>.
47776 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
47778         * conform/conformtest.pl (@headers): Add fenv.h.
47779         * conform/data/fenv.h-data: New file.
47780         * include/fenv.h [_ISOMAC]: Disable all contents of file except
47781         include of <math/fenv.h>.
47783         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
47784         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
47785         && !UNIX98].  Enables tests for XOPEN2K8.
47786         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
47787         POSIX2008]: Likewise.
47789         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
47790         (struct rusage): Do not expect type or its members.
47792         [BZ #3439]
47793         * math/math.h (FP_NAN): Define macro to integer constant usable in
47794         #if and use that to give value to enum constant.
47795         (FP_INFINITE): Likewise.
47796         (FP_ZERO): Likewise.
47797         (FP_SUBNORMAL): Likewise.
47798         (FP_NORMAL): Likewise.
47800 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
47802         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
47803         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
47804         arguments.
47806 2012-11-02  Roland McGrath  <roland@hack.frob.com>
47808         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
47809         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
47810         autoconf-time if not.
47811         * configure.in: Remove AC_PREREQ.
47813 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47815         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
47816         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
47817         of the internal implementation.
47819 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
47821         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
47822         except include of <misc/sys/syslog.h>.
47824 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
47826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
47827         function returns with a NULL context exit with zero.
47829 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47831         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
47833 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
47835         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
47836         (run_program_cmd): This.
47837         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
47838         (tst_langinfo): New variable.  Use it.
47840 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
47842         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
47843         floating point opcodes.
47845 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
47847         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
47848         variable.
47850         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
47852         * sysdeps/mach/hurd/powerpc: Remove directory.
47853         * sysdeps/mach/powerpc: Likewise.
47855 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
47857         * scripts/check-local-headers.sh: Ignore c++ headers.
47859 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
47861         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
47862         __libc_cleanup_region_start argument.
47864 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
47866         [BZ #14784]
47867         [BZ #14785]
47868         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
47869         x * y using scaling, not as x * y + z.
47870         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
47871         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47872         * math/libm-test.inc (fma_test): Add more tests.
47873         (fma_test_towardzero): Likewise.
47874         (fma_test_downward): Likewise.
47875         (fma_test_upward): Likewise.
47877 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
47879         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
47881 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
47883         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
47884         New variable.
47886 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
47888         * rt/tst-shm.c (worker): Correct checking for mmap failure.
47890 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
47892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47893         Fix sort order.
47894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47895         Likewise.
47897 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47900         Fix the order of the list for glibc 2.17.
47901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47902         Likewise.
47904 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
47906         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47908 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
47910         [BZ #14610]
47911         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
47912         for low part of x being zero before using __atanl (y).
47913         * math/libm-test.inc (atan2_test): Add another test.
47915         * manual/install.texi (Configuring and compiling): Document
47916         general use of test-wrapper and test-wrapper-env.
47917         * INSTALL: Regenerated.
47919         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
47920         (__fma): Do not extract and scale down low bits on after-rounding
47921         systems when result rounded to normal precision would have normal
47922         exponent.
47923         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
47924         (__fmal): Do not extract and scale down low bits on after-rounding
47925         systems when result rounded to normal precision would have normal
47926         exponent.
47927         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
47928         (__fmal): Do not extract and scale down low bits on after-rounding
47929         systems when result rounded to normal precision would have normal
47930         exponent.
47931         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
47932         macro.
47933         (fma_test): Add more tests.
47934         (fma_test_towardzero): Likewise.
47935         (fma_test_downward): Likewise.
47936         (fma_test_upward): Likewise.
47938 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
47940         * sysdeps/i386/tininess.h: Renamed to ...
47941         * sysdeps/x86/tininess.h: This.
47942         * sysdeps/x86_64/tininess.h: Removed.
47944 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
47946         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
47947         input.  Use $(build-program-cmd).
47948         ($(objpfx)tst-array1-static.out): Likewise.
47949         ($(objpfx)tst-array2.out): Likewise.
47950         ($(objpfx)tst-array3.out): Likewise.
47951         ($(objpfx)tst-array4.out): Likewise.
47952         ($(objpfx)tst-array5.out): Likewise.
47953         ($(objpfx)tst-array5-static.out): Likewise.
47955 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
47957         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
47958         if defined.
47960         * nss/nsswitch.h (nss_interface_function): Provide new
47961         macro for use with NSS functions.
47962         * grp/initgroups.c: Use new macro.
47963         * nss/getXXbyYY.c: Likewise.
47964         * nss/getXXbyYY_r.c: Likewise.
47965         * nss/getXXent.c: Likewise.
47966         * nss/getXXent_r.c: Likewise.
47967         * sysdeps/posix/getaddrinfo.c: Likewise.
47969 2012-10-30  Andreas Jaeger  <aj@suse.de>
47971         * po/ru.po: Update Russion translation from translation project.
47973 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
47975         [BZ #14152]
47976         [BZ #14783]
47977         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
47978         result and shift together with sticky bit instead of replicating
47979         round-to-nearest rounding.
47980         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
47981         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47982         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
47983         missing underflow exceptions.
47984         (fma_test_towardzero): Add more tests.
47985         (fma_test_downward): Likewise.
47986         (fma_test_upward): Likewise.
47988         [BZ #14047]
47989         * sysdeps/generic/tininess.h: New file.
47990         * sysdeps/i386/tininess.h: Likewise.
47991         * sysdeps/sh/tininess.h: Likewise.
47992         * sysdeps/x86_64/tininess.h: Likewise.
47993         * stdlib/tst-strtod-underflow.c: Likewise.
47994         * stdlib/tst-tininess.c: Likewise.
47995         * stdlib/strtod_l.c: Include <tininess.h>.
47996         (round_and_return): Do not set errno for exact underflow cases.
47997         Force an underflow exception when setting errno for underflow.
47998         Determine underflow based on rounding to normal precision if
47999         TININESS_AFTER_ROUNDING.
48000         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
48001         ERANGE for exact underflow cases.
48002         * stdlib/Makefile (tests): Add tst-tininess and
48003         tst-strtod-underflow.
48004         ($(objpfx)tst-tininess): Use $(link-libm).
48005         ($(objpfx)tst-strtod-underflow): Likewise.
48007 2012-10-30  Andreas Jaeger  <aj@suse.de>
48009         [BZ#14767]
48010         * elf/Makefile (tests): Remove conditional for have-initfini-array
48011         since this is now always required and the variable does not exist
48012         anymore.
48013         (tests-static): Likewise.
48014         (modules-names): Likewise.
48016         * po/eo.po: Add Esperanto translation from translation project.
48018         * elf/tst-array1.c (fini_array): Make writeable so that it can be
48019         merged with constructor/destructor.
48020         (init_array): Likewise.
48021         * elf/tst-array2dep.c (fini_array): Likewise.
48022         (init_array): Likewise.
48024 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
48026         * manual/message.texi: Delete @cartouche tags.
48028 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
48030         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
48031         EOPNOTSUPP.
48032         * sysdeps/mach/hurd/fsync.c: Likewise.
48034         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
48035         [_POSIX_REALTIME_SIGNALS]: Change condition to
48036         [_POSIX_REALTIME_SIGNALS > 0].
48038 2012-10-27  Andreas Jaeger  <aj@suse.de>
48040         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
48041         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
48042         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
48043         [__WORDSIZE != 64]: Likewise.
48045 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
48047         *  iconvdata/tst-table.sh: Remove ${SHELL}.
48048         *  iconvdata/tst-tables.sh: Likewise.
48050 2012-10-25  David S. Miller  <davem@davemloft.net>
48052         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48053         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
48054         of strtoull.
48056         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
48057         ifunc-impl-list.c
48058         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48059         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
48060         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
48061         file.
48063 2012-10-25  Roland McGrath  <roland@hack.frob.com>
48065         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48066         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
48067         __getdirentries.
48069 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
48070             Jim Blandy  <jimb@codesourcery.com>
48072         * scripts/cross-test-ssh.sh: New file.
48073         * manual/install.texi (Configuring and compiling): Document use of
48074         cross-test-ssh.sh.
48075         * INSTALL: Regenerated.
48077 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
48079         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
48080         EOPNOTSUPP.
48082 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
48084         * Makeconfig (run-program-prefix): Fix comment.
48086 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
48087             Jim Blandy  <jimb@codesourcery.com>
48089         * Makeconfig (test-wrapper): New variable,
48090         (test-wrapper-env): Likewise.
48091         [$(cross-compiling) = yes && $(test-wrapper) != ""]
48092         (run-built-tests): Define to yes.
48093         (run-program-prefix): Use $(test-wrapper).
48094         (built-program-cmd): Likewise.
48095         * Rules (make-test-out): Use $(test-wrapper-env) and
48096         $(host-built-program-cmd).
48097         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
48098         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
48099         tst-pathopt.sh.
48100         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
48101         $(test-wrapper-env) to tst-rtld-load-self.sh.
48102         ($(objpfx)order2.out): Use $(test-wrapper).
48103         ($(objpfx)tst-initorder.out): Likewise.
48104         ($(objpfx)tst-initorder2.out): Likewise.
48105         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
48106         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
48107         (test_wrapper_env): New variable.  Use it to run ld.so.
48108         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
48109         Use it to run ld.so.
48110         (test_wrapper_env): Likewise.
48111         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
48112         $(test-wrapper) to run-iconv-test.sh.
48113         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
48114         (ICONV): Use $test_wrapper.
48115         * posix/Makefile ($(objpfx)globtest.out): Pass
48116         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
48117         globtest.sh, not $(run-program-prefix).
48118         * posix/globtest.sh (run_via_rtld_prefix): New variable.
48119         (test_wrapper): Likewise.
48120         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
48121         set together with run_via_rtld_prefix.
48122         (run_program_prefix): Define in terms of test_wrapper and
48123         run_via_rtld_prefix.
48125 2012-10-24  Roland McGrath  <roland@hack.frob.com>
48127         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
48128         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
48129         Targets removed.
48131         [BZ #14743]
48132         * include/time.h: Remove librt_hidden_proto (clock_gettime).
48133         Declare __clock_getres, __clock_gettime, __clock_settime,
48134         __clock_nanosleep, and __clock_getcpuclockid.
48135         * rt/clock_gettime.c: Define __clock_gettime as an alias.
48136         Remove librt_hidden_def (clock_gettime).
48137         * sysdeps/unix/clock_gettime.c: Likewise.
48138         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
48139         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
48140         * rt/clock_getres.c: Define __clock_getres as an alias.
48141         * sysdeps/posix/clock_getres.c: Likewise.
48142         * rt/clock_settime.c: Define __clock_settime as an alias.
48143         * sysdeps/unix/clock_settime.c: Likewise.
48144         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
48145         * sysdeps/unix/clock_nanosleep.c: Likewise.
48146         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
48147         * rt/clock-compat.c: New file.
48148         * rt/Makefile (librt-routines): Add clock-compat and move
48149         $(clock-routines) to ...
48150         (routines): ... here, new variable.
48151         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
48152         Don't add get_clockfreq here.
48153         * rt/Versions (libc: GLIBC_2.17): New version set.
48154         Add clock_* symbols here.
48155         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
48156         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
48157         (GLIBC_2.17): Add clock_* symbols.
48158         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
48159         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
48160         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
48161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48162         Likewise.
48163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48164         Likewise.
48165         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
48166         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
48167         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
48168         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
48169         * NEWS: Mention the move.
48171         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
48172         Use __open, __read, __close rather than their public counterparts.
48173         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48174         (__get_clockfreq_via_cpuinfo): Likewise.
48175         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
48176         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
48178         * config.h.in (HAVE_IFUNC): New #undef.
48179         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
48180         was successful.
48181         * configure: Regenerated.
48183 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
48185         * configure.in: Move READELF check to start of file.
48186         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
48187         libc_cv_asm_gnu_indirect_function in the process.
48188         * configure: Regenerated.
48190 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
48192         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
48193         send the output to /dev/null.
48194         (libc_cv_cc_with_libunwind): Likewise.
48195         (libc_cv_as_noexecstack): Likewise.
48196         * configure: Regenerate.
48198 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
48200         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
48202         * posix/globtest.sh (TMPDIR): Do not set.
48203         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
48204         (testout): Likewise.
48206 2012-10-24  Andreas Jaeger  <aj@suse.de>
48208         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
48209         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
48210         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
48211         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
48212         posix_fadvise64, posix_fallocate64.
48214         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
48215         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
48216         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
48217         Likewise.
48218         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
48219         Likewise.
48220         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
48222         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
48223         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
48224         <bits/fcntl-linux.h>.
48225         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
48227         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
48228         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
48229         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
48230         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
48231         [__WORDSIZE != 64]: Likewise.
48233 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
48235         * Makeconfig (run-built-tests): New variable.
48236         * Rules [$(cross-compiling) = yes]: Change condition to
48237         [$(run-built-tests) = no].
48238         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
48239         to [$(run-built-tests) = yes].
48240         * elf/Makefile [$(cross-compiling) = no]: Likewise
48241         * grp/Makefile [$(cross-compiling) = no]: Likewise.
48242         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
48243         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
48244         * intl/Makefile [$(cross-compiling) = no]: Likewise.
48245         * io/Makefile [$(cross-compiling) = no]: Likewise.
48246         * libio/Makefile [$(cross-compiling) = no]: Likewise.
48247         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
48248         * misc/Makefile [$(cross-compiling) = no]: Likewise.
48249         * posix/Makefile [$(cross-compiling) = no]: Likewise.
48250         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
48251         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
48252         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
48253         * string/Makefile [$(cross-compiling) = no]: Likewise.
48255         * posix/Makefile ($(objpfx)globtest.out): Pass
48256         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
48257         $(rtld-installed-name).
48258         * posix/globtest.sh (elf_objpfx): Remove variable.
48259         (rtld_installed_name): Likewise.
48260         (library_path): Likewise.
48261         (run_program_prefix): New variable.  Use for running globtest
48262         binary.
48264 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
48265             Joseph Myers  <joseph@codesourcery.com>
48267         * Makeconfig (host-built-program-cmd): New variable.
48268         * elf/Makefile (tst-stackguard1-ARGS): Use
48269         $(host-built-program-cmd).
48270         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
48271         (tst-spawn-ARGS): Likewise.
48272         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
48274 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
48275             Jim Blandy  <jimb@codesourcery.com>
48277         * Makeconfig (run-via-rtld-prefix): New variable.
48278         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
48279         (built-program-cmd): Likewise.
48281 2012-10-22  Andreas Jaeger  <aj@suse.de>
48283         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
48284         __O_RSYNC if it exists, otherwise to O_SYNC.
48286 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
48287             Joseph Myers  <joseph@codesourcery.com>
48289         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
48290         /dev/null.
48291         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
48292         from /dev/null
48293         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
48294         /dev/null.
48296 2012-10-22  Andreas Jaeger  <aj@suse.de>
48298         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
48299         Define always.
48300         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
48302         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48303         bits/fcntl-linux.h.
48305         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
48306         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
48308         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
48309         to __O_LARGEFILE.
48310         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
48311         to __O_LARGEFILE.
48313 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
48314             Joseph Myers  <joseph@codesourcery.com>
48316         * config.make.in (NM): New variable.
48318 2012-10-21  Andreas Jaeger  <aj@suse.de>
48320         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
48321         definitions and declarations that are provided by
48322         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
48324 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
48326         [BZ #14683]
48327         * elf/Makefile (tests-static): Add tst-leaks1-static.
48328         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
48329         ($(objpfx)tst-leaks1-static): New rule.
48330         ($(objpfx)tst-leaks1-static-mem): Likewise.
48331         (tst-leaks1-static-ENV): New macro.
48332         * elf/dl-open.c (dl_open_worker): Check the main application
48333         only if SHARED is defined.
48334         * elf/tst-leaks1-static.c: New file.
48336 2012-10-20  Andreas Jaeger  <aj@suse.de>
48338         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
48339         generic values for Linux.
48340         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
48341         and declarations that are provided by <bits/fcntl-linux.h> and
48342         include <bits/fcntl-linux.h>.
48343         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48344         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48346 2012-10-20  Roland McGrath  <roland@hack.frob.com>
48348         * io/fcntl.h: Move include of <bits/types.h> to the top and
48349         include it unconditionally.
48351 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
48353         * wcsmbs/Makefile (tests-ifunc): New variable.
48354         (tests): Add $(tests-ifunc).
48355         * wcsmbs/test-wcschr-ifunc.c: New file.
48356         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
48357         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
48358         * wcsmbs/test-wcslen-ifunc.c: Likewise.
48359         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
48360         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
48362         * string/Makefile (tests-ifunc): New variable.
48363         (tests): Add $(tests-ifunc).
48364         * string/test-memccpy.c (TEST_NAME): New macro.
48365         * string/test-memchr.c (TEST_NAME): Likewise.
48366         * string/test-memcmp.c (TEST_NAME): Likewise.
48367         * string/test-memcpy.c (TEST_NAME): Likewise.
48368         * string/test-memmem.c (TEST_NAME): Likewise.
48369         * string/test-memmove.c (TEST_NAME): Likewise.
48370         * string/test-memset.c (TEST_NAME): Likewise.
48371         * string/test-rawmemchr.c (TEST_NAME): Likewise.
48372         * string/test-stpcpy.c (TEST_NAME): Likewise.
48373         * string/test-stpncpy.c (TEST_NAME): Likewise.
48374         * string/test-strcasecmp.c (TEST_NAME): Likewise.
48375         * string/test-strcasestr.c (TEST_NAME): Likewise.
48376         * string/test-strcat.c (TEST_NAME): Likewise.
48377         * string/test-strchr.c (TEST_NAME): Likewise.
48378         * string/test-strcmp.c(TEST_NAME): Likewise.
48379         * string/test-strcpy.c (TEST_NAME): Likewise.
48380         * string/test-strcspn.c (TEST_NAME): Likewise.
48381         * string/test-strlen.c (TEST_NAME): Likewise.
48382         * string/test-strncasecmp.c (TEST_NAME): Likewise.
48383         * string/test-strncmp.c (TEST_NAME): Likewise.
48384         * string/test-strncpy.c (TEST_NAME): Likewise.
48385         * string/test-strnlen.c (TEST_NAME): Likewise.
48386         * string/test-strpbrk.c (TEST_NAME): Likewise.
48387         * string/test-strrchr.c (TEST_NAME): Likewise.
48388         * string/test-strspn.c (TEST_NAME): Likewise.
48389         * string/test-strstr.c (TEST_NAME): Likewise.
48390         * string/test-bcopy-ifunc.c: New file.
48391         * string/test-bzero-ifunc.c: Likewise.
48392         * string/test-memccpy-ifunc.c: Likewise.
48393         * string/test-memchr-ifunc.c: Likewise.
48394         * string/test-memcmp-ifunc.c: Likewise.
48395         * string/test-memcpy-ifunc.c: Likewise.
48396         * string/test-memmem-ifunc.c: Likewise.
48397         * string/test-memmove-ifunc.c: Likewise.
48398         * string/test-mempcpy-ifunc.c: Likewise.
48399         * string/test-memset-ifunc.c: Likewise.
48400         * string/test-rawmemchr-ifunc.c: Likewise.
48401         * string/test-stpcpy-ifunc.c: Likewise.
48402         * string/test-stpncpy-ifunc.c: Likewise.
48403         * string/test-strcasecmp-ifunc.c: Likewise.
48404         * string/test-strcasestr-ifunc.c: Likewise.
48405         * string/test-strcat-ifunc.c: Likewise.
48406         * string/test-strchr-ifunc.c: Likewise.
48407         * string/test-strchrnul-ifunc.c: Likewise.
48408         * string/test-strcmp-ifunc.c: Likewise.
48409         * string/test-strcpy-ifunc.c: Likewise.
48410         * string/test-strcspn-ifunc.c: Likewise.
48411         * string/test-strlen-ifunc.c: Likewise.
48412         * string/test-strncasecmp-ifunc.c: Likewise.
48413         * string/test-strncat-ifunc.c: Likewise.
48414         * string/test-strncmp-ifunc.c: Likewise.
48415         * string/test-strncpy-ifunc.c: Likewise.
48416         * string/test-strnlen-ifunc.c: Likewise.
48417         * string/test-strpbrk-ifunc.c: Likewise.
48418         * string/test-strrchr-ifunc.c: Likewise.
48419         * string/test-strspn-ifunc.c: Likewise.
48420         * string/test-strstr-ifunc.c: Likewise.
48422         * debug/Makefile (tests-ifunc): New variable.
48423         (tests): Add $(tests-ifunc).
48424         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
48425         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
48426         * debug/test-stpcpy_chk-ifunc.c: New file.
48427         * debug/test-strcpy_chk-ifunc.c: Likewise.
48429 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
48431         [BZ #13601]
48432         * elf/dl-load.c (open_verify): Retry read if the entire ELF
48433         header is not read in.
48435 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
48437         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
48438         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
48439         directly.  Pass built executable to script as
48440         $(built-program-cmd).
48441         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
48442         $testprogram without using LD_LIBRARY_PATH and $ldso.
48444         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
48445         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
48446         $(rtld-installed-name).
48447         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
48448         (rtld_installed_name): Likewise.
48449         (library_path): Likewise.
48450         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
48451         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
48452         $(run-program-prefix) to tst-tables.sh.
48453         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
48454         it to run tst-table-from and tst-table-to.
48455         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
48456         Pass it to tst-table.sh.
48457         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
48458         $(run-program-prefix) to tst-gettext.sh.
48459         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
48460         tst-translit.sh.
48461         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
48462         tst-gettext2.sh.
48463         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
48464         to run tst-gettext.
48465         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
48466         to run tst-gettext2.
48467         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
48468         to run tst-translit.
48469         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
48470         $(run-program-prefix) to tst-mtrace.sh.
48471         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
48472         to run tst-mtrace.
48473         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
48474         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
48475         $(rtld-installed-name).
48476         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
48477         (rtld_installed_name): Likewise.
48478         (run_program_prefix): New variable.  Use it to run wordexp-test.
48480         * Makeconfig (ARCH): Remove all definitions.
48481         (machine): Likewise.
48482         [ARCH]: Remove conditional code.
48483         [!objdir]: Give error.
48484         [!objdir] (objpfx): Remove.
48485         [!objdir] (common-objpfx): Likewise.
48486         [!objdir] (common-objdir): Likewise.
48487         * configure.in (config_makefile): Remove.  Hardcode Makefile in
48488         AC_CONFIG_FILES call.
48489         * configure: Regenerated.
48491         [BZ #13888]
48492         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
48493         or TMPDIR.
48494         (testout): Likewise.
48496         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
48497         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
48498         $(rtld-installed-name).
48499         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
48500         (rtld_installed_name): Likwise.
48501         (runit): Remove function.
48502         (run_getconf): New variable,  Use it for running getconf binary.
48504 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
48506         [BZ #14716]
48507         * string/test-memmem.c (check_result): New function.
48508         (do_one_test): Use it.
48509         (check1): New function.
48510         (test_main): Use it.
48512 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
48514         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
48516 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
48518         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
48519         (_G_LSEEK64): Likewise.
48520         (_G_MMAP64): Likewise.
48521         (_G_FSTAT64): Likewise.
48522         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
48523         (_G_LSEEK64): Likewise.
48524         (_G_MMAP64): Likewise.
48525         (_G_FSTAT64): Likewise.
48526         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
48527         unconditional.  Call __mmap64 directly.
48528         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
48529         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
48530         __lseek64 directly.
48531         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
48532         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
48533         __mmap64 directly.
48534         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
48535         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
48536         __lseek64 directly.
48537         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
48538         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
48539         __lseek64 directly.
48540         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
48541         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
48542         __lseek64 directly.
48543         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
48544         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
48545         __fxstat64 directly.
48546         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
48547         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
48548         unconditional.
48549         (freopen64) [!_G_OPEN64]: Remove conditional code.
48550         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
48551         unconditional.
48552         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
48553         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
48554         unconditional.
48555         (ftello64) [!_G_LSEEK64]: Remove conditional code.
48556         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
48557         unconditional.
48558         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
48559         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
48560         unconditional.
48561         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
48562         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
48563         unconditional.
48564         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
48565         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
48566         unconditional.
48567         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
48568         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
48569         unconditional.
48570         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
48572 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
48574         [BZ #12140]
48575         * manual/memory.texi (Malloc Tunable Parameters): Add note
48576         about free list pointers overwriting some perturb bytes.
48577         Wording suggested by Roland McGrath.
48579 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
48581         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
48582         (lgamma_test): Likewise.
48583         (tgamma_test): Likewise.
48585 2012-10-16  Florian Weimer  <fweimer@redhat.com>
48587         [BZ #14700]
48588         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
48589         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
48591 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
48593         * NEWS: Mention BZ #14716.
48594         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
48595         when removing AVAILABLE1_USES_J macro.
48597 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
48599         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
48600         (__bswap_64): __uint64_t for unsigned 64-bit int.
48602 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
48604         * include/string.h (memmem): Declare libc hidden alias.
48605         * string/memmem.c (memmem): Define libc hidden alias.
48606         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
48607         __read, __close instead of open, read, close.
48609 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
48611         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
48612         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
48613         global and hidden.
48614         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
48615         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
48616         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
48617         Likewise.
48618         (__rawmemchr_sse2): Likewise.
48619         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
48620         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
48621         (__strchr_sse2): Likewise.
48622         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
48623         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
48624         (__strcasecmp_sse2): Likewise.
48625         (__strncasecmp_sse2): Likewise.
48626         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
48627         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
48628         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
48629         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
48630         (__strrchr_sse2): Likewise.
48631         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
48632         ifunc-impl-list.c.
48633         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
48634         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
48635         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
48636         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
48637         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
48638         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
48639         * sysdeps/x86_64/multiarch/memset.S: Likewise.
48640         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
48641         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
48642         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
48643         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
48644         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
48645         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
48646         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
48647         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
48648         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
48649         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
48650         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
48651         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
48652         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
48653         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
48654         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
48655         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
48656         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
48657         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
48658         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48659         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
48660         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
48661         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
48662         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
48664         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
48665         global and hidden.
48666         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
48667         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
48668         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
48669         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
48670         Likewise.
48671         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
48672         Likewise.
48673         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
48674         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
48675         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
48676         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
48677         ifunc-impl-list.c.
48678         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
48679         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
48680         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
48681         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
48682         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
48683         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
48684         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
48685         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
48686         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
48687         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
48688         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
48689         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
48690         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
48691         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
48692         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
48693         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
48694         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
48695         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
48696         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
48697         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
48698         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48699         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
48700         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
48701         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
48702         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48703         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
48704         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
48705         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
48706         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
48707         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
48708         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
48709         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
48710         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
48711         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
48712         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
48713         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
48714         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
48715         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
48716         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
48717         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
48718         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
48720         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
48721         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
48722         * include/ifunc-impl-list.h: New file.
48723         * misc/ifunc-impl-list.c: Likewise.
48724         * misc/Makefile (routines): Add ifunc-impl-list.
48725         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
48726         * string/test-string.h: Include <ifunc-impl-list.h>.
48727         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
48728         TEST_NAME]: New variables.
48729         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
48730         are defined.
48731         (test_init): Call __libc_ifunc_impl_list to initialize
48732         func_list if TEST_IFUNC and TEST_NAME are defined.
48734         * string/Makefile (strop-tests): Add bcopy and bzero.
48735         * string/test-bcopy.c: New file.
48736         * string/test-bzero.c: Likewise.
48737         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
48738         defined.
48739         * string/test-memset.c: Support bzero test if TEST_BZERO is
48740         defined.
48741         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
48742         __libc_memmove.
48743         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
48744         __libc_memset.
48745         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
48746         of memset.
48748 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
48750         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
48751         * configure: Regenerated.
48753         * Makeconfig (+link-static-before-libc): Don't include
48754         $(link-static-libc).
48756         * libio/libio.h (_IO_pos_t): Remove.
48758 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
48760         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
48761         McGrath.
48763 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
48765         * crypt/crypt-entry.c: Include fips-private.h.
48766         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
48767         * crypt/md5c-test.c (main): Tolerate disabled MD5.
48768         * sysdeps/unix/sysv/linux/fips-private.h: New file.
48769         * sysdeps/generic/fips-private.h: New file, dummy fallback.
48771 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
48773         * crypt/crypt-private.h: Include stdbool.h.
48774         (_ufc_setup_salt_r): Return bool.
48775         * crypt/crypt-entry.c: Include errno.h.
48776         (__crypt_r): Return NULL with EINVAL for bad salt.
48777         * crypt/crypt_util.c (bad_for_salt): New.
48778         (_ufc_setup_salt_r): Check that salt is long enough and within
48779         the specified alphabet.
48780         * crypt/badsalttest.c: New file.
48781         * crypt/Makefile (tests): Add it.
48782         ($(objpfx)badsalttest): New.
48784 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
48786         * NEWS: Add entry for BZ #14602.
48788 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
48790         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
48791         type-generic.
48792         * math/libm-test.inc: Update comment listing what functions and
48793         macros are tested.
48794         (isgreater_test): New function.
48795         (isgreaterequal_test): Likewise.
48796         (isless_test): Likewise.
48797         (islessequal_test): Likewise.
48798         (islessgreater_test): Likewise.
48799         (isunordered_test): Likewise.
48800         (main): Call the new functions.
48802 2012-10-09  Roland McGrath  <roland@hack.frob.com>
48804         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
48805         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
48806         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
48807         * sysdeps/i386/configure: Regenerated.
48808         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
48809         * sysdeps/mach/configure: Regenerated.
48810         * sysdeps/mach/hurd/configure: Regenerated.
48811         * sysdeps/powerpc/configure: Regenerated.
48812         * sysdeps/powerpc/powerpc32/configure: Regenerated.
48813         * sysdeps/powerpc/powerpc64/configure: Regenerated.
48814         * sysdeps/s390/s390-32/configure: Regenerated.
48815         * sysdeps/s390/s390-64/configure: Regenerated.
48816         * sysdeps/sh/configure: Regenerated.
48817         * sysdeps/sparc/configure: Regenerated.
48818         * sysdeps/unix/sysv/linux/configure: Regenerated.
48819         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
48820         * sysdeps/x86_64/configure: Regenerated.
48822         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
48823         defined.  Don't check if MAP is NULL.
48825 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
48827         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
48828         (_G_stat64): Likewise.
48829         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
48830         (_G_stat64): Likewise.
48831         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
48832         instead of struct _G_stat64.
48833         * libio/fileops.c (mmap_remap_check): Likewise.
48834         (decide_maybe_mmap): Likewise.
48835         (_IO_new_file_seekoff): Likewise.
48836         (_IO_file_stat): Likewise.
48837         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
48838         _G_off64_t.
48839         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
48840         instead of struct _G_stat64.
48841         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
48843 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
48845         [BZ #14602]
48846         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
48847         Replace with ...
48848         (CHECK_EOL): New macro.
48849         (two_way_short_needle): Check beginning of haystack for EOL.  Use
48850         CHECK_EOL.
48851         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
48852         Replace with CHECK_EOL.
48853         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
48854         Replace with CHECK_EOL.
48856 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
48858         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
48859         type-generic.
48860         * math/libm-test.inc: Update comment listing what functions and
48861         macros are tested.
48862         (finite_test): New function.
48863         (isinf_test): Likewise.
48864         (isnan_test): Likewise.
48865         (fpclassify_test): Test subnormal input.
48866         (isfinite_test): Likewise.
48867         (isnormal_test): Likewise.
48868         (main): Call the new functions.
48870 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
48872         [BZ #14660]
48873         * Makerules (%.dynsym): Force C locale when running
48874         $(OBJDUMP) --dynamic-syms.
48876 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
48878         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
48879         <stdint.h>.
48881 2012-10-06  David S. Miller  <davem@davemloft.net>
48883         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
48884         upper 32-bits of the length value in %o2 since we use branch-on-register
48885         tests which consider the entire 64-bit register.
48887 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
48889         * string/test-strstr.c (check2): Add a test for page boundary.
48891 2012-10-05  David S. Miller  <davem@davemloft.net>
48893         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
48894         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
48895         file.
48896         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
48897         sysdep_routines.
48898         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
48899         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
48900         and bzero when HWCAP_SPARC_CRYPTO is present.
48902 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
48904         [BZ #14602]
48905         * string/test-strstr.c (check2): New function.
48906         (test_main): Call check2.
48908         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
48909         and bug-strchr1.
48910         * string/bug-strcasestr1.c (do_test): Moved to ...
48911         * string/test-strcasestr.c (check1): Here.  New function.
48912         (do_one_test): Break out result checking code into ...
48913         (check_result): This.  New function.
48914         (do_one_test): Call check_result.
48915         (test_main): Call check1.
48916         * string/bug-strchr1.c (do_test): Moved to ...
48917         * string/test-strchr.c (check1): Here.  New function.
48918         (do_one_test): Break out result checking code into ...
48919         (check_result): This.  New function.
48920         (do_one_test): Call check_result.
48921         (test_main): Call check1.
48922         * string/bug-strstr1.c (main): Moved to ...
48923         * string/test-strstr.c (check1): Here.  New function.
48924         (do_one_test): Break out result checking code into ...
48925         (check_result): This.  New function.
48926         (do_one_test): Call check_result.
48927         (test_main): Call check1.
48928         * string/bug-strcasestr1.c: Removed.
48929         * string/bug-strchr1.c: Likewise.
48930         * string/bug-strstr1.c: Likewise.
48932         * elf/Makefile (dl-routines): Add hwcaps.
48933         * elf/dl-support.c (_dl_important_hwcaps): Removed.
48934         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
48935         (_dl_important_hwcaps): Moved to ...
48936         * elf/dl-hwcaps.c: Here.  New file.
48937         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
48939         [BZ #14557]
48940         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
48941         if IS_IN_rtld isn't defined.
48943         * elf/dl-support.c (_dl_sysinfo_map): New.
48944         Include "get-dynamic-info.h" and "setup-vdso.h".
48945         (_dl_non_dynamic_init): Call setup_vdso.
48946         * elf/dynamic-link.h: Don't include <assert.h>.
48947         (elf_get_dynamic_info): Moved to ...
48948         * elf/get-dynamic-info.h: Here.  New file.
48949         * elf/dynamic-link.h: Include "get-dynamic-info.h".
48950         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
48951         * elf/setup-vdso.h: Here.  New file.
48952         * elf/rtld.c: Include "setup-vdso.h".
48953         (dl_main): Call setup_vdso.
48955 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
48957         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
48958         creal in comment listing functions tested.  List finite, isinf,
48959         isnan, isless, islessequal, isgreater, isgreaterequal,
48960         islessgreater, isunordered, lgamma_r and pow10 as functions and
48961         macros not tested.  Mention which functions not tested are aliases
48962         for other functions.  Fix typo.  Note that signs of NaNs are not
48963         tested.
48965         * scripts/config.guess: Update from config.git.
48966         * scripts/config.sub: Likewise.
48968 2012-10-04  Roland McGrath  <roland@hack.frob.com>
48970         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
48971         * misc/madvise.c (madvise): Renamed to __madvise.
48972         Make madvise a weak alias.
48973         * include/sys/mman.h: Declare __madvise.
48974         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
48975         * sysdeps/unix/syscalls.list
48976         (madvise): Make __madvise the strong name, and madvise a weak alias.
48977         * sysdeps/unix/sysv/linux/syscalls.list
48978         (madvise, mmap): Remove redundant entries.
48979         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
48980         * malloc/malloc.c (mtrim): Likewise.
48981         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
48983 2012-10-03  Roland McGrath  <roland@hack.frob.com>
48985         * sysdeps/mach/hurd/dl-cache.c: File removed.
48986         * config.h.in (USE_LDCONFIG): New #undef.
48987         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
48988         * configure: Regenerated.
48989         * elf/Makefile (dl-routines): Add dl-cache only under
48990         [$(use-ldconfig) = yes].
48991         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
48992         cache on [USE_LDCONFIG].
48993         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
48994         [USE_LDCONFIG].
48995         * elf/rtld.c (dl_main): Likewise.
48997 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
48999         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
49000         _SC_LEVEL4_CACHE_LINESIZE.
49002 2012-10-03  Roland McGrath  <roland@hack.frob.com>
49004         * sysdeps/unix/bsd/confstr.h: File removed.
49006 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
49008         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
49009         sys/sdt-config.h.
49011 2012-10-02  Roland McGrath  <roland@hack.frob.com>
49013         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
49014         Make 'mapoff' field ElfW(Off) rather than off_t.
49016 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
49018         * nscd/Makefile: Remove nscd-cflags and all its users.
49019         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
49020         (CFLAGS-nonlib): Add compiler flags for nscd modules.
49022         [BZ #10631]
49023         * malloc.c (malloc_printerr): Clarify error message.
49025 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
49027         [BZ #14648]
49028         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49029         Set bit_FMA_Usable if FMA is supported.
49030         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
49031         macro.
49032         (bit_FMA4_Usable): Updated.
49033         (index_FMA_Usable): New macro.
49034         (CPUID_FMA): Likewise
49035         (HAS_FMA): Defined with bit_FMA_Usable.
49037 2012-10-01  Roland McGrath  <roland@hack.frob.com>
49039         * bits/types.h (__swblk_t): Type removed.
49040         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
49041         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
49042         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49043         (__SWBLK_T_TYPE): Likewise.
49044         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
49045         (__SWBLK_T_TYPE): Likewise.
49046         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49047         (__SWBLK_T_TYPE): Likewise.
49048         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49049         (__SWBLK_T_TYPE): Likewise.
49051 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
49052             Honza Horak <hhorak@redhat.com>
49054         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
49055         (xdr_mapname): Use YPMAXMAP as maxsize.
49056         (xdr_peername): Use YPMAXPEER as maxsize.
49057         (xdr_keydat): Use YPAXRECORD as maxsize.
49058         (xdr_valdat): Use YPMAXRECORD as maxsize.
49060 2012-10-01  Roland McGrath  <roland@hack.frob.com>
49062         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
49064         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
49065         * csu/init-first.c: ... here.
49066         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
49067         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
49068         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
49069         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
49070         * sysdeps/i386/init-first.c: File removed.
49071         * sysdeps/sh/init-first.c: File removed.
49073 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
49075         [BZ #14645]
49076         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
49077         if x * y might underflow to zero and z is zero.
49078         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49079         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49080         * math/libm-test.inc (min_subnorm_value): New variable.
49081         (fma_test): Add more tests.
49082         (fma_test_towardzero): Likewise.
49083         (fma_test_downward): Likewise
49084         (fma_test_upward): Likewise.
49085         (initialize): Set min_subnorm_value.
49087 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
49089         [BZ #14638]
49090         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
49091         0 + 0.
49092         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
49093         mode for addition resulting in exact zero.
49094         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
49095         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
49096         exact 0 + 0.
49097         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
49098         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49099         * math/libm-test.inc (fma_test): Add more tests.
49100         (fma_test_towardzero): New function.
49101         (fma_test_downward): Likewise.
49102         (fma_test_upward): Likewise.
49103         (main): Call the new functions.
49105 2012-09-28  David S. Miller  <davem@davemloft.net>
49107         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
49109 2012-09-28  Roland McGrath  <roland@hack.frob.com>
49111         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
49112         instead of SIGALRM.
49114         * sysdeps/gnu/_G_config.h: Moved to ...
49115         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
49116         * sysdeps/mach/hurd/_G_config.h: Moved to ...
49117         * sysdeps/generic/_G_config.h: ... here.
49119         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
49121         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
49123         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
49124         Conditionalize target on [libnss_test1.so-version].
49126         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
49128         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
49129         (elfobjdir): Move out of conditionals.
49131         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
49132         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
49133         (__nss_lookup_function): Conditionalize label remove_from_tree on
49134         [!DO_STATIC_NSS || SHARED], matching its only use.
49136 2012-09-28  David S. Miller  <davem@davemloft.net>
49138         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
49139         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
49140         file.
49141         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
49142         sysdep_routines.
49143         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
49144         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
49145         when HWCAP_SPARC_CRYPTO is present.
49147 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
49149         * io/tst-mknodat.c: Create a FIFO instead of a socket.
49151 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
49153         [BZ #6530]
49154         * stdio-common/vfprintf.c (process_string_arg): Revert
49155         2000-07-22 change.
49157 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
49159         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
49160         for testcase.
49161         * stdio-common/tst-sprintf.c: Include <locale.h>
49162         (main): Test sprintf's handling of incomplete multibyte
49163         characters.
49165 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
49167         * elf/dl-runtime.c (VERSYMIDX): Removed.
49168         * elf/dl-version.c (VERSYMIDX): Likewise.
49169         * elf/do-rel.h (VERSYMIDX): Likewise.
49170         (VALIDX): Likewise.
49171         * elf/dynamic-link.h (VERSYMIDX): Likewise.
49172         * elf/rtld.c (VALIDX): Likewise.
49173         (ADDRIDX): Likewise.
49174         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
49175         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
49176         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
49177         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
49178         (VALIDX): Likewise.
49179         (ADDRIDX): Likewise.
49181 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
49183         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
49185 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
49187         [BZ #11438]
49188         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
49189         to global scope.
49190         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
49191         addresses are in the same scope as 192.0.2/24.
49192         * posix/gai.conf: Document new scope table defaults.
49194 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49196         [BZ #5298]
49197         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
49198         for ftell.  Compute offsets from write pointers instead.
49199         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
49201 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49203         [BZ #14543]
49204         * libio/Makefile (tests): New test case tst-fseek.
49205         * libio/tst-fseek.c: New test case to verify that fseek/ftell
49206         combination works in wide mode.
49207         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
49208         state when the external buffer state changes.
49210 2012-09-27  David S. Miller  <davem@davemloft.net>
49212         [BZ #14376]
49213         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
49214         pass reloc->r_addend in as the 'high' argument to
49215         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
49217         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49219 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
49221         * rt/tst-aio2.c: Include <pthread.h>.
49222         * rt/tst-aio3.c: Likewise.
49224 2012-09-27  Steve Ellcey  <sellcey@mips.com>
49226         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
49228 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
49230         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
49231         contents on [SHARED].
49233 2012-09-26  Marek Polacek  <polacek@redhat.com>
49235         [BZ #14530]
49236         [BZ #13741]
49237         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
49238         for C++ and GCC <4.3 as well as for non GCC compilers.
49240 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
49242         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49244 2012-09-25  Roland McGrath  <roland@hack.frob.com>
49246         * Makefile.in (all, install): Declare with .PHONY.
49247         Reported by Michael Hope <michael.hope@linaro.org>.
49249 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49251         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
49252         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
49253         system header.
49254         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
49255         Likewise.
49256         (sydep_routines): Add the new and the internal functions.
49257         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
49258         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
49259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
49260         (GLIBC_2.17): Add the new function.
49261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
49262         (GLIBC_2.17): Likewise.
49263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
49264         (GLIBC_2.17): Likewise.
49265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
49266         (GLIBC_2.17): Likewise.
49267         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
49269 2012-09-25  Alan Modra  <amodra@gmail.com>
49271         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
49272         Add release barrier before setting once_control to say
49273         initialisation is done.  Add hints on lwarx.  Use macro in
49274         place of isync.
49275         (clear_once_control): Add release barrier.
49277 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
49279         [BZ #13629]
49280         * math/s_clog.c (__clog): Handle more values close to |z| = 1
49281         specially.
49282         * math/s_clog10.c (__clog10): Likewise.
49283         * math/s_clog10f.c (__clog10f): Likewise.
49284         * math/s_clog10l.c (__clog10l): Likewise.
49285         * math/s_clogf.c (__clogf): Likewise.
49286         * math/s_clogl.c (__clogl): Likewise.
49287         * math/Makefile (libm-calls): Add x2y2m1.
49288         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
49289         (__x2y2m1): Likewise.
49290         (__x2y2m1l): Likewise.
49291         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
49292         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
49293         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
49294         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
49295         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
49296         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
49297         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
49298         * sysdeps/i386/fpu/libm-test-ulps: Update.
49299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49301         [BZ #14621]
49302         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
49303         int as type of variable DEPTH.
49304         (glob): Use size_t instead of int as type of variables NEWCOUNT
49305         and OLD_PATHC.
49307 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49309         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
49310         Add s_sincosf-sse2.
49311         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
49312         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
49313         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
49314         macros for using routine as __sincosf_ia32.
49315         Use macro for function declaration and weak_alias.
49316         * sysdeps/i386/fpu/libm-test-ulps: Update.
49318         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
49319         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49321         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
49322         subnormal argument.
49323         * math/s_cexpf.c (__cexpf): Likewise.
49324         * math/s_csinf.c (__csinf): Likewise.
49325         * math/s_csinhf.c (__csinhf): Likewise.
49326         * math/s_ctanf.c (__ctanf): Likewise.
49327         * math/s_ctanhf.c (__ctanhf): Likewise.
49328         * math/s_ccosh.c (__ccoshf): Likewise.
49329         * math/s_cexp.c (__cexpl): Likewise.
49330         * math/s_csin.c (__csin): Likewise.
49331         * math/s_csinh.c (__csinh): Likewise.
49332         * math/s_ctan.c (__ctan): Likewise.
49333         * math/s_ctanh.c (ctanh): Likewise.
49334         * math/s_ccoshl.c (__ccoshl): Likewise.
49335         * math/s_cexpl.c (__cexpl): Likewise.
49336         * math/s_csinl.c (__csinl): Likewise.
49337         * math/s_csinhl.c (__csinhl): Likewise.
49338         * math/s_ctanl.c (__ctanl): Likewise.
49339         * math/s_ctanhl.c (__ctanhl): Likewise.
49341 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
49343         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
49344         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
49345         (_IO_off_t): Define to __off_t, not _G_off_t.
49346         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
49347         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
49348         (_IO_wint_t): Define to wint_t, not _G_wint_t.
49349         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
49350         type of __dummy and __dummy2 fields.
49351         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
49352         (_G_ssize_t): Likewise.
49353         (_G_off_t): Likewise.
49354         (_G_pid_t): Likewise.
49355         (_G_uid_t): Likewise.
49356         (_G_wchar_t): Likewise.
49357         (_G_wint_t): Likewise.
49358         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
49359         (_G_ssize_t): Likewise.
49360         (_G_off_t): Likewise.
49361         (_G_pid_t): Likewise.
49362         (_G_uid_t): Likewise.
49363         (_G_wchar_t): Likewise.
49364         (_G_wint_t): Likewise.
49365         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
49366         (_G_ssize_t): Likewise.
49367         (_G_off_t): Likewise.
49368         (_G_pid_t): Likewise.
49369         (_G_uid_t): Likewise.
49370         (_G_wchar_t): Likewise.
49371         (_G_wint_t): Likewise.
49373 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
49375         * malloc/arena.c: Include malloc-sysdep.h.
49376         (shrink_heap): Use check_may_shrink_heap to decide if madvise
49377         is sufficient to shrink the heap or an unmap is needed.
49378         * sysdeps/generic/malloc-sysdep.h: New file.  Define
49379         new function check_may_shrink_heap.
49380         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
49381         new function check_may_shrink_heap.
49383 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
49385         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
49386         comments.
49388 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
49390         * catgets/test-gencat.sh: Add "set -e".
49391         * elf/tst-pathopt.sh: Likewise.
49392         * grp/tst_fgetgrent.sh: Likewise.
49393         * iconvdata/run-iconv-test.sh: Likewise.
49394         * intl/tst-gettext.sh: Likewise.
49395         * intl/tst-gettext2.sh: Likewise.
49396         * intl/tst-gettext4.sh: Likewise.
49397         * intl/tst-gettext6.sh: Likewise.
49398         * intl/tst-translit.sh: Likewise.
49399         * io/ftwtest-sh: Likewise.
49400         * libio/test-freopen.sh: Likewise.
49401         * malloc/tst-mtrace.sh: Likewise.
49402         * posix/globtest.sh: Likewise.
49403         * posix/tst-getconf.sh: Likewise.
49404         * posix/wordexp-tst.sh: Likewise.
49405         * stdio-common/tst-printf.sh: Likewise.
49406         * stdio-common/tst-unbputc.sh: Likewise.
49407         * stdlib/tst-fmtmsg.sh: Likewise.
49408         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
49409         * catgets/Makefile: Do not specify -e option when running
49410         testsuite shell scripts.
49411         * elf/Makefile: Likewise.
49412         * grp/Makefile: Likewise.
49413         * iconvdata/Makefile: Likewise.
49414         * intl/Makefile: Likewise.
49415         * io/Makefile: Likewise.
49416         * libio/Makefile: Likewise.
49417         * malloc/Makefile: Likewise.
49418         * posix/Makefile: Likewise.
49419         * stdio-common/Makefile: Likewise.
49420         * stdlib/Makefile: Likewise.
49421         * sysdeps/x86_64/Makefile: Likewise.
49423         * io/ftwtest-sh: Add copyright header.
49424         * posix/globtest.sh: Likewise.
49425         * posix/tst-getconf.sh: Likewise.
49426         * posix/wordexp-tst.sh: Likewise.
49427         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
49429 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
49431         [BZ #13679]
49432         * Makeconfig (+link): Defined as $(+link-static) if
49433         $(build-shared) isn't yes.
49434         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
49435         isn't yes.
49436         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
49438         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
49440         [BZ #14562]
49441         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
49442         new chunk size with MALLOC_ALIGN_MASK.
49444 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
49446         [BZ #5044]
49447         * stdio-common/printf_fphex.c: Include <stdbool.h> and
49448         <rounding-mode.h>.
49449         (__printf_fphex): Determine rounding using get_rounding_mode and
49450         round_away.
49451         * stdio-common/tst-printf-round.c (struct hex_test): New
49452         structure.
49453         (hex_tests): New variable.
49454         (test_hex_in_one_mode): New function.
49455         (do_test): Also run tests for hex float output.
49457 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
49459         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
49460         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
49461         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
49462         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
49463         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
49464         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
49465         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
49466         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
49468 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
49470         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
49471         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
49472         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
49473         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
49475 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
49477         [BZ #14579]
49478         * elf/rtld.c (dl_main): Limit the check for self loading to normal
49479         mode only.
49480         * elf/tst-rtld-load-self.sh: New test.
49481         * elf/Makefile: Run it.
49483 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
49485         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
49486         (tst-writev-ENV): Remove.
49487         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
49489 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
49491         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
49493 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
49495         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
49496         unconditional.
49497         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
49498         Likewise.
49499         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
49500         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
49501         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
49502         Likewise.
49504 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
49506         [BZ #14587]
49507         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
49508         * config.make.in (have-cpp-asm-debuginfo): Removed.
49509         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
49510         * configure: Regenerated.
49512 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
49514         [BZ #5044]
49515         * stdio-common/printf_fp.c: Include <stdbool.h> and
49516         <rounding-mode.h>.
49517         (___printf_fp): Determine rounding using get_rounding_mode and
49518         round_away.
49519         * stdio-common/tst-printf-round.c: New file.
49520         * stdio-common/Makefile (tests): Add tst-printf-round.
49521         (link-libm): New variable.
49522         ($(objpfx)tst-printf-round): Depend in $(link-libm).
49524 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
49526         [BZ #14576]
49527         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
49528         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
49529         Likewise.
49530         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
49531         Likewise.
49533 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
49535         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
49536         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
49537         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
49538         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
49540 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
49542         [BZ #14518]
49543         * include/rounding-mode.h: New file.
49544         * sysdeps/generic/get-rounding-mode.h: Likewise.
49545         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
49546         * stdlib/strtod_l.c: Include <rounding-mode.h>.
49547         (MAX_VALUE): New macro.
49548         (MIN_VALUE): Likewise.
49549         (overflow_value): New function.
49550         (underflow_value): Likewise.
49551         (round_and_return): Use overflow_value and underflow_value to
49552         determine return values in overflow and underflow cases.  Use
49553         round_away to determine rounding depending on rounding mode.
49554         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
49555         determine return values in overflow and underflow cases.
49556         * stdlib/tst-strtod-round.c: Include <fenv.h>.
49557         (struct test_results): New structure.
49558         (struct test): Use struct test_results to store expected results
49559         for all rounding modes.
49560         (TEST): Include expected results for all rounding modes.
49561         (test_in_one_mode): New function.
49562         (do_test): Use test_in_one_mode to compute and check results.
49563         Check results for all rounding modes.
49564         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
49565         $(link-libm).
49567 2012-12-09  Allan McRae  <allan@archlinux.org>
49569         * sysdeps/i386/fpu/libm-test-ulps: Update
49571 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
49573         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
49574         (_G_int32_t): Likewise.
49575         (_G_uint16_t): Likewise.
49576         (_G_uint32_t): Likewise.
49577         (_G_HAVE_BOOL): Likewise.
49578         (_G_HAVE_ATEXIT): Likewise.
49579         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
49580         (_G_HAVE_IO_FILE_OPEN): Likewise.
49581         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
49582         (_G_int32_t): Likewise.
49583         (_G_uint16_t): Likewise.
49584         (_G_uint32_t): Likewise.
49585         (_G_HAVE_BOOL): Likewise.
49586         (_G_HAVE_ATEXIT): Likewise.
49587         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
49588         (_G_HAVE_IO_FILE_OPEN): Likewise.
49589         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
49590         (_G_int32_t): Likewise.
49591         (_G_uint16_t): Likewise.
49592         (_G_uint32_t): Likewise.
49593         (_G_HAVE_BOOL): Likewise.
49594         (_G_HAVE_ATEXIT): Likewise.
49595         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
49596         (_G_HAVE_IO_FILE_OPEN): Likewise.
49598 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
49600         * csu/libc-tls.c: Update copyright years.
49602 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
49604         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
49605         [!_G_USING_THUNKS]: Remove conditional code.
49606         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
49607         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
49609         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
49610         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
49611         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
49612         (_G_VTABLE_LABEL_PREFIX): Likewise.
49613         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
49614         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
49615         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
49616         (_G_VTABLE_LABEL_PREFIX): Likewise.
49617         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
49618         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
49619         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
49620         (_G_VTABLE_LABEL_PREFIX): Likewise.
49621         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
49623 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
49625         * libio/Makefile: Include ../Makeconfig before tests.
49626         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
49627         only if $(build-shared) is yes.
49629         * iconv/gconv_db.c: Update copyright years.
49631 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49633         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
49634         unwind info if defined PIC. Fix special cases description.
49635         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
49637         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
49638         DP_HI_MASK entry.
49639         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
49641 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
49643         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
49645         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
49646         is NULL.
49648         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
49649         (LDLIBS-tst-chk4): This.
49650         (LDFLAGS-tst-chk5): Renamed to ...
49651         (LDLIBS-tst-chk5): This.
49652         (LDFLAGS-tst-chk6): Renamed to ...
49653         (LDLIBS-tst-chk6): This.
49654         (LDFLAGS-tst-lfschk4): Renamed to ...
49655         (LDLIBS-tst-lfschk4): This.
49656         (LDFLAGS-tst-lfschk5): Renamed to ...
49657         (LDLIBS-tst-lfschk5): This.
49658         (LDFLAGS-tst-lfschk6): Renamed to ...
49659         (LDLIBS-tst-lfschk6): This.
49661         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
49662         on $(common-objpfx)soversions.mk.
49664 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
49666         [BZ #10014]
49667         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
49668         example host name.
49670 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
49672         * malloc/arena.c (arena_get_retry): New function that gets
49673         another arena for the caller to try its request on.
49674         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
49675         current arena cannot fulfill the request.
49676         (__libc_memalign): Likewise.
49677         (__libc_memalign): Likewise.
49678         (__libc_pvalloc): Likewise.
49679         (__libc_calloc): Likewise.
49681 2012-09-05  John Tobey  <john.tobey@gmail.com>
49683         [BZ #13542]
49684         * manual/arith.texi (Operations on Complex): Fix description
49685         of carg branch cut.
49687 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
49689         [BZ #10014]
49690         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
49691         host name.
49693         [BZ #10038]
49694         * manual/memory.texi (Memory): Make order of menu items match
49695         order of sections.
49697 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
49699         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
49700         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
49701         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
49703 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
49705         * csu/libc-tls.c (static_dtv): Renamed to ...
49706         (_dl_static_dtv): This.  Make it global.
49707         (_dl_initial_dtv): Removed.
49708         (__libc_setup_tls): Updated.
49709         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
49710         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
49711         DL_INITIAL_DTV.
49713 2012-09-06  Petr Machata  <pmachata@redhat.com>
49715         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
49716         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
49717         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
49718         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
49720 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
49722         [BZ #14545]
49723         * csu/libc-tls.c (_dl_initial_dtv): New variable.
49724         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
49725         freeing dtv[-1].
49727 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
49729         [BZ #14544]
49730         * Makeconfig (link-static-before-libc): Replace $(+prector)
49731         with $(+prectorT).
49732         (link-static-after-libc): Replace $(+postctor) with
49733         $(+postctorT).
49734         (link-bounded): Replace $(+prector)/$(+postctor) with
49735         $(+prectorT)/$(+postctorT).
49736         (+prectorT): New macro.
49737         (+postctorT): Likewise.
49739 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
49741         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
49742         (round_str): Handle values above the maximum for IBM long double
49743         as inexact.
49744         * stdlib/tst-strtod-round.c (tests): Regenerated.
49746 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49748         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
49749         assembler flag.
49750         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
49751         zarch_nohighgprs around the zarch optimized routines.
49752         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
49753         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
49754         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
49755         for zarch.
49757 2012-09-05  David S. Miller  <davem@davemloft.net>
49759         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49761         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
49762         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
49763         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
49764         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
49765         entries.
49767 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
49769         * malloc/arena.c: Fold copyright years.
49770         * malloc/mcheck.c, malloc/memusage.c: Likewise.
49772 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
49774         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
49776 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
49778         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
49780 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
49782         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
49783         change internal state upon failure.
49785 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
49787         * malloc/mcheck.c (mcheck_check_all): Fix typo.
49788         * malloc/memusage.c (mmap): Likewise.
49789         (mmap64, mremap): Likewise.  Adjust name in comment.
49791 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
49793         * libio/fileops.c: Fix typos in comments.
49794         * libio/oldfileops.c: Likewise.
49795         * libio/wfileops.c: Likewise.
49797 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
49799         [BZ #1349]
49800         * malloc/Makefile (tests): Add tst-malloc-usable test case.
49801         (tst-malloc-usable-ENV): Set environment for test case.
49802         * malloc/hooks.c (malloc_check_get_size): New function to get
49803         requested size.
49804         * malloc/malloc.c (musable): Use malloc_check_get_size.
49805         * malloc/tst-malloc-usable.c: New test case.
49807 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
49809         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
49811 2012-09-05  Allan McRae  <allan@archlinux.org>
49813         [BZ #13966]
49814         * configure.in (CXX_SYSINCLUDES): Use compiler output to
49815         determine header location.
49816         * configure: Regenerated.
49818 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
49820         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
49821         float format.
49822         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
49823         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
49824         format.
49825         (test): Regenerate.
49827 2012-09-04  David S. Miller  <davem@davemloft.net>
49829         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
49830         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
49831         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
49833 2012-09-04  Florian Weimer  <fweimer@redhat.com>
49835         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
49836         failures.
49838         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
49840 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
49842         [BZ #9914]
49843         * libio/iogetdelim.c: Include <limits.h>.
49844         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
49845         + len + 1 would overflow.
49847 2012-09-03  Andreas Jaeger  <aj@suse.de>
49849         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49850         * sysdeps/i386/fpu/libm-test-ulps: Update.
49852 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49854         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
49855         Add s_sinf-sse2, s_conf-sse2.
49857         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
49858         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
49859         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
49860         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
49862         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
49863         for using routine as __sinf_ia32.
49864         Use macro for function declaration and weak_alias.
49865         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
49866         for using routine as __cosf_ia32.
49867         Use macro for function declaration and weak_alias.
49869         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
49870         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
49872         * sysdeps/x86_64/fpu/s_sinf.S: New file.
49873         * sysdeps/x86_64/fpu/s_cosf.S: New file.
49874         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49876         * math/libm-test.inc (cos_test): Add more test cases.
49877         (sin_test): Likewise.
49878         (sincos_test): Likewise.
49880 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49882         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
49883         (IFUNC_RESOLVE): Make pointers to the specialized implementations
49884         hidden.
49885         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
49887 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
49889         [BZ #14538]
49890         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
49891         first element of the GOT.
49892         (elf_machine_load_address): Return the difference between
49893         the runtime address of _DYNAMIC and elf_machine_dynamic ().
49895 2012-09-01  Allan McRae  <allan@archlinux.org>
49897         [BZ #13412]
49898         * configure.in (AWK): Require gawk version 3.0 or later.
49899         * configure: Regenerated.
49901 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
49903         * sysdeps/unix/sysv/linux/kernel-features.h
49904         (__ASSUME_POSIX_CPU_TIMERS): Remove.
49905         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
49906         [__NR_clock_getres]: Make code unconditional.
49907         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
49908         (clock_getcpuclockid): Remove code left unreachable by removal of
49909         conditionals.
49910         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
49911         code unconditional.
49912         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
49913         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
49914         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
49915         Make code unconditional.
49916         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
49917         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
49918         * sysdeps/unix/sysv/linux/clock_settime.c
49919         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
49920         conditional code.
49921         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
49922         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
49924 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
49926         [BZ #14476]
49927         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
49928         scripts/test-installation.pl.
49930         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
49931         and $ld_so_version if it is set.
49933 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
49935         [BZ #14516]
49936         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
49937         failure if reading from procfs failed.
49938         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
49940 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
49942         * sysdeps/unix/sysv/linux/kernel-features.h
49943         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
49944         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
49945         Remove conditional code.
49946         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
49947         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
49948         Remove conditional code.
49949         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
49950         * sysdeps/unix/sysv/linux/i386/fxstat.c
49951         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
49952         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
49953         * sysdeps/unix/sysv/linux/i386/fxstatat.c
49954         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
49955         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
49956         * sysdeps/unix/sysv/linux/i386/lxstat.c
49957         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
49958         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
49959         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
49960         Remove conditional code.
49961         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
49962         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
49963         Remove conditional code.
49964         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
49965         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
49966         <kernel-features.h>.
49967         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
49968         Remove.
49969         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
49970         Remove conditional code.
49971         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
49972         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
49973         Remove conditional.
49975 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
49977         [BZ #5400]
49978         * NEWS: Add fixed bug number.
49980 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
49982         [BZ #14519]
49983         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
49984         underflowing exponent in case of negative sign.
49985         * stdlib/tst-strtod-round-data: Add more tests.
49986         * stdlib/tst-strtod-round.c (tests): Regenerated.
49988         [BZ #3479]
49989         * stdlib/strtod_l.c (NDIG): Remove.
49990         (HEXNDIG): Likewise.
49991         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
49992         smallest representable value.
49993         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
49994         lie within an exact representation of 1/2 ulp of the result.
49995         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
49996         unconditionally.
49997         (TENS_P9_IDX): Define unconditionally.
49998         (TENS_P9_SIZE): Likewise.
49999         (TENS_P10_IDX): Likewise.
50000         (TENS_P10_SIZE): Likewise.
50001         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
50002         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
50003         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
50004         entries for 10^2^13 and 10^2^14.
50005         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
50006         (TENS_P13_IDX): Define.
50007         (TENS_P13_SIZE): Likewise.
50008         (TENS_P14_IDX): Likewise.
50009         (TENS_P14_SIZE): Likewise.
50010         (_fpioconst_pow10): Change array size to
50011         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
50012         unconditional.
50013         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
50014         1024]: Add entries for 10^2^13 and 10^2^14.
50015         [LAST_POW10 > _LAST_POW10]: Remove #error.
50016         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
50017         (_fpioconst_pow10): Change array size to
50018         FPIOCONST_POW10_ARRAY_SIZE.
50019         * stdlib/gen-fpioconst.c: New file.
50020         * stdlib/gen-tst-strtod-round.c: Likewise.
50021         * stdlib/tst-strtod-round-data: Likewise.
50022         * stdlib/tst-strtod-round.c: Likewise.
50023         * stdlib/Makefile (tests): Add tst-strtod-round.
50025         [BZ #14459]
50026         * stdlib/strtod_l.c: Include <stdint.h>.
50027         (NDEBUG): Do not define.
50028         (round_and_return): Change EXPONENT parameter to type intmax_t.
50029         Rearrange calculations to avoid internal overflow possibilities.
50030         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
50031         Rearrange calculations to avoid internal overflow possibilities.
50032         Assert that number fits inside MPNSIZE limbs.
50033         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
50034         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
50035         calculations and add assertions to avoid internal overflow
50036         possibilities.  Add casts to avoid signed/unsigned operations.
50037         * stdlib/tst-strtod-overflow.c: New file.
50038         * stdlib/Makefile (tests): Add tst-strtod-overflow.
50040 2012-08-25  Marek Polacek  <polacek@redhat.com>
50042         * time/time.h: Fix some typos in comments.
50044 2012-08-23  Roland McGrath  <roland@hack.frob.com>
50046         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
50047         * posix/tst-rfc3484-2.c: Likewise.
50048         * posix/tst-rfc3484-3.c: Likewise.
50050 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
50052         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
50053         (EF_ARM_ABI_FLOAT_HARD): Likewise.
50055 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
50057         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
50058         #include of fxstatat64.c.
50060 2012-08-22  Roland McGrath  <roland@hack.frob.com>
50062         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
50063         * shadow/getspent_r.c: Likewise.
50064         * shadow/getspnam.c: Likewise.
50065         * shadow/getspnam_r.c: Likewise.
50066         * gshadow/getsgent.c: Likewise.
50067         * gshadow/getsgent_r.c: Likewise.
50068         * gshadow/getsgnam.c: Likewise.
50069         * gshadow/getsgnam_r.c: Likewise.
50070         * inet/getnetbyad.c: Likewise.
50071         * inet/getnetbyad_r.c: Likewise.
50072         * inet/getnetbynm.c: Likewise.
50073         * inet/getnetbynm_r.c: Likewise.
50074         * inet/getnetent.c: Likewise.
50075         * inet/getnetent_r.c: Likewise.
50076         * inet/getproto.c: Likewise.
50077         * inet/getproto_r.c: Likewise.
50078         * inet/getprtent.c: Likewise.
50079         * inet/getprtent_r.c: Likewise.
50080         * inet/getprtname.c: Likewise.
50081         * inet/getprtname_r.c: Likewise.
50082         * inet/getrpcbyname.c: Likewise.
50083         * inet/getrpcbyname_r.c: Likewise.
50084         * inet/getrpcbynumber.c: Likewise.
50085         * inet/getrpcbynumber_r.c: Likewise.
50086         * inet/getrpcent.c: Likewise.
50087         * inet/getrpcent_r.c: Likewise.
50088         * inet/getaliasent.c: Likewise.
50089         * inet/getaliasent_r.c: Likewise.
50090         * inet/getaliasname.c: Likewise.
50091         * inet/getaliasname_r.c: Likewise.
50092         * nscd/getgrgid_r.c: Likewise.
50093         * nscd/getgrnam_r.c: Likewise.
50094         * nscd/gethstbyad_r.c: Likewise.
50095         * nscd/gethstbynm3_r.c: Likewise.
50096         * nscd/getpwnam_r.c: Likewise.
50097         * nscd/getpwuid_r.c: Likewise.
50098         * nscd/getsrvbynm_r.c: Likewise.
50099         * nscd/getsrvbypt_r.c: Likewise.
50100         * nscd/gai.c: Likewise.
50102         * configure.in (build_nscd): New substituted variable, set
50103         by --disable-build-nscd and defaults to $use_nscd.
50104         * configure: Regenerated.
50105         * config.make.in (build-nscd): New substituted variable.
50106         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
50107         Change conditional to require [$(build-nscd) = yes] as well.
50108         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
50110         [BZ# 13696]
50111         * configure.in (use_nscd): New substituted variable, set by
50112         --disable-nscd.  If enabled, define USE_NSCD.
50113         * configure: Regenerated.
50114         * config.h.in: Add USE_NSCD.
50115         * config.make.in (use-nscd): New substituted variable.
50116         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
50117         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
50118         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
50119         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
50120         (CFLAGS-getgrnam_r.c): Likewise.
50121         (CFLAGS-initgroups.c): Likewise.
50122         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
50123         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
50124         Variables removed.
50125         * inet/getnetgrent_r.c
50126         (nscd_setnetgrent): New function, broken out of ...
50127         (setnetgrent): ... here.  Call it.
50128         (innetgr): Conditionalize nscd bits on [USE_NSCD].
50129         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
50130         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
50131         * nscd/Makefile (routines, aux): Move definitions after include of
50132         Makeconfig.  Conditionalize on [$(use-nscd) != no].
50133         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
50134         Conditionalize on [USE_NSCD].
50135         (is_nscd, nscd_init_cb): Likewise.
50136         (nss_load_library): Conditionalize init callback on [USE_NSCD].
50137         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
50138         * nss/nss_db/db-init.c: Likewise.
50139         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
50140         [USE_NSCD].
50141         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
50142         (make_request): Use it.
50143         (cache_valid_p): New function.
50144         (__check_pf): Use it.
50145         * NEWS: Add item for --disable-nscd.
50147 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
50149         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
50150         to support sed >= 4.2.1-20-ga9bf076.
50151         * configure: Regenerated.
50153 2012-08-22  Roland McGrath  <roland@hack.frob.com>
50155         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
50156         Conditionalize whole body on [IREL].
50158 2012-08-22  Jeff Law <law@redhat.com>
50160         [BZ #14505]
50161         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
50162         if the family is PF_UNSPEC.
50164 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
50166         * Makerules (lib-version): Rename from V.
50167         (install-lib-nosubdir): Change V to lib-version.
50169 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
50171         [BZ #14252]
50172         * powerpc32/power6/wcschr.c: New file.
50173         * powerpc32/power6/wcscpy.c: New file.
50174         * powerpc32/power6/wcsrchr.c: New file.
50175         * powerpc64/power6/wcschr.c: New file.
50176         * powerpc64/power6/wcscpy.c: New file.
50177         * powerpc64/power6/wcsrchr.c: New file.
50179 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
50181         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
50182         (two_way_short_needle): Use it.
50183         * string/strstr.c (AVAILABLE1_USES_J): Define.
50184         * string/strcasestr.c: Likewise.
50186         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
50187         array references.
50188         * string/strcasestr.c (TOLOWER): Make side-effect safe.
50190         [BZ #11607]
50191         * NEWS: Add an entry.
50192         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
50193         define their defaults.
50194         (two_way_short_needle): Detect end-of-string on-the-fly.
50195         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
50196         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
50197         * string/bug-strcasestr1.c: New test.
50198         * string/Makefile: Run it.
50200 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
50202         [BZ #11607]
50203         * string/str-two-way.h (two_way_short_needle): Optimize matching of
50204         the first character.
50206 2012-08-21  Roland McGrath  <roland@hack.frob.com>
50208         * csu/elf-init.c (__libc_csu_irel): Function removed.
50209         * csu/libc-start.c (apply_irel): New function.
50210         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
50212 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
50214         * sysdeps/unix/sysv/linux/kernel-features.h
50215         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
50216         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
50217         <kernel-features.h>.
50218         [__NR_fadvise64_64]: Make code unconditional.
50219         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
50220         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
50221         !__NR_fadvise64_64)]: Likewise.
50222         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
50223         !__NR_fadvise64_64))]: Likewise.
50224         [__NR_fadvise64]: Make code unconditional.
50225         [!__NR_fadvise64]: Remove conditional code.
50226         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
50227         <kernel-features.h>.
50228         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
50229         unconditional.
50230         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
50231         conditional code.
50232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
50233         not include <kernel-features.h>.
50234         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
50235         unconditional.
50236         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
50237         conditional code.
50238         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
50239         include <kernel-features.h>.
50240         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
50241         unconditional.
50242         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
50243         conditional code.
50245 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
50247         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
50248         slight instruction rearrangements per scrollpipe analysis.
50249         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
50251 2012-08-20  Roland McGrath  <roland@hack.frob.com>
50253         * manual/syslog.texi (syslog; vsyslog, closelog):
50254         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
50255         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
50257         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
50258         DSOCAPS to match condition on defining it.
50260 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
50262         * sysdeps/unix/sysv/linux/kernel-features.h
50263         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
50264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
50265         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
50266         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
50267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
50268         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
50269         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
50270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
50271         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
50272         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
50274         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
50275         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
50277         * sysdeps/unix/sysv/linux/kernel-features.h
50278         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
50279         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
50280         unconditional.
50281         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
50282         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
50283         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
50284         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
50285         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
50286         Make code unconditional.
50287         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
50288         (__mmap64) [!__NR_mmap2]: Likewise.
50289         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
50290         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
50291         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
50292         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
50293         [__NR_mmap2]: Make code unconditional.
50294         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
50295         (__mmap64) [!__NR_mmap2]: Likewise.
50297 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50299         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
50301 2012-08-18  Andreas Jaeger  <aj@suse.de>
50303         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
50305 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
50307         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
50308         * include/unistd.h (__have_sock_cloexec): Likewise.
50309         (__have_pipe2): Likewise.
50310         (__have_dup3): Likewise.
50312 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
50314         [BZ #9685]
50315         * include/unistd.h (__have_pipe2): Change define into an extern int.
50316         (__have_dup3): Likewise.
50317         * socket/have_sock_cloexec.c: Include fcntl.h.
50318         (__have_pipe2): New variable.
50319         (__have_dup3): Likewise.
50321 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
50323         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
50325 2012-08-17  Marek Polacek  <polacek@redhat.com>
50327         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
50328         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
50330 2012-08-17  Roland McGrath  <roland@hack.frob.com>
50332         * configure.in: Add AC_SUBST for sysheaders.
50333         * configure: Regenerated.
50334         * config.make.in (sysheaders): New substituted variable.
50336         * sysdeps/unix/mkfifo.c: Moved ...
50337         * sysdeps/posix/mkfifo.c: ... here.
50338         * sysdeps/unix/mkfifoat.c: Moved ...
50339         * sysdeps/posix/mkfifoat.c: ... here.
50341         * sysdeps/unix/utime.c: Moved ...
50342         * sysdeps/posix/utime.c: ... here.
50344         * sysdeps/unix/time.c: Moved ...
50345         * sysdeps/posix/time.c: ... here.
50346         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
50347         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
50349         * sysdeps/unix/nice.c: Moved ...
50350         * sysdeps/posix/nice.c: ... here.
50352         * sysdeps/unix/alarm.c: Moved ...
50353         * sysdeps/posix/alarm.c: ... here.
50355         * intl/Makefile ($(codeset_mo)): Depend on the input file.
50357 2012-08-17  Jeff Law <law@redhat.com>
50359         * intl/Makefile (codeset_mo): New variable.
50360         ($(codeset_mo)): New target.
50361         (tst-codeset.out): Depend on that.  Remove explicit rule.
50362         (tst-gettext3.out, tst-gettext5.out): Likewise.
50363         (LOCPATH-ENV, tst-codeset-ENV): New variables.
50364         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
50365         * intl/tst-codeset.sh: Remove.
50366         * intl/tst-gettext3.sh: Likewise.
50367         * intl/tst-gettext5.sh: Likewise.
50369 2012-08-17  Roland McGrath  <roland@hack.frob.com>
50371         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
50372         * sysdeps/unix/syscalls.list: ... here.
50374         * sysdeps/posix/getaddrinfo.c
50375         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
50376         (gaiconf_init, gaiconf_reload): Use them.
50377         [!_STATBUF_ST_NSEC]
50378         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
50379         Define using time_t rather than struct timespec.
50381         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
50382         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
50383         Macros removed.
50384         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
50385         [!NO_THREADS].
50386         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
50387         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
50388         Likewise.
50390         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
50391         __libc_cleanup_push argument.
50393         * bits/param.h: New file.
50394         * misc/sys/param.h: New file.
50395         * include/sys/param.h: New file.
50396         * misc/Makefile (headers): Add bits/param.h.
50397         * sysdeps/generic/sys/param.h: File removed.
50398         * sysdeps/unix/sysv/linux/bits/param.h: New file.
50399         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
50400         * sysdeps/mach/hurd/bits/param.h: New file.
50401         * sysdeps/mach/hurd/sys/param.h: File removed.
50403         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
50404         last change.
50406         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
50407         [_IO_MTSAFE_IO].
50408         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
50409         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
50410         New macros.
50412         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
50413         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
50414         rather than -D_IO_MTSAFE_IO conditionally.
50415         * stdio-common/Makefile (CPPFLAGS): Likewise.
50416         * wcsmbs/Makefile (CPPFLAGS): Likewise.
50417         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
50418         Use $(libio-mtsafe).
50419         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
50420         of -D_IO_MTSAFE_IO.
50421         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
50422         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
50423         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
50424         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
50425         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
50426         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
50427         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
50428         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
50429         (CFLAGS-fread_u_chk.c): Likewise.
50430         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
50431         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
50432         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
50433         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
50434         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
50435         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
50436         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
50437         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
50438         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
50440         * libio/Makefile: Test [$(libc-reentrant) = yes]
50441         instead of [$(filter %REENTRANT, $(defines)) nonempty].
50443         * Makeconfig
50444         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
50445         * sysdeps/pthread/configure: File removed.
50446         * sysdeps/pthread/Makeconfig: New file.
50447         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
50448         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
50450 2012-08-16  Gary Benson  <gbenson@redhat.com>
50452         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
50453         unmapping the first object in a namespace.
50455 2012-08-16  Roland McGrath  <roland@hack.frob.com>
50457         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
50458         (__internal_setnetgrent): ... this.  Add internal_function to
50459         definition.  Add libc_hidden_def.
50460         (setnetgrent): Update caller.
50461         (internal_endnetgrent): Renamed to ...
50462         (__internal_endnetgrent): ... this.  Add internal_function to
50463         definition.  Add libc_hidden_def.
50464         (endnetgrent): Update caller.
50465         (internal_getnetgrent_r): Renamed to ...
50466         (__internal_getnetgrent_r): ... this.  Add internal_function to
50467         definition.  Add libc_hidden_def.
50468         (__getnetgrent_r): Update caller.
50469         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
50471 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
50473         * stdlib/longlong.h: Update from GCC.
50475 2012-08-16  Roland McGrath  <roland@hack.frob.com>
50477         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
50478         on _QL, which is set by umul_ppmm but never used.
50479         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
50480         variables, which are set by GMP macros but never used.
50481         * stdio-common/_itowa.c (_itowa): Likewise.
50482         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
50483         * stdlib/mod_1.c (mpn_mod_1): Likewise.
50485 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
50487         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
50488         struct La_sh_regs is not constant.
50489         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
50490         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
50491         and struct La_sparc64_regs are not constant.
50493 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
50495         * sysdeps/unix/sysv/linux/kernel-features.h
50496         (__ASSUME_POSIX_TIMERS): Remove.
50497         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
50498         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
50499         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
50500         Make code unconditional.
50501         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
50502         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
50503         Make code unconditional.
50504         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
50505         * sysdeps/unix/sysv/linux/clock_nanosleep.c
50506         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
50507         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
50508         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
50509         Make code unconditional.
50510         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
50511         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
50512         (__libc_missing_posix_timers): Remove.
50514 2012-08-15  Roland McGrath  <roland@hack.frob.com>
50516         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
50517         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
50519         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
50521         * elf/dl-sym.c: Include <stdlib.h>.
50523         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
50524         constants, which avoids warnings in 32-bit builds.
50526         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
50527         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
50529         * misc/lseek.c: File moved to ...
50530         * io/lseek.c: ... here.
50532         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
50534         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
50535         shifting LEN more than 31 bits at once.
50537 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50539         [BZ #14195]
50540         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
50541         segmentation fault for a case of two empty input strings.
50542         * string/test-strncasecmp.c (check1): Renamed to...
50543         (bz12205): ...this.
50544         (bz14195): Add new testcase for two empty input strings and N > 0.
50545         (test_main): Call new testcase, adapt for renamed function.
50547 2012-08-15  Andreas Jaeger  <aj@suse.de>
50549         [BZ #14090]
50550         * crypt/md5test2.c: New test, based on test supplied by Serge
50551         Belyshev <belyshev@depni.sinp.msu.ru>.
50552         * crypt/Makefile (xtests): Add md5test-giant..
50553         * crypt/Makefile ($(objpfx)md5test-giant): Add.
50555 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
50557         [BZ #14090]
50558         * crypt/md5.c (md5_process_block): Don't assume the buffer
50559         length is less than 2**32.
50560         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
50561         length is less than 2**64.
50563 2012-08-15  Roland McGrath  <roland@hack.frob.com>
50565         * string/str-two-way.h: Include <sys/param.h>.
50566         (MAX): Macro removed.
50568         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
50569         Move #define and #undef of memmove to just before and after
50570         including <string.h>.
50572         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
50573         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
50574         and after including <string.h>.  Move declarations of
50575         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
50576         to before #include "string/memmove.c".
50578         * include/dirent.h: Declare __getdirentries.
50580         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
50581         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
50583 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
50585         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
50586         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
50587         * sysdeps/i386/configure: Regenerated.
50588         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
50589         STABS_CURRENT_FILE, and STABS_FUN.
50590         (END): Remove call to STABS_FUN_END.
50591         (STABS_CURRENT_FILE1): Delete.
50592         (STABS_CURRENT_FILE): Likewise.
50593         (STABS_FUN): Likewise.
50594         (STABS_FUN_END): Likewise.
50595         (STABS_FUN2): Likewise.
50596         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
50597         * sysdeps/x86_64/configure: Regenerated.
50599 2012-08-14  Roland McGrath  <roland@hack.frob.com>
50601         * elf/dl-open.c: Include <atomic.h>.
50602         * elf/dl-lookup.c: Likewise.
50604 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
50606         * sysdeps/unix/sysv/linux/kernel-features.h
50607         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
50608         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
50609         unconditionally.
50610         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
50611         unconditionally.
50612         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
50613         condition on __ASSUME_CLONE_THREAD_FLAGS.
50615 2012-08-14  Andreas Jaeger  <aj@suse.de>
50617         * sysdeps/i386/fpu/libm-test-ulps: Update.
50619 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
50621         * include/atomic.h (atomic_exchange_and_add): Split into ...
50622         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
50623         New atomic macros.
50625 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
50627         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50629 2012-08-13  Jeff Law <law@redhat.com>
50631         * manual/stdio.texi (snprintf): Clarify handling of the trailing
50632         null byte in the output string.
50634 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
50636         * sysdeps/unix/sysv/linux/kernel-features.h
50637         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
50638         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
50639         (__ASSUME_ARG_MAX_STACK_BASED): Define.
50640         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
50641         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
50642         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
50643         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
50645 2012-08-09  Jeff Law <law@redhat.com>
50647         [BZ #13939]
50648         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
50649         When avoid_arena is set, don't retry in the that arena.  Pick the
50650         next one, whatever it might be.
50651         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
50652         (arena_lock): Pass in new parameter to arena_get2.
50653         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
50654         arena_get2.
50655         (__libc_malloc): Unify retrying after main arena failure with
50656         __libc_memalign version.
50657         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
50659 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
50661         [BZ #14166]
50662         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
50663         to __redirect_strstr.
50664         (__strstr_sse42): Use typeof __redirect_strstr.
50665         (__strstr_ia32): Likewise.
50666         (__libc_strstr): New prototype.
50667         (strstr): Renamed to ...
50668         (__libc_strstr): This.
50669         (strstr): New strong alias of __libc_strstr.
50670         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
50671         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
50672         __redirect_time.
50673         Include <time.h>.
50674         (__libc_time): New prototype.
50675         (time_ifunc): Replace time with __libc_time.
50676         (time): New strong alias and hidden definition of __libc_time.
50677         (__GI_time): Remove strong alias.
50678         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
50679         Include <stddef.h>.
50680         (memmove): Redefined to __redirect_memmove.
50681         (__memmove_sse2): Use typeof __redirect_memmove.
50682         (__memmove_ssse3): Likewise.
50683         (__memmove_ssse3_back): Likewise.
50684         (__libc_memmove): New prototype.
50685         (memmove): Renamed to ...
50686         (__libc_memmove): This.
50687         (memmove): New strong alias of __libc_memmove.
50689 2012-08-08  Mark Salter  <msalter@redhat.com>
50691         * elf/elf.h
50692         (R_MN10300_TLS_GD): Define.
50693         (R_MN10300_TLS_LD): Likewise.
50694         (R_MN10300_TLS_LDO): Likewise.
50695         (R_MN10300_TLS_GOTIE): Likewise.
50696         (R_MN10300_TLS_IE): Likewise.
50697         (R_MN10300_TLS_LE): Likewise.
50698         (R_MN10300_TLS_DTPMOD): Likewise.
50699         (R_MN10300_TLS_DTPOFF): Likewise.
50700         (R_MN10300_TLS_TPOFF): Likewise.
50701         (R_MN10300_SYM_DIFF): Likewise.
50702         (R_MN10300_ALIGN): Likewise.
50703         (R_MN10300_NUM): Update.
50705 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
50707         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
50708         Remove.
50710 2012-08-08  Roland McGrath  <roland@hack.frob.com>
50712         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
50714         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
50715         sysdeps/unix -> sysdeps/posix move.
50716         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
50718 2012-08-07      Allan McRae     <allan@archlinux.org>
50720         [BZ #14303]
50721         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
50722         (SUNOS_CPP): Likewise.
50723         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
50724         not found.
50725         (open_input): Call CPP using execvp.
50727 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
50729         * sysdeps/unix/sysv/linux/kernel-features.h
50730         (__ASSUME_PROT_GROWSUPDOWN): Remove.
50731         (__ASSUME_NO_CLONE_DETACHED): Likewise.
50732         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
50733         (__ASSUME_WAITID_SYSCALL): Likewise.
50734         * sysdeps/unix/sysv/linux/dl-execstack.c
50735         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
50736         code unconditional.
50737         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
50738         conditional code.
50739         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
50740         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
50741         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
50742         code.
50743         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
50744         unconditional.
50745         [__ASSUME_WAITID_SYSCALL]: Likewise.
50746         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
50748 2012-08-07  Roland McGrath  <roland@hack.frob.com>
50750         * sysdeps/unix/closedir.c: Renamed to ...
50751         * sysdeps/posix/closedir.c: ... here.
50752         * sysdeps/unix/dirfd.c: Renamed to ...
50753         * sysdeps/posix/dirfd.c: ... here.
50754         * sysdeps/unix/dirstream.h: Renamed to ...
50755         * sysdeps/posix/dirstream.h: ... here.
50756         * sysdeps/unix/fdopendir.c: Renamed to ...
50757         * sysdeps/posix/fdopendir.c: ... here.
50758         * sysdeps/unix/opendir.c: Renamed to ...
50759         * sysdeps/posix/opendir.c: ... here.
50760         * sysdeps/unix/readdir.c: Renamed to ...
50761         * sysdeps/posix/readdir.c: ... here.
50762         * sysdeps/unix/readdir_r.c: Renamed to ...
50763         * sysdeps/posix/readdir_r.c: ... here.
50764         * sysdeps/unix/rewinddir.c: Renamed to ...
50765         * sysdeps/posix/rewinddir.c: ... here.
50766         * sysdeps/unix/seekdir.c: Renamed to ...
50767         * sysdeps/posix/seekdir.c: ... here.
50768         * sysdeps/unix/telldir.c: Renamed to ...
50769         * sysdeps/posix/telldir.c: ... here.
50770         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
50771         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
50772         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
50773         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
50775         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
50776         * bits/fcntl.h: ... here.
50778         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
50779         not 0.
50780         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
50781         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
50782         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
50783         (struct flock): Move l_start, l_len to the beginning.
50784         Use __pid_t for l_pid.
50785         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
50786         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
50787         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
50788         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
50789         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
50790         [__USE_LARGEFILE64] (struct flock64): New type.
50791         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
50793         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
50794         * bits/dirent.h: ... here.
50796         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
50797         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
50799 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
50801         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
50802         Change from 2.6.0 to 2.6.16.
50803         * sysdeps/unix/sysv/linux/configure: Regenerated.
50804         * sysdeps/unix/sysv/linux/kernel-features.h
50805         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
50806         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
50807         version.
50808         (__ASSUME_UTIMES): Likewise.
50809         (__ASSUME_CLONE_STOPPED): Remove.
50810         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
50811         architectures, not kernel version.
50812         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
50813         (__ASSUME_NO_CLONE_DETACHED): Likewise.
50814         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
50815         (__ASSUME_WAITID_SYSCALL): Likewise.
50816         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
50817         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
50818         * README: State 2.6.16 as minimum Linux kernel version.  Do not
50819         refer to older versions.
50821 2012-08-06  Roland McGrath  <roland@hack.frob.com>
50823         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
50824         Define alphasort64 as an alias.
50825         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
50826         Define versionsort64 as an alias.
50827         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
50828         Define scandir64 as an alias.
50829         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
50830         Define scandirat64 as an alias.
50831         * dirent/alphasort64.c (alphasort64):
50832         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
50833         * dirent/versionsort64.c: Likewise.
50834         * dirent/scandir64.c: Likewise.
50835         * dirent/scandirat64.c: Likewise.
50836         * sysdeps/wordsize-64/alphasort.c: File removed.
50837         * sysdeps/wordsize-64/alphasort64.c: File removed.
50838         * sysdeps/wordsize-64/scandir.c: File removed.
50839         * sysdeps/wordsize-64/scandir64.c: File removed.
50840         * sysdeps/wordsize-64/scandirat.c: File removed.
50841         * sysdeps/wordsize-64/scandirat64.c: File removed.
50842         * sysdeps/wordsize-64/versionsort.c: File removed.
50843         * sysdeps/wordsize-64/versionsort64.c: File removed.
50844         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
50845         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
50846         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
50847         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
50848         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
50849         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
50850         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
50851         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
50853         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
50854         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
50855         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
50856         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50857         [defined __arch64__ || defined __sparcv9]
50858         (__INO_T_MATCHES_INO64_T): New macro.
50859         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
50860         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
50861         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
50862         * sysdeps/unix/sysv/linux/bits/dirent.h
50863         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
50864         (_DIRENT_MATCHES_DIRENT64): New macro.
50866         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
50867         Define lockf64 as an alias.
50868         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
50869         Define fseeko64 as an alias.
50870         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
50871         Define ftello64 as an alias.
50872         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
50873         Define _IO_fgetpos64 and fgetpos64 as aliases.
50874         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
50875         Define _IO_fsetpos64 and fsetpos64 as aliases.
50876         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
50877         Conditionalize body on this.
50878         * libio/fseeko64.c: Likewise.
50879         * libio/ftello64.c: Likewise.
50880         * libio/iofgetpos64.c: Likewise.
50881         * libio/iofsetpos64.c: Likewise.
50882         * sysdeps/wordsize-64/lockf.c: File removed.
50883         * sysdeps/wordsize-64/lockf64.c: File removed.
50884         * sysdeps/wordsize-64/fseeko.c: File removed.
50885         * sysdeps/wordsize-64/fseeko64.c: File removed.
50886         * sysdeps/wordsize-64/ftello.c: File removed.
50887         * sysdeps/wordsize-64/ftello64.c: File removed.
50888         * sysdeps/wordsize-64/iofgetpos.c: File removed.
50889         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
50890         * sysdeps/wordsize-64/iofsetpos.c: File removed.
50891         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
50892         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
50893         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
50894         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
50895         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
50896         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
50897         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
50898         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
50899         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
50900         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
50901         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
50903         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
50904         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
50905         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
50906         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50907         [defined __arch64__ || defined __sparcv9]
50908         (__OFF_T_MATCHES_OFF64_T): New macro.
50909         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
50910         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
50911         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50912         (__OFF_T_MATCHES_OFF64_T): New macro.
50914 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
50916         * stdlib/secure-getenv.c (__secure_getenv): Replace
50917         GLIBC_2_16 with GLIBC_2_17.
50919 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
50921         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
50922         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
50924 2012-08-03  David S. Miller  <davem@davemloft.net>
50926         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50928 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
50930         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
50931         Remove.
50932         (__ASSUME_CORRECT_SI_PID): Likewise.
50933         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
50934         (__ASSUME_TMPFS_NAME): Likewise.
50935         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
50936         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
50937         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
50938         (HAVE_AUX_SECURE): Make definition unconditional.
50939         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
50940         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
50942 2012-08-03  Roland McGrath  <roland@hack.frob.com>
50944         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
50945         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
50946         * sysdeps/mach/hurd/eloop-threshold.h: New file.
50947         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
50948         __eloop_threshold instead of SYMLOOP_MAX.
50950         * sysdeps/generic/eloop-threshold.h: New file.
50951         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
50952         of MAXSYMLINKS.
50953         * elf/chroot_canon.c (chroot_canon): Likewise.
50955 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
50957         [BZ #13717]
50958         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
50959         Change to 2.6.0 everywhere.
50960         * sysdeps/unix/sysv/linux/configure: Regenerated.
50961         * sysdeps/unix/sysv/linux/kernel-features.h
50962         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
50963         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
50964         kernel versions.
50965         (__ASSUME_POSIX_TIMERS): Define unconditionally.
50966         (__ASSUME_FUTEX_REQUEUE): Remove.
50967         (__ASSUME_STATFS64): Define unconditionally.
50968         (__ASSUME_AT_SECURE): Likewise.
50969         (__ASSUME_CORRECT_SI_PID): Likewise.
50970         (__ASSUME_TGKILL): Define without depending on kernel version for
50971         i386.
50972         (__ASSUME_UTIMES): Likewise.
50973         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
50974         kernel version.
50975         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
50976         (__ASSUME_TMPFS_NAME): Likewise.
50977         * README: Update reference to Linux kernel versions.
50979 2012-08-02  Marek Polacek  <polacek@redhat.com>
50981         [BZ# 14150]
50982         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
50983         libc_cv_asm_type_prefix with %.
50984         * configure: Regenerated.
50985         * include/libc-symbols.h: Remove comment about
50986         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
50987         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
50988         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
50989         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
50990         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
50991         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
50992         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
50993         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
50994         * elf/tst-unique2mod1.c: Likewise.
50995         * elf/tst-unique1mod2.c: Likewise.
50996         * elf/tst-unique1mod1.c: Likewise.
50997         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
50998         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
50999         Replace ASM_TYPE_DIRECTIVE with .type.
51000         * sysdeps/s390/s390-64/sysdep.h: Likewise.
51001         * sysdeps/i386/sysdep.h: Likewise.
51002         * sysdeps/x86_64/sysdep.h: Likewise.
51003         * sysdeps/sh/sysdep.h: Likewise.
51004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
51005         Do not define ASM_TYPE_DIRECTIVE.
51006         * sysdeps/powerpc/sysdep.h: Likewise.
51007         * sysdeps/powerpc/powerpc32/sysdep.h:
51008         Replace ASM_TYPE_DIRECTIVE with .type.
51009         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
51010         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
51011         * sysdeps/i386/fpu/e_powf.S: Likewise.
51012         * sysdeps/i386/fpu/e_expl.S: Likewise.
51013         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
51014         * sysdeps/i386/fpu/e_acosh.S: Likewise.
51015         * sysdeps/i386/fpu/e_pow.S: Likewise.
51016         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
51017         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
51018         * sysdeps/i386/fpu/s_expm1.S: Likewise.
51019         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
51020         * sysdeps/i386/fpu/e_log2.S: Likewise.
51021         * sysdeps/i386/fpu/e_log2l.S: Likewise.
51022         * sysdeps/i386/fpu/e_scalb.S: Likewise.
51023         * sysdeps/i386/fpu/e_powl.S: Likewise.
51024         * sysdeps/i386/fpu/e_log10f.S: Likewise.
51025         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
51026         * sysdeps/i386/fpu/e_logl.S: Likewise.
51027         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
51028         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
51029         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
51030         * sysdeps/i386/fpu/e_log2f.S: Likewise.
51031         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
51032         * sysdeps/i386/fpu/e_log.S: Likewise.
51033         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
51034         * sysdeps/i386/fpu/e_logf.S: Likewise.
51035         * sysdeps/i386/fpu/e_log10l.S: Likewise.
51036         * sysdeps/i386/fpu/e_atanh.S: Likewise.
51037         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
51038         * sysdeps/i386/fpu/e_log10.S: Likewise.
51039         * sysdeps/i386/fpu/s_frexp.S: Likewise.
51040         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
51041         * sysdeps/i386/fpu/s_asinh.S: Likewise.
51042         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
51043         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
51044         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
51045         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
51046         * sysdeps/i386/i686/strtok.S: Likewise.
51047         * sysdeps/i386/i386-mcount.S: Likewise.
51048         * sysdeps/i386/strtok.S: Likewise.
51049         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
51050         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
51051         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51052         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
51053         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
51054         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
51055         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
51056         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
51057         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
51058         * sysdeps/x86_64/_mcount.S: Likewise.
51059         * sysdeps/x86_64/strtok.S: Likewise.
51060         * sysdeps/sh/_mcount.S: Likewise.
51062 2012-08-01  Roland McGrath  <roland@hack.frob.com>
51064         * libio/iofopen.c: Include <fcntl.h>.
51065         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
51066         (_IO_fopen64, fopen64): Define as aliases.
51067         * libio/iofopen64.c: Include <fcntl.h>.
51068         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
51069         Conditionalize body on this.
51070         * sysdeps/wordsize-64/iofopen.c: File removed.
51071         * sysdeps/wordsize-64/iofopen64.c: File removed.
51073 2012-08-01  Marek Polacek  <polacek@redhat.com>
51075         * libc/Makeconfig: Use elf in place of binfmt-subdir.
51076         Use dlfcn directly instead of a variable.
51077         (binfmt-subdir): Do not define.
51078         (dlfcn): Likewise.
51080 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
51082         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
51083         Remove all definitions.
51084         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
51085         <kernel-features.h>.
51086         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
51087         (miss_F_GETOWN_EX): Remove all definitions.
51088         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
51089         macro definition.
51090         [!__ASSUME_FCNTL64]: Remove conditional code.
51091         [__ASSUME_FCNTL64]: Make code unconditional.
51092         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
51093         <kernel-features.h>.
51094         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
51095         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
51096         (lockf64) [__NR_fcntl64]: Make code unconditional.
51097         (lockf64) [__ASSUME_FCNTL64]: Likewise.
51099         * sysdeps/unix/sysv/linux/kernel-features.h
51100         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
51101         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
51102         Make code unconditional.
51103         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
51104         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
51105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
51106         [__NR_vfork]: Make code unconditional.
51107         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
51108         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
51109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
51110         [__NR_vfork]: Make code unconditional.
51111         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
51112         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
51114 2012-08-01  Roland McGrath  <roland@hack.frob.com>
51116         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
51117         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
51119         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
51120         Define mkstemp64 as an alias.
51121         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
51122         Define mkstemps64 as an alias.
51123         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
51124         Define mkostemp64 as an alias.
51125         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
51126         Define mkostemps64 as an alias.
51127         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
51128         Conditionalize body on this.
51129         * misc/mkostemp64.c: Likewise.
51130         * misc/mkostemps64.c: Likewise.
51131         * misc/mkstemps64.c: Likewise.
51132         * sysdeps/wordsize-64/mkstemp64.c: File removed.
51133         * sysdeps/wordsize-64/mkostemp64.c: File removed.
51134         * sysdeps/wordsize-64/mkostemp.c: File removed.
51135         * sysdeps/wordsize-64/mkstemp.c: File removed.
51136         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
51137         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
51138         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
51139         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
51141         [BZ #14138]
51142         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
51143         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
51144         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
51145         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
51147         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
51148         compat_symbol macros from <shlib-compat.h> rather than the underlying
51149         default_symbol_version and symbol_version macros, so that DEFAULT
51150         lines in shlib-versions are respected.
51151         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
51153 2012-08-01  Florian Weimer  <fweimer@redhat.com>
51155         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
51156         Declare with warn_unused_result.
51157         (setgid, setregid, setegid, setresgid): Likewise.
51158         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
51159         Likewise.
51160         * WUR-REPORT: Remove set*id functions.
51162 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
51164         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
51166 2012-07-31  Roland McGrath  <roland@hack.frob.com>
51168         [BZ #10191]
51169         * include/sys/socket.h (__libc_accept, __libc_accept4):
51170         Add attribute_hidden.
51171         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
51173         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
51174         use of PTR_MANGLE.
51175         * inet/getnetgrent_r.c (setup): Likewise.
51177         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
51179 2012-07-31  David S. Miller  <davem@davemloft.net>
51181         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51183 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
51185         [BZ #13629]
51186         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
51187         value between 1.0 and 2.0 and smaller part has absolute value less
51188         than 1.0.
51189         * math/s_clog10.c (__clog10): Likewise.
51190         * math/s_clog10f.c (__clog10f): Likewise.
51191         * math/s_clog10l.c (__clog10l): Likewise.
51192         * math/s_clogf.c (__clogf): Likewise.
51193         * math/s_clogl.c (__clogl): Likewise.
51194         * math/libm-test.inc (clog_test): Add more tests.
51195         (clog10_test): Likewise.
51196         * sysdeps/i386/fpu/libm-test-ulps: Update.
51197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51199 2012-07-31  Florian Weimer  <fweimer@redhat.com>
51201         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
51202         Exit with zero in case no suitable GID is found, and write a
51203         message to standard error.
51205 2012-07-30  Roland McGrath  <roland@hack.frob.com>
51207         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
51208         rather than to 1.
51209         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
51210         (MAXPATHLEN): Removed.
51211         (NOGROUP, NODEV): New macros.
51212         (setbit, clrbit, isset, isclr): New macros.
51213         (howmany, roundup, powerof2): New macros.
51214         (DEV_BSIZE): New macro.
51216         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
51217         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
51219         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
51220         definition on [!__NO_LONG_DOUBLE_MATH].
51222         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
51223         PTR_MANGLE and PTR_DEMANGLE.
51225         * socket/accept4.c (accept4): Rename to __libc_accept4.
51226         Define accept4 as a weak alias.
51228         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
51229         on [_DIRENT_HAVE_D_TYPE].
51230         * io/ftw.c (ftw_dir): Likewise.
51232         * io/xmknod.c (__xmknod): Don't check PATH for being null.
51234         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
51236         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
51237         Use the BSD numbers rather than the arbitrary ones we had.
51238         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
51239         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
51240         (SIGXCPU, SIGXFSZ): New macros.
51241         (_NSIG): Now 32.
51243         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
51244         initializer on [_LIBC_REENTRANT].
51246         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
51247         definitions inside [_POSIX_MAPPED_FILES].
51249         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
51251         * dirent/opendir.c: Include <fcntl.h>.
51253         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
51254         (__libc_getspecific): Likewise.
51255         (__libc_key_create): Likewise.
51257         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
51258         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
51259         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
51260         (tmpfile64): Define as alias.
51261         * sysdeps/wordsize-64/tmpfile.c: File removed.
51262         * sysdeps/wordsize-64/tmpfile64.c: File removed.
51263         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
51264         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
51266         * stdio-common/vfscanf.c: Include <stdbool.h>.
51267         * nss/makedb.c: Likewise.
51268         * stdio-common/_i18n_number.h: Likewise.
51269         * argp/argp-help.c: Likewise.
51270         * posix/wordexp.c: Likewise.
51271         * sysdeps/posix/spawni.c: Likewise.
51272         * nss/nss_files/files-initgroups.c: Likewise.
51273         * stdio-common/reg-modifier.c: Include <stdlib.h>.
51274         * nss/nss_files/files-initgroups.c: Likewise.
51275         * nss/nss_db/db-netgrp.c: Likewise.
51276         * nss/nss_db/db-initgroups.c: Likewise.
51277         * io/fchmodat.c: Include <sys/stat.h>.
51279         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
51280         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
51282         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
51283         [HAVE_MMAP].
51285         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
51286         Add multiple inclusion protection.
51288 2012-07-27  David S. Miller  <davem@davemloft.net>
51290         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51292 2012-07-27  Gary Benson  <gbenson@redhat.com>
51294         [BZ #14298]
51295         * elf/rtld.c: Include <stap-probe.h>.
51296         (dl_main): Added static probes "init_start" and "init_complete".
51297         * elf/dl-load.c: Include <stap-probe.h>.
51298         (lose): Take new parameter "nsid".
51299         Added static probe "map_failed".
51300         (_dl_map_object_from_fd): Pass namespace id to lose.
51301         Added static probe "map_start".
51302         (open_verify): Pass namespace id to lose.
51303         * elf/dl-open.c: Include <stap-probe.h>.
51304         (dl_open_worker) Added static probes "map_complete", "reloc_start"
51305         and "reloc_complete".
51306         * elf/dl-close.c: Include <stap-probe.h>.
51307         (_dl_close_worker): Added static probes "unmap_start" and
51308         "unmap_complete".
51309         * elf/rtld-debugger-interface.txt: New file documenting the above.
51311 2012-07-26  Roland McGrath  <roland@hack.frob.com>
51313         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
51314         rather than a string variable.
51315         * sunrpc/rpc_main.c (h_output): Likewise.
51316         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
51318 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
51320         * inet/check_native.c: New file.
51322 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
51324         [BZ #13629]
51325         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
51326         if larger part has absolute value 1.0.
51327         * math/s_clog10.c (__clog10): Likewise.
51328         * math/s_clog10f.c (__clog10f): Likewise.
51329         * math/s_clog10l.c (__clog10l): Likewise.
51330         * math/s_clogf.c (__clogf): Likewise.
51331         * math/s_clogl.c (__clogl): Likewise.
51332         * math/libm-test.inc (clog_test): Add more tests.
51333         (clog10_test): Likewise.
51334         * sysdeps/i386/fpu/libm-test-ulps: Update.
51335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51337         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
51338         (pltexit): Likewise.
51339         (La_regs): Likewise.
51340         (La_retval): Likewise.
51341         (int_retval): Likewise.
51342         Update #error for removed macros to refer only to definitions in
51343         tst-audit.h.
51344         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
51345         macro.
51346         (pltexit): Likewise.
51347         (La_regs): Likewise.
51348         (La_retval): Likewise.
51349         (int_retval): Likewise.
51350         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
51351         macro.
51352         (pltexit): Likewise.
51353         (La_regs): Likewise.
51354         (La_retval): Likewise.
51355         (int_retval): Likewise.
51356         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
51357         macro.
51358         (pltexit): Likewise.
51359         (La_regs): Likewise.
51360         (La_retval): Likewise.
51361         (int_retval): Likewise.
51362         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
51363         macro.
51364         (pltexit): Likewise.
51365         (La_regs): Likewise.
51366         (La_retval): Likewise.
51367         (int_retval): Likewise.
51368         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
51369         macro.
51370         (pltexit): Likewise.
51371         (La_regs): Likewise.
51372         (La_retval): Likewise.
51373         (int_retval): Likewise.
51374         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
51375         macro.
51376         (pltexit): Likewise.
51377         (La_regs): Likewise.
51378         (La_retval): Likewise.
51379         (int_retval): Likewise.
51380         * sysdeps/generic/tst-audit.h: Update comment to refer only to
51381         macro definitions in tst-audit.h.
51382         * sysdeps/i386/tst-audit.h: New file.
51383         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
51384         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
51385         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
51386         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
51387         * sysdeps/sh/tst-audit.h: Likewise.
51388         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
51389         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
51390         * sysdeps/x86_64/tst-audit.h: Likewise.
51392 2012-07-26  Andreas Jaeger  <aj@suse.de>
51394         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
51395         ptrace.
51397         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
51398         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
51399         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
51400         PTRACE_O_MASK.
51401         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
51402         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
51403         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
51405         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
51406         value.
51408         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
51409         _sigsys.
51410         (si_call_addr, si_syscall, si_arch): Define new macro.
51411         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
51412         _sigsys.
51413         (si_call_addr, si_syscall, si_arch): Define new marcro.
51414         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
51415         _sigsys.
51416         (si_call_addr, si_syscall, si_arch): Define new macro.
51417         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
51418         _sigsys.
51419         (si_call_addr, si_syscall, si_arch): Define new macro.
51421 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
51423         [BZ #13717]
51424         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
51425         Change to 2.4.21 where previously 2.4.1.
51426         * sysdeps/unix/sysv/linux/configure: Regenerated.
51427         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
51428         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
51429         Linux kernel version.
51430         (__ASSUME_STD_AUXV): Remove.
51431         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
51432         kernel version.
51433         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
51434         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
51435         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
51436         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
51437         (__ASSUME_NETLINK_SUPPORT): Likewise.
51438         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
51439         (__no_netlink_support): Remove conditional definition.
51440         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
51441         Remove.
51442         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
51443         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
51444         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
51445         (if_nameindex_ioctl): Remove.
51446         (if_nameindex_netlink): Do not handle __no_netlink_support.
51447         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
51448         code.
51449         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
51450         Remove conditional code.
51451         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
51452         code.
51453         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
51454         unconditional.
51455         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
51456         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
51457         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
51458         Remove.
51459         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
51460         [!__ASSUME_STD_AUXV]: Remove conditional code.
51461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
51462         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
51463         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
51464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
51465         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
51466         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
51467         code.
51468         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
51469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
51470         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
51471         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
51472         conditional code.
51473         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
51474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
51475         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
51476         code.
51477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
51478         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
51479         conditional code.
51480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
51481         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
51482         code unconditional.
51483         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
51484         conditional code.
51485         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
51486         unconditional.
51487         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
51488         conditional code.
51489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
51490         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
51491         unconditional.
51492         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
51493         conditional code.
51494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
51495         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
51496         code unconditional.
51497         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
51498         conditional code.
51499         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
51500         unconditional.
51501         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
51502         conditional code.
51503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
51504         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
51505         code unconditional.
51506         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
51507         conditional code.
51508         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
51509         unconditional.
51510         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
51511         conditional code.
51513 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
51515         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
51516         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
51517         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
51518         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
51519         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
51520         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
51521         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
51522         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
51523         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
51524         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
51525         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
51526         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
51527         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
51528         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
51529         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
51530         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
51531         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
51532         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
51533         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
51534         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
51535         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
51536         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
51537         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
51539 2012-07-25  Florian Weimer  <fweimer@redhat.com>
51541         * Versions.def: Add GLIBC_2.17.
51542         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
51543         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
51544         Introduce __libc_secure_getenv.
51545         * stdlib/Versions (2.17): Add secure_getenv
51546         (GLIBC_PRIVATE): Add __libc_secure_getenv.
51547         * stdlib/secure-getenv.c: Rename __secure_getenv to
51548         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
51549         symbol __secure_getenv for GLIBC_2.0.
51550         * stdlib/tst-secure-getenv.c: New.
51551         * stdlib/Makefile (tests): Add testcase.
51552         * manual/startup.texi (Environment Access): Document
51553         secure_getenv.
51554         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
51555         __libc_secure_getenv.
51556         * inet/ruserpass.c (ruserpass): Likewise.
51557         * malloc/mtrace.c (mtrace): Likewise.
51558         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
51559         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
51560         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
51561         * sysdeps/posix/tempname.c: Likewise.  Evaluate
51562         HAVE_SECURE_GETENV.
51563         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
51564         __secure_getenv to __libc_secure_getenv.
51565         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
51566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51567         Likewise.
51568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51569         Likewise.
51570         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
51571         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
51572         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
51573         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
51574         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
51575         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
51576         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
51578 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
51580         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
51581         (struct La_i86_retval): Likewise.
51582         (struct La_x86_64_regs): Likewise.
51583         (struct La_x86_64_retval): Likewise.
51584         (struct La_x32_regs): Likewise.
51585         (struct La_x32_retval): Likewise.
51586         (struct La_ppc32_regs): Likewise.
51587         (struct La_ppc32_retval): Likewise.
51588         (struct La_ppc64_regs): Likewise.
51589         (struct La_ppc64_retval): Likewise.
51590         (struct La_sh_regs): Likewise.
51591         (struct La_sh_retval): Likewise.
51592         (struct La_s390_32_regs): Likewise.
51593         (struct La_s390_32_retval): Likewise.
51594         (struct La_s390_64_regs): Likewise.
51595         (struct La_s390_64_retval): Likewise.
51596         (struct La_sparc32_regs): Likewise.
51597         (struct La_sparc32_retval): Likewise.
51598         (struct La_sparc64_regs): Likewise.
51599         (struct La_sparc64_retval): Likewise.
51600         (struct audit_ifaces): Remove architecture-specific pltenter and
51601         pltexit members.
51602         * sysdeps/i386/ldsodefs.h: New file.
51603         * sysdeps/powerpc/ldsodefs.h: Likewise.
51604         * sysdeps/s390/ldsodefs.h: Likewise.
51605         * sysdeps/sh/ldsodefs.h: Likewise.
51606         * sysdeps/sparc/ldsodefs.h: Likewise.
51607         * sysdeps/x86_64/ldsodefs.h: Likewise.
51609 2012-07-25  Marek Polacek  <polacek@redhat.com>
51611         [BZ #6808]
51612         * math/libm-test.inc (yn_test): Add another test.
51613         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
51614         to ERANGE when the result is +-Inf.
51615         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
51616         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
51617         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
51618         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
51620 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
51622         * conform/data/time.h-data (NULL): Use macro-constant.  Require
51623         equal to 0.
51624         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
51625         clock_t.
51626         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
51628 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
51630         * configure.in <sysdeps resolving>: Correct printing
51631         Implies_before.
51632         * configure: Regenerate.
51634 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
51636         * math/w_ilogb.c: Include <limits.h>.
51637         * math/w_ilogbl.c: Likewise.
51639 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
51641         * manual/lang.texi (__va_copy): Document primarily as ISO C99
51642         va_copy.  Document allowing for unavailable va_copy only as
51643         pre-C99 compatibility.
51644         * manual/string.texi (Copying and Concatenation): Use va_copy
51645         instead of __va_copy in concat example.
51647 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
51649         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
51650         (__sendto): Use create_address_port.  Initialize APORT and deallocate
51651         it if not null.
51653         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
51654         with O_NOLINK passed to __file_name_lookup.
51656         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
51657         with O_NOLINK passed to __file_name_lookup.
51659         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
51660         negative N or less than NGIDS.
51662         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
51663         type to string_t.  Set ERANGE as errno and return it if NAME is not big
51664         enough.  Use memcpy instead of strncpy.
51666 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
51668         * elf/Makefile (check-data): Remove.
51669         (localplt.data): New vpath directive.
51670         ($(objpfx)check-localplt.out): Use localplt.data from vpath
51671         instead of $(check-data).
51672         * scripts/data/localplt-generic.data: Move to ...
51673         * sysdeps/generic/localplt.data: ... here.
51674         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
51675         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
51676         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
51677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
51678         ... here.
51679         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
51680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
51681         ... here.
51682         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
51683         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
51684         ... here.
51685         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
51686         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
51687         ... here.
51688         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
51689         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
51690         ... here.
51691         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
51692         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
51693         ... here.
51695 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51697         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
51698         PPC32 and PPC64 files.
51699         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
51700         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
51702 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51704         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
51705         __makecontext_ret to ...
51706         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
51707         ... here and call exit if uc_link is NULL.  New file.
51708         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
51709         __makecontext_ret.S.
51710         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
51711         __makecontext_ret to ...
51712         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
51713         ... here and call exit if uc_link is NULL.  New file.
51714         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
51715         __makecontext_ret.S.
51717 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51719         * elf/elf.h (R_390_IRELATIVE): New definition.
51720         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
51721         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
51722         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
51723         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
51724         (elf_machine_lazy_rel): Likewise.
51725         * sysdeps/s390/dl-irel.h: New file.
51726         * sysdeps/s390/s390-64/memcpy.S: New asm code.
51727         * sysdeps/s390/s390-64/memset.S: New asm code.
51728         * sysdeps/s390/s390-64/memcmp.S: New asm code.
51729         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
51730         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
51731         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
51732         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
51733         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
51734         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
51735         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
51736         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
51737         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
51738         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
51739         * sysdeps/s390/s390-32/memcpy.S: New asm code.
51740         * sysdeps/s390/s390-32/memset.S: New asm code.
51741         * sysdeps/s390/s390-32/memcmp.S: New asm code.
51743 2012-07-17  Marek Polacek  <polacek@redhat.com>
51745         [BZ #14349]
51746         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
51747         * sysdeps/s390/s390-64/configure.in: Likewise.
51748         * sysdeps/sparc/configure.in: Likewise.
51749         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
51750         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
51751         * sysdeps/i386/configure.in: Likewise.
51752         * sysdeps/x86_64/configure.in: Likewise.
51753         * sysdeps/sh/configure.in: Likewise.
51754         * sysdeps/s390/s390-32/configure: Regenerated.
51755         * sysdeps/s390/s390-64/configure: Likewise.
51756         * sysdeps/x86_64/configure: Likewise.
51757         * sysdeps/sh/configure: Likewise.
51758         * sysdeps/powerpc/powerpc64/configure: Likewise.
51759         * sysdeps/powerpc/powerpc32/configure: Likewise.
51760         * sysdeps/sparc/configure: Likwise.
51761         * sysdeps/i386/configure: Likewise.
51763         * elf/dl-open.c: Comment fixes.
51765 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
51767         * Makefile [CXX] (check-data): Remove.
51768         [CXX] (c++-types.data): New vpath directive.
51769         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
51770         vpath.  Do not allow for C++ type data being missing.
51771         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
51772         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
51773         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
51774         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
51775         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
51776         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
51777         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
51778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
51779         ... here.
51780         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
51781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
51782         ... here.
51783         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
51784         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
51785         ... here.
51786         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
51787         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
51788         ... here.
51789         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
51790         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
51791         ... here.
51792         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
51793         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
51794         ... here.
51795         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
51796         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
51797         ... here.
51798         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
51799         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
51801         * elf/tls-macros.h (TLS_LE): Move architecture-specific
51802         definitions to architecture-specific files.
51803         (TLS_IE): Likewise.
51804         (TLS_LD): Likewise.
51805         (TLS_GD): Likewise.
51806         * sysdeps/i386/tls-macros.h: New file.
51807         * sysdeps/powerpc/tls-macros.h: Likewise.
51808         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
51809         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
51810         * sysdeps/sh/tls-macros.h: Likewise.
51811         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
51812         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
51813         * sysdeps/x86_64/tls-macros.h: Likewise.
51815 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
51817         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
51818         zero value for regular exit case.
51820         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
51821         (__start_context): Preserve zero value for regular exit case.
51823 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
51824             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51826         * manual/setjmp.texi (setcontext): Clarify normal process
51827         termination when uc_link is the null pointer.
51828         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
51829         exit call.
51831 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
51833         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
51834         preprocessor.  Test for each exception mask separately.
51836 2012-07-16  Andreas Jaeger  <aj@suse.de>
51838         * po/ru.po: Update from translation team.
51840 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
51842         * conform/data/string.h-data (NULL): Use macro-constant.  Require
51843         equal to 0.
51844         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
51845         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
51846         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
51847         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
51848         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51850 2012-07-13  Andreas Jaeger  <aj@suse.de>
51852         * po/fr.po: Update from translation team.
51854 2012-07-12  Marek Polacek  <polacek@redhat.com>
51856         [BZ #14173]
51857         * math/libm-test.inc (yn_test): Add test for BZ #14173.
51858         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
51859         loop condition.
51861 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
51863         [BZ #13717]
51864         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
51865         Change to 2.4.1 where previously 2.4.0.
51866         * sysdeps/unix/sysv/linux/configure: Regenerated.
51867         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
51868         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
51869         version.
51870         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
51871         (__ASSUME_AT_CLKTCK): Remove.
51872         (__ASSUME_AT_PAGESIZE): Likewise.
51873         (__ASSUME_AT_XID): Likewise.
51874         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
51875         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
51876         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
51877         unconditionally.
51878         (HAVE_AUX_PAGESIZE): Likewise.
51879         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
51880         [__ASSUME_AT_CLKTCK]: Make code unconditional.
51881         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
51883 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
51885         [BZ #14307]
51886         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
51887         the temporary buffer used to invoke __gethostbyname2_r,
51888         __gethostbyaddr_r and gethostbyname4_r to make room for struct
51889         host_data / struct gaih_addrtuple.
51890         * resolv/nss_dns/dns-host.c (global scope): Move definition of
51891         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
51892         header file nss/nsswitch.h.
51893         * nss/nsswitch.h (global scope): Add definition of implementation
51894         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
51895         resolv/nss_dns/dns-host.c).
51897 2012-07-11  Andreas Jaeger  <aj@suse.de>
51899         * po/fr.po: Update from translation team.
51901         * po/sv.po: Update from translation team
51902         * po/fr.po: Another update from translation team.
51904 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51906         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
51907         for subnormals or multiply small sinh result by itself.
51908         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
51909         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51911 2012-07-11  David S. Miller  <davem@davemloft.net>
51913         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51915 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
51917         [BZ #14347]
51918         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
51919         (INTERNAL_MARK): Shift it here.
51921 2012-07-10  Marek Polacek  <polacek@redhat.com>
51923         [BZ #14151]
51924         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
51925         libc_cv_asm_global_directive with .globl.
51926         * configure: Regenerated.
51927         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
51928         with .globl.
51929         * sysdeps/i386/configure: Regenerated.
51930         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
51931         with .globl.
51932         * sysdeps/x86_64/configure: Regenerated.
51933         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
51934         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
51935         * elf/tst-unique2mod2.c: Likewise.
51936         * elf/tst-unique2mod1.c: Likewise.
51937         * elf/tst-unique1mod2.c: Likewise.
51938         * elf/tst-unique1mod1.c: Likewise.
51939         * sysdeps/s390/s390-32/sysdep.h: Likewise.
51940         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
51941         * sysdeps/s390/s390-64/sysdep.h: Likewise.
51942         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
51943         * sysdeps/mach/sysdep.h: Likewise.
51944         * sysdeps/i386/sysdep.h: Likewise.
51945         * sysdeps/i386/i386-mcount.S: Likewise.
51946         * sysdeps/x86_64/_mcount.S: Likewise.
51947         * sysdeps/x86_64/sysdep.h: Likewise.
51948         * sysdeps/sh/_mcount.S: Likewise.
51949         * sysdeps/sh/sysdep.h: Likewise.
51950         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
51951         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
51952         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
51953         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
51954         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
51955         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
51956         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
51957         * locale/localeinfo.h: Likewise.
51958         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
51959         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
51961 2012-07-09  Roland McGrath  <roland@hack.frob.com>
51963         [BZ #14336]
51964         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
51965         system".
51966         * manual/message.texi (The Uniforum approach): Likewise.
51967         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
51968         (glibc iconv Implementation): Likewise.
51970 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
51972         [BZ #14337]
51973         * math/s_clog.c (__clog): Avoid scaling a value down where that
51974         could result in underflow.
51975         * math/s_clog10.c (__clog10): Likewise.
51976         * math/s_clog10f.c (__clog10f): Likewise.
51977         * math/s_clog10l.c (__clog10l): Likewise.
51978         * math/s_clogf.c (__clogf): Likewise.
51979         * math/s_clogl.c (__clogl): Likewise.
51980         * math/libm-test.inc (clog_test): Add more tests.
51981         (clog10_test): Likewise.
51982         * sysdeps/i386/fpu/libm-test-ulps: Update.
51983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51985 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
51987         [BZ #14283]
51988         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
51989         by 7 not 8 to examine high bit of fractional part.
51991         [BZ #14042]
51992         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
51993         for call to __mcount_internal.
51994         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
51995         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
51996         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
51998 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
52000         [BZ #14154]
52001         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
52002         approximation for values within 0x1p-13f of an odd multiple of
52003         pi/4.
52004         * math/libm-test.inc (tan_test): Do not allow spurious underflow
52005         exception.  Add more tests.
52006         * sysdeps/i386/fpu/libm-test-ulps: Update.
52008         [BZ #6778]
52009         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
52010         inputs and return -1 for them.  Do not check for +Inf in case not
52011         reachable for +Inf.
52012         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
52013         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
52014         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
52015         and return -1 for them.  Do not check for +Inf in case not
52016         reachable for +Inf.
52017         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
52018         define.
52019         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
52020         and return -1 for them.  Do not check for +Inf in case not
52021         reachable for +Inf.
52022         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
52023         spurious underflow.
52024         * sysdeps/i386/fpu/libm-test-ulps: Update.
52025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52027 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
52029         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
52031 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
52033         [BZ #14157]
52034         [BZ #14331]
52035         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
52036         could result in spurious underflow.  Scale down values above
52037         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
52038         * math/s_csqrtf.c (__csqrtf): Likewise.
52039         * math/s_csqrtl.c (__csqrtl): Likewise.
52040         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
52041         spurious underflow.
52042         * sysdeps/i386/fpu/libm-test-ulps: Update.
52043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52045 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
52047         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
52048         xopen-msg.sed.
52049         * catgets/xopen-msg.awk: New file.
52050         * catgets/xopen-msg.sed: Removed.
52052         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
52053         po2text.sed.
52054         * intl/po2test.awk: New file.
52055         * intl/po2test.sed: Removed.
52057 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
52059         [BZ #14328]
52060         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
52061         or multiply small sinh result by itself.
52062         * math/s_ctanf.c (__ctanf): Likewise.
52063         * math/s_ctanh.c (__ctanh): Likewise.
52064         * math/s_ctanhf.c (__ctanhf): Likewise.
52065         * math/s_ctanhl.c (__ctanhl): Likewise.
52066         * math/s_ctanl.c (__ctanl): Likewise.
52067         * math/libm-test.inc (ctan_test_tonearest): New function.
52068         (ctan_test_towardzero): Likewise.
52069         (ctan_test_downward): Likewise.
52070         (ctan_test_upward): Likewise.
52071         (ctanh_test_tonearest): Likewise.
52072         (ctanh_test_towardzero): Likewise.
52073         (ctanh_test_downward): Likewise.
52074         (ctanh_test_upward): Likewise.
52075         (main): Call these new functions.
52076         * sysdeps/i386/fpu/libm-test-ulps: Update.
52077         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52079 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
52081         * .gitignore: Delete /ports entry.
52083 2012-07-03  Andreas Jaeger  <aj@suse.de>
52085         * po/bg.po: Update from translation team.
52086         * po/cs.po: Likewise.
52087         * po/de.po: Likewise.
52088         * po/hr.po: Likewise.
52089         * po/nl.pl: Likewise.
52090         * po/pl.po: Likewise.
52091         * po/vi.po: Likewise.
52093 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
52095         * Makeconfig [!+link] (+link-before-libc): New variable.
52096         [!+link] (+link-after-libc): Likewise.
52097         [!+link] (+link-tests): Likewise.
52098         [!+link] (+link): Define in terms of $(+link-before-libc) and
52099         $(+link-after-libc).
52100         [!+link-static] (+link-static-before-libc): New variable.
52101         [!+link-static] (+link-static-after-libc): Likewise.
52102         [!+link-static] (+link-static-tests): Likewise.
52103         [!+link-static] (+link-static): Define in terms of
52104         $(+link-static-before-libc) and $(+link-static-after-libc).
52105         [build-shared] (link-libc-before-gnulib): New variable.
52106         [build-shared] (link-libc-tests): Likewise.
52107         [build-shared] (link-libc): Define in terms of
52108         $(link-libc-before-gnulib).
52109         [!build-shared] (link-libc-tests): New variable.
52110         (link-libc-static-tests): New variable.
52111         [!gnulib] (gnulib-arch): New variable.
52112         [!gnulib] (gnulib-tests): Likewise.
52113         [!gnulib] (static-gnulib-arch): Likewise.
52114         [!gnulib] (static-gnulib-tests): Likewise.
52115         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
52116         Define with "=" instead of ":=".
52117         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
52118         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
52119         * Rules (binaries-all-notests): New variable.
52120         (binaries-all-tests): Likewise.
52121         (binaries-static-notests): Likewise.
52122         (binaries-static-tests): Likewise.
52123         (binaries-all): Define using $(binaries-all-notests) and
52124         $(binaries-all-tests).
52125         (binaries-static): Define using $(binaries-static-notests) and
52126         $(binaries-static-tests).
52127         (binaries-shared-tests): New variable.
52128         (binaries-shared-notests): Likewise.
52129         (binaries-shared): Remove variable.
52130         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
52131         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
52132         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
52133         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
52134         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
52135         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
52136         * elf/Makefile (sln-modules): New variable.
52137         (extra-objs): Add $(sln-modules:=.o).
52138         (ldconfig-modules): Add static-stubs.
52139         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
52140         * elf/static-stubs.c: New file.
52142         [BZ #14283]
52143         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
52144         by 7 not 8 to examine high bit of fractional part.  Use volatile
52145         variables when splitting into final array of floats if
52146         __FLT_EVAL_METHOD__ != 0.
52147         * math/libm-test.inc (cos_test): Add another test.
52148         (sin_test): Likewise.
52149         * sysdeps/i386/fpu/libm-test-ulps: Update.
52151         [BZ #14273]
52152         * math/libm-test.inc (cosh_test): Add more tests.
52154         * version.h (RELEASE): Set to "development".
52155         (VERSION): Set to "2.16.90".
52157 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
52159         * NEWS: Update copyright. Remove last-updated date.
52160         Mention math library bug fixes and timezone data changes.
52161         * README: Mention GNU/Hurd, x32, and HPPA support status.
52163 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
52165         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
52167 2012-06-27  Andreas Jaeger  <aj@suse.de>
52169         * manual/contrib.texi (Contributors): Add Samuel Thibault.
52171 2012-06-25  Andreas Jaeger  <aj@suse.de>
52173         * sysdeps/s390/fpu/libm-test-ulps: Update.
52175 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
52176             Thomas Schwinge  <thomas@codesourcery.com>
52178         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
52179         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
52180         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
52181         fanotify_mark.
52183 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
52185         * sysdeps/mach/start.c: Remove file.
52186         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
52187         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
52188         * sysdeps/sh/init-first.c: Likewise.
52190         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
52191         registers for frame unwinding purposes, add CFI directives.
52192         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
52193         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
52194         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
52195         Likewise.
52197         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
52198         __fortify_fail returning.
52199         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
52201         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
52202         sysdeps/sh/____longjmp_chk.S.
52203         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
52204         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
52205         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
52206         (gen-as-const-headers): Append sigaltstack-offsets.sym.
52208         * sysdeps/sh/abort-instr.h: New file.
52209         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
52210         process in case exit returns.
52212         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
52213         initialize the GOT register before use.
52215         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
52216         calculation of ARGC > 4.
52218         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
52219         meaningful names to some local labels.
52221 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52222             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52224         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
52225         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
52226         (__arch_compare_and_exchange_val_16_acq): Likewise.
52227         (__arch_compare_and_exchange_val_32_acq): Likewise.
52228         (atomic_exchange_and_add): Fix gUSA sequence.
52229         (atomic_add): Likewise.
52230         (atomic_add_negative): Likewise.
52231         (atomic_add_zero): Likewise.
52232         (atomic_bit_test_set): Likewise.
52234 2012-06-22  Andreas Schwab  <schwab@redhat.com>
52236         [BZ #13579]
52237         * include/link.h (struct link_map): Add l_free_initfini.
52238         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
52239         l_initfini.
52240         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
52241         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
52242         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
52243         set.
52245 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
52247         * configure.in: Use AC_LANG_SOURCE.
52248         * configure: Regenerate.
52250 2012-06-22  Roland McGrath  <roland@hack.frob.com>
52252         * configure.in (libc_cv_localstatedir): New substituted variable.
52253         * configure: Regenerated.
52254         * config.make.in (localstatedir): New variable, substituted from
52255         libc_cv_localstatedir.
52256         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
52257         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
52258         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
52259         * sysdeps/gnu/configure: Regenerated.
52261 2012-06-21  Jeff Law  <law@redhat.com>
52263         [BZ #14277]
52264         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
52265         free.  Simplify list management for _LIBC case.
52267 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
52269         [BZ #14273]
52270         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
52271         Clear sign bit of 64-bit integer value before comparing against
52272         overflow value.
52274         * sysdeps/mach/configure: Regenerated.
52276 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
52278         [BZ #14278]
52279         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
52281 2012-06-21  Jeff Law  <law@redhat.com>
52283         [BZ #13882]
52284         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
52285         uint16_t for elements in the "seen" array to avoid char overflows.
52286         * elf/dl-fini.c (_dl_sort_fini): Likewise.
52287         * elf/dl-open.c (dl_open_worker): Likewise.
52289 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
52291         * scripts/list-sources.sh: Scan PORTS for translations.
52292         * po/libc.pot: Regenerated.
52294 2012-06-21  Andreas Jaeger  <aj@suse.de>
52296         [BZ #12194]
52297         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
52298         warning.
52299         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
52300         * bits/byteswap-16.h (__bswap_16): Likewise.
52301         * bits/byteswap.h (__bswap_constant_16): Likewise.
52303 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
52305         [BZ #14117]
52306         * sysdeps/i386/fpu_control.h: Removed.
52307         * sysdeps/x86_64/fpu_control.h: Moved to ...
52308         * sysdeps/x86/fpu_control.h: Here.
52310         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
52311         (_FPU_SETCW): Likewise.
52313 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
52315         [BZ #14117]
52316         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
52317         * sysdeps/x86/fpu/bits/mathinline.h: This.
52318         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
52320         [BZ #14050]
52321         [BZ #14117]
52322         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
52323         functions if __x86_64__ is defined.
52325 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
52327         * string/endian.h: Add !__ASSEMBLER__ condition for including
52328         conversion interfaces.
52330 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
52332         [BZ #14241]
52333         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
52334         of ABS(x) in calculating zero to negative powers other than odd
52335         integers.
52336         * math/libm-test.inc (pow_test): Add more tests.
52338 2012-06-15  Andreas Jaeger  <aj@suse.de>
52340         * manual/contrib.texi (Contributors): Update entry of Liubov
52341         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
52342         Machado Filho.
52344 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
52346         * string/string.h: Add __wur to GNU version of strerror_r.
52348 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
52350         [BZ #14229]
52351         * string/Makefile (tests): Add tst-strtok_r.
52352         * string/tst-strtok_r.c: New file.
52353         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
52354         RAX_LP/RDX_LP on SAVE_PTR.
52356 2012-06-14  Roland McGrath  <roland@hack.frob.com>
52358         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
52360 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
52362         * libm_test.inc (csqrt_test): Allow more spurious underflow
52363         exceptions.
52364         (j0_test): Likewise.
52365         (j1_test): Likewise.
52366         (y0_test): Likewise.
52367         (y1_test): Likewise.
52369 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
52371         * po/Makefile (libc.pot): Use UTF-8 charset.
52373 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
52375         [BZ #14210]
52376         Suppress sign-conversion warning from FD_SET.
52377         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
52378         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
52379         not unsigned long int.
52380         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
52382 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
52384         [BZ #14050]
52385         [BZ #14117]
52386         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
52387         __extern_always_inline instead of __extern_inline.
52388         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
52389         (__signbit): Likewise.
52390         (__signbitl): Support C++ namespace.
52391         (lrintf): New inline function.
52392         (lrint): Likewise.
52393         (llrintf): Likewise.
52394         (llrint): Likewise.
52395         (fmaxf): Likewise.
52396         (fmax): Likewise.
52397         (fminf): Likewise.
52398         (fmin): Likewise.
52399         (rint): Likewise.
52400         (rintf): Likewise.
52401         (ceil): Likewise.
52402         (ceilf): Likewise.
52403         (floor): Likewise.
52404         (floorf): Likewise.
52405         (nearbyint): Likewise.
52406         (nearbyintf): Likewise.
52408 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
52410         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
52411         non-default versions.
52413 2012-06-11  Roland McGrath  <roland@hack.frob.com>
52415         [BZ #14218]
52416         * manual/argp.texi (Argp): Reword argp_parse description slightly.
52418 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
52420         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
52421         (FE_UPWARD, FE_DOWNWARD): Don't define.
52422         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
52423         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
52425         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
52426         reading it.
52427         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
52428         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
52430 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52432         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
52433         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
52434         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
52435         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
52437 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
52439         [BZ #14117]
52440         * sysdeps/i386/fpu/bits/fenv.h: Removed.
52441         * sysdeps/i386/fpu/Implies: New file.
52442         * sysdeps/x86_64/fpu/Implies: Likewise.
52443         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
52444         * sysdeps/x86/fpu/bits/fenv.h: This.
52446         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
52447         __SSE_MATH__.
52449 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
52451         [BZ #14134]
52452         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
52453         character 0xffff that matches the last element of the
52454         conversion table.
52456 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52458         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
52459         fmodl commit.
52461 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52463         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
52464         values higher than 25.6283.
52466 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52468         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
52469         subnormal exponent extraction and add some __builtin_expect.
52470         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
52471         Fix for subnormal mantissa calculation.
52473 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
52475         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
52476         cpu2 is -1 and errno is not ENOSYS.
52478 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
52480         [BZ #14117]
52481         * sysdeps/i386/i486/bits/string.h: Renamed to ...
52482         * sysdeps/x86/bits/string.h: This.
52483         * sysdeps/x86_64/bits/string.h: Removed.
52485         * sysdeps/i386/i486/bits/string.h: Define inline functions only
52486         if not compiling for x86-64, but compiling for >= i486.
52488         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
52489         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
52491         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
52492         New macro from Linux kernel 3.4.0.
52493         (FP_XSTATE_MAGIC2): Likewise.
52494         (FP_XSTATE_MAGIC2_SIZE): Likewise.
52495         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
52496         (struct _fpx_sw_bytes): New struct.
52497         (struct _xsave_hdr): Likewise.
52498         (struct _ymmh_state): Likewise.
52499         (struct _xstate): Likewise.
52501         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
52502         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
52503         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
52504         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
52505         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
52506         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
52508         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
52509         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
52510         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
52511         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
52512         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
52513         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
52515 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52517         [BZ #13743]
52518         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
52519         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
52520         (sysdep_headers): Include sys/platform/ppc.h.
52521         * sysdeps/powerpc/test-gettimebase.c: Test for
52522         __ppc_get_timebase() to catch future ISA opcode/insn changes.
52523         * manual/Makefile (appendices): Include platform.texi.
52524         * manual/contrib.texi (Contributors): Update @node pointers.
52525         * manual/maint.texi (Maintenance): Likewise.
52526         (Platform): New node.
52527         * manual/platform.texi: New file.  Document the new features.
52529 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
52530             Jakub Jelinek  <jakub@redhat.com>
52532         [BZ #14188]
52533         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
52534         where __builtin_expect is unavailable.
52536 2012-06-03  David S. Miller  <davem@davemloft.net>
52538         * stdlib/longlong.h: Updated from GCC.
52540 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
52542         [BZ #14042]
52543         * sysdeps/powerpc/powerpc32/mcount.c: New file.
52544         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
52545         __mcount_internal.
52546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
52547         (GLIBC_2.16): Likewise.
52549 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
52551         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
52553 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
52555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
52556         (default-abi): New variable.
52557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
52558         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
52559         variable.
52560         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
52561         Likewise.
52562         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
52563         Likewise.
52564         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
52565         Likewise.
52567         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
52568         definition.  Document in comment.
52570 2012-06-01  David S. Miller  <davem@davemloft.net>
52572         * stdlib/longlong.h: Updated from GCC.
52574 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
52576         [BZ #14117]
52577         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
52578         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
52579         sys/debugreg.h sys/io.h here.
52580         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
52581         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
52582         sys/io.h.
52583         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
52584         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
52585         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
52586         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
52587         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
52588         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
52590         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
52591         Define only if __x86_64__ is defined.
52593 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
52595         [BZ #14048]
52596         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
52597         Use int64_t for variable i.
52598         * math/libm-test.inc (fmod_test): Add more tests.
52600         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
52601         z computation is not scheduled after fetestexcept.
52602         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
52603         Use math_force_eval instead of asm to ensure calculation scheduled
52604         before exception test.
52605         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
52606         Ensure a1 + u.d computation is not scheduled after fetestexcept.
52608 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
52610         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
52611         computation is not scheduled after fetestexcept.
52613 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
52615         [BZ #14117]
52616         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
52617         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
52619 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52621         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
52622         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
52624 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
52626         [BZ #14117]
52627         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
52628         <bits/wordsize.h>.
52629         (__WCHAR_MIN): Support __WORDSIZE == 64.
52630         (__WCHAR_MAX): Likewise.
52632         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
52633         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
52635         [BZ #14183]
52636         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
52637         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
52639         [BZ #14117]
52640         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
52641         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
52643         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
52644         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
52646         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
52647         Defined to 1 if __x86_64__ isn't defined.
52648         (_STAT_VER_LINUX_OLD): New.
52649         (st_atime): Remove duplicate.
52650         (st_mtime): Likewise.
52651         (st_ctime): Likewise.
52653 2012-05-31  David S. Miller  <davem@davemloft.net>
52655         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
52656         entries.
52658 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
52660         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
52661         gen-libm-test.pl.
52663         [BZ #14132]
52664         * elf/dl-reloc.c: Include <_itoa.h>.
52665         (_dl_reloc_bad_type): Remove use of INTUSE.
52666         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
52667         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
52668         * stdio-common/psiginfo.c (psiginfo): Likewise.
52669         * stdio-common/psignal.c (psignal): Likewise.
52670         * string/strsignal.c (strsignal): Likewise.
52671         * include/signal.h (_sys_siglist): Declare hidden proto.
52672         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
52673         INTVARDEF with libc_hidden_data_def.
52674         * stdio-common/itoa-udigits.c: Likewise.
52675         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
52676         (_itoa_lower_digits_internal): Remove declaration.
52677         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
52678         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
52679         (_sys_sigabbrev_internal): Remove aliases.
52680         (_sys_siglist): Define hidden alias.
52682 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
52684         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52685         bits/sysctl.h.
52687 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
52689         [BZ #14117]
52690         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
52691         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
52693         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
52694         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
52695         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
52696         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
52697         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
52698         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
52700         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
52701         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
52702         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
52704         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
52705         with __addr.
52706         (insw): Likewise.
52707         (insl): Likewise.
52708         (outsb): Likewise.
52709         (outsw): Likewise.
52710         (outsl): Likewise.
52712         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
52713         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
52714         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
52716         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
52717         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
52718         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
52719         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
52720         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
52721         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
52723         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
52724         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
52726         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
52727         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
52729         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
52730         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
52731         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
52733         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
52734         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
52735         to ...
52736         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
52738         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
52739         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
52740         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
52742         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
52743         for x86-64.
52744         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
52746 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
52748         * math/math.h (M_El): Use two more decimal places.
52749         (M_LOG2El): Likewise.
52750         (M_LOG10El): Likewise.
52751         (M_LN2l): Likewise.
52752         (M_LN10l): Likewise.
52753         (M_PIl): Likewise.
52754         (M_PI_2l): Likewise.
52755         (M_PI_4l): Likewise.
52756         (M_1_PIl): Likewise.
52757         (M_2_PIl): Likewise.
52758         (M_2_SQRTPIl): Likewise.
52759         (M_SQRT2l): Likewise.
52760         (M_SQRT1_2l): Likewise.
52762 2012-05-31  David S. Miller  <davem@davemloft.net>
52764         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
52765         values between float registers.
52766         * sysdeps/sparc/sparc64/memset.S: Likewise.
52767         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
52769 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
52771         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
52772         -D_FORTIFY_SOURCE=1.
52773         (CPPFLAGS-tst-longjmp_chk.c): Define.
52774         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
52775         (CPPFLAGS-tst-longjmp_chk2.c): Define.
52776         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
52777         CFLAGS-tst-wchar-h.c.
52779 2012-05-31  Marek Polacek  <polacek@redhat.com>
52781         [BZ #14132]
52782         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
52783         __endmntent_internal): Remove declaration.
52784         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
52785         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
52786         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
52788 2012-05-30  David S. Miller  <davem@davemloft.net>
52790         * sysdeps/sparc/sparc32/soft-fp/q_util.c
52791         (___Q_simulate_exceptions): Use real FP ops rather than writing
52792         into the %fsr.
52793         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
52794         Likewise.
52796 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
52798         [BZ #14117]
52799         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
52800         * sysdeps/x86/bits/xtitypes.h: This.
52802         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
52803         * sysdeps/x86/bits/wordsize.h: This.
52805         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
52806         * sysdeps/x86/bits/huge_vall.h: This.
52808         * sysdeps/i386/bits/select.h: Removed.
52809         * sysdeps/x86_64/bits/select.h: Renamed to ...
52810         * sysdeps/x86/bits/select.h: This.
52812         * sysdeps/i386/bits/setjmp.h: Removed.
52813         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
52814         * sysdeps/x86/bits/setjmp.h: This.
52816         * sysdeps/i386/bits/mathdef.h: Removed.
52817         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
52818         * sysdeps/x86/bits/mathdef.h: This.
52820 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
52822         [BZ #14132]
52823         * include/sys/socket.h (__connect_internal)
52824         (__libc_sa_len_internal): Remove declaration.
52825         (__connect, __libc_sa_len): Declare hidden_proto.
52826         (SA_LEN): Remove use of INTUSE.
52827         * socket/connect.c: Add libc_hidden_def.
52828         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
52829         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
52830         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
52831         alias.
52832         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
52833         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
52834         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
52835         of adding _internal alias.
52837 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
52839         [BZ #14117]
52840         * sysdeps/i386/bits/link.h: Removed.
52841         * sysdeps/i386/bits/linkmap.h: Likewise.
52842         * sysdeps/x86_64/bits/link.h: Renamed to ...
52843         * sysdeps/x86/bits/link.h: This.
52844         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
52845         * sysdeps/x86/bits/linkmap.h: This.
52847         * sysdeps/i386/bits/endian.h: Removed.
52848         * sysdeps/x86_64/bits/endian.h: Renamed to ...
52849         * sysdeps/x86/bits/endian.h: This.
52851         * sysdeps/i386/bits/byteswap.h: Removed.
52852         * sysdeps/i386/bits/byteswap-16.h: Likewise.
52853         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
52854         * sysdeps/x86/bits/byteswap.h: This.
52855         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
52856         * sysdeps/x86/bits/byteswap-16.h: This.
52857         * sysdeps/i386/Implies: Add x86.
52858         * sysdeps/x86_64/Implies: Likewise.
52860 2012-05-30  David S. Miller  <davem@davemloft.net>
52862         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
52863         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
52864         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
52865         (FP_TRAPPING_EXCEPTIONS): Define.
52866         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
52867         (FP_TRAPPING_EXCEPTIONS): Define.
52868         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
52869         subnormals only when inexact has been signalled or underflow
52870         exceptions are enabled.
52871         (_FP_PACK_CANONICAL): Likewise.
52873 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
52875         [BZ #14183]
52876         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
52877         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
52879 2012-05-30  Richard Henderson  <rth@twiddle.net>
52881         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
52882         with #ifndef NOT_IN_libc.
52884         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
52885         marked to avoid plt entry.
52887 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
52889         [BZ #14112]
52890         * Makeconfig (default-abi): New macro.
52891         (abi-includes): Likewise.
52892         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
52893         $(abi-$(default-abi)-lib-soname) for soname if defined.
52894         ($(common-objpfx)gnu/lib-names.stmp): Generate from
52895         abi-variants.
52896         * Makefile (installed-stubs): Likewise.
52897         * include/stubs-biarch.h: Removed.
52898         * scripts/lib-names.awk: Only handle one library at a time.
52899         * scripts/soversions.awk: Remove WORDSIZE support.
52900         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
52901         entries.
52902         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
52903         Removed.
52904         (syscall-list-default-condition): Likewise.
52905         (syscall-list-default-condition): Likewise.
52906         (syscall-list-includes): Likewise.
52907         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
52908         syscall-list-* with abi-*.  Handle undefined abi-variants.
52909         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
52910         * sysdeps/unix/sysv/linux/i386/Implies: New file.
52911         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
52912         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
52913         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
52914         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
52915         Removed.
52916         (syscall-list-32-options): Likewise.
52917         (syscall-list-32-condition): Likewise.
52918         (syscall-list-64-options): Likewise.
52919         (syscall-list-64-condition): Likewise.
52920         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
52921         macro.
52922         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
52923         Renamed to ...
52924         (abi-*): This.
52925         (abi-64-ld-soname): New macro.
52926         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
52927         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
52928         Renamed to ...
52929         (abi-*): This.
52930         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
52931         * sysdeps/x86_64/x32/shlib-versions: Likewise.
52933 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
52935         * sysdeps/unix/sysv/linux/kernel-features.h
52936         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
52937         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
52938         include <kernel-features.h>.
52939         [!__NR_ftruncate64]: Remove conditional code.
52940         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
52941         [__NR_ftruncate64]: Make code unconditional.
52942         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
52943         * sysdeps/unix/sysv/linux/truncate64.c: Do not
52944         include <kernel-features.h>.
52945         [!__NR_ftruncate64]: Remove conditional code.
52946         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
52947         [__NR_ftruncate64]: Make code unconditional.
52948         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
52949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
52950         include <kernel-features.h>.
52951         [!__NR_ftruncate64]: Remove conditional code.
52952         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
52953         [__NR_ftruncate64]: Make code unconditional.
52954         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
52955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
52956         include <kernel-features.h>.
52957         [!__NR_ftruncate64]: Remove conditional code.
52958         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
52959         [__NR_ftruncate64]: Make code unconditional.
52960         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
52962         * configure.in (libc_cv_fpie): Weaken to a compile test using
52963         LIBC_TRY_CC_OPTION.
52964         * configure: Regenerated.
52966 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52968         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
52969         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
52970         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
52971         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
52972         Refreshed.
52973         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
52974         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
52975         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
52976         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
52977         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
52978         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
52979         Refreshed.
52981 2012-05-27  David S. Miller  <davem@davemloft.net>
52983         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
52984         (___Q_zero): New.
52985         (__Q_simulate_exceptions): Return void.  Change to simulate
52986         exceptions by writing into the %fsr.
52987         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
52988         (__Qp_handle_exceptions): Likewise.
52989         (numbers): Delete.
52990         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
52991         __Qp_handle_exceptions.
52992         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
52993         __Qp_handle_exceptions.
52994         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
52995         as unused and give dummy FP_RND_NEAREST initializer.
52996         (FP_INHIBIT_RESULTS): Define.
52997         (___Q_simulate_exceptions): Update declaration.
52998         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
52999         formatting.
53000         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
53001         as unused and give dummy FP_RND_NEAREST initializer.
53002         (__Qp_handle_exceptions): Update declaration.
53003         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
53004         formatting.
53006 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
53008         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
53009         the temporary FPU control word.
53010         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
53011         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
53012         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
53013         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
53014         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
53015         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
53016         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
53017         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
53018         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
53019         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
53020         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
53022 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53024         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
53025         fields.
53027 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
53029         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
53030         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
53031         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
53032         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
53033         Likewise.
53034         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
53035         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
53036         Likewise.
53038 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
53040         * po/h.po: Update from translation team.
53042 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
53044         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
53046         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
53047         handling of denormals.
53048         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
53049         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
53050         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
53051         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
53052         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
53053         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
53054         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
53055         Likewise.
53057 2012-05-26  Marek Polacek  <polacek@redhat.com>
53059         [BZ #14152]
53060         * math/libm-test.inc (fma_test): Don't always expect underflow
53061         exception.
53063 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53065         [BZ #12416]
53066         * elf/tst-execstack.c: Include stackinfo.h.
53067         (do_test): Adjust test case to ensure that pthread_getattr_np
53068         behaviour remains the same after marking stack executable.
53070 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
53072         * sysdeps/unix/sysv/linux/kernel-features.h
53073         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
53074         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
53075         kernel-features.h.
53076         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
53077         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
53078         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
53079         kernel-features.h.
53080         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
53081         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
53083 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
53085         * configure.in: Define the default includes to being none.
53086         * configure: Regenerated.
53088 2012-05-25  Roland McGrath  <roland@hack.frob.com>
53090         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
53091         * sysdeps/x86_64/setjmp.S: Likewise.
53092         * sysdeps/i386/bsd-setjmp.S: Likewise.
53093         * sysdeps/i386/bsd-_setjmp.S: Likewise.
53094         * sysdeps/i386/setjmp.S: Likewise.
53095         * sysdeps/i386/__longjmp.S: Likewise.
53096         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
53097         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
53099         * include/stap-probe.h: New file.
53100         * configure.in: Handle --enable-systemtap.
53101         * configure: Regenerated.
53102         * config.h.in (USE_STAP_PROBE): New #undef.
53103         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
53104         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
53105         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
53107 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
53109         [BZ #13717]
53110         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
53111         to 2.4.0 where earlier.
53112         * sysdeps/unix/sysv/linux/configure: Regenerated.
53113         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
53114         <kernel-features.h>.
53115         [__ASSUME_32BITUIDS]: Make code unconditional.
53116         [!__ASSUME_32BITUIDS]: Remove conditional code.
53117         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
53118         <kernel-features.h>.
53119         [__ASSUME_32BITUIDS]: Make code unconditional.
53120         [!__ASSUME_32BITUIDS]: Remove conditional code.
53121         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
53122         [__ASSUME_32BITUIDS]: Make code unconditional.
53123         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
53124         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
53125         <kernel-features.h>.
53126         [__ASSUME_32BITUIDS]: Make code unconditional.
53127         [!__ASSUME_32BITUIDS]: Remove conditional code.
53128         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
53129         <kernel-features.h>.
53130         [__ASSUME_32BITUIDS]: Make code unconditional.
53131         [!__ASSUME_32BITUIDS]: Remove conditional code.
53132         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
53133         <kernel-features.h>.
53134         [__ASSUME_32BITUIDS]: Make code unconditional.
53135         [!__ASSUME_32BITUIDS]: Remove conditional code.
53136         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
53137         <kernel-features.h>.
53138         [__ASSUME_32BITUIDS]: Make code unconditional.
53139         [!__ASSUME_32BITUIDS]: Remove conditional code.
53140         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
53141         <kernel-features.h>.
53142         [__ASSUME_32BITUIDS]: Make code unconditional.
53143         [!__ASSUME_32BITUIDS]: Remove conditional code.
53144         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
53145         <kernel-features.h>.
53146         [__ASSUME_32BITUIDS]: Make code unconditional.
53147         [!__ASSUME_32BITUIDS]: Remove conditional code.
53148         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
53149         <kernel-features.h>.
53150         [__ASSUME_32BITUIDS]: Make code unconditional.
53151         [!__ASSUME_32BITUIDS]: Remove conditional code.
53152         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
53153         <kernel-features.h>.
53154         [__ASSUME_32BITUIDS]: Make code unconditional.
53155         [!__ASSUME_32BITUIDS]: Remove conditional code.
53156         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
53157         <kernel-features.h>.
53158         [__ASSUME_32BITUIDS]: Make code unconditional.
53159         [!__ASSUME_32BITUIDS]: Remove conditional code.
53160         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
53161         <kernel-features.h>.
53162         [__ASSUME_32BITUIDS]: Make code unconditional.
53163         [!__ASSUME_32BITUIDS]: Remove conditional code.
53164         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
53165         <kernel-features.h>.
53166         [__NR_setresgid] (__setresgid): Do not declare.
53167         [__ASSUME_32BITUIDS]: Make code unconditional.
53168         [!__ASSUME_32BITUIDS]: Remove conditional code.
53169         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
53170         <kernel-features.h>.
53171         [__NR_setresuid] (__setresuid): Do not declare.
53172         [__ASSUME_32BITUIDS]: Make code unconditional.
53173         [!__ASSUME_32BITUIDS]: Remove conditional code.
53174         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
53175         <kernel-features.h>.
53176         [__ASSUME_32BITUIDS]: Make code unconditional.
53177         [!__ASSUME_32BITUIDS]: Remove conditional code.
53178         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
53179         <kernel-features.h>.
53180         [__ASSUME_32BITUIDS]: Make code unconditional.
53181         [!__ASSUME_32BITUIDS]: Remove conditional code.
53182         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
53183         <kernel-features.h>.
53184         [__ASSUME_32BITUIDS]: Make code unconditional.
53185         [!__ASSUME_32BITUIDS]: Remove conditional code.
53186         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
53187         <kernel-features.h>.
53188         [__ASSUME_32BITUIDS]: Make code unconditional.
53189         [!__ASSUME_32BITUIDS]: Remove conditional code.
53190         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
53191         <kernel-features.h>.
53192         [__ASSUME_32BITUIDS]: Make code unconditional.
53193         [!__ASSUME_32BITUIDS]: Remove conditional code.
53194         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
53195         <kernel-features.h>.
53196         [__ASSUME_32BITUIDS]: Make code unconditional.
53197         [!__ASSUME_32BITUIDS]: Remove conditional code.
53198         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
53199         <kernel-features.h>.
53200         [__ASSUME_32BITUIDS]: Make code unconditional.
53201         [!__ASSUME_32BITUIDS]: Remove conditional code.
53202         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
53203         <kernel-features.h>.
53204         [__ASSUME_32BITUIDS]: Make code unconditional.
53205         [!__ASSUME_32BITUIDS]: Remove conditional code.
53206         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
53207         <kernel-features.h>.
53208         [__ASSUME_32BITUIDS]: Make code unconditional.
53209         [!__ASSUME_32BITUIDS]: Remove conditional code.
53210         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
53211         <kernel-features.h>.
53212         [__ASSUME_32BITUIDS]: Make code unconditional.
53213         [!__ASSUME_32BITUIDS]: Remove conditional code.
53214         * sysdeps/unix/sysv/linux/kernel-features.h
53215         (__ASSUME_SETRESUID_SYSCALL): Remove.
53216         (__ASSUME_SETRESGID_SYSCALL): Likewise.
53217         (__ASSUME_32BITUIDS): Likewise.
53218         (__ASSUME_LDT_WORKS): Likewise.
53219         (__ASSUME_O_DIRECTORY): Likewise.
53220         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
53221         architecture but not kernel version.
53222         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
53223         (__ASSUME_MMAP2_SYSCALL): Likewise.
53224         (__ASSUME_STAT64_SYSCALL): Likewise.
53225         (__ASSUME_IPC64): Likewise.
53226         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
53227         <kernel-features.h>.
53228         [__ASSUME_32BITUIDS]: Make code unconditional.
53229         [!__ASSUME_32BITUIDS]: Remove conditional code.
53230         * sysdeps/unix/sysv/linux/opendir.c: Do not include
53231         <kernel-features.h>.
53232         [__ASSUME_O_DIRECTORY]: Make code unconditional.
53233         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
53234         132096]: Remove conditional code.
53235         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
53236         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
53237         <kernel-features.h>.
53238         [__ASSUME_32BITUIDS]: Make code unconditional.
53239         [!__ASSUME_32BITUIDS]: Remove conditional code.
53240         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
53241         <kernel-features.h>.
53242         [__ASSUME_32BITUIDS]: Make code unconditional.
53243         [!__ASSUME_32BITUIDS]: Remove conditional code.
53244         * sysdeps/unix/sysv/linux/setegid.c: Do not include
53245         <kernel-features.h>.
53246         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
53247         unconditional.
53248         (__setresgid): Do not declare.
53249         [__ASSUME_32BITUIDS]: Make code unconditional.
53250         [!__ASSUME_32BITUIDS]: Remove conditional code.
53251         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
53252         <kernel-features.h>.
53253         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
53254         unconditional.
53255         (__setresuid): Do not declare.
53256         [__ASSUME_32BITUIDS]: Make code unconditional.
53257         [!__ASSUME_32BITUIDS]: Remove conditional code.
53258         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
53259         <kernel-features.h>.
53260         [__ASSUME_32BITUIDS]: Make code unconditional.
53261         [!__ASSUME_32BITUIDS]: Remove conditional code.
53262         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
53263         <kernel-features.h>.
53264         [__ASSUME_32BITUIDS]: Make code unconditional.
53265         [!__ASSUME_32BITUIDS]: Remove conditional code.
53267 2012-05-25  Richard Henderson  <rth@twiddle.net>
53269         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
53270         dl_hwcap to ifunc resolver.
53271         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
53272         elf_ifunc_invoke.
53273         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
53274         dl_hwcap to ifunc resolver.
53275         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
53277 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
53279         [BZ #14153]
53280         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
53281         for |x| <= 2**-26, not 2**-57.
53282         * math/libm-test.inc (acos_test): Do not allow spurious underflow
53283         exception.
53285 2012-05-24  Jeff Law  <law@redhat.com>
53287         * stdio-common/Makefile (tests): Add bug25.
53288         * stdio-common/bug25.c: New test.
53290 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
53292         [BZ #13576]
53293         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
53294         multiple of MALLOC_ALIGNMENT in size.
53295         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
53297 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
53299         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
53300         Require >= 256.
53301         (FILENAME_MAX): Use macro-int-constant.
53302         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
53303         (_IOFBF): Use macro-int-constant.
53304         (_IOLBF): Likewise.
53305         (_IONBF): Likewise.
53306         (SEEK_CUR): Likewise.
53307         (SEEK_END): Likewise.
53308         (SEEK_SET): Likewise.
53309         (TMP_MAX): Likewise.
53310         (EOF): Use macro-int-constant.  Require < 0.
53311         (NULL): Use macro-constant.  Require == 0.
53312         (stdin): Require type to be FILE *.
53313         (stdout): Likewise.
53314         (stderr): Likewise.
53315         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
53316         macro-int-constant.
53317         (EXIT_SUCCESS): Likewise.
53318         (NULL): Use macro-constant.  Require == 0.
53319         (RAND_MAX): Use macro-int-constant.
53320         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
53321         [C99-based standards] (strtof): Require function.
53322         [C99-based standards] (strtold): Likewise.
53323         [C99-based standards] (strtoll): Likewise.
53324         [C99-based standards] (strtoull): Likewise.
53325         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
53326         [ISO || ISO99 || ISO11] (limits.h): Likewise.
53327         [ISO || ISO99 || ISO11] (math.h): Likewise.
53328         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
53329         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
53330         [ISO || ISO99 || ISO11] (*_t): Do not allow.
53332 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
53334         [BZ #14132]
53335         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
53336         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
53337         * intl/dgettext.c (DCGETTEXT): Likewise.
53338         * intl/gettext.c (DCGETTEXT): Likewise.
53339         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
53340         * posix/regex_internal.h (gettext): Likewise.
53341         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
53342         Remove declaration.
53343         * include/argz.h (__argz_count_internal)
53344         (__argz_stringify_internal): Remove declaration.
53345         (__argz_count, __argz_stringify): Declare hidden proto.
53346         * intl/dcgettext.c: Remove use of INTDEF.
53347         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
53348         * string/argz-stringify.c: Likewise.
53349         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
53350         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
53351         Declare hidden proto.
53352         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
53353         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
53354         Declare hidden proto.
53355         * include/stdio.h (__asprintf_internal): Don't declare.
53356         (__asprintf): Don't define as macro.  Declare hidden proto.
53357         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
53358         (__fsetlocking): Declare hidden proto.
53359         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
53360         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
53361         hidden proto.
53362         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
53363         (_IO_setlinebuf): Remove use of INTUSE.
53364         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
53365         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
53366         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
53367         Remove declaration.
53368         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
53369         (_IO_do_flush): Remove use of INTUSE.
53370         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
53371         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
53372         (_IO_adjust_column, _IO_least_wmarker)
53373         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
53374         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
53375         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
53376         (_IO_default_doallocate, _IO_wdefault_doallocate)
53377         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
53378         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
53379         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
53380         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
53381         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
53382         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
53383         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
53384         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
53385         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
53386         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
53387         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
53388         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
53389         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
53390         proto.
53391         (_IO_flush_all_internal, _IO_adjust_column_internal)
53392         (_IO_default_uflow_internal, _IO_default_finish_internal)
53393         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
53394         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
53395         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
53396         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
53397         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
53398         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
53399         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
53400         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
53401         (_IO_file_close_internal, _IO_file_close_it_internal)
53402         (_IO_file_underflow_internal, _IO_file_overflow_internal)
53403         (_IO_file_init_internal, _IO_file_attach_internal)
53404         (_IO_file_fopen_internal, _IO_file_read_internal)
53405         (_IO_file_sync_internal, _IO_file_seek_internal)
53406         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
53407         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
53408         (_IO_str_underflow_internal, _IO_str_overflow_internal)
53409         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
53410         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
53411         (_IO_list_all_internal, _IO_link_in_internal)
53412         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
53413         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
53414         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
53415         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
53416         (_IO_do_write_internal, _IO_padn_internal)
53417         (_IO_getline_info_internal, _IO_getline_internal)
53418         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
53419         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
53420         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
53421         (_IO_vfscanf_internal, _IO_vfprintf_internal)
53422         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
53423         (_IO_init_internal, _IO_un_link_internal): Don't declare.
53424         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
53425         with libc_hidden_ver, remove use of INTUSE.
53426         * libio/genops.c: Likewise.
53427         * libio/freopen.c: Likewise.
53428         * libio/freopen64.c: Likewise.
53429         * libio/iofclose.c: Likewise.
53430         * libio/iofdopen.c: Likewise.
53431         * libio/iofflush.c: Likewise.
53432         * libio/iofflush_u.c: Likewise.
53433         * libio/iofgets.c: Likewise.
53434         * libio/iofgets_u.c: Likewise.
53435         * libio/iofopen.c: Likewise.
53436         * libio/iofopncook.c: Likewise.
53437         * libio/iofread.c: Likewise.
53438         * libio/iofread_u.c: Likewise.
53439         * libio/ioftell.c: Likewise.
53440         * libio/iofwrite.c: Likewise.
53441         * libio/iogetline.c: Likewise.
53442         * libio/iogets.c: Likewise.
53443         * libio/iogetwline.c: Likewise.
53444         * libio/iopadn.c: Likewise.
53445         * libio/iopopen.c: Likewise.
53446         * libio/ioseekoff.c: Likewise.
53447         * libio/ioseekpos.c: Likewise.
53448         * libio/iosetbuffer.c: Likewise.
53449         * libio/iosetvbuf.c: Likewise.
53450         * libio/ioungetc.c: Likewise.
53451         * libio/ioungetwc.c: Likewise.
53452         * libio/iovdprintf.c: Likewise.
53453         * libio/iovsprintf.c: Likewise.
53454         * libio/iovsscanf.c: Likewise.
53455         * libio/memstream.c: Likewise.
53456         * libio/obprintf.c: Likewise.
53457         * libio/oldfileops.c: Likewise.
53458         * libio/oldiofclose.c: Likewise.
53459         * libio/oldiofdopen.c: Likewise.
53460         * libio/oldiofopen.c: Likewise.
53461         * libio/oldiopopen.c: Likewise.
53462         * libio/oldstdfiles.c: Likewise.
53463         * libio/putc.c: Likewise.
53464         * libio/setbuf.c: Likewise.
53465         * libio/setlinebuf.c: Likewise.
53466         * libio/stdfiles.c: Likewise.
53467         * libio/strops.c: Likewise.
53468         * libio/vasprintf.c: Likewise.
53469         * libio/vscanf.c: Likewise.
53470         * libio/vsnprintf.c: Likewise.
53471         * libio/vswprintf.c: Likewise.
53472         * libio/wfiledoalloc.c: Likewise.
53473         * libio/wfileops.c: Likewise.
53474         * libio/wgenops.c: Likewise.
53475         * libio/wmemstream.c: Likewise.
53476         * libio/wstrops.c: Likewise.
53477         * libio/__fpurge.c: Likewise.
53478         * libio/__fsetlocking.c: Likewise.
53479         * assert/assert.c: Likewise.
53480         * debug/fgets_chk.c: Likewise.
53481         * debug/fgets_u_chk.c: Likewise.
53482         * debug/fread_chk.c: Likewise.
53483         * debug/fread_u_chk.c: Likewise.
53484         * debug/gets_chk.c: Likewise.
53485         * debug/obprintf_chk.c: Likewise.
53486         * debug/vasprintf_chk.c: Likewise.
53487         * debug/vdprintf_chk.c: Likewise.
53488         * debug/vsnprintf_chk.c: Likewise.
53489         * debug/vsprintf_chk.c: Likewise.
53490         * malloc/mtrace.c: Likewise.
53491         * misc/error.c: Likewise.
53492         * misc/syslog.c: Likewise.
53493         * stdio-common/asprintf.c: Likewise.
53494         * stdio-common/fxprintf.c: Likewise.
53495         * stdio-common/getw.c: Likewise.
53496         * stdio-common/isoc99_fscanf.c: Likewise.
53497         * stdio-common/isoc99_scanf.c: Likewise.
53498         * stdio-common/isoc99_vfscanf.c: Likewise.
53499         * stdio-common/isoc99_vscanf.c: Likewise.
53500         * stdio-common/isoc99_vsscanf.c: Likewise.
53501         * stdio-common/printf-prs.c: Likewise.
53502         * stdio-common/printf_fp.c: Likewise.
53503         * stdio-common/printf_fphex.c: Likewise.
53504         * stdio-common/printf_size.c: Likewise.
53505         * stdio-common/putw.c: Likewise.
53506         * stdio-common/scanf.c: Likewise.
53507         * stdio-common/sprintf.c: Likewise.
53508         * stdio-common/tmpfile.c: Likewise.
53509         * stdio-common/vfprintf.c: Likewise.
53510         * stdio-common/vfscanf.c: Likewise.
53511         * stdlib/strfmon_l.c: Likewise.
53512         * sunrpc/openchild.c: Likewise.
53513         * sunrpc/xdr_stdio.c: Likewise.
53514         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
53515         * sysdeps/mach/hurd/tmpfile.c: Likewise.
53517 2012-05-24  Roland McGrath  <roland@hack.frob.com>
53519         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
53521         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
53522         in the third column, to generate for the shared library an IFUNC
53523         that uses _dl_vdso_vsym.
53524         * Makerules (COMPILE.c, compile-stdin.c): New variables.
53525         * Makeconfig (object-suffixes-noshared): New variable.
53527         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
53528         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
53529         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
53530         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
53532         [BZ #14132]
53533         * include/sys/time.h (__gettimeofday): Remove macro.
53534         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
53535         * time/gettimeofday.c (__gettimeofday): Remove #undef.
53536         Remove INTDEF.
53537         (__gettimeofday): Add libc_hidden_def.
53538         (gettimeofday): Add libc_hidden_weak.
53539         * sysdeps/mach/gettimeofday.c: Likewise.
53540         * sysdeps/posix/gettimeofday.c: Likewise.
53541         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
53542         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
53543         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
53544         (__gettimeofday_internal): Remove strong_alias.
53545         (__gettimeofday): Add libc_hidden_def.
53546         (gettimeofday): Add libc_hidden_weak.
53547         * sysdeps/unix/syscalls.list (gettimeofday):
53548         Remove __gettimeofday_internal alias.
53550 2012-05-24  Daniel Jacobowitz  <drow@false.org>
53551             H.J. Lu  <hongjiu.lu@intel.com>
53553         [BZ #12495]
53554         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
53555         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
53556         (largebin_index_32_big): New.
53557         (largebin_index): Use it for 16-byte alignment.
53558         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
53559         correction with front_misalign.
53561 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
53563         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
53564         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
53565         Likewise.
53566         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
53567         Likewise.
53568         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
53569         Likewise.
53570         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
53571         Likewise.
53572         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
53573         Likewise.
53574         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
53575         Likewise.
53576         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
53577         Likewise.
53578         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
53579         Likewise.
53580         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
53581         Likewise.
53582         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
53583         Likewise.
53584         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
53585         Likewise.
53586         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
53587         Likewise.
53589         * scripts/data/c++-types-x32-linux-gnu.data: New file.
53590         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
53592 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
53594         [BZ #10846]
53595         [BZ #14036]
53596         * math/libm-test.inc (exp_test): Add test from bug 14036.
53597         (pow_test): Add test from bug 10846.
53599         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
53600         and other flags.
53601         (special_function): Do not include flags in test name.
53602         (parse_args): Likewise.
53603         * sysdeps/i386/fpu/libm-test-ulps: Update.
53604         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53605         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
53606         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
53607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53609         * math/gen-libm-test.pl (%beautify): Add entries for underflow
53610         exceptions.
53611         * math/libm-test.inc ("Philosophy"): Update comment about
53612         exception testing.
53613         (UNDERFLOW_EXCEPTION): New macro.
53614         (UNDERFLOW_EXCEPTION_OK): Likewise.
53615         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
53616         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
53617         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
53618         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
53619         (INVALID_EXCEPTION_OK): Update value.
53620         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
53621         (OVERFLOW_EXCEPTION_OK): Likewise.
53622         (IGNORE_ZERO_INF_SIGN): Likewise.
53623         (test_exceptions): Handle underflow exceptions.
53624         (acos_test): Update for underflow exception expectations.
53625         (cexp_test): Likewise.
53626         (clog_test): Likewise.
53627         (clog10_test): Likewise.
53628         (csqrt_test): Likewise.
53629         (ctan_test): Likewise.
53630         (ctanh_test): Likewise.
53631         (exp_test): Likewise.
53632         (exp10_test): Likewise.
53633         (exp2_test): Likewise.
53634         (expm1_test): Likewise.
53635         (fma_test): Likewise.
53636         (j0_test): Likewise.
53637         (jn_test): Likewise.
53638         (nexttoward_test): Likewise.
53639         (pow_test): Likewise.
53640         (scalbn_test): Likewise.
53641         (scalbln_test): Likewise.
53642         (tan_test): Likewise.
53643         (y1_test): Likewise.
53644         * sysdeps/i386/fpu/libm-test-ulps: Update.
53645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53647 2012-05-23  David S. Miller  <davem@davemloft.net>
53649         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
53650         (__libc_sigaction): Remove unused local variables.
53652 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
53654         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
53656 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
53658         mktime: avoid signed integer overflow
53659         * time/mktime.c (__mktime_internal): Do not mishandle the case
53660         where diff == INT_MIN.
53662         mktime: simplify computation of average
53663         * time/mktime.c (ranged_convert): Use new time_t_avg function
53664         instead of rolling our own (probably-slower) code.
53666         mktime: do not assume signed right shift propagates sign bit
53667         * time/mktime.c (isdst_differ): New static function.
53668         (__mktime_internal): No need to normalize tm_isdst now.
53669         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
53670         tm_isdst values.
53672         mktime: merge another wrapv change from gnulib
53673         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
53674         from some compilers.
53676         mktime: remove incorrect attempt at unusual arithmetics
53677         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
53678         The code didn't really work on such machines anyway.
53679         (TYPE_MINIMUM): Assume two's complement.
53680         (twos_complement_arithmetic): Verify that long_int and time_t
53681         are two's complement (or unsigned, in the latter case).
53683         mktime: check signed shifts on long_int and time_t, too
53684         * time/mktime.c (SHR): Check that shifts work as desired
53685         on the types long_int and time_t too, as SHR is used on
53686         such types.
53688         mktime: do not assume 'long' is wide enough
53689         * time/mktime.c (verify): Move decl up.
53690         (long_int): New type.
53691         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
53692         to remove assumption in the code that 'long' is wide enough to
53693         store year values.  This assumption is not true on x32 and on
53694         some non-glibc platforms.
53696         mktime: merge wrapv change from gnulib
53697         * time/mktime.c (WRAPV): New macro.
53698         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
53699         (guess_time_tm, __mktime_internal): Do not assume that signed
53700         integer overflow wraps around; modern compilers generate code
53701         where this assumption is no longer valid.
53703 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
53705         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
53706         Replace "jmp L(pseudo_end)" with "ret".
53707         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
53708         Likewise.
53710 2012-05-23  Andreas Jaeger  <aj@suse.de>
53712         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
53713         * sysdeps/unix/sysv/linux/poll.c: Remove file.
53715 2012-05-23  Andreas Jaeger  <aj@suse.de>
53716             Maximilian Attems  <max@stro.at>
53718         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
53719         New macros.
53721 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
53723         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
53724         code so that pseudo_end is just ret and the stack pointer is
53725         correct also for static library in error case.
53727 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
53729         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
53730         move to syscalls.list.
53731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
53732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
53733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
53734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
53736         * manual/install.texi (Running make install): Do not mention Linux
53737         kernel version for which pt_chown is not needed.
53738         (Linux): Do not mention problems with nscd with 2.0 kernels.
53739         * INSTALL: Regenerated.
53741 2012-05-23  Andreas Jaeger  <aj@suse.de>
53743         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
53744         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
53745         macro.
53746         * sysdeps/unix/sysv/linux/s390/bits/mman.h
53747         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
53748         * sysdeps/unix/sysv/linux/sh/bits/mman.h
53749         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
53750         * sysdeps/unix/sysv/linux/i386/bits/mman.h
53751         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
53752         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
53753         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
53754         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
53755         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
53756         * sysdeps/unix/sysv/linux/bits/in.h
53757         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
53759 2012-05-22  Roland McGrath  <roland@hack.frob.com>
53761         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
53762         (PREPARE_VERSION): Just use assert instead, it will be elided
53763         under [NDEBUG] anyway.
53765 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
53767         * sysdeps/unix/sysv/linux/Makefile: Include
53768         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
53769         (sysdep_routines): Remove sysctl.
53770         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
53771         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
53772         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
53773         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
53774         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
53776 2012-05-22  Andreas Jaeger  <aj@suse.de>
53778         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
53779         that pseudo_end is just ret and the stack pointer is correct also
53780         for static library in error case.
53782 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
53784         [BZ #14122]
53785         * nss/nsswitch.c (defconfig_entries): New variable.
53786         (__nss_database_lookup): Don't leak defconfig entries.
53787         (nss_parse_service_list): Don't leak on error paths.
53788         (free_database_entries): New function.
53789         (free_defconfig): New function.
53790         (free_mem): Move common code to free_database_entries.
53792 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
53794         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
53795         Add arch_prctl.
53796         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
53798         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
53799         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
53800         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
53801         New macro.
53802         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
53803         (INTERNAL_SYSCALL_TYPES): Likewise.
53804         (LOAD_ARGS_TYPES_[1-6]): Likewise.
53805         (LOAD_REGS_TYPES_[1-6]): Likewise.
53806         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
53807         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
53809 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53811         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
53812         copysignl for GLIBC_2_0.
53813         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
53814         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
53815         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
53816         logbl for GLIBC_2_0.
53817         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
53818         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
53820 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
53822         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
53823         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
53825         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
53826         Use "neg %eax".
53828         * time/mktime.c: Update copyright years.
53830 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
53832         mktime: merge comment-quoting-style change from gnulib
53833         * time/mktime.c: Quote 'like this' in comments.
53834         The GNU coding standards suggest that we no longer quote `like this',
53835         as "`" and "'" are typically rendered asymmetrically nowadays.
53836         The typical gnulib style is to quote 'like this' when quoting
53837         code, and "like this" when quoting English.
53839         * time/mktime.c (compile-command): Add "-I.".
53841         mktime: merge mktime-internal.h change from gnulib
53842         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
53844         mktime: merge time_r change from gnulib
53845         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
53847         mktime: merge DEBUG change from gnulib
53848         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
53849         case system <time.h> has a #define.
53851         mktime: merge <sys/types.h> change from gnulib
53852         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
53853         since <time.t> is now guaranteed to define time_t.
53855         mktime: merge HAVE_CONFIG_H change from gnulib
53856         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
53858 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
53860         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
53861         Use "neg %eax".
53863         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
53864         __rlim_t cast.
53865         (struct rusage): Use anonymous union to pad each field to
53866         __syscall_slong_t.
53868 2012-05-21  David S. Miller  <davem@davemloft.net>
53870         * Makefules (o-iterator): Remove .s cases.
53871         (compile-command.s): Delete.
53872         (COMPILE.s): Delete.
53873         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
53875 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
53877         * configure.in (libc_cv_predef_stack_protector): Only consider
53878         "foobar" and "__stack_chk_fail" lines in libc_undefs.
53879         * configure: Regenerated.
53881 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
53883         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
53884         New macro.  Use R*LP on int and pointer.
53885         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
53886         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
53887         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
53888         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
53890         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
53891         [__WORDSIZE_TIME64_COMPAT32] instead of
53892         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
53893         (struct utmp): Likewise.
53894         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
53895         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
53896         Renamed to ...
53897         (__WORDSIZE_TIME64_COMPAT32): This.
53898         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
53899         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
53900         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
53901         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
53902         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
53903         (__WORDSIZE_TIME64_COMPAT32): New macro.
53905 2012-05-21  Andreas Jaeger  <aj@suse.de>
53907         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
53908         only if [SHARED]. Add prototype for __wcschr_ia32.
53910 2012-05-21  Roland McGrath  <roland@hack.frob.com>
53912         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
53913         of %rbp unmolested in the jmp_buf while mangling the low bits.
53914         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
53915         unmolested high bits of %rbp while demangling the low bits.
53916         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
53918 2012-05-21  Andreas Jaeger  <aj@suse.de>
53920         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
53921         * sunrpc/svc_simple.c: Use it for registerrpc.
53922         * sunrpc/xcrypt.c: Use it for passwd2des.
53924         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
53926 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
53928         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
53929         Don't define if [__SYSCALL_WORDSIZE != 32].
53930         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
53931         New macro.
53933 2012-05-21  Bruno Haible  <bruno@clisp.org>
53934             Andreas Jaeger  <aj@suse.de>
53936         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
53937         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
53938         inptr and inend for must_buffer_ch.
53939         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
53940         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
53941         * stdio-common/Makefile (tests): Remove bug15.
53942         (bug15-ENV): Remove macro.
53943         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
53944         anymore.
53946 2012-05-19  Andreas Jaeger  <aj@suse.de>
53947             Roland McGrath  <roland@hack.frob.com>
53949         * manual/contrib.texi: Completely rewritten. It contains now an
53950         alphabetical list of contributors and their contributions.
53952 2012-05-21  Richard Henderson  <rth@twiddle.net>
53954         * misc/getauxval.c (__getauxval): Use unsigned long int.
53955         * misc/sys/auxv.h: Include <sys/cdefs.h>.
53956         (getauxval): Use unsigned long int.
53958 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
53960         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
53962 2012-05-21  Roland McGrath  <roland@hack.frob.com>
53964         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
53965         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
53966         __alignof__ (long double).
53968 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53970         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53972 2012-05-20  Richard Henderson  <rth@twiddle.net>
53974         * misc/getauxval.c: New file.
53975         * misc/sys/auxv.h: New file.
53976         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
53977         (routines): Add getauxval.
53978         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
53979         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
53980         * elf/dl-sysdep.c (_dl_auxv): Remove.
53981         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
53982         * elf/dl-support.c (_dl_auxv): New variable.
53983         (_dl_aux_init): Initialize it.
53984         * manual/startup.texi (Auxiliary Vector): New node.
53985         * sysdeps/generic/bits/hwcap.h: New file.
53986         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
53987         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
53988         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
53989         * sysdeps/sparc/sysdep.h: ... here.  Include it.
53990         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
53991         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
53992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53993         Update.
53994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
53995         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
53996         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
53997         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
53998         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
53999         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
54000         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
54001         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
54003 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54005         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54007 2012-05-19  David S. Miller  <davem@davemloft.net>
54009         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54011 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
54013         [BZ #14123]
54014         * math/s_ccosh.c: Include <float.h>
54015         (__ccosh): Avoid internal overflow calculating sinh and cosh
54016         values before multiplying by sin and cos values.
54017         * math/s_ccoshf.c: Likewise.
54018         * math/s_ccoshl.c: Likewise.
54019         * math/s_csin.c: Likewise.
54020         * math/s_csinf.c: Likewise.
54021         * math/s_csinl.c: Likewise.
54022         * math/s_csinh.c: Likewise.
54023         * math/s_csinhf.c: Likewise.
54024         * math/s_csinhl.c: Likewise.
54025         * math/libm-test.inc (ccos_test): Add more tests.
54026         (ccosh_test): Likewise.
54027         (csin_test): Likewise.
54028         (csinh_test): Likewise.
54029         * sysdeps/i386/fpu/libm-test-ulps: Update.
54030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54032 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
54034         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
54035         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
54037         * sysdeps/x86_64/x32/_itoa.h: Add comment.
54039 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
54041         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
54042         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
54043         * sysdeps/powerpc/soft-fp/Versions: Likewise.
54044         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
54045         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
54046         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
54047         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
54048         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
54049         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
54050         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
54051         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
54052         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
54053         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
54054         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
54055         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
54056         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
54057         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
54058         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
54059         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
54060         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
54061         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
54062         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
54063         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
54064         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
54065         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
54066         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
54067         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
54068         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
54069         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
54070         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
54071         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
54073 2012-05-18  Andreas Jaeger  <aj@suse.de>
54075         * csu/.gitignore: Delete.
54077 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
54079         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
54080         (timex): Use __syscall_slong_t.
54082 2012-05-18  Andreas Jaeger  <aj@suse.de>
54083             Carlos O'Donell  <carlos_odonell@mentor.com>
54085         * manual/install.texi (Configuring and compiling): Update
54086         description about files modified in the source directory.
54087         * INSTALL: Regenerated.
54089 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
54091         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
54092         value.  Use "or" to set return value to -1.
54093         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
54094         negate return value.
54096 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54098         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
54099         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
54100         failure if the compiler has Graphite support disabled.
54101         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
54102         Likewise.
54103         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
54104         (CFLAGS-memmove.c): Likewise.
54105         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
54106         Likewise.
54108 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
54110         * sysdeps/x86_64/x32/_itoa.h: New file.
54112         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
54113         getdents system call only if kernel and user dirents have the
54114         same d_ino and d_off.
54116         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
54117         LLONG_MAX != LONG_MAX.
54118         (_itoa_word): Use _ITOA_WORD_TYPE on value.
54119         (_fitoa_word): Likewise.
54121         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
54122         years.
54123         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
54124         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
54125         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
54127         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
54128         include <bits/wordsize.h>.  Check __x86_64__ instead of
54129         __WORDSIZE.
54130         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
54131         if __x86_64__ is defined.  Use anonymous union on fpstate.
54133         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
54134         anonymous union.
54136 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
54138         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
54139         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
54140         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
54141         Refer to _rtld_local_ro instead of _rtld_global_ro.
54142         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
54143         Likewise.
54144         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
54145         Likewise.
54146         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
54147         Likewise.
54148         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
54149         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
54150         of _rtld_global, and rtld_progname instead of _dl_argv[0].
54152         [BZ #10882]
54153         * sysdeps/powerpc/powerpc32/dl-machine.c
54154         (__elf_machine_runtime_setup) [PROF]: Don't reference
54155         _dl_prof_resolve.
54157 2012-05-18  Andreas Jaeger  <aj@suse.de>
54159         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
54160         function only available for GCCs before 3.4 since GCC 3.4
54161         introduced a builtin.
54162         (lrint): Likewise.
54163         (llrintf): Likewise.
54164         (llrint): Likewise.
54165         (fmaxf): Likewise.
54166         (fmax): Likewise.
54167         (fminf): Likewise.
54168         (fmin): Likewise.
54169         (rint): Likewise.
54170         (rintf): Likewise.
54171         (nearbyint): Likewise.
54172         (nearbyintf): Likewise.
54173         (ceil): Likewise.
54174         (ceilf): Likewise.
54175         (floor): Likewise.
54176         (floorf): Likewise.
54178 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
54180         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
54181         on both fields and cast pointer to __syscall_ulong_t.
54183         * bits/types.h (__fsword_t): New type.
54184         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
54185         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
54186         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54187         (__FSWORD_T_TYPE): Likewise.
54188         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
54189         (__FSWORD_T_TYPE): Likewise.
54190         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54191         (__FSWORD_T_TYPE): Likewise.
54192         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
54193         (__FSWORD_T_TYPE): Likewise.
54194         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
54195         __SWORD_TYPE with __fsword_t.
54196         (statfs64): Likewise.
54198 2012-05-17  David S. Miller  <davem@davemloft.net>
54200         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
54202 2012-05-17  Andreas Jaeger  <aj@suse.de>
54204         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
54205         warning.
54207 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
54209         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
54211 2012-05-17  Andreas Jaeger  <aj@suse.de>
54213         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
54214         when it is used.
54216 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
54218         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
54220 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
54222         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
54223         * sysdeps/x86_64/tst-mallocalign1.c: New file.
54225 2012-05-17  Andreas Jaeger  <aj@suse.de>
54226             Carlos O'Donell  <carlos_odonell@mentor.com>
54228         [BZ #14059]
54229         * sysdeps/x86_64/multiarch/init-arch.h
54230         (bit_YMM_Usable): Rename to...
54231         (bit_AVX_Usable): ... this.
54232         (bit_FMA4_Usable): New macro.
54233         (bit_XMM_state): New macro.
54234         (bit_YMM_state): New macro.
54235         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
54236         [__ASSEMBLER__] (index_AVX_Usable): ... this.
54237         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
54238         (CPUID_OSXSAVE): New macro.
54239         (CPUID_AVX): New macro.
54240         (CPUID_FMA4): New macro.
54241         (index_YMM_Usable): Rename to...
54242         (index_AVX_Usable): ... this.
54243         (HAS_AVX): Use HAS_ARCH_FEATURE.
54244         (HAS_FMA4): Likewise.
54245         (HAS_YMM_USABLE): Remove.
54246         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54247         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
54248         are present.
54249         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
54250         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
54251         * sysdeps/x86_64/multiarch/Makefile: Likewise.
54252         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
54253         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
54255 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
54257         * math/libm-test.c: Support platforms without multiple rounding modes.
54258         * math/bug-nextafter.c: Support platforms without FP exceptions.
54259         * math/bug-nexttoward.c: Likewise.
54260         * math/test-fenv.c: Likewise.
54261         * math/test-misc.c: Likewise.
54262         * stdlib/bug-getcontext.c: Likewise.
54264 2012-05-17  Andreas Jaeger  <aj@suse.de>
54266         * manual/examples/search.c (critter_cmp): Change signature to
54267         avoid warnings.
54268         * manual/string.texi (Collation Functions): Likewise.
54270 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54272         * bits/types.h: Fold copyright years.
54273         * bits/typesizes.h: Likewise.
54274         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
54275         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
54276         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
54277         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
54278         * time/time.h: Likewise.
54280 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
54282         [BZ #208]
54283         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
54284         in instead of returning them.  Return void.
54285         (__libc_mallinfo): Accumulate over all arenas.
54286         (__malloc_stats): Adjust for change in int_mallinfo interface.
54288 2012-05-16  Roland McGrath  <roland@hack.frob.com>
54290         [BZ #10375]
54291         * configure.in (NM): Add AC_CHECK_TOOL for it.
54292         (libc_extra_cflags): New substituted variable.
54293         Check for -fstack-protector being used implicitly.
54294         * configure: Regenerated.
54295         * config.make.in (config-extra-cflags): New variable,
54296         gets @libc_extra_cflags@.
54297         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
54299         [BZ #10375]
54300         * configure.in: Check for _FORTIFY_SOURCE being predefined.
54301         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
54302         * configure: Regenerated.
54303         * config.make.in (CPPUNDEFS): New substituted variable.
54304         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
54305         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
54306         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
54308 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54310         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
54311         (mq_attr): Use __syscall_slong_t.
54313 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54315         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
54316         Check __x86_64__ instead of __WORDSIZE.
54317         (_STAT_VER_LINUX): Likewise.
54318         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
54319         __syscall_ulong_t and __syscall_slong_t.
54320         (stat64): Likewise.
54322 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54324         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
54326 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54328         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
54330 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54332         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
54333         __syscall_ulong_t.
54335         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
54336         include <bits/wordsize.h>.  Check __x86_64__ instead of
54337         __WORDSIZE.
54338         (greg_t): Use "__extension__ long long int" if __x86_64__ is
54339         defined.
54340         (mcontext_t): Replace "unsigned long" with "unsigned long long".
54342         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
54343         include <bits/wordsize.h>.  Check __x86_64__ instead of
54344         __WORDSIZE.
54345         (user_regs_struct): Use "__extension__ unsigned long long"
54346         instead of "unsigned long" if __x86_64__ is defined.
54347         (user): Likewise.  Pad after pointer field if __ILP32__ is
54348         defined.
54350 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
54352         * configure.in (makeinfo): Require version 4.5 or later.  Allow
54353         versions 5 to 9.
54354         * configure: Regenerated.
54355         * manual/install.texi (texinfo): Increase version requirement to
54356         4.5 or later.
54357         * INSTALL: Regenerated.
54359         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
54361 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54363         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
54365         * sysdeps/x86_64/x32/ffs.c: New file.
54367         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
54368         __syscall_ulong_t.
54369         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
54370         defined.  Use __syscall_ulong_t.
54371         (shminfo): Use __syscall_ulong_t.
54372         (shm_info): Likewise.
54374         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
54375         __syscall_ulong_t.
54377         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
54378         <bits/wordsize.h>.
54379         (msgqnum_t): Use __syscall_ulong_t.
54380         (msglen_t): Likewise.
54381         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
54382         __syscall_ulong_t.
54384         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
54385         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
54387         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
54389         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
54390         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
54392         * sysvipc/sys/msg.h (msgbuf): Replace long int with
54393         __syscall_slong_t.
54395         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
54396         include <bits/wordsize.h>.  Check __x86_64__ instead of
54397         __WORDSIZE.
54399         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
54400         "unsigned long long int" if __x86_64__ is defined.
54401         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
54403         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
54404         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
54405         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
54407         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
54408         <stdint.h>.
54409         (GET_PC): Cast to uintptr_t first.
54410         (GET_FRAME): Likewise.
54411         (GET_STACK): Likewise.
54413         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
54414         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
54415         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
54416         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
54417         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
54418         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
54419         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
54420         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
54421         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
54422         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
54423         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
54424         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
54425         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
54426         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
54427         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
54428         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
54429         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
54430         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
54431         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
54432         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
54433         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
54434         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
54435         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
54436         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
54437         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
54438         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
54439         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
54440         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
54441         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
54443 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
54445         * Makerules (+depfiles): Also collect depfiles from .oS in
54446         $(extra-objs).
54447         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
54448         .oS, $(libnldbl-routines)).
54450         * Makerules (native-compile-mkdep-flags): Define.
54451         * sunrpc/Makefile (extra-objs): Add $(addprefix
54452         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
54453         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
54454         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
54455         calling $(make-target-directory).
54457 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54459         * bits/types.h (__snseconds_t): Removed.
54460         * time/time.h (struct timespec): Replace __snseconds_t with
54461         __syscall_slong_t.
54462         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
54463         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
54464         Likewise.
54465         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54466         (__SNSECONDS_T_TYPE): Likewise.
54467         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
54468         (__SNSECONDS_T_TYPE): Likewise.
54469         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54470         (__SNSECONDS_T_TYPE): Likewise.
54472 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54474         * sysdeps/mach/hurd/bits/typesizes.h
54475         (__SYSCALL_SLONG_TYPE): New macro.
54476         (__SYSCALL_ULONG_TYPE): Likewise.
54478 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54480         * bits/types.h (__syscall_slong_t): New type.
54481         (__syscall_ulong_t): Likewise.
54483         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
54484         (__SYSCALL_ULONG_TYPE): Likewise.
54485         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54486         (__SYSCALL_SLONG_TYPE): Likewise.
54487         (__SYSCALL_ULONG_TYPE): Likewise.
54488         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
54489         (__SYSCALL_SLONG_TYPE): Likewise.
54490         (__SYSCALL_ULONG_TYPE): Likewise.
54491         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54492         (__SYSCALL_SLONG_TYPE): Likewise.
54493         (__SYSCALL_ULONG_TYPE): Likewise.
54495 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54497         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
54498         Add sigaltstack-offsets.sym.
54499         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
54500         <sigaltstack-offsets.h>.
54501         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
54502         longjmp_msg pointer.
54503         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
54504         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
54505         signal stack.
54506         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
54508 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
54510         * elf/stackguard-macros.h: Remove file.
54511         * sysdeps/generic/stackguard-macros.h: New file.
54512         * sysdeps/i386/stackguard-macros.h: Likewise.
54513         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
54514         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
54515         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
54516         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
54517         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
54518         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
54519         * sysdeps/x86_64/stackguard-macros.h: Likewise.
54520         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
54521         <elf/stackguard-macros.h>.
54523         [BZ #14109]
54524         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
54525         __aligned__ in attribute.
54526         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
54527         (gregset_t): Likewise.
54529 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54531         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
54532         * sysdeps/x86_64/64/Implies-after: Here.  New file.
54533         * sysdeps/x86_64/x32/Implies-after: New file.
54535 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54537         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
54538         and access return value for _dl_profile_fixup.  Use R10_LP to
54539         load frame size.
54541 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54543         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
54545 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54547         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
54548         * sysdeps/x86_64/x32/sysdep.h: New file.
54550 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54552         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
54553         * sysdeps/x86_64/setjmp.S: Likewise.
54555 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54557         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
54558         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
54559         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
54560         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
54561         remove unused global constant.
54563 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
54565         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
54566         include of <not-cancel.h>.
54568 2012-05-15  Roland McGrath  <roland@hack.frob.com>
54570         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
54572 2012-05-15  Jeff Law  <law@redhat.com>
54573             Andreas Jaeger  <aj@suse.de>
54575         [BZ #13594]
54576         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
54577         out from...
54578         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
54579         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
54580         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
54581         code changing __hst_map_handle.map.
54583 2012-05-15  Roland McGrath  <roland@hack.frob.com>
54585         * configure.in (sysnames): Look for Implies-before and Implies-after
54586         files.
54587         * configure: Regenerated.
54589 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54591         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
54592         8-byte data alignment with LP_SIZE alignment.
54594 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54596         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
54597         into R10_LP.
54599 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54601         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
54603 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54605         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
54606         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
54607         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
54608         Likewise.
54609         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
54611 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54613         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
54614         (stackinfo_sub_sp): Likewise.
54616 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54618         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
54619         RAX_LP.
54621 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54623         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
54624         into R*_LP.
54626 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54628         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
54629         sizes into R*_LP.
54631 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54633         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
54635 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54637         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
54638         into R11_LP and load __x86_64_shared_cache_size_half into
54639         R8_LP.
54641 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54643         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
54644         R8_LP.
54646 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54648         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
54649         logb for POWER7.
54650         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
54651         logbf for POWER7.
54652         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
54653         logbl for POWER7.
54654         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
54655         powerpc32/power7/fpu/s_logb.c via #include.
54656         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
54657         powerpc32/power7/fpu/s_logbf.c via #include.
54658         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
54659         powerpc32/power7/fpu/s_logbl.c via #include.
54661 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
54663         * README.libm: Remove file.
54665 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
54667         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
54668         count for x32.  Use R*_LP and omit operand-size suffix.
54670 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
54672         * shlib-versions: Move x86_64-.*-linux.* entries to ...
54673         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
54674         * sysdeps/x86_64/x32/shlib-versions: New file.
54676 2012-05-14  Roland McGrath  <roland@hack.frob.com>
54678         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
54679         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
54680         Use _dl_fatal_printf instead.
54682 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
54684         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
54685         set if not set by the user.  Do not allow for being unset.
54686         * sysdeps/unix/sysv/linux/configure: Regenerated.
54688 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
54690         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
54691         the `q' suffix from lea and replace .quad with ASM_ADDR.
54693 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
54695         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
54696         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
54697         instead of $17.
54698         (PTR_DEMANGLE): Likewise.
54700 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
54702         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
54703         (LP_OP): Likewise.
54704         (ASM_ADDR): Likewise.
54705         (RAX_LP): Likewise.
54706         (RBP_LP): Likewise.
54707         (RBX_LP): Likewise.
54708         (RCX_LP): Likewise.
54709         (RDI_LP): Likewise.
54710         (RSI_LP): Likewise.
54711         (RSP_LP): Likewise.
54712         (R8_LP): Likewise.
54713         (R9_LP): Likewise.
54714         (R10_LP): Likewise.
54715         (R10_LP): Likewise.
54716         (R11_LP): Likewise.
54717         (R12_LP): Likewise.
54718         (R13_LP): Likewise.
54719         (R14_LP): Likewise.
54720         (R15_LP): Likewise.
54722 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
54724         * sysdeps/x86_64/x32/dl-machine.h: New file.
54726 2012-05-14  Andreas Jaeger  <aj@suse.de>
54728         * manual/Makefile (subdir): Remove export of subdir.
54729         (all): Remove target.
54730         (.PHONY): Remove all from list.
54731         (mkinstalldirs): Remove.
54732         (.PHONY): Remove installdirs from list.
54733         ($(inst_infodir)/libc.info): Use make-target-directory.
54734         (installdirs): Remove.
54735         (subdir_%): Remove.
54736         (glibc-targets): Remove.
54737         (lib): Remove.
54738         (stubs): Remove.
54739         ($(objpfx)stubs ../po/manual.pot): Remove.
54740         ($(objpfx)stamp%): Remove.
54741         (make-target-directory): Remove.
54742         (subdir_install): Remove.
54743         (routines): Remove.
54744         (aux): Remove.
54745         (sources): Remove.
54746         (objects): Remove.
54747         (headers): Remove.
54749         [BZ #13750]
54750         * manual/.gitignore: Remove, it's not needed anymore.
54751         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
54752         all files in it.
54753         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
54754         directory.
54755         (texis): Renamed to $(objpfx)texis.
54756         (texis-path): New, contains path to generated files.
54757         (chapters.%): Use texis-path for complete path, add extra argument
54758         libc-texinfo.sh.
54759         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
54760         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
54761         (summary,texi, stamp-summary): Use complete path of
54762         files. Generate files in build dir.
54763         (dir-add.texi): Build in build dir.
54764         (libm-err.texi,stamp-libm-err): Likewise.
54765         (version.texi, stamp-version): Likewise.
54766         (.%c.texi): Likewise.
54767         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
54768         (mostlyclean): Remove target.
54769         (realclean): Remove target.
54770         (generated): Add new variable with contents from mostlyclean and
54771         realclean, remove entries duplicated in common-mostlyclean, add
54772         stamp-libm-err and stamp-version.
54773         (generated-dirs): Add libc directory.
54774         ($(inst_infodir)/libc.info): Install files from build dir.
54776         * manual/install.texi (Configuring and compiling): Adjust since
54777         the info files are not part of the tar ball anymore.
54779 2012-05-14  Andreas Jaeger  <aj@suse.de>
54781         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
54782         variable.
54784 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
54786         [BZ #13717]
54787         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
54788         to 2.2.0 where earlier.
54789         * sysdeps/unix/sysv/linux/configure: Regenerated.
54790         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
54791         Remove conditional code.
54792         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
54793         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
54794         Remove conditional code.
54795         [!__NR_lchown]: Likewise.
54796         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
54797         [__NR_lchown]: Likewise.
54798         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
54799         comment referencing __ASSUME_LCHOWN_SYSCALL.
54800         * sysdeps/unix/sysv/linux/i386/sigaction.c
54801         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
54802         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
54803         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
54804         Remove conditional code.
54805         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
54806         (__protocol_available): Remove #if 0 code.
54807         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
54808         conditional code.
54809         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
54810         * sysdeps/unix/sysv/linux/kernel-features.h
54811         (__ASSUME_GETCWD_SYSCALL): Don't define.
54812         (__ASSUME_REALTIME_SIGNALS): Likewise.
54813         (__ASSUME_PREAD_SYSCALL): Likewise.
54814         (__ASSUME_PWRITE_SYSCALL): Likewise.
54815         (__ASSUME_POLL_SYSCALL): Likewise.
54816         (__ASSUME_LCHOWN_SYSCALL): Likewise.
54817         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
54818         non-SPARC.
54819         (__ASSUME_SIOCGIFNAME): Don't define.
54820         (__ASSUME_MSG_NOSIGNAL): Likewise.
54821         (__ASSUME_SENDFILE): Define unconditionally.
54822         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
54823         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
54824         conditional code.
54825         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
54826         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
54827         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
54828         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
54829         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
54830         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
54831         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
54832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
54833         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
54834         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
54835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
54836         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
54837         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
54838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
54839         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
54840         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
54841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
54842         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
54843         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
54844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
54845         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
54846         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
54847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
54848         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
54849         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
54850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
54851         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
54852         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
54853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
54854         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
54855         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
54856         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
54857         Remove conditional code.
54858         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
54859         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
54860         Remove conditional code.
54861         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
54862         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
54863         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
54864         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
54865         Remove conditional code.
54866         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
54867         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
54868         Remove conditional code.
54869         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
54870         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
54871         Remove conditional code.
54872         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
54873         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
54874         Remove conditional code.
54875         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
54876         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
54877         Remove conditional code.
54878         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
54879         * sysdeps/unix/sysv/linux/sh/pwrite64.c
54880         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
54881         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
54882         * sysdeps/unix/sysv/linux/sigaction.c
54883         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
54884         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
54885         * sysdeps/unix/sysv/linux/sigpending.c
54886         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
54887         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
54888         * sysdeps/unix/sysv/linux/sigprocmask.c
54889         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
54890         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
54891         * sysdeps/unix/sysv/linux/sigsuspend.c
54892         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
54893         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
54894         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
54895         (__libc_missing_rt_sigs): Remove.
54896         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
54897         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
54898         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
54899         Remove conditional code.
54900         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
54901         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
54902         return 1.
54903         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
54904         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
54905         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
54906         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
54908 2012-05-14  Andreas Jaeger  <aj@suse.de>
54910         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
54911         it's not used in glibc.
54912         (__coshm1): Likewise.
54913         (__acosh1p): Likewise.
54914         (__sgn): Likewise.
54916         * manual/string.texi (Copying and Concatenation): Add missing
54917         variable in concat example.
54918         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
54920 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
54922         [BZ #14103]
54923         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
54924         __builtin_clzl with __builtin_clzll.
54926 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
54928         [BZ #14104]
54929         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
54930         libc_freeres_ptr.
54932 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54934         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
54935         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
54936         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
54937         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
54939 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
54941         * NEWS: Update ia64 info.
54943 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
54945         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
54946         used as bcopy.
54948 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
54950         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
54951         * sysdeps/unix/syscalls.list (dup3): Likewise.
54952         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
54953         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
54955 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
54957         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
54958         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
54960 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
54962         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
54963         thread pointer.
54964         (TLS_IE): Use mov/add instead of movq/addq to load thread
54965         pointer.
54966         (TLS_GD_PREFIX): New.
54967         (TLS_GD): Use it.
54969 2012-05-11  David S. Miller  <davem@davemloft.net>
54971         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
54972         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
54973         (_FPU_SETCW): Likewise.
54975 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
54977         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
54978         is 32-byte aligned.
54980 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
54982         [BZ #11837]
54983         * iconvdata/gb18030.c: Update tables.
54984         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
54985         characters specially.
54986         (BODY for TO_LOOP): Add encoding of missing ranges.
54988 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
54990         [BZ #13673]
54991         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
54992         * sysdeps/mach/hurd/dup3.c: Likewise.
54993         * sysdeps/mach/hurd/readlinkat.c: Likewise.
54994         * sysdeps/powerpc/memmove.c:: Likewise.
54996 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
54998         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
54999         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
55001 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
55003         * elf/elf.h (R_X86_64_RELATIVE64): New.
55004         (R_X86_64_NUM): Updated.
55005         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
55006         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
55007         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
55008         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
55009         tst-quad1pie tst-quad2pie
55010         (modules-names): Add tst-quadmod1 tst-quadmod2.
55011         ($(objpfx)tst-quad1): New dependency.
55012         ($(objpfx)tst-quad2): Likewise.
55013         ($(objpfx)tst-quad1pie): Likewise.
55014         ($(objpfx)tst-quad2pie): Likewise.
55015         * sysdeps/x86_64/tst-quad1.c: New file.
55016         * sysdeps/x86_64/tst-quad1pie.c: New file.
55017         * sysdeps/x86_64/tst-quad2.c: Likewise.
55018         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
55019         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
55020         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
55021         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
55022         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
55024 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55026         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
55027         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
55028         * streams/stropts.h (t_scalar_t): Define type.
55030         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
55031         (_PATH_PRESERVE): Set to "/var/lib".
55032         (_PATH_RWHODIR): Set to "/var/spool/rwho".
55034         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
55035         instead of int.
55037         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
55038         if __dir_mkfile succeeded.
55040         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
55041         checking for _hurd_dtablesize.  Unlock it right after having
55042         finished _hurd_dtable allocation.
55044 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55046         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
55047         * sysdeps/mach/hurd/configure: Regenerated.
55048         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
55049         special-casing to...
55050         * sysdeps/gnu/configure.in: ... this new file.
55051         * sysdeps/unix/sysv/linux/configure: Regenerated.
55052         * sysdeps/gnu/configure: New generated file.
55054         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
55055         for Linux: use nsec instead of usec, as well as:
55056         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
55057         members of type struct timespec.
55058         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
55059         New macros.
55060         (struct stat64): Likewise.
55061         (_STATBUF_ST_NSEC): New macro.
55062         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
55064         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
55065         __strtoul_internal rather than strtoul.
55067 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
55069         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
55070         and reject them.
55072 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55074         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
55075         which preserves existing values.
55076         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
55078 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
55080         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
55081         TIMEOUT values.  Return EINVAL for NFDS values either negative or
55082         greater than FD_SETSIZE.
55084 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55086         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
55087         allocated, call __vm_protect to finish enabling the existing space, and
55088         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
55089         allocate the remainder.
55091 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
55093         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
55094         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
55096 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55098         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
55099         sysdeps/mach/hurd/readlink.c.
55101         * posix/tst-sysconf.c (posix_options): Only use
55102         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
55103         _POSIX_SYNCHRONIZED_IO when they are defined
55104         * sysdeps/mach/hurd/bits/posix_opt.h:
55105         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
55106         (_XOPEN_REALTIME): Undefine macro.
55107         (_XOPEN_REALTIME_THREADS): Undefine macro.
55108         (_XOPEN_SHM): Undefine macro.
55109         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
55110         macro to -1.
55111         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
55112         macro to -1.
55113         (_POSIX_ASYNC_IO): Undefine macro.
55114         (_POSIX_PRIORITIZED_IO): Undefine macro.
55115         (_POSIX_SPIN_LOCKS): Define macro to -1.
55117         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
55118         SA_NODEFER, SA_RESETHAND.
55119         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
55120         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
55121         F_DUPFD_CLOEXEC.
55123 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55125         * elf/Makefile (pldd-modules): Define unconditionally.
55127 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55129         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
55131 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55133         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
55134         Return ENOENT when name is empty.
55135         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
55137 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55139         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
55141         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
55143 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55145         Fix mlock in all cases except non-readable pages.
55146         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
55147         instead of VM_PROT_ALL as parameter to __vm_wire function.
55149         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
55150         (__mkdir): When path is `/', just fail with EEXIST.
55151         * sysdeps/mach/hurd/mkdirat.c: Likewise.
55153 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55155         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
55156         <sys/uio.h> (for writev).
55157         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
55158         and <sys/param.h> (for MIN).
55160 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
55162         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
55163         REQUESTED_TIME.  Properly set the remaining time and return EINTR
55164         if interrupted.
55166 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55168         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
55169         Depend on against $(link-rpcuserlibs).
55171 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55173         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
55174         (__libc_stack_end): Do not use attribute_relro.
55175         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
55176         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
55177         to libthread-provided value.
55178         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
55179         attribute_relro.
55181 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55183         [BZ #3748]
55184         * bits/libc-lock.h (__libc_once_get): New macro.
55185         * sysdeps/mach/bits/libc-lock.h: Likewise.
55186         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
55187         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
55188         instead of using implementation details.
55190         * libio/fileops.c: Unconditionally include <kernel-features.h>.
55191         * libio/freopen.c: Likewise.
55192         * libio/freopen64.c: Likewise.
55193         * misc/syslog.c: Likewise.
55194         * nscd/connections.c: Likewise.
55195         * nscd/netgroupcache.c: Likewise.
55196         * sysdeps/posix/getcwd.c: Likewise.
55198 2012-05-10  Roland McGrath  <roland@hack.frob.com>
55200         * math/w_ilogbf.c: Add #include <limits.h>.
55202 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55204         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
55205         path instead of returning without unlocking.
55207         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
55208         immediate-write ioctls.
55209         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
55211 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55213         * sysdeps/mach/hurd/i386/init-first.c (init): Use
55214         __builtin_frame_address instead of making assumptions about the
55215         location of the return address relative to DATA.  Force early load of
55216         the return address.
55217         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
55218         __builtin_frame_address.
55220         dup3 for GNU Hurd.
55221         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
55222         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
55223         implement dup3 and do some further code clean-ups.
55224         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
55225         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
55227 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55229         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
55231         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
55232         HURD_CRITICAL_END around holding _hurd_dtable_lock.
55233         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
55234         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
55235         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
55236         d->port.lock.
55238         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
55239         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
55240         when handler == SIG_ERR, not when handler != SIG_ERR.
55242 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55244         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
55245         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
55246         definitions.
55248         accept4 for GNU Hurd.
55249         * include/sys/socket.h (__libc_accept4): New prototype.
55250         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
55251         to implement __libc_accept4.
55252         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
55253         __libc_accept4.
55254         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
55256         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
55257         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
55258         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
55259         signal-defines.sym.
55261 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55263         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
55265 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55267         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
55268         assertion on O_CLOEXEC flag.
55269         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
55270         * hurd/intern-fd.c: Likewise.
55271         * hurd/port2fd.c: Likewise.
55273 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55275         [BZ #3906]
55276         * bits/in.h (IPV6_PKTINFO): Define new macro.
55277         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
55279 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55281         [BZ #13954]
55282         [BZ #13955]
55283         [BZ #13956]
55284         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
55285         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
55286         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
55287         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
55288         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
55289         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
55290         * math/libm-test.inc (logb_test) : Additional logb tests.
55292 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
55293             Andreas Jaeger  <aj@suse.de>
55295         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
55296         * configure: Regenerated.
55297         * config.h.in (LINK_OBSOLETE_RPC): New macro.
55298         * config.make.in (link-obsolete-rpc): New substituted variable.
55299         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
55300         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
55301         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
55302         (shared-only-routines): Don't set it under [link-obsolete-rpc],
55303         so that libc.a contains the symbols.
55304         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
55305         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
55306         * sunrpc/auth_none.c: Likewise.
55307         * sunrpc/auth_unix.c: Likewise.
55308         * sunrpc/authdes_prot.c: Likewise.
55309         * sunrpc/authuxprot.c: Likewise.
55310         * sunrpc/clnt_gen.c: Likewise.
55311         * sunrpc/clnt_perr.c: Likewise.
55312         * sunrpc/clnt_raw.c: Likewise.
55313         * sunrpc/clnt_simp.c: Likewise.
55314         * sunrpc/clnt_tcp.c: Likewise.
55315         * sunrpc/clnt_udp.c: Likewise.
55316         * sunrpc/clnt_unix.c: Likewise.
55317         * sunrpc/des_crypt.c: Likewise.
55318         * sunrpc/des_soft.c: Likewise.
55319         * sunrpc/get_myaddr.c: Likewise.
55320         * sunrpc/key_call.c: Likewise.
55321         * sunrpc/key_prot.c: Likewise.
55322         * sunrpc/netname.c: Likewise.
55323         * sunrpc/pm_getmaps.c: Likewise.
55324         * sunrpc/pm_getport.c: Likewise.
55325         * sunrpc/pmap_clnt.c: Likewise.
55326         * sunrpc/pmap_prot.c: Likewise.
55327         * sunrpc/pmap_prot2.c: Likewise.
55328         * sunrpc/pmap_rmt.c: Likewise.
55329         * sunrpc/publickey.c: Likewise.
55330         * sunrpc/rpc_cmsg.c: Likewise.
55331         * sunrpc/rpc_common.c: Likewise.
55332         * sunrpc/rpc_dtable.c: Likewise.
55333         * sunrpc/rpc_prot.c: Likewise.
55334         * sunrpc/rpc_thread.c: Likewise.
55335         * sunrpc/rtime.c: Likewise.
55336         * sunrpc/svc.c: Likewise.
55337         * sunrpc/svc_auth.c: Likewise.
55338         * sunrpc/svc_raw.c: Likewise.
55339         * sunrpc/svc_run.c: Likewise.
55340         * sunrpc/svc_tcp.c: Likewise.
55341         * sunrpc/svc_udp.c: Likewise.
55342         * sunrpc/svc_unix.c: Likewise.
55343         * sunrpc/svcauth_des.c: Likewise.
55344         * sunrpc/xcrypt.c: Likewise.
55345         * sunrpc/xdr.c: Likewise.
55346         * sunrpc/xdr_array.c: Likewise.
55347         * sunrpc/xdr_float.c: Likewise.
55348         * sunrpc/xdr_intXX_t.c: Likewise.
55349         * sunrpc/xdr_mem.c: Likewise.
55350         * sunrpc/xdr_rec.c: Likewise.
55351         * sunrpc/xdr_ref.c: Likewise.
55352         * sunrpc/xdr_sizeof.c: Likewise.
55353         * sunrpc/xdr_stdio.c: Likewise.
55355 2012-05-10  Roland McGrath  <roland@hack.frob.com>
55357         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
55358         change.  Update copyright years.
55360 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
55362         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
55364 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
55365             Joseph Myers  <joseph@codesourcery.com>
55366             Paul Pluzhnikov  <ppluzhnikov@google.com>
55368         [BZ #14012]
55369         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
55370         requiring rpcgen.
55371         [cross-compiling] (extra-libs): Likewise.
55372         [cross-compiling] (extra-libs-others): Likewise.
55373         [cross-compiling] (librpcsvc-routines): Likewise.
55374         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
55375         [cross-compiling] (omit-deps): Likewise.
55376         (sunrpc-CPPFLAGS): New variable.
55377         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
55378         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
55379         (cross-rpcgen-objs): New variable.
55380         (extra-objs): Append $(cross-rpcgen-objs).
55381         ($(cross-rpcgen-objs)): New rule.
55382         ($(objpfx)cross-rpcgen): Likewise.
55383         (rpcgen-cmd): Define to use $(built-program-file).  Expand
55384         comment.
55385         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
55386         ($(objpfx)x%.stmp): Likewise.
55387         * sunrpc/proto.h [IS_IN_build] (_): Define.
55388         [IS_IN_build] (_libc_intl_domainname): Likewise.
55390 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
55392         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
55393         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
55394         and R_X86_64_TPOFF64.
55396 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
55398         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
55399         sysdeps/unix/sysv/syscalls.list.
55400         (stime): Likewise.
55401         (utime): Likewise.
55402         * sysdeps/unix/sysv/syscalls.list: Remove file.
55404 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
55406         [BZ #3440]
55407         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
55408         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
55409         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
55410         (__LC_IDENTIFICATION): Make these macros useful in #if
55411         expressions, as required by C99.
55413 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
55415         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
55416         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
55417         after this.
55419 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
55421         * stdlib/longlong.h: Updated from GCC.
55423 2012-05-09  Andreas Jaeger  <aj@suse.de>
55425         * nscd/nscd.c (run_modes): Make named enum, reorder so that
55426         default is first entry.
55427         (run_mode): Set type.
55428         (main): Remove informal message about syslog.
55429         (options): Fix typo.
55431         [BZ #14053]
55432         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
55433         to asm.
55434         (lrint): Likewise.
55435         (llrintf): Likewise.
55436         (llrint): Likewise.
55437         (rint): Likewise.
55438         (rintf): Likewise.
55439         (nearbyint): Likewise.
55440         (nearbyintf): Likewise.
55442 2012-05-09  Andreas Jaeger  <aj@suse.de>
55443             Pedro Alves  <palves@redhat.com>
55445         * nscd/nscd.c (run_mode): Use enum.
55446         (main): Cleanup coding style issue.
55448 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
55449             Andreas Jaeger  <aj@suse.de>
55451         * nscd/nscd.c (go_background): Replaced with...
55452         (run_mode): ... this.
55453         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
55454         (options): Add -F --foreground.
55455         (main): Implement it.
55456         (parse_opt): Parse it.
55458 2012-05-09  Andreas Jaeger  <aj@suse.de>
55460         [BZ #14083]
55461         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
55462         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
55463         -Wconversion warning.
55464         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
55465         Likewise.
55467 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
55469         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
55470         == 0.
55471         (LC_ALL): Use macro-int-constant.
55472         (LC_COLLATE): Likewise.
55473         (LC_CTYPE): Likewise.
55474         (LC_MESSAGES): Likewise.
55475         (LC_MONETARY): Likewise.
55476         (LC_NUMERIC): Likewise.
55477         (LC_TIME): Likewise.
55478         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
55479         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
55480         [ISO || ISO99 || ISO11] (*_t): Do not allow.
55481         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
55482         Specify type.
55483         [C99-based standards] (float_t): Expect type.
55484         [C99-based standards] (double_t): Expect type.
55485         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
55486         type.
55487         [C99-based standards] (HUGE_VALL): Likewise.
55488         [C99-based standards] (INFINITY): Likewise.
55489         [C99-based standards] (NAN): Likewise.
55490         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
55491         [C99-based standards] (FP_NAN): Likewise.
55492         [C99-based standards] (FP_NORMAL): Likewise.
55493         [C99-based standards] (FP_SUBNORMAL): Likewise.
55494         [C99-based standards] (FP_ZERO): Likewise.
55495         [C99-based standards] (FP_FAST_FMA): Use
55496         optional-macro-int-constant.  Specify type.  Require == 1.
55497         [C99-based standards] (FP_FAST_FMAF): Likewise.
55498         [C99-based standards] (FP_FAST_FMAL): Likewise.
55499         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
55500         [C99-based standards] (FP_ILOGBNAN): Likewise.
55501         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
55502         Specify type.
55503         [C99-based standards] (MATH_ERREXCEPT): Likewise.
55504         [C99-based standards] (math_errhandling): Specify type.
55505         [ISO99 || ISO11] (signgam): Do not allow.
55506         [non-C99-based standards] (copysignf): Do not allow.
55507         [non-C99-based standards] (exp2f): Likewise.
55508         [non-C99-based standards] (log2f): Likewise.
55509         [non-C99-based standards] (modff): Allow.
55510         [non-C99-based standards] (erff): Do not allow.
55511         [non-C99-based standards] (erfcf): Likewise.
55512         [non-C99-based standards] (gammaf): Likewise.
55513         [non-C99-based standards] (hypotf): Likewise.
55514         [non-C99-based standards] (j0f): Likewise.
55515         [non-C99-based standards] (j1f): Likewise.
55516         [non-C99-based standards] (jnf): Likewise.
55517         [non-C99-based standards] (lgammaf): Likewise.
55518         [non-C99-based standards] (tgammaf): Likewise.
55519         [non-C99-based standards] (y0f): Likewise.
55520         [non-C99-based standards] (y1f): Likewise.
55521         [non-C99-based standards] (ynf): Likewise.
55522         [non-C99-based standards] (isnanf): Likewise.
55523         [non-C99-based standards] (acoshf): Likewise.
55524         [non-C99-based standards] (asinhf): Likewise.
55525         [non-C99-based standards] (atanhf): Likewise.
55526         [non-C99-based standards] (cbrtf): Likewise.
55527         [non-C99-based standards] (expm1f): Likewise.
55528         [non-C99-based standards] (ilogbf): Likewise.
55529         [non-C99-based standards] (log1pf): Likewise.
55530         [non-C99-based standards] (logbf): Likewise.
55531         [non-C99-based standards] (nextafterf): Likewise.
55532         [non-C99-based standards] (remainderf): Likewise.
55533         [non-C99-based standards] (rintf): Likewise.
55534         [non-C99-based standards] (scalbf): Likewise.
55535         [non-C99-based standards] (copysignl): Likewise.
55536         [non-C99-based standards] (exp2l): Likewise.
55537         [non-C99-based standards] (log2l): Likewise.
55538         [non-C99-based standards] (modfl): Allow.
55539         [non-C99-based standards] (erfl): Do not allow.
55540         [non-C99-based standards] (erfcl): Likewise.
55541         [non-C99-based standards] (gammal): Likewise.
55542         [non-C99-based standards] (hypotl): Likewise.
55543         [non-C99-based standards] (j0l): Likewise.
55544         [non-C99-based standards] (j1l): Likewise.
55545         [non-C99-based standards] (jnl): Likewise.
55546         [non-C99-based standards] (lgammal): Likewise.
55547         [non-C99-based standards] (tgammal): Likewise.
55548         [non-C99-based standards] (y0l): Likewise.
55549         [non-C99-based standards] (y1l): Likewise.
55550         [non-C99-based standards] (ynl): Likewise.
55551         [non-C99-based standards] (isnanl): Likewise.
55552         [non-C99-based standards] (acoshl): Likewise.
55553         [non-C99-based standards] (asinhl): Likewise.
55554         [non-C99-based standards] (atanhl): Likewise.
55555         [non-C99-based standards] (cbrtl): Likewise.
55556         [non-C99-based standards] (expm1l): Likewise.
55557         [non-C99-based standards] (ilogbl): Likewise.
55558         [non-C99-based standards] (log1pl): Likewise.
55559         [non-C99-based standards] (logbl): Likewise.
55560         [non-C99-based standards] (nextafterl): Likewise.
55561         [non-C99-based standards] (remainderl): Likewise.
55562         [non-C99-based standards] (rintl): Likewise.
55563         [non-C99-based standards] (scalbl): Likewise.
55564         [ISO || ISO99 || ISO11] (*_t): Do not allow.
55565         [non-C99-based standards] (FP_*): Do not allow.
55566         [C99-based standards] (FP_*): Change to
55567         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
55568         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
55569         allow.
55570         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
55571         (SIG_ERR): Likewise.
55572         [X/Open-based standards] (SIG_HOLD): Likewise.
55573         (SIG_IGN): Likewise.
55574         (SIGABRT): Use macro-int-constant.  Specify type.  Require
55575         positive value.
55576         (SIGFPE): Likewise.
55577         (SIGILL): Likewise.
55578         (SIGINT): Likewise.
55579         (SIGSEGV): Likewise.
55580         (SIGTER): Likewise.
55581         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
55582         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
55583         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
55584         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
55585         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
55586         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
55587         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
55588         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
55589         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
55590         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
55591         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
55592         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
55593         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
55594         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
55595         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
55596         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
55597         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
55598         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
55599         [X/Open-based standards] (SIGTRAP): Likewise.
55600         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
55601         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
55602         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
55603         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
55604         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
55605         allow.
55607 2012-05-08  Ian Wienand  <ianw@vmware.com>
55609         [BZ #14080]
55610         * time/tzset.c (__tzset_parse_tz): Update default rules for
55611         daylight time changes in the Energy Policy Act of 2005.
55613 2012-05-09  Andreas Jaeger  <aj@suse.de>
55615         [BZ #13983]
55616         * elf/ldconfig.c (parse_conf): Change string to make clear that
55617         ldconfig only issued a warning if ld.so.conf does not exist.
55619 2012-05-08  David S. Miller  <davem@davemloft.net>
55621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
55622         movxtod instead of popping the value on the stack.
55624         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55626 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
55628         * config.h.in: Add HAVE_ARM_PCS_VFP.
55630 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
55632         [BZ #13979]
55633         * include/features.h: Warn if user requests __FORTIFY_SOURCE
55634         checking but the checks are disabled for any reason.
55636 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
55638         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
55639         and ELF64_R_TYPE with ELFW(R_TYPE).
55641 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
55643         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
55644         (ulimit): Likewise.
55646         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
55647         (settimeofday): Likewise.
55649 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
55651         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
55652         a struct th_u2 inside the union, and move tu_block/tu_code into
55653         a new th_u3 union of tu_block/tu_code inside of that.  Move
55654         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
55655         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
55656         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
55657         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
55658         (th_stuff): Change to th_u1.tu_stuff.
55659         (th_data): Define.
55660         (th_msg): Change to th_u1.th_u2.tu_data.
55662 2012-05-07  David S. Miller  <davem@davemloft.net>
55664         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55666         [BZ #14074]
55667         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
55668         (SETUP_PIC_REG): Use it.
55669         (SETUP_PIC_REG_LEAF): Use it.
55671 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
55673         [BZ #13885]
55674         [BZ #13923]
55675         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
55676         USE_AS_EXPM1L.
55677         (EXPL_FINITE): Likewise.
55678         (FLDLOG): Likewise.
55679         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
55680         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
55681         e_expl.S.
55682         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
55683         USE_AS_EXPM1L.
55684         (EXPL_FINITE): Likewise.
55685         (FLDLOG): Likewise.
55686         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
55687         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
55688         e_expl.S.
55689         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
55690         test of -max_value argument for long double.
55691         * sysdeps/i386/fpu/libm-test-ulps: Update.
55692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55694 2012-05-06  David S. Miller  <davem@davemloft.net>
55696         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
55697         quad soft-float symbols whose references which are compiler
55698         generated.
55699         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
55701 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
55703         [BZ #13884]
55704         [BZ #13914]
55705         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
55706         USE_AS_EXP10L.
55707         (EXPL_FINITE): Likewise.
55708         (FLDLOG): Likewise.
55709         (c0): Likewise.
55710         (c1): Likewise.
55711         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
55712         Adjust comments for base varying.
55713         (__expl_finite): Change alias to EXPL_FINITE.
55714         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
55715         e_expl.S.
55716         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
55717         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
55718         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
55719         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
55720         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
55721         USE_AS_EXP10L.
55722         (EXPL_FINITE): Likewise.
55723         (FLDLOG): Likewise.
55724         (c0): Likewise.
55725         (c1): Likewise.
55726         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
55727         Adjust comments for base varying.
55728         (__expl_finite): Change alias to EXPL_FINITE.
55729         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
55730         tests for bugs.
55731         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55733         [BZ #14064]
55734         * math/libm-test.inc (check_float_internal): Correct ulp
55735         calculation for subnormal expected results.
55737 2012-05-06  Andreas Jaeger  <aj@suse.de>
55739         * Makeconfig (+math-flags): New, set to -frounding-math.
55740         (+cflags): Add +math-flags so that all of glibc gets compiled with
55741         it.
55743         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
55745 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
55747         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
55748         Disable one test.
55750         [BZ #13787]
55751         [BZ #13922]
55752         [BZ #14036]
55753         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
55754         (__ieee754_expl): Allow for and saturate large arguments.
55755         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
55756         (u_threshold): Likewise.
55757         (__exp): Call __ieee754_exp before checking for overflow and
55758         underflow.
55759         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
55760         (u_threshold): Likewise.
55761         (__expf): Call __ieee754_expf before checking for overflow and
55762         underflow.
55763         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
55764         (u_threshold): Likewise.
55765         (__expl): Call __ieee754_expl before checking for overflow and
55766         underflow.
55767         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
55768         (__ieee754_expl): Allow for and saturate large arguments.
55769         * math/libm-test.inc (exp_test): Add another test.  Do not allow
55770         missing overflow exception on overflow.
55771         (expm1_test): Do not allow missing overflow exception on overflow.
55773         * sysdeps/i386/fpu/e_expl.c: Move to ...
55774         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
55775         rather than using inline asm.
55776         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
55777         * sysdeps/x86_64/fpu/e_expl.S: Copy from
55778         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
55780         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
55781         (nice): Likewise.
55782         (poll): Likewise.
55783         (signal): Likewise.
55784         (time): Likewise.
55785         (times): Likewise.
55787 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
55789         * sysdeps/unix/syscalls.list (adjtime): Add entry from
55790         sysdeps/unix/common/syscalls.list.
55791         (fchmod): Likewise.
55792         (fchown): Likewise.
55793         (ftruncate): Likewise.
55794         (getrusage): Likewise.
55795         (gettimeofday): Likewise.
55796         (setpgid): Likewise.
55797         (setregid): Likewise.
55798         (setreuid): Likewise.
55799         (sigaction): Likewise.
55800         (truncate): Likewise.
55801         (vhangup): Likewise.
55802         * sysdeps/unix/common/syscalls.list: Remove file.
55803         * sysdeps/unix/bsd/Implies: Don't include unix/common.
55804         * sysdeps/unix/sysv/linux/Implies: Likewise.
55806 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
55808         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
55809         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
55810         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
55811         Moved to ...
55812         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
55813         Here.
55814         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
55815         to ...
55816         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
55817         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
55818         to ...
55819         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
55820         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
55821         to ...
55822         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
55823         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
55824         to ...
55825         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
55826         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
55827         to ...
55828         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
55829         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
55830         to ...
55831         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
55832         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
55833         to ...
55834         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
55835         Here.
55836         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
55837         to ...
55838         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
55839         Here.
55840         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
55841         to ...
55842         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
55843         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
55844         Moved to ...
55845         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
55846         Here.
55847         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
55848         to ...
55849         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
55851 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
55853         * sysdeps/unix/common/bits/dirent.h: Remove file.
55854         * sysdeps/unix/common/bits/fcntl.h: Likewise.
55856         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
55857         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
55858         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
55859         * sysdeps/unix/bsd/isatty.c: Likewise.
55860         * sysdeps/unix/bsd/tcdrain.c: Likewise.
55861         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
55862         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
55864 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55866         [BZ #13563]
55867         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
55868         long double comparison inaccuracies.
55869         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
55870         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55872 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
55874         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
55875         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
55877 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
55879         [BZ #14049]
55880         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
55881         nonzero digits before rounding a hex value.
55882         * stdlib/tst-strtod.c (tests): Add another test.
55884 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55886         * sysdeps/s390/fpu/libm-test-ulps: Update.
55888 2012-05-03  Andreas Jaeger  <aj@suse.de>
55890         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
55891         does not get optimized out.
55892         (malloc_opt_barrier): New.
55894 2012-05-03  Andreas Jaeger  <aj@suse.de>
55895             Roland McGrath  <roland@hack.frob.com>
55897         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
55898         intermediate file deletion.
55899         (generated): Add .symlist files.
55901 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
55903         [BZ #13775]
55904         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
55905         Redirect under this condition.
55906         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
55907         [__USE_GNU] (__dprintf_chk): Not under this condition.
55908         [__USE_GNU] (__vdprintf_chk): Likewise.
55909         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
55910         under this condition.
55911         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
55912         [__USE_XOPEN2K8] (dprintf): Define under this condition.
55913         [__USE_XOPEN2K8] (vdprintf): Likewise.
55914         [__USE_GNU] (__dprintf_chk): Not under this condition.
55915         [__USE_GNU] (__vdprintf_chk): Likewise.
55916         [__USE_GNU] (dprintf): Likewise.
55917         [__USE_GNU] (vdprintf): Likewise.
55919 2012-05-03  Roland McGrath  <roland@hack.frob.com>
55921         * elf/Makefile (common-generated): Set this instead of generated for
55922         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
55923         $(all-built-dso)-derived lists.
55925 2012-05-03  Andreas Jaeger  <aj@suse.de>
55927         * sysdeps/i386/fpu/libm-test-ulps: Update.
55929         * FAQ: Removed.
55930         * FAQ.in: Likewise.
55931         * scripts/gen-FAQ.pl: Likewise.
55932         * manual/install.texi (Installation): Point to online location of
55933         FAQ.
55934         * Makefile (files-for-dist): Remove FAQ.
55935         (FAQ): Remove.
55937 2012-05-02  Allan McRae  <allan@archlinux.org>
55939         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
55940         (LDFLAGS-reldepmod5.so): Likewise.
55941         (LDFLAGS-reldep6mod1.so): Likewise.
55942         (LDFLAGS-reldep6mod4.so): Likewise.
55943         (LDFLAGS-reldep8mod3.so): Likewise.
55944         (LDFLAGS-unload4mod1.so): Likewise.
55945         (LDFLAGS-unload4mod2.so): Likewise.
55946         (LDFLAGS-tst-initorder): Likewise.
55947         (LDFLAGS-tst-initordera2.so): Likewise.
55948         (LDFLAGS-tst-initordera3.so): Likewise.
55949         (LDFLAGS-tst-initordera4.so): Likewise.
55950         (LDFLAGS-tst-initorderb2.so): Likewise.
55951         (LDFLAGS-noload): Likewise.
55952         (LDFLAGS-next): Likewise.
55953         (LDFLAGS-order2mod1.so): Likewise.
55954         (LDFLAGS-order2mod2.so): Likewise.
55955         (LDFLAGS-tst-initorder2): Likewise.
55956         (LDFLAGS-tst-initorder2a.so): Likewise.
55957         (LDFLAGS-tst-initorder2b.so): Likewise.
55958         (LDFLAGS-tst-initorder2c.so): Likewise.
55959         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
55961 2012-05-02  David S. Miller  <davem@davemloft.net>
55963         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55965 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
55967         [BZ #14055]
55968         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
55970 2012-05-02  Andreas Jaeger  <aj@suse.de>
55972         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
55973         since we manipulate rounding mode.
55974         (CPPFLAGS-test-idouble.c): Likewise.
55975         (CPPFLAGS-test-ifloat.c): Likewise.
55976         (CFLAGS-test-ldouble.c): Likewise.
55977         (CFLAGS-test-double.c): Likewise.
55978         (CFLAGS-test-float.c): Likewise.
55979         (CFLAGS-test-misc.c): Likewise.
55980         (CFLAGS-test-test-fenv.c): Likewise.
55982 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55984         [BZ #2550]
55985         [BZ #2570]
55986         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
55987         comparisons to determine direction to adjust input.
55989 2012-05-01  Roland McGrath  <roland@hack.frob.com>
55991         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
55992         output to the target.
55994         * scripts/localplt.awk: New file.
55995         * elf/Makefile ($(objpfx)check-localplt): Target removed.
55996         (check-localplt-CFLAGS): Variable removed.
55997         ($(all-built-dso:=.jmprel)): New static pattern rule.
55998         (generated): Add those targets.
55999         (localplt-built-dso): New variable.
56000         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
56002         * elf/check-localplt.c: File removed.
56004         * scripts/check-execstack.awk: New file.
56005         * elf/Makefile ($(objpfx)check-execstack): Target removed.
56006         (check-execstack-CFLAGS): Variable removed.
56007         ($(objpfx)check-execstack.h): Target removed.
56008         ($(objpfx)execstack-default): New target.
56009         (generated): Add that instead of check-execstack.h.
56010         ($(all-built-dso:=.phdr)): New static pattern rule.
56011         (generated): Add those targets.
56012         * elf/check-execstack.c: File removed.
56014         * scripts/check-textrel.awk: New file.
56015         * elf/Makefile ($(objpfx)check-textrel): Target removed.
56016         (check-textrel-CFLAGS): Variable removed.
56017         (all-built-dso): Use := to define.o
56018         ($(all-built-dso:=.dyn)): New static pattern rule.
56019         (generated): Add those targets.
56020         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
56021         * config.make.in (READELF): New substituted variable.
56022         * elf/check-textrel.c: File removed.
56024 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
56026         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
56027         allow.
56028         * conform/data/ctype.h-data [C99-based standards] (isblank):
56029         Expect function.
56030         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
56031         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
56032         [ISO || ISO99 || ISO11] (*_t): Do not allow.
56033         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
56034         Specify type.  Require positive value.
56035         (EILSEQ): Likewise.
56036         (ERANGE): Likewise.
56037         [ISO || POSIX] (EILSEQ): Do not expect.
56038         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
56039         Specify type.  Require positive value.
56040         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
56041         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
56042         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
56043         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
56044         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
56045         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
56046         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
56047         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
56048         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
56049         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
56050         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
56051         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
56052         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
56053         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
56054         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
56055         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
56056         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
56057         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
56058         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
56059         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
56060         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
56061         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
56062         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
56063         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
56064         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
56065         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
56066         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
56067         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
56068         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
56069         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
56070         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
56071         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
56072         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
56073         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
56074         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
56075         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
56076         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
56077         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
56078         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
56079         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
56080         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
56081         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
56082         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
56083         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
56084         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
56085         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
56086         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
56087         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
56088         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
56089         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
56090         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
56091         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
56092         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
56093         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
56094         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
56095         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
56096         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
56097         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
56098         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
56099         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
56100         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
56101         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
56102         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
56103         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
56104         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
56105         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
56106         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
56107         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
56108         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
56109         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
56110         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
56111         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
56112         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
56113         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
56114         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
56115         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
56116         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
56117         Require >= 2.
56118         (FLT_ROUNDS): Expect as macro, not constant.
56119         (FLT_MANT_DIG): Use macro-int-constant.
56120         (DBL_MANT_DIG): Likewise.
56121         (LDBL_MANT_DIG): Likewise.
56122         (FLT_DIG): Likewise.
56123         (DBL_DIG): Likewise.
56124         (LDBL_DIG): Likewise.
56125         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
56126         (DBL_MIN_EXP): Likewise.
56127         (LDBL_MIN_EXP): Likewise.
56128         (FLT_MAX_EXP): Use macro-int-constant.
56129         (DBL_MAX_EXP): Likewise.
56130         (LDBL_MAX_EXP): Likewise.
56131         (FLT_MAX_10_EXP): Likewise.
56132         (DBL_MAX_10_EXP): Likewise.
56133         (LDBL_MAX_10_EXP): Likewise.
56134         (FLT_MAX): Use macro-constant.
56135         (DBL_MAX): Likewise.
56136         (LDBL_MAX): Likewise.
56137         (FLT_EPSILON): Use macro-constant.  Give upper bound.
56138         (DBL_EPSILON): Likewise.
56139         (LDBL_EPSILON): Likewise.
56140         (FLT_MIN): Likewise.
56141         (DBL_MIN): Likewise.
56142         (LDBL_MIN): Likewise.
56143         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
56144         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
56145         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
56146         [ISO11] (FLT_HAS_SUBNORM): Likewise.
56147         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
56148         [ISO11] (DBL_DECIMAL_DIG): Likewise.
56149         [ISO11] (FLT_DECIMAL_DIG): Likewise.
56150         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
56151         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
56152         [ISO11] (FLT_TRUE_MIN): Likewise.
56153         [ISO11] (LDBL_TRUE_MIN): Likewise.
56154         [ISO || ISO99 || ISO11] (*_t): Do not allow.
56155         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
56156         (SCHAR_MIN): Use macro-int-constant.  Specify type.
56157         (SCHAR_MAX): Likewise.
56158         (UCHAR_MAX): Likewise.
56159         (CHAR_MIN): Likewise.
56160         (CHAR_MAX): Likewise.
56161         (MB_LEN_MAX): Use macro-int-constant.
56162         (SHRT_MIN): Use macro-int-constant.  Specify type.
56163         (SHRT_MAX): Likewise.
56164         (USHRT_MAX): Likewise.
56165         (INT_MAX): Likewise.
56166         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
56167         bound negative.
56168         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
56169         bound with "U".
56170         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
56171         bound with "L".
56172         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
56173         bound negative.  Suffix upper bound with "L".
56174         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
56175         bound with "UL".
56176         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
56177         Specify type.
56178         [C99-based standards] (LLONG_MAX): Likewise.
56179         [C99-based standards] (ULLONG_MAX): Likewise.
56180         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
56181         == 0.
56182         [ISO11] (max_align_t): Require type.
56183         [ISO || ISO99 || ISO11] (*_t): Do not allow.
56185         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
56186         from $CFLAGS, without defining away __attribute__ calls.
56187         (checknamespace): Use $CFLAGS_namespace.
56189         * conform/conformtest.pl (@keywords): Only include C99 keywords
56190         for standards based on C99 or C11.
56192         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
56193         Disable tests.
56194         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
56195         UNIX98]: Likewise.
56197         * conform/conformtest.pl: Handle "macro-int-constant" and test for
56198         usability of symbols in #if.
56200         * conform/conformtest.pl: If macro or constant types start
56201         "promoted:", expect the symbol to be of the following type
56202         promoted by the integer promotions.
56204         * conform/conformtest.pl: Parse all "constant" and "macro" lines
56205         in one place.  Also handle "macro-constant".
56207         * conform/conformtest.pl: Only accept expected macro values with
56208         "==".  Parse all "macro" lines in one place.
56209         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
56211         * conform/conformtest.pl: Handle braced types on "constant" lines
56212         instead of handling "typed-constant".
56213         * conform/data/signal.h-data: Use "constant" instead of
56214         "typed-constant".
56216         * conform/conformtest.pl: Handle "optional-" at start of lines in
56217         one place rather than duplicating several cases.  Handle each
56218         format of "macro" line with initial "optional-".
56220         * conform/conformtest.pl: Only accept expected constant or
56221         optional-constant values with "==".  Parse all "constant" lines in
56222         one place.  Parse all "optional-constant" lines in one place.
56223         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
56224         * conform/data/fmtmsg.h-data: Likewise.
56225         * conform/data/netinet/in.h-data: Likewise.
56226         * conform/data/tar.h-data: Likewise.
56227         * conform/data/limits.h-data: Use "==" form on "constant" and
56228         "optional-constant" lines.
56230         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
56231         Use -std=c99 for XOPEN2K.
56232         (@knownproblems): Remove.
56233         (newtoken): Don't check %isknown.
56235         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
56236         Do not expect macro.
56237         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
56238         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
56239         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
56240         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
56241         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
56242         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
56243         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
56244         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
56245         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
56246         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
56247         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
56248         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
56249         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
56250         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
56251         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
56252         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
56253         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
56254         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
56255         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
56256         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
56257         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
56258         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
56259         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
56260         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
56261         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
56262         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
56263         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
56264         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
56265         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
56266         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
56267         [XPG3] (acosh): Likewise.
56268         [XPG3] (asinh): Likewise.
56269         [XPG3] (atanh): Likewise.
56270         [XPG3] (cbrt): Likewise.
56271         [XPG3] (expm1): Likewise.
56272         [XPG3] (ilogb): Likewise.
56273         [XPG3] (log1p): Likewise.
56274         [XPG3] (logb): Likewise.
56275         [XPG3] (nextafter): Likewise.
56276         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
56277         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
56278         [XPG3] (remainder): Likewise.
56279         [XPG3] (rint): Likewise.
56280         [XPG3 || XPG4 || UNIX98] (round): Likewise.
56281         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
56282         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
56283         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
56284         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
56285         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
56286         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
56287         [UNIX98 || XOPEN2K] (scalb): Expect.
56288         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
56289         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
56290         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
56291         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
56292         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
56293         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
56294         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
56295         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
56296         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
56297         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
56298         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
56299         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
56300         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
56301         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
56302         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
56303         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
56304         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
56305         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
56306         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
56307         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
56308         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
56309         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
56310         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
56311         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
56312         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
56313         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
56314         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
56315         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
56316         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
56317         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
56318         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
56319         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
56320         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
56321         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
56322         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
56323         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
56324         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
56325         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
56326         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
56327         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
56328         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
56329         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
56330         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
56331         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
56332         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
56333         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
56334         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
56335         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
56336         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
56337         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
56338         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
56339         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
56340         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
56341         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
56342         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
56343         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
56344         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
56345         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
56346         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
56347         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
56348         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
56349         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
56350         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
56351         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
56352         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
56353         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
56354         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
56355         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
56356         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
56357         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
56358         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
56359         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
56360         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
56361         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
56362         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
56363         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
56364         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
56365         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
56366         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
56367         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
56368         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
56369         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
56370         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
56371         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
56372         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
56373         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
56374         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
56375         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
56376         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
56377         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
56378         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
56379         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
56380         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
56381         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
56382         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
56383         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
56384         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
56385         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
56386         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
56387         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
56388         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
56389         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
56390         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
56391         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
56392         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
56393         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
56394         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
56395         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
56396         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
56397         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
56398         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
56399         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
56400         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
56401         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
56402         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
56403         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
56404         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
56405         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
56406         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
56407         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
56408         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
56409         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
56410         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
56411         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
56412         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
56413         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
56414         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
56415         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
56416         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
56417         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
56418         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
56419         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
56420         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
56421         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
56422         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
56423         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
56424         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
56426         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
56427         _XOPEN_SOURCE_EXTENDED for XPG4.
56429         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
56431         * Makeconfig (localtime): Remove variable.
56432         (inst_localtime-file): Likewise.
56434 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
56436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
56437         Update.
56438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56439         Update.
56440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
56441         Update.
56442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
56443         Update.
56444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
56445         Update.
56446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
56447         Update.
56448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56449         Update.
56450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
56451         Update.
56452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
56453         Update.
56455 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
56457         [BZ #2550]
56458         [BZ #2570]
56459         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
56460         comparisons to determine direction to adjust input.
56461         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
56462         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
56463         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
56464         Likewise.
56465         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
56466         Likewise.
56467         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
56468         Likewise.
56469         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
56470         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
56471         Likewise.
56472         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
56473         Likewise.
56474         * math/libm-test.inc (nexttoward_test): Add more tests.
56476 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
56478         [BZ #14040]
56479         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
56480         in version GLIBC_2.1, not GLIBC_2.0.
56481         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
56482         Likewise.
56484 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
56486         [BZ #13942]
56487         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
56488         (1 - x) * (1 + x).
56489         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
56490         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
56491         * math/libm-test.inc (acos_test): Add more tests.
56492         (asin_test): Likewise.
56493         * sysdeps/i386/fpu/libm-test-ulps: Update.
56494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56496         [BZ #14034]
56497         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
56498         of square root.
56499         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
56500         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
56501         * math/libm-test.inc (acos_test_tonearest): New function.
56502         (acos_test_towardzero): Likewise.
56503         (acos_test_downward): Likewise.
56504         (acos_test_upward): Likewise.
56505         (asin_test_tonearest): Likewise.
56506         (asin_test_towardzero): Likewise.
56507         (asin_test_downward): Likewise.
56508         (asin_test_upward): Likewise.
56509         (main): Call the new functions.
56510         * sysdeps/i386/fpu/libm-test-ulps: Update.
56511         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56513         [BZ #13884]
56514         [BZ #13924]
56515         * math/e_exp10.c: Include <float.h>.
56516         (__ieee754_exp10): Handle underflow here rather than multiplying
56517         large negative argument by M_LN10.
56518         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
56519         of __ieee754_expf.
56520         * math/e_exp10l.c: Include <float.h>.
56521         (__ieee754_exp10l): Handle underflow here rather than multiplying
56522         large negative argument by M_LN10l.
56523         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
56524         spurious overflow exception on underflow.
56526 2012-04-29  Marek Polacek  <polacek@redhat.com>
56528         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
56529         (__fortify_function): New macro.
56530         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
56531         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
56532         __extern_always_inline.
56533         * libio/bits/stdio2.h: Likewise.
56534         * libio/bits/stdio.h: Likewise.
56535         * string/string.h: Likewise.
56536         * string/bits/string3.h: Likewise.
56537         * include/stdio.h: Likewise.
56538         * stdlib/bits/stdlib.h: Likewise.
56539         * stdlib/stdlib.h: Likewise.
56540         * rt/bits/mqueue2.h: Likewise.
56541         * rt/mqueue.h: Likewise.
56542         * posix/bits/unistd.h: Likewise.
56543         * posix/unistd.h: Likewise.
56544         * io/bits/poll2.h: Likewise.
56545         * io/bits/fcntl2.h: Likewise.
56546         * io/fcntl.h: Likewise.
56547         * io/sys/poll.h: Likewise.
56548         * misc/bits/syslog.h: Likewise.
56549         * misc/bits/syslog-ldbl.h: Likewise.
56550         * misc/sys/syslog.h: Likewise.
56551         * socket/bits/socket2.h: Likewise.
56552         * socket/sys/socket.h: Likewise.
56553         * debug/tst-chk1.c: Likewise.
56554         * wcsmbs/bits/wchar2.h: Likewise.
56555         * wcsmbs/bits/wchar-ldbl.h: Likewise.
56556         * wcsmbs/wchar.h: Likewise.
56558 2012-04-29  Andreas Jaeger  <aj@suse.de>
56560         * Makerules (tests): Remove enable-check-abi protection.
56561         (check-abi-warn): Remove.
56562         (check-abi-%): Remove check-abi-warn usage.
56564         * configure.in: Remove check-abi configure option.
56565         * configure: Regenerated.
56566         * config.make.in (enable-check-abi): Remove.
56568 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
56570         [BZ #14033]
56571         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
56572         double functions to double *_finite functions.
56574         [BZ #13941]
56575         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
56576         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
56577         LDBL_MIN_EXP.
56578         * stdio-common/Makefile (tests): Add tst-sprintf3.
56579         * stdio-common/tst-sprintf3.c: New file.
56581         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
56582         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
56584 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
56586         * conform/conformtest.pl: Remove duplicate typed-constant
56587         handling.
56589 2012-04-28  David S. Miller  <davem@davemloft.net>
56591         * Makerules (%.abilist): Add vpath on sysdep_dirs.
56592         (check-abi-%): Remove AWK script prerequisite and explicit
56593         abilist directory.
56594         (check-abi): Rewrite to just diff the symlist with the abilist.
56595         (config-tls, config-abi-config): Delete, no longer used.
56596         (update-abi-%): Remove AWK script and explicit abilist directory.
56597         (update-abi): Rewrite to simply compare and conditionally copy the
56598         symlist and the sysdep abilist file.  Remove update-abi-config
56599         checks.
56600         * abilist/ld.abilist: Remove.
56601         * abilist/libBrokenLocale.abilist: Remove.
56602         * abilist/libanl.abilist: Remove.
56603         * abilist/libcrypt.abilist: Remove.
56604         * abilist/libdl.abilist: Remove.
56605         * abilist/librt.abilist: Remove.
56606         * abilist/libthread_db.abilist: Remove.
56607         * abilist/libutil.abilist: Remove.
56608         * scripts/extract-abilist.awk: Remove.
56609         * scripts/merge-abilist.awk: Remove.
56610         * sysdeps/generic/libcidn.abilist: New file.
56611         * sysdeps/generic/libnss_compat.abilist: New file.
56612         * sysdeps/generic/libnss_db.abilist: New file.
56613         * sysdeps/generic/libnss_dns.abilist: New file.
56614         * sysdeps/generic/libnss_files.abilist: New file.
56615         * sysdeps/generic/libnss_hesiod.abilist: New file.
56616         * sysdeps/generic/libnss_nis.abilist: New file.
56617         * sysdeps/generic/libnss_nisplus.abilist: New file.
56618         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
56619         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
56620         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
56621         file.
56622         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
56623         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
56624         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
56625         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
56626         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
56627         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
56628         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
56629         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
56630         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
56631         file.
56632         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
56633         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
56634         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
56635         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
56636         file.
56637         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
56638         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
56639         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
56640         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
56641         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
56642         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
56643         file.
56644         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
56645         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
56646         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
56647         file.
56648         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
56649         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
56650         New file.
56651         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
56652         New file.
56653         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
56654         New file.
56655         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
56656         New file.
56657         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
56658         New file.
56659         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
56660         New file.
56661         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
56662         New file.
56663         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
56664         New file.
56665         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
56666         New file.
56667         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
56668         New file.
56669         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
56670         New file.
56671         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
56672         New file.
56673         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
56674         New file.
56675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
56676         file.
56677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
56678         New file.
56679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
56680         New file.
56681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
56682         file.
56683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
56684         New file.
56685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
56686         New file.
56687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
56688         file.
56689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
56690         New file.
56691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
56692         New file.
56693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
56694         New file.
56695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
56696         New file.
56697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
56698         New file.
56699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
56700         New file.
56701         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
56702         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
56703         file.
56704         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
56705         New file.
56706         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
56707         file.
56708         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
56709         file.
56710         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
56711         file.
56712         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
56713         file.
56714         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
56715         file.
56716         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
56717         New file.
56718         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
56719         file.
56720         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
56721         file.
56722         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
56723         New file.
56724         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
56725         file.
56726         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
56727         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
56728         file.
56729         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
56730         New file.
56731         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
56732         file.
56733         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
56734         file.
56735         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
56736         file.
56737         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
56738         file.
56739         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
56740         file.
56741         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
56742         New file.
56743         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
56744         file.
56745         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
56746         file.
56747         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
56748         New file.
56749         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
56750         file.
56751         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
56752         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
56753         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
56754         file.
56755         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
56756         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
56757         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
56758         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
56759         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
56760         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
56761         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
56762         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
56763         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
56764         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
56765         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
56766         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
56767         file.
56768         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
56769         New file.
56770         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
56771         file.
56772         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
56773         file.
56774         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
56775         file.
56776         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
56777         file.
56778         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
56779         file.
56780         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
56781         New file.
56782         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
56783         New file.
56784         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
56785         file.
56786         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
56787         New file.
56788         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
56789         file.
56790         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
56791         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
56792         file.
56793         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
56794         New file.
56795         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
56796         file.
56797         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
56798         file.
56799         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
56800         file.
56801         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
56802         file.
56803         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
56804         file.
56805         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
56806         New file.
56807         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
56808         New file.
56809         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
56810         file.
56811         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
56812         New file.
56813         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
56814         file.
56816 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
56818         * conform/conformtest.pl: Fix typo in handling typed-constant from
56819         allow-header.
56821 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
56823         * README: Cut down references to pre-2.6 Linux kernels and
56824         Linuxthreads.  Update lists of configurations in libc and ports
56825         and sort alphabetically.  Say "or newer" with Linux kernel version
56826         requirements.
56828         * config.h.in [IS_IN_build]: Allow compiling without optimization.
56830 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56832         [BZ #887]
56833         * math/libm-test.inc (logb_test_downward): New test to expose
56834         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
56835         rounding mode.
56837 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
56839         [BZ #14027]
56840         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
56841         to be done.
56842         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
56843         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
56845 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
56847         * sysdeps/unix/i386/brk.S: Remove file.
56848         * sysdeps/unix/i386/dl-brk.S: Likewise.
56849         * sysdeps/unix/i386/pipe.S: Likewise.
56850         * sysdeps/unix/i386/sigreturn.S: Likewise.
56851         * sysdeps/unix/i386/syscall.S: Likewise.
56852         * sysdeps/unix/i386/vfork.S: Likewise.
56853         * sysdeps/unix/i386/wait.S: Likewise.
56855         * sysdeps/unix/common/tcsendbrk.c: Move to ...
56856         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
56858         * configure.in (arm*-none*): Do not allow without
56859         --enable-hacker-mode.
56860         (netbsd*): Remove case setting base_os.
56861         (386bsd*): Likewise.
56862         (freebsd*): Likewise.
56863         (bsdi*): Likewise.
56864         (osf*): Likewise.
56865         (sunos*): Likewise.
56866         (ultrix*): Likewise.
56867         (newsos*): Likewise.
56868         (dynix*): Likewise.
56869         (*bsd*): Likewise.
56870         (sysv*): Likewise.
56871         (isc*): Likewise.
56872         (esix*): Likewise.
56873         (sco*): Likewise.
56874         (minix*): Likewise.
56875         (irix4*): Likewise.
56876         (irix6*): Likewise.
56877         (solaris[2-9]*): Likewise.
56878         (none): Likewise.
56879         * configure: Regenerated.
56881 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56883         [BZ #11521]
56884         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
56885         overflow or cancellation in calculating denominator.
56886         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
56887         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
56888         down expression to avoid unexpected rounding in newer GCCs.
56889         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
56891 2012-04-26  David S. Miller  <davem@davemloft.net>
56893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
56894         long-double compat symbols.
56895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
56896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
56897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
56898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
56899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
56900         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
56901         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
56902         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
56903         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
56904         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
56905         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
56906         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
56907         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
56909 2012-04-25  David S. Miller  <davem@davemloft.net>
56911         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
56912         HWCAP_* values only after the memory barriers have been defined.
56913         (atomic_full_barrier): Define.
56914         (atomic_read_barrier): Define.
56915         (atomic_write_barrier): Define.
56917 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56919         * shlib-versions: Add libgcc_s version information.
56920         * sysdeps/generic/libgcc_s.h: Remove.
56921         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
56922         libgcc_s.h.
56923         * sysdeps/gnu/unwind-resume.c: Likewise.
56924         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
56926 2012-04-25  David S. Miller  <davem@davemloft.net>
56928         * sysdeps/unix/sparc/brk.S: Delete.
56929         * sysdeps/unix/sparc/dl-brk.S: Delete.
56930         * sysdeps/unix/sparc/pipe.S: Delete.
56931         * sysdeps/unix/sparc/sysdep.S: Delete.
56932         * sysdeps/unix/sparc/sysdep.h: Delete.
56933         * sysdeps/unix/sparc/vfork.S: Delete.
56934         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
56935         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
56936         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
56937         (ret_ERRVAL, r0, r1, MOVE): Define.
56938         (JUMPTARGET): Remove.
56939         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
56940         sysdeps/unix/sparc/sysdep.h
56941         (ENTRY, END): Remove.
56942         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
56944 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
56946         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
56947         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
56948         -DIS_IN_build.
56950         * timezone/README: Update upstream location and email address for
56951         tzcode and tzdata.
56952         * timezone/zdump.c: Update from tzcode 2012b.
56953         * timezone/zic.c: Likewise.
56955         * configure.in (libc_cv_as_needed): Remove test.
56956         * configure: Regenerated.
56957         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
56958         conditional definition.
56959         [$(have-as-needed) != yes] (no-as-needed): Likewise.
56960         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
56961         * config.make.in (have-as-needed): Remove variable.
56963 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
56964             Paul Pluzhnikov  <ppluzhnikov@google.com>
56966         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
56967         strings correctly.
56969 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
56971         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
56972         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
56973         * sysdeps/sh/strlen.S: Likewise.
56975 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
56977         * sysdeps/unix/fork.S: Remove file.
56978         * sysdeps/unix/i386/fork.S: Likewise.
56979         * sysdeps/unix/sparc/fork.S: Likewise.
56981         * sysdeps/unix/system.c: Remove file.
56982         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
56984         * sysdeps/unix/getegid.S: Remove file.
56985         * sysdeps/unix/geteuid.S: Likewise.
56987 2012-04-24  Roland McGrath  <roland@hack.frob.com>
56989         * scripts/check-localplt.awk: New file.
56990         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
56991         of diff.
56992         * scripts/data/localplt-generic.data: Add a comment.
56994         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
56995         NODE when __dir_mkfile failed.
56996         * sysdeps/mach/hurd/symlinkat.c: Likewise.
56997         Reported by Ludovic Courtès <ludo@gnu.org>.
56999 2012-04-24  Andreas Jaeger  <aj@suse.de>
57001         * Makerules (common-clean): Also remove gen-as-const-headers
57002         files.
57004 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
57006         * Makerules (native-compile): Do not change working directory for
57007         build.  Use $(OUTPUT_OPTION) in command.
57008         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
57010 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57012         [BZ #13886]
57013         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
57014         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
57015         * math/libm-test.inc (floor_test): Add more tests.
57016         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
57018 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
57020         * sysdeps/unix/getdents.c: Remove file.
57021         * sysdeps/unix/sysv/getdents.c: Likewise.
57022         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
57024         * sysdeps/unix/syscalls.list (madvise): Add syscall from
57025         sysdeps/unix/mman/syscalls.list.
57026         (mmap): Likewise.
57027         (mprotect): Likewise.
57028         (msync): Likewise.
57029         (munmap): Likewise.
57030         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
57031         * sysdeps/unix/mman/syscalls.list: Remove.
57032         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
57034         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
57035         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
57036         * configure: Regenerated.
57037         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
57038         $(libgcc_s_suffix).
57039         * config.make.in (libgcc_s_suffix): Remove variable.
57041 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
57043         * sysdeps/unix/sysv/gethostname.c: Move to ...
57044         * sysdeps/posix/gethostname.c: ... here.
57046         * sysdeps/unix/execve.S: Remove file.
57048         * sysdeps/unix/_exit.S: Remove file.
57050 2012-04-23  Andreas Jaeger  <aj@suse.de>
57052         [BZ #13739]
57053         * manual/Makefile: Remove make dist support, there's no
57054         need for a stand-alone documentation tar ball.
57055         (TEXI2DVI): Define always, it's not in Makeconfig.
57056         (dist): Removed.
57057         (tar-it): Removed.
57058         (edition): Removed.
57059         (glibc-doc-$(edition).tar): Removed
57060         (%.Z): Removed.
57061         (%.gz): Removed.
57062         (%.uu): Removed.
57063         (ETAGS): Remove, it's in Makeconfig.
57064         (move-if-change): Remove, it's in Makeconfig.
57066 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
57068         [BZ #13970]
57069         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
57070         (strtod, strtof, strtold, strtol, strtoul, strtoq)
57071         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
57072         (strtod_l, strtof_l, strtold_l): Remove __wur.
57073         It is not necessarily an error to ignore strtol's return value.
57074         One can reliably look at the stored endptr to decide whether
57075         the number had valid syntax.
57077 2012-04-21  Andreas Jaeger  <aj@suse.de>
57079         [BZ #13739]
57080         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
57082 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
57084         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
57085         * sysdeps/unix/sysv/Versions: Remove file.
57087 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
57089         [BZ #13927]
57090         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57092 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
57094         [BZ #7064]
57095         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
57096         version from __vm86.
57098 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
57100         * sysdeps/unix/common/lxstat.c: Remove file.
57101         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
57103         * sysdeps/unix/sysv/Makefile: Remove file.
57105         * sysdeps/unix/sysv/direct.h: Remove file.
57107         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
57108         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
57109         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
57110         * sysdeps/unix/sysv/bits/signum.h: Likewise.
57111         * sysdeps/unix/sysv/bits/stat.h: Likewise.
57112         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
57113         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
57115         * sysdeps/unix/sysv/setrlimit.c: Remove file.
57117         * sysdeps/unix/xmknod.c: Remove file.
57118         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
57120         * sysdeps/unix/sysv/settimeofday.c: Remove file.
57122         * sysdeps/unix/sysv/i386/time.S: Remove file.
57124         * sysdeps/unix/fxstat.c: Remove file.
57125         * sysdeps/unix/xstat.c: Likewise.
57126         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
57128         * sysdeps/unix/sysv/sigaction.c: Remove file.
57130         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
57131         (sysdep_headers): Remove variable.
57132         [termio.h not in sysdep_headers] (generated): Likewise.
57133         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
57134         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
57135         * sysdeps/unix/sysv/tcdrain.c: Likewise.
57136         * sysdeps/unix/sysv/tcflow.c: Likewise.
57137         * sysdeps/unix/sysv/tcflush.c: Likewise.
57138         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
57139         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
57140         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
57141         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
57142         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
57144         * sysdeps/unix/siglist.c: Remove file.
57146         * sysdeps/unix/getppid.S: Remove file.
57148         * sysdeps/unix/mkdir.c: Remove file.
57149         * sysdeps/unix/rmdir.c: Likewise.
57151 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
57153         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
57154         ERR_MAX value.
57155         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
57156         errlist-compat value.
57158 2012-04-18  David S. Miller  <davem@davemloft.net>
57160         * sysdeps/generic/memcopy.h (reg_char): Delete.
57161         * debug/strcat_chk.c: Use char, not reg_char.
57162         * debug/strcpy_chk.c: Likewise.
57163         * debug/strncat_chk.c: Likewise.
57164         * debug/strncpy_chk.c: Likewise.
57165         * string/memchr.c: Likewise.
57166         * string/memrchr.c: Likewise.
57167         * string/rawmemchr.c: Likewise.
57168         * string/strcat.c: Likewise.
57169         * string/strchr.c: Likewise.
57170         * string/strchrnul.c: Likewise.
57171         * string/strcmp.c: Likewise.
57172         * string/strcpy.c: Likewise.
57173         * string/strncat.c: Likewise.
57174         * string/strncmp.c: Likewise.
57175         * string/strncpy.c: Likewise.
57177 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
57179         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
57180         __builtin_memcopy is called when src and dest ranges are known to not
57181         overlap.
57183 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
57185         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
57186         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
57187         fwd_align_merge macro call.
57188         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
57189         bwd_align_merge macro call.
57190         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
57192 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
57194         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
57195         bwd_align_merge macros.
57196         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
57197         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
57198         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
57200 2012-04-18  David S. Miller  <davem@davemloft.net>
57202         * sysdeps/sparc/sparc64/memcopy.h: Delete.
57204 2012-04-18  Andreas Jaeger  <aj@suse.de>
57206         [BZ# 6794]
57207         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
57208         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
57209         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
57211         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
57212         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
57213         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
57215         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
57216         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
57217         Adjust for changed ldbl-128 files.
57219         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
57220         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
57221         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
57223 2012-04-17  David S. Miller  <davem@davemloft.net>
57225         * sysdeps/sparc/sparc32/memcopy.h: Delete.
57227 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
57229         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
57230         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
57231         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
57232         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
57233         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
57234         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
57236 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57238         [BZ #6794]
57239         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
57240         * math/libm-test.inc: Add ilogb errno and exception tests.
57241         * math/w_ilogb.c: New file: ilogb wrapper.
57242         * math/w_ilogbf.c: New file: ilogbf wrapper.
57243         * math/w_ilogbl.c: New file: ilogbl wrapper.
57244         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
57245         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
57246         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
57247         exception being thrown with 0.0 as argument.
57248         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
57249         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
57250         exception being thrown with 0.0 as argument.
57251         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
57252         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
57253         exception being thrown with 0.0 as argument.
57254         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
57255         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
57256         exception being thrown with 0.0 as argument.
57257         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
57258         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
57259         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
57260         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
57261         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
57262         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
57263         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
57264         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
57265         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
57267 2012-04-17  Petr Baudis  <pasky@ucw.cz>
57269         * include/sys/uio.h: Change __vector to __iovec to avoid clash
57270         with altivec.
57272 2012-04-16  Marek Polacek  <polacek@redhat.com>
57274         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
57276 2012-04-16  Marek Polacek  <polacek@redhat.com>
57278         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
57279         operands of fdivp instruction.
57281 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
57283         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
57284         * elf/tst-auditmod3b.c: Likewise.
57285         * elf/tst-auditmod4b.c: Likewise.
57286         * elf/tst-auditmod5b.c: Likewise.
57287         * elf/tst-auditmod6b.c: Likewise.
57288         * elf/tst-auditmod6c.c: Likewise.
57289         * elf/tst-auditmod7b.c: Likewise.
57290         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
57291         * sysdeps/x86_64/preconfigure.in: Likewise.
57292         * sysdeps/x86_64/preconfigure: Regenerated.
57294 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
57296         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
57297         __ILP32__.
57299 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
57301         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57302         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
57304 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
57306         [BZ #13973]
57307         * locale/iso-639.def: Fix gl language name. Spotted by
57308         Yaron Shahrabani.
57310 2012-04-12  Roland McGrath  <roland@hack.frob.com>
57312         [BZ #2074]
57313         * libio/libio.h (__io_write_fn): Update comment.
57315 2012-04-12  Petr Baudis  <pasky@ucw.cz>
57317         [BZ #2074]
57318         * stdio.texi (Hook Functions): The user provided writer function
57319         is not allowed to return -1.
57321 2012-04-11  David S. Miller  <davem@davemloft.net>
57323         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57325 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
57327         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
57328         Add a leading slash to rtkaio.
57330 2012-04-11  Jim Meyering  <meyering@redhat.com>
57332         [BZ #11959]
57333         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
57334         It is not necessarily an error to ignore fwrite's return
57335         value.  One can reliably use ferror to test for errors after
57336         the fact.
57338 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
57340         * bits/types.h (__snseconds_t): New type.
57341         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
57343         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
57344         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57345         (__SNSECONDS_T_TYPE): Likewise.
57346         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57347         (__SNSECONDS_T_TYPE): Likewise.
57348         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57349         (__SNSECONDS_T_TYPE): Likewise.
57351 2012-04-10  Andreas Jaeger  <aj@suse.de>
57353         [BZ #2636]
57354         * manual/time.texi (Processor Time): Return type of times is
57355         elapsed real time since an arbitrary point in the past.
57356         (CPU Time): Move CLK_TCK from here...
57357         (Processor Time): ...to here.  Correct description.
57358         * manual/conf.texi (Constants for Sysconf): Correct description of
57359         _SC_CLK_TCK.
57361 2012-04-10  David S. Miller  <davem@davemloft.net>
57363         [BZ #13967]
57364         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
57365         where the is a gap between DT_REL(A) and DT_JMPREL.
57367 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
57369         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
57370         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
57371         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
57373 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
57375         * elf/dl-support.c (_dl_inhibit_cache): New variable.
57376         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
57377         (dl_main): Handle --inhibit-cache.
57378         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
57379         _dl_inhibit_cache.
57380         * elf/dl-load.c (_dl_map_object): Use it.
57381         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
57383 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
57385         [BZ #13872]
57386         * sysdeps/i386/fpu/e_powl.S (p78): New object.
57387         (__ieee754_powl): Saturate large exponents rather than testing for
57388         overflow of y*log2(x).
57389         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57390         * math/libm-test.inc (pow_test): Do not permit spurious overflow
57391         exceptions.
57393         [BZ #11521]
57394         * math/s_ctan.c: Include <float.h>.
57395         (__ctan): Avoid internal overflow or cancellation in calculating
57396         denominator.
57397         * math/s_ctanf.c: Likewise.
57398         * math/s_ctanl.c: Likewise.
57399         * math/s_ctanh.c: Likewise.
57400         * math/s_ctanhf.c: Likewise.
57401         * math/s_ctanhl.c: Likewise.
57402         * math/libm-test.inc (ctan_test): Add more tests.
57403         (ctanh_test): Likewise.
57404         * sysdeps/i386/fpu/libm-test-ulps: Update.
57405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57407 2012-04-09  Andreas Jaeger  <aj@suse.de>
57409         [BZ #6894]
57410         * manual/filesys.texi (Directory Entries): Mention that d_namlen
57411         is an optional BSD extension.
57413         [BZ #10254]
57414         * manual/stdio.texi (Opening Streams): Document additional fopen
57415         parameters.
57417 2012-04-09  Roland McGrath  <roland@hack.frob.com>
57419         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
57420         %eax without telling the compiler.
57422 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
57424         [BZ # 13963]
57425         * manual/install.texi: Use sourceware.org.
57427 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
57429         [BZ #13873]
57430         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
57431         (__ieee754_pow): Generate overflow and underflow using huge*huge
57432         and tiny*tiny rather than just returning constant infinity or zero
57433         for large exponents.
57434         * math/libm-test.inc (pow_test): Require overflow exceptions for
57435         applicable cases of large exponents.
57437         [BZ #706]
57438         * sysdeps/i386/fpu/e_pow.S (p10): New object.
57439         (__ieee754_pow): Use iterative multiplication algorithm only for
57440         integer exponents with absolute value below 1024.  Check for odd
57441         integer exponents when using algorithm for real exponents.
57442         * math/libm-test.inc (pow_test): Add more tests.
57443         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57445 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
57447         [BZ #13705]
57448         * math/libm-test.inc (exp_test): Do not allow overflow exception
57449         on underflow test.
57451 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
57453         [BZ #13705]
57454         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
57455         instead of __kernel_standard_f.
57457 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
57459         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
57460         * sysdeps/x86_64/memset_chk.S: Likewise.
57462 2012-04-08  Andreas Jaeger  <aj@suse.de>
57464         [BZ #10153]
57465         * manual/startup.texi (Environment Access): Describe return value
57466         for putenv and setenv.
57468         [BZ #6895]
57469         * manual/filesys.texi (Directory Entries): Add description for
57470         DT_LNK.
57472         [BZ #6890]
57473         * manual/filesys.texi (Directory Entries): Clarify that it's file
57474         system not operating system in the description of DT_UNKNOWN.
57476         [BZ #6578]
57477         * manual/syslog.texi (closelog): Fix reference, it's openlog.
57479 2012-04-08  Stephen Compall  <s11@member.fsf.org>
57481         [BZ #6649]
57482         * manual/llio.texi (Opening and Closing Files): Add cross
57483         reference to explain mode argument.
57485 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
57487         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
57488         * sysdeps/x86_64/memset_chk.S: Likewise.
57490 2012-04-07  David S. Miller  <davem@davemloft.net>
57492         * elf/elf.h (R_SPARC_WDISP10): Define.
57493         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
57494         R_SPARC_SIZE32.
57495         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
57496         R_SPARC_SIZE64 and R_SPARC_H34.
57498 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
57500         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
57501         conditions and remove no longer applicable assertion.
57503 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
57505         * bits/byteswap.h: Include <features.h>.
57506         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
57507         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
57509 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
57511         * bits/byteswap.h (__bswap_16): Removed.
57512         Include <bits/byteswap-16.h> to get __bswap_16.
57513         * sysdeps/i386/bits/byteswap.h: Likewise.
57514         * sysdeps/s390/bits/byteswap.h: Likewise.
57515         * sysdeps/x86_64/bits/byteswap.h: Likewise.
57516         * bits/byteswap-16.h: New file.
57517         * sysdeps/i386/bits/byteswap-16.h: Likewise.
57518         * sysdeps/s390/bits/byteswap-16.h: Likewise.
57519         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
57520         * string/Makefile (headers): Add bits/byteswap-16.h.
57522 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
57524         [BZ #13895]
57525         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
57526         extra indirection.
57527         * nss/Makefile (tests-static, tests): Add tst-nss-static.
57528         * nss/tst-nss-static.c: New.
57530 2012-04-06  Robert Millan  <rmh@gnu.org>
57532         [BZ #6486]
57533         * manual/llio.texi (File Position Primitive): lseek
57534         refers to WHENCE when it really means OFFSET.
57536 2012-04-06  Andreas Jaeger  <aj@suse.de>
57538         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
57539         strncmp declarations.
57541         * abilist/libc.abilist: Add __poll and __ppoll.
57543 2012-04-05  David S. Miller  <davem@davemloft.net>
57545         * scripts/check-local-headers.sh: Accept a host triplet in the
57546         path matched by the exclude regexp.
57548         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
57549         definition.
57550         * sysdeps/powerpc/powerpc32/dl-machine.h
57551         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
57552         * sysdeps/s390/s390-32/dl-machine.h
57553         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
57554         * sysdeps/sparc/sparc32/dl-machine.h
57555         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
57556         * sysdeps/sparc/sparc64/dl-machine.h
57557         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
57559         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
57560         lazy binding.
57561         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
57562         undefined symbol errors.
57564         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
57565         DT_NEEDED entries.
57567 2012-04-05  Michael Matz  <matz@suse.de>
57569         [BZ #13592]
57570         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
57572 2012-04-05  Andreas Jaeger  <aj@suse.de>
57574         [BZ #13908]
57575         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
57576         comment.
57578 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
57580         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
57581         which ROUND is no valid rounding mode.
57583 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
57585         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
57586         read again.
57587         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
57589 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
57591         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
57592         an exception using FPU order intentionally.
57594 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
57596         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
57597         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
57598         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
57599         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
57601 2012-04-05  Simon Josefsson  <simon@josefsson.org>
57603         [BZ #12340]
57604         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
57605         EINVAL when BUFLEN is too smal.
57607 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
57609         [BZ #13553]
57610         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
57611         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
57613 2012-04-03  Andreas Jaeger  <aj@suse.de>
57615         [BZ #13938]
57616         * manual/setjmp.texi (System V contexts): Fix sentence.
57618         [BZ #13926]
57619         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
57620         New macro for this case.
57621         [!__GNUC__] (__bswap_64): New inline function for this case.
57622         * sysdeps/x86_64/bits/byteswap.h: Likewise.
57623         * bits/byteswap.h: Likewise.
57624         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
57625         ull, guard with __GLIBC_HAVE_LONG_LONG.
57627         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
57628         __GLIBC_HAVE_LONG_LONG.
57630         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
57631         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
57633 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
57635         [BZ #13691]
57636         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
57637         inptr and inend, rather than using last_ch.
57639 2012-04-02  David S. Miller  <davem@davemloft.net>
57641         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
57642         * stdio-common/printf-parse.h (read_int): Change return type to
57643         'int', return -1 on INT_MAX overflow.
57644         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
57645         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
57646         overflows INT_MAX.  Check for overflow of in-format-string precision
57647         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
57648         SIZE_MAX not INT_MAX for integer overflow test.
57649         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
57650         skip the construct in the format string but do not record anything.
57651         * stdio-common/bug22.c: Adjust to test both width/prevision
57652         INT_MAX overflow as well as total length INT_MAX overflow.  Check
57653         explicitly for proper errno values.
57655 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
57657         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
57658         CHAR_MAX.
57659         * string/test-strcmp.c [! WIDE]: Likewise.
57660         * time/tst-mktime2.c: Likewise for INT_MAX.
57661         * string/test-string.h: #include <sys/param.h> for MIN.
57663         * csu/init-first.c (__libc_init_first): Call __ctype_init.
57664         * sysdeps/i386/init-first.c (init): Likewise.
57665         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
57666         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
57667         * sysdeps/sh/init-first.c (init): Likewise.
57669 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
57671         * po/ru.po: Update from translation team.
57672         * po/vi.po: Likewise.
57674 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
57676         * resolv/nss_dns/dns-host.c: Merge copyright years.
57678 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57680         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
57681         Optimize memcpy with prefetch if
57682         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
57683         src, dst pointers have unequal 16 byte alignments.
57685 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
57687         [BZ #13928]
57688         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
57689         from a CNAME entry and return the minimum ttl for the query.
57690         (gaih_getanswer_slice): Likewise.
57692 2012-03-30  Jeff Law  <law@redhat.com>
57694         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
57695         due to long keys.
57696         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
57697         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
57699         * resolv/nss_dns/dns-host.c: Update copyright year.
57701 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
57703         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
57704         requests to save a system call.  Fix check that all bytes are sent.
57706         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
57707         comments for sendmmsg.
57709 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57711         [BZ #13691]
57712         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
57713         with only 1 character between 0x0041 and 0x01b0.
57714         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
57715         * wcsmbs/tst-mbsnrtowcs.c: New file.
57717 2012-03-29  David S. Miller  <davem@davemloft.net>
57719         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
57720         small copies by hand.
57722 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57724         [BZ #13761]
57725         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
57726         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
57727         group memberships.
57729 2012-03-28  David S. Miller  <davem@davemloft.net>
57731         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
57732         that branches into memcpy.
57733         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
57734         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
57735         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
57736         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
57737         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
57738         bits.
57739         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
57740         implementation too.
57741         * sysdeps/sparc/mempcpy.S: New file.
57743         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
57744         the IFUNC routine in the libc case.
57745         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
57747         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
57748         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
57749         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
57750         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
57751         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
57752         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
57753         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
57754         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
57756         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
57757         loop to 256 bytes instead of 64 bytes and fix test signedness.
57759         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
57760         * sysdeps/sparc/sparc32/Makefile: rather than here...
57761         * sysdeps/sparc/sparc64/Makefile: and here.
57763 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
57765         * malloc/mallocbug.c: Avoid warnings about unused variables.
57767 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
57769         [BZ #13760]
57770         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
57771         in the right place. Discard and retry query if response is
57772         larger than input buffer size.
57774 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
57776         [BZ #369]
57777         [BZ #2678]
57778         [BZ #3866]
57779         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
57780         x for large integer exponent.
57781         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
57782         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
57783         sign of result as needed afterwards.
57784         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
57785         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
57786         result for underflowing pow the same as for overflow.
57787         (__kernel_standard_l): Handle powl overflow and underflow here
57788         rather than calling __kernel_standard.
57789         * math/libm-test.inc (pow_test): Add more tests.
57791         [BZ #3868]
57792         [BZ #13879]
57793         [BZ #13910]
57794         [BZ #13911]
57795         [BZ #13912]
57796         [BZ #13913]
57797         [BZ #13915]
57798         [BZ #13916]
57799         [BZ #13917]
57800         [BZ #13918]
57801         [BZ #13919]
57802         [BZ #13920]
57803         [BZ #13921]
57804         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
57805         * sysdeps/ieee754/k_standard.c: Include <float.h>.
57806         (__kernel_standard_l): New function.
57807         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
57808         __kernel_standard.
57809         * math/w_acosl.c (__acosl): Likewise.
57810         * math/w_asinl.c (__asinl): Likewise.
57811         * math/w_atan2l.c (__atan2l): Likewise.
57812         * math/w_atanhl.c (__atanhl): Likewise.
57813         * math/w_coshl.c (__coshl): Likewise.
57814         * math/w_exp10l.c (__exp10l): Likewise.
57815         * math/w_exp2l.c (__exp2l): Likewise.
57816         * math/w_fmodl.c (__fmodl): Likewise.
57817         * math/w_hypotl.c (__hypotl): Likewise.
57818         * math/w_j0l.c (__j0l, __y0l): Likewise.
57819         * math/w_j1l.c (__j1l, __y1l): Likewise.
57820         * math/w_jnl.c (__jnl, __ynl): Likewise.
57821         * math/w_lgammal.c (__lgammal): Likewise.
57822         * math/w_log10l.c (__log10l): Likewise.
57823         * math/w_log2l.c (__log2l): Likewise.
57824         * math/w_logl.c (__logl): Likewise.
57825         * math/w_powl.c (__powl): Likewise.
57826         * math/w_remainderl.c (__remainderl): Likewise.
57827         * math/w_scalbl.c (sysv_scalbl): Likewise.
57828         * math/w_sinhl.c (__sinhl): Likewise.
57829         * math/w_sqrtl.c (__sqrtl): Likewise.
57830         * math/w_tgammal.c (__tgammal): Likewise.
57831         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
57832         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
57833         * math/libm-test.inc (acos_test): Add more tests.
57834         (acosh_test): Likewise.
57835         (asin_test): Likewise.
57836         (atanh_test): Likewise.
57837         (exp_test): Likewise.
57838         (exp10_test): Likewise.
57839         (exp2_test): Likewise.
57840         (expm1_test): Likewise.
57841         (lgamma_test): Likewise.
57842         (log_test): Likewise.
57843         (log10_test): Likewise.
57844         (log1p_test): Likewise.
57845         (log2_test): Likewise.
57846         (pow_test): Do not allow some spurious overflow exceptions.
57847         (sqrt_test): Add more tests.
57848         (tgamma_test): Likewise.
57849         (y0_test): Likewise.
57850         (y1_test): Likewise.
57851         (yn_test): Likewise.
57853 2012-03-27  Anton Blanchard  <anton@samba.org>
57855         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
57856         MAP_HUGETLB.
57857         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
57858         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
57859         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
57861 2012-03-27  David S. Miller  <davem@davemloft.net>
57863         * conform/Makefile: Run run-conformtest.sh using $(BASH).
57865         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
57866         have-as-vis3 check.
57868 2012-03-27  Andreas Jaeger  <aj@suse.de>
57870         * sysdeps/x86_64/elf/configure.in: Moved to ...
57871         * sysdeps/x86_64/configure.in: ... here.
57872         * sysdeps/x86_64/elf/start.S: Moved to ...
57873         * sysdeps/x86_64/start.S: ... here.
57874         * sysdeps/x86_64/elf/configure: Delete.
57876         * sysdeps/x86_64/configure.in: Merge contents from
57877         sysdeps/i386/configure.in (without i686 check).
57879         * sysdeps/i386/elf/Versions: Merge into ...
57880         * sysdeps/i386/Versions: ... this.
57881         * sysdeps/i386/elf/Versions: Delete file.
57882         * sysdeps/i386/elf/start.S: Moved to ...
57883         * sysdeps/i386/start.S: ...here.
57884         * sysdeps/i386/elf/configure.in: Merge into...
57885         * sysdeps/i386/configure.in: ...here.
57886         * sysdeps/i386/elf/configure.in: Delete file.
57887         * sysdeps/i386/elf/configure: Delete file.
57889         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
57890         * debug/backtracesyms.c: ... here.
57891         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
57892         * debug/backtracesymsfd.c: ... here.
57893         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
57894         * sysdeps/generic/ifunc-sel.h: ... here.
57896         * sysdeps/unix/i386/start.c: Delete file.
57897         * sysdeps/unix/sparc/start.c: Delete file.
57898         * sysdeps/unix/start.c: Delete file.
57900         * sysdeps/sh/elf/configure.in: Moved to ...
57901         * sysdeps/sh/configure.in: ... here.
57902         * sysdeps/sh/elf/start.S: Moved to ...
57903         * sysdeps/sh/start.S: ... here.
57904         * sysdeps/sh/elf/configure: Delete file.
57906         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
57907         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
57908         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
57909         * sysdeps/powerpc/powerpc64/entry.h: ... here.
57910         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
57911         * sysdeps/powerpc/powerpc64/start.S: here.
57912         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
57913         * sysdeps/powerpc/powerpc64/Makefile: ... this.
57914         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
57915         * sysdeps/powerpc/powerpc64/configure.in: ... this.
57916         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
57918         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
57919         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
57920         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
57921         * sysdeps/powerpc/powerpc32/start.S: ... here.
57922         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
57923         * sysdeps/powerpc/powerpc32/configure.in: ... this.
57924         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
57926         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
57927         * sysdeps/powerpc/ifunc-sel.h: ... here.
57928         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
57929         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
57931         * sysdeps/sparc/elf/configure.in: Moved to ...
57932         * sysdeps/sparc/configure.in: ... here.
57933         * sysdeps/sparc/elf/configure: Delete file.
57934         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
57935         * sysdeps/sparc/sparc32/start.S: ... here.
57936         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
57937         * sysdeps/sparc/sparc64/start.S: ... here.
57938         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
57939         * sysdeps/sparc/sparc32/Makefile: ... this.
57940         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
57941         * sysdeps/sparc/sparc64/Makefile: ... this.
57943         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
57944         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
57945         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
57946         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
57947         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
57948         * sysdeps/s390/s390-32/setjmp.S: ... here.
57949         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
57950         * sysdeps/s390/s390-32/configure.in: ... here.
57951         * sysdeps/s390/s390-32/elf/configure: Delete file.
57952         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
57953         * sysdeps/s390/s390-32/start.S: ... here.
57955         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
57956         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
57957         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
57958         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
57959         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
57960         * sysdeps/s390/s390-64/setjmp.S: ... here.
57961         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
57962         * sysdeps/s390/s390-64/configure.in: ... here
57963         * sysdeps/s390/s390-64/elf/configure: Delete file.
57964         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
57965         * sysdeps/s390/s390-64/start.S: ... here.
57966         * sysdeps/s390/s390-64/elf/configure: Delete.
57968         * configure.in: Remove support for elf directories in sysdeps.
57970         * configure: Regenerated.
57971         * sysdeps/i386/configure: Regenerated.
57972         * sysdeps/powerpc/powerpc32/configure: Regenerated.
57973         * sysdeps/powerpc/powerpc64/configure: Regenerated.
57974         * sysdeps/s390/s390-32/configure: Regenerated.
57975         * sysdeps/s390/s390-64/configure: Regenerated.
57976         * sysdeps/sh/configure: Regenerated.
57977         * sysdeps/sparc/configure: Regenerated.
57978         * sysdeps/x86_64/configure: Regenerated.
57980 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
57982         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57984         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
57985         denormal result into account.
57987 2012-03-25  Roland McGrath  <roland@hack.frob.com>
57989         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
57990         Reported by Allan McRae <allan@archlinux.org>.
57992 2012-03-23  Jeff Law  <law@redhat.com>
57994         * nss/getnssent.c (__nss_getent): Fix typo.
57996 2012-03-23  David S. Miller  <davem@davemloft.net>
57998         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58000 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
58002         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
58003         to pad to uint64_t for each field.
58004         (dl_tls_index): Replace unsigned long with uint64_t.
58006 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
58007         Paul Pluzhnikov  <ppluzhnikov@google.com>
58009         [BZ #6528]
58010         * grp/Makefile (otherlibs): Don't set it.
58011         * inet/Makefile (otherlibs): Likewise.
58012         * login/Makefile (otherlibs): Likewise.
58013         * nscd/Makefile (otherlibs): Likewise.
58014         * posix/Makefile (otherlibs): Likewise.
58015         * pwd/Makefile (otherlibs): Likewise.
58016         * rt/Makefile (otherlibs): Likewise.
58017         * sunrpc/Makefile (otherlibs): Likewise.
58018         * nss/Makefile (otherlibs): Likewise.
58019         Add libnss_files to routines and static-only-routines.
58020         ($(objpfx)getent): Remove rule.
58021         * resolv/Makefile: Add libnss_dns and libresolv to routines and
58022         static-only-routines.
58024 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
58026         [BZ #13892]
58027         * math/s_cexp.c: Include <float.h>.
58028         (__cexp): Handle exp result overflowing not necessarily
58029         overflowing both real and imaginary parts of result.
58030         * math/s_cexpf.c: Likewise.
58031         * math/s_cexpl.c: Likewise.
58032         * math/libm-test.inc (cexp_test): Add more tests.
58033         * sysdeps/i386/fpu/libm-test-ulps: Update.
58034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58036 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
58038         * include/link.h (ELFW): New macro.
58039         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
58040         Replace ELF64_R_TYPE with ELFW(R_TYPE).
58042 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
58044         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
58045         with uint64_t.
58047 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
58049         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
58050         declaration.
58051         (struct La_x32_retval): Likewise.
58053 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
58055         * sysdeps/x86_64/preconfigure.in: New file.
58056         * sysdeps/x86_64/preconfigure: New generated file.
58058 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
58060         [BZ #13824]
58061         * math/e_exp2l.c: Include <float.h>.
58062         (__ieee754_exp2l): Handle overflow and underflow cases
58063         separately.  Only pass fractional part of argument to
58064         __ieee754_expl.
58065         * math/libm-test.inc (exp2_test): Add more tests.
58067         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
58068         negating x to take absolute value.
58069         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
58070         Likewise.
58071         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
58072         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
58073         Likewise.
58074         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
58075         computing low part if x was negated.
58076         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
58078 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
58080         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
58081         la_x32_gnu_pltexit.
58082         (pltexit): Cast int_retval to ptrdiff_t.
58083         * elf/tst-auditmod3b.c: Likewise.
58084         * elf/tst-auditmod4b.c: Likewise.
58085         * elf/tst-auditmod5b.c: Likewise.
58086         * elf/tst-auditmod6b.c: Likewise.
58087         * elf/tst-auditmod6c.c: Likewise.
58088         * elf/tst-auditmod7b.c: Likewise.
58090         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
58091         and x32_gnu_pltexit.
58093         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
58094         __ELF_NATIVE_CLASS.
58095         (La_x32_regs): New macro.
58096         (La_x32_retval): Likewise.
58097         (la_x32_gnu_pltenter): New function prototype.
58098         (la_x32_gnu_pltexit): Likewise.
58100 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
58102         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
58103         exponent.
58105         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58107         * configure.in (libc_cv_cc_nofma): Check for option to disable
58108         generation of FMA instructions.
58109         * configure: Regenerate.
58110         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
58111         * sysdeps/ieee754/dbl-64/Makefile: New file.
58112         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
58113         Remove brandred-fma4.
58114         (CFLAGS-brandred-fma4.c): Remove.
58115         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
58116         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
58117         define.
58118         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
58119         define.
58121 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
58123         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
58124         LLONG_MAX != LONG_MAX.
58125         (_itoa_word): Use _ITOA_WORD_TYPE on value.
58126         (_fitoa_word): Likewise.
58127         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
58128         LLONG_MAX != LONG_MAX.
58129         * stdio-common/_itowa.h: Include <_itoa.h>.
58130         (_itowa_word): Use _ITOA_WORD_TYPE on value.
58131         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
58132         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
58133         only if not defined.
58134         (_ITOA_WORD_TYPE): Likewise.
58135         (_itoa_word): Use _ITOA_WORD_TYPE on value.
58136         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
58138 2012-03-21  David S. Miller  <davem@davemloft.net>
58140         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58142 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
58144         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
58145         of x86_64 when setting libc_cv_slibdir, libdir and
58146         libc_cv_localedir.
58147         * sysdeps/unix/sysv/linux/configure: Regenerated.
58149 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
58151         * manual/lang.texi (Old Varargs): Remove section.
58152         (How Variadic): Update menu.
58153         (va_start): Do not mention varargs.h.
58155 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
58156             Joseph Myers  <joseph@codesourcery.com>
58158         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
58159         link test.
58160         * configure: Regenerated.
58162 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
58164         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
58165         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
58166         conformtest.pl
58168 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
58170         * NOTES: Remove.
58171         * Makefile (files-for-dist): Remove NOTES.
58172         (NOTES): Remove rule.
58173         * README: Don't refer to NOTES.
58174         * manual/creature.texi: Don't include macros.texi.
58175         * manual/intro.texi (creature.texi): Remove comment referring to
58176         NOTES.
58178         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
58179         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
58180         * configure: Regenerated.
58181         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
58182         LIBC_TRY_CC_OPTION.
58183         (libc_cv_as_i686): Likewise.
58184         (libc_cv_cc_avx): Likewise.
58185         (libc_cv_cc_sse2avx): Likewise.
58186         (libc_cv_cc_fma4): Likewise.
58187         (libc_cv_cc_novzeroupper): Likewise.
58188         * sysdeps/i386/configure: Regenerated.
58190         [BZ #13883]
58191         * sysdeps/i386/fpu/s_cexp.S: Remove.
58192         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
58193         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
58194         * math/libm-test.inc (cexp_test): Add more tests.
58195         * sysdeps/i386/fpu/libm-test-ulps: Update.
58196         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58198 2012-03-21  Allan McRae  <allan@archlinux.org>
58200         * timezone/Makefile: Do not install iso3166.tab and zone.tab
58202 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
58204         [BZ #13871]
58205         * math/w_exp2.c: Do not include <float.h>.
58206         (o_threshold, u_threshold): Remove.
58207         (__exp2): Calculate result before checking finiteness and calling
58208         __kernel_standard.
58209         * math/w_exp2f.c: Likewise.
58210         * math/w_exp2l.c: Likewise.
58211         * math/libm-test.inc (exp2_test): Require overflow exception for
58212         1e6 input.
58214         [BZ #3866]
58215         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
58216         range of signed 64-bit integers before using fistpll.  Remove
58217         checks for whether integers fit in mantissa bits.
58218         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
58219         the range of signed 32-bit integers before using fistpl.  Remove
58220         checks for whether integers fit in mantissa bits.
58221         * sysdeps/i386/fpu/e_powl.S (p64): New object.
58222         (__ieee754_powl): Test for y outside the range of signed 64-bit
58223         integers before using fistpll.  Reduce 64-bit values to 63-bit
58224         ones as needed.
58225         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
58226         divide-by-zero is raised for zero to large negative powers.
58227         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
58228         (__ieee754_powl): Test for y outside the range of signed 64-bit
58229         integers before using fistpll.  Reduce 64-bit values to 63-bit
58230         ones as needed.
58231         * math/libm-test.inc (pow_test): Add more tests.
58233 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
58235         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
58236         <stdio-common/_itoa.h>.
58237         * debug/segfault.c: Likewise.
58238         * elf/dl-cache.c: Likewise.
58239         * elf/dl-minimal.c: Likewise.
58240         * elf/dl-misc.c: Likewise.
58241         * elf/dl-sysdep.c: Likewise.
58242         * elf/dl-version.c: Likewise.
58243         * elf/rtld.c: Likewise.
58244         * hurd/hurdsock.c: Likewise.
58245         * hurd/lookup-retry.c: Likewise.
58246         * malloc/malloc.c: Likewise.
58247         * malloc/mtrace.c: Likewise.
58248         * nscd/nscd_getgr_r.c: Likewise.
58249         * nscd/nscd_getpw_r.c: Likewise.
58250         * nscd/nscd_getserv_r.c: Likewise.
58251         * posix/getopt_init.c: Likewise.
58252         * posix/wordexp.c: Likewise.
58253         * stdio-common/_itoa.c: Likewise.
58254         * stdio-common/printf_fphex.c: Likewise.
58255         * stdio-common/vfprintf.c: Likewise.
58256         * string/_strerror.c: Likewise.
58257         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
58258         * sysdeps/i386/i686/hp-timing.h: Likewise.
58259         * sysdeps/mach/_strerror.c: Likewise.
58260         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
58261         * sysdeps/mach/hurd/sethostid.c: Likewise.
58262         * sysdeps/mach/hurd/xmknodat.c: Likewise.
58263         * sysdeps/mach/xpg-strerror.c: Likewise.
58264         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
58265         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
58266         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
58267         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
58268         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
58269         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
58270         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
58271         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
58272         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
58273         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
58274         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
58275         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
58276         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
58277         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
58278         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
58279         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
58280         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
58281         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
58282         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
58283         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
58284         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
58286         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
58288         * stdio-common/_itoa.h: Moved to ...
58289         * sysdeps/generic/_itoa.h: Here.
58291         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
58293         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
58294         instead of "_itoa.h" and "_itowa.h".
58295         * stdio-common/vfprintf.: Likewise.
58297 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
58299         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
58300         <bits/wordsize.h>.
58301         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
58302         (__signbit): Likwise.
58303         (llrintf): Likwise.
58304         (llrint): Likwise.
58306 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
58308         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
58309         __WORDSIZE != 64.
58311 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
58313         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
58314         OVERFLOW_EXCEPTION_OK.
58315         * math/libm-test.inc ("Philosophy"): Update comment about
58316         exception testing.
58317         (OVERFLOW_EXCEPTION): Define.
58318         (OVERFLOW_EXCEPTION_OK): Likewise.
58319         (INVALID_EXCEPTION_OK): Renumber.
58320         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
58321         (IGNORE_ZERO_INF_SIGN): Likewise.
58322         (test_exceptions): Handle FE_OVERFLOW.
58323         (exp10_test): Expect overflow exceptions.
58324         (exp2_test): Likewise.
58325         (expm1_test): Likewise.
58326         (nextafter_test): Likewise.
58327         (pow_test): Likewise.
58328         (scalbn_test): Likewise.
58329         (scalbln_test): Likewise.
58331 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
58333         * sysdeps/x86_64/bits/atomic.h
58334         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
58335         64bit integer.
58336         (atomic_exchange_acq): Likewise.
58337         (__arch_exchange_and_add_body): Likewise.
58338         (__arch_add_body): Likewise.
58339         (atomic_add_negative): Likewise.
58340         (atomic_add_zero): Likewise.
58342 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
58344         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
58345         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
58347 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
58349         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
58350         Check __x86_64__ instead of __WORDSIZE.
58352 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
58354         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
58356 2012-03-19  David S. Miller  <davem@davemloft.net>
58358         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58360         * sysdeps/sparc/fpu/fenv_private.h: New file.
58361         * sysdeps/sparc/fpu/math_private.h: Use it.
58362         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
58363         Remove.
58364         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
58365         (libc_feholdexcept_setroundl): Remove.
58366         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
58367         Remove.
58368         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
58369         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
58371 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
58373         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
58374         int64_t instead of long int.
58375         (INSERT_WORDS64): Likwise.
58377 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
58379         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
58380         _Unwind_GetCFA return to _Unwind_Ptr first.
58382 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
58384         [BZ #13629]
58385         * math/s_clog.c: Include <float.h>.
58386         (__clog): Scale large or subnormal inputs.
58387         * math/s_clogf.c: Likewise.
58388         * math/s_clogl.c: Likewise.
58389         * math/s_clog10.c: Include <float.h>.
58390         (M_LOG10_2): Define.
58391         (__clog10): Scale large or subnormal inputs.
58392         * math/s_clog10f.c: Likewise.
58393         * math/s_clog10l.c: Likewise.
58394         * math/libm-test.inc (clog_test): Add more tests.
58395         (clog10_test): Likewise.
58396         * sysdeps/i386/fpu/libm-test-ulps: Update.
58397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58399         [BZ #11451]
58400         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
58401         x and y.
58402         * math/libm-test.inc (atan2_test): Add another test.
58404         * Makerules (common-objdir-compile): Remove.
58405         * sysdeps/unix/Makefile (config-generated): Do not add
58406         $(unix-generated) to variable.
58407         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
58408         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
58409         Remove rule.
58410         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
58411         Likewise.
58412         [generic bits/local_lim.h] (before-compile): Do not append to
58413         variable.
58414         [generic bits/local_lim.h] (common-generated): Likewise.
58415         [generic sys/param.h] (before-compile): Do not append to variable.
58416         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
58417         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
58418         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
58419         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
58420         include.
58421         [generic sys/param.h] (sys/param.h-includes): Remove variable.
58422         [generic sys/param.h] (sys/param.h-includes): Remove rule.
58423         [generic sys/param.h] ($(addprefix
58424         $(common-objpfx),$(sys/param.h-includes))): Likewise.
58425         [generic sys/param.h] (common-generated): Do not append to
58426         variable.
58427         [generic sys/param.h] (sysdep_headers): Likewise.
58428         [generic bits/errno.h] (before-compile): Do not append to
58429         variable.
58430         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
58431         rule.
58432         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
58433         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
58434         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
58435         [generic bits/errno.h] (common-generated): Do not append to
58436         variable.
58437         [generic bits/ioctls.h] (before-compile): Do not append to
58438         variable.
58439         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
58440         rule.
58441         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
58442         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
58443         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
58444         rule.
58445         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
58446         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
58447         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
58448         [generic bits/ioctls.h] (common-generated): Do not append to
58449         variable.
58450         [generic sys/syscall.h] (syscall.h): Remove variable.
58451         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
58452         rule.
58453         [generic sys/syscall.h] (before-compile): Do not append to
58454         variable.
58455         [generic sys/syscall.h] (common-generated): Likewise.
58456         * sysdeps/unix/errnos-tmpl.c: Remove file.
58457         * sysdeps/unix/errnos.awk: Likewise.
58458         * sysdeps/unix/ioctls-tmpl.c: Likewise.
58459         * sysdeps/unix/ioctls.awk: Likewise.
58460         * sysdeps/unix/mk-local_lim.c: Likewise.
58461         * sysdeps/unix/snarf-ioctls: Likewise.
58463 2012-03-19  Richard Henderson  <rth@twiddle.net>
58465         * sysdeps/i386/fpu/fenv_private.h: New file.
58466         * sysdeps/i386/fpu/math_private.h: Use it.
58467         (math_opt_barrier, math_force_eval): Remove.
58468         (libc_feholdexcept_setround_53bit): Remove.
58469         (libc_feupdateenv_53bit): Remove.
58470         * sysdeps/x86_64/fpu/math_private.h: Likewise.
58471         (math_opt_barrier, math_force_eval): Remove.
58472         (libc_feholdexcept): Remove.
58473         (libc_feholdexcept_setround): Remove.
58474         (libc_fetestexcept, libc_fesetenv): Remove.
58475         (libc_feupdateenv_test): Remove.
58476         (libc_feupdateenv, libc_feholdsetround): Remove.
58477         (libc_feresetround): Remove.
58479         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
58480         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
58482         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
58483         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
58484         (libc_feupdateenv_testl): New.
58485         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
58486         (libc_feupdateenv_testf): New.
58487         (libc_feupdateenv): Use libc_feupdateenv_test.
58488         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
58489         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
58491         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
58492         (libc_feholdsetroundf, libc_feholdsetroundl): New.
58493         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
58494         (libc_feresetround_noex): New.
58495         (libc_feresetround_noexf): New.
58496         (libc_feresetround_noexl): New.
58497         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
58498         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
58499         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
58500         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
58501         SET_RESTORE_ROUND.
58502         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
58503         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
58504         (__cos): Likewise.
58505         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
58506         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
58507         SET_RESTORE_ROUND_NOEX.
58508         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
58509         SET_RESTORE_ROUND_NOEXF.
58510         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
58511         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
58512         (libc_feholdsetroundf): New.
58513         (libc_feresetround, libc_feresetroundf): New.
58515         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
58516         (libc_feholdexcept_setround_53bit): Convert from macro to function.
58517         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
58519         * sysdeps/generic/math_private.h: Include <fenv.h>.
58520         (default_libc_feholdexcept): New.
58521         (default_libc_feholdexcept_setround): New.
58522         (default_libc_fesetenv, default_libc_feupdateenv): New.
58523         (libc_feholdexcept): Only define if undefined.
58524         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
58525         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
58526         (libc_feholdexcept_setroundl): Likewise.
58527         (libc_feholdexcept_setround_53bit): Likewise.
58528         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
58529         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
58530         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
58531         (libc_feupdateenv_53bit): Likewise.
58532         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
58533         (libc_feholdexcept): Convert from macro to inline function.
58534         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
58535         (libc_fesetenv, libc_feupdateenv): Likewise.
58537         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
58538         not previously defined.
58539         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
58540         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
58541         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
58542         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
58543         * sysdeps/ieee754/flt-32/math_private.h: New file.
58544         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
58545         math_private.h below SET_FLOAT_WORD.
58546         (__isnan, __isinf_ns, __finite): Remove.
58547         (__isnanf, __isinf_nsf, __finitef): Remove.
58549 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
58551         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58553 2012-03-17  David S. Miller  <davem@davemloft.net>
58555         [BZ #6471]
58556         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
58557         for 2.16.
58559 2012-03-16  David S. Miller  <davem@davemloft.net>
58561         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
58562         warnings.
58564         [BZ #6471]
58565         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
58566         properly.
58567         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
58568         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
58569         sysdep_routines when subdir is sysvipc.
58570         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
58571         __getshmlba helper.
58573         * sysdeps/sparc/fpu/libm-test/ulps: Update.
58575 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
58577         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
58578         [__LP64__].
58580 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
58582         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
58583         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
58584         (__lround): Renamed to ...
58585         (__llround): This.  Replace long int with long long int.
58586         Define lround functions as aliases of llround functions.
58587         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
58589 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
58591         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
58592         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
58593         adresses to uintptr_t.  Replace "long int" and "unsigned long
58594         int" with "greg_t" on va_arg.
58596 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
58598         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
58599         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
58601         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
58602         Move e_machine check before EI_CLASS check.  Handle x32
58603         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
58604         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
58605         SKIP_EM_IA_64 and include
58606         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
58608         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
58609         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
58610         (add_system_dir): New macro.
58612         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
58613         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
58615 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
58617         [BZ #2551]
58618         [BZ #2552]
58619         [BZ #2553]
58620         [BZ #2554]
58621         [BZ #2562]
58622         [BZ #2563]
58623         [BZ #2565]
58624         [BZ #2566]
58625         [BZ #2576]
58626         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
58627         (y0): Likewise.
58628         * math/w_j0f.c (j0f): Likewise.
58629         (y0f): Likewise.
58630         * math/w_j0l.c (__j0l): Likewise.
58631         (__y0l): Likewise.
58632         * math/w_j1.c (j1): Likewise.
58633         (y1): Likewise.
58634         * math/w_j1f.c (j1f): Likewise.
58635         (y1f): Likewise.
58636         * math/w_j1l.c (__j1l): Likewise.
58637         (__y1l): Likewise.
58638         * math/w_jn.c (jn): Likewise.
58639         (yn): Likewise.
58640         * math/w_jnf.c (jnf): Likewise.
58641         (ynf): Likewise.
58642         * math/w_jnl.c (__jnl): Likewise.
58643         (__ynl): Likewise.
58644         * math/libm-test.inc (j0_test): Add more tests.
58645         (j1_test): Likewise.
58646         (jn_test): Likewise.  Add trailing semicolon to existing test.
58647         (y0_test): Likewise.
58648         (y1_test): Likewise.
58649         * sysdeps/i386/fpu/libm-test-ulps: Update.
58650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58652         [BZ #13851]
58653         [BZ #13854]
58654         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
58655         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
58656         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
58657         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
58658         (__tanl): Set errno for infinite argument.
58659         * sysdeps/i386/fpu/mptan.c: Remove.
58660         * sysdeps/i386/fpu/s_tan.S: Likewise.
58661         * sysdeps/i386/fpu/s_tanl.S: Likewise.
58662         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
58663         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
58664         * math/libm-test.inc (tan_test): Add more tests and enable more
58665         tests for double and long double.
58666         * sysdeps/i386/fpu/libm-test-ulps: Update.
58667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58669 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
58671         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
58672         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
58674 2012-03-16  Roland McGrath  <roland@hack.frob.com>
58676         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
58677         * configure.in: Use it for both main tree and add-ons.
58678         * configure: Regenerated.
58680 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
58682         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
58684 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
58686         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
58687         in comment.
58689         [BZ #13851]
58690         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
58691         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
58692         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
58693         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
58694         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
58695         infinite argument.
58696         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
58697         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
58698         != 0 for prec == 2.
58699         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
58700         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
58701         * sysdeps/i386/fpu/s_cosl.S: Likewise.
58702         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
58703         * sysdeps/i386/fpu/s_sinl.S: Likewise.
58704         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
58705         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
58706         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
58707         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
58708         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
58709         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
58710         * math/libm-test.inc (cos_test): Add more tests and enable more
58711         tests for long double.
58712         (sin_test): Likewise.
58713         (sincos_test): Likewise.
58714         * sysdeps/i386/fpu/libm-test-ulps: Update.
58715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58717 2012-03-16  David S. Miller  <davem@davemloft.net>
58719         * sysdeps/sparc/fpu/math_private.h: New file.
58721 2012-03-15  David S. Miller  <davem@davemloft.net>
58723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
58724         file.
58725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
58726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
58727         file.
58728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
58729         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
58730         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
58731         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
58732         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
58733         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
58734         sysdep routines.
58735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
58737         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
58738         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
58740         * sysdeps/sparc/sparc-ifunc.h: New file.
58741         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
58742         sparc-ifunc.h
58743         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
58744         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
58745         Likewise.
58746         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
58747         Likewise.
58748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
58749         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
58750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
58751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
58752         Likewise.
58753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
58754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
58755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
58756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
58757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
58758         Likewise.
58759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
58760         Likewise.
58761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
58762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
58763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
58764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
58765         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
58766         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
58767         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
58768         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
58769         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
58770         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
58771         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
58772         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
58773         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
58774         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
58775         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
58776         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
58777         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
58778         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
58779         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
58780         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
58781         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
58782         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
58783         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
58784         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
58786 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
58788         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
58789         scaling.
58790         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58792 2012-03-15  Andreas Jaeger  <aj@suse.de>
58794         [BZ #13852]
58795         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
58796         ieee754/flt-32 implementation for sin, cos and sincos.
58797         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
58798         * sysdeps/i386/fpu/s_cosf.S: Likewise.
58799         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
58800         * sysdeps/i386/fpu/s_sinf.S: Likewise.
58801         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
58802         ieee754/flt-32 implementation for tan.
58804         * math/libm-test.inc (cos_test): Enable some large input tests for
58805         float as well
58806         (sin_test): Likewise.
58807         (sincos_test): Likewise.
58808         (tan_test): Add tests for large input.
58810         * sysdeps/i386/fpu/libm-test-ulps: Update.
58812 2012-03-15  Andreas Jaeger  <aj@suse.de>
58814         [BZ #13658]
58815         * math/libm-test.inc (cos_test): Add more test cases.
58816         (sin_test): Likewise.
58817         (sincos_test): Likewise.
58819 2012-03-15  Andreas Jaeger  <aj@suse.de>
58821         [BZ #13837]
58822         * math/libm-test.inc (cos_test): Add a test case for large input
58823         value.
58824         (sin_test): Likewise.
58825         (sincos_test): Likewise.
58827 2012-03-15  Andreas Jaeger  <aj@suse.de>
58828             Joseph Myers  <joseph@codesourcery.com>
58830         [BZ #13658]
58831         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
58832         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
58833         * sysdeps/i386/fpu/branred.c: Likewise.
58834         * sysdeps/i386/fpu/dosincos.c: Likewise.
58835         * sysdeps/i386/fpu/mpa.c: Likewise.
58836         * sysdeps/i386/fpu/s_cos.S: Likewise.
58837         * sysdeps/i386/fpu/s_sin.S: Likewise.
58838         * sysdeps/i386/fpu/s_sincos.S: Likewise.
58839         * sysdeps/i386/fpu/sincos32.c: Likewise.
58841         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
58842         Define.
58843         (libc_feupdateenv_53bit): Define.
58844         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
58845         Define.
58846         (libc_feupdateenv_53bit): Define.
58848         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
58849         53 bit (without extend i386 double precision).
58851         * math/libm-test.inc (sincos_test): Add tests for large input.
58852         (sin): Likewise.
58853         (cos): Likewise.
58855         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
58857 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
58859         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58861 2012-03-15  David S. Miller  <davem@davemloft.net>
58863         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
58864         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
58865         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
58866         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
58867         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
58868         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
58869         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
58870         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
58871         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
58872         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
58873         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
58874         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
58875         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
58876         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
58877         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
58878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
58879         file.
58880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
58881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
58882         file.
58883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
58884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
58885         file.
58886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
58887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
58888         file.
58889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
58890         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
58891         fmin/fmax sysdep routines.
58892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
58894 2012-03-14  David S. Miller  <davem@davemloft.net>
58896         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
58897         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
58898         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
58899         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
58900         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
58901         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
58902         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
58903         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
58904         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
58905         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
58906         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
58907         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
58908         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
58909         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
58910         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
58911         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
58912         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
58913         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
58914         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
58915         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
58916         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
58917         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
58918         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
58919         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
58920         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
58921         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
58922         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
58923         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
58924         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
58925         routines.
58926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
58927         file.
58928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
58929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
58930         file.
58931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
58932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
58933         file.
58934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
58935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
58936         file.
58937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
58938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
58939         file.
58940         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
58941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
58942         file.
58943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
58944         file.
58945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
58946         file.
58947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
58948         file.
58949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
58950         New file.
58951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
58952         file.
58953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
58954         file.
58955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
58956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
58957         file.
58958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
58959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
58960         file.
58961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
58962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
58963         file.
58964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
58965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
58966         VIS3 routines.
58968         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
58969         New file.
58971         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58973         * sysdeps/sparc/configure.in: New file.
58974         * sysdeps/sparc/configure: Generate.
58975         * configure.in (libc_cv_sparc_as_vis3): Substitute.
58976         * configure: Regenerate.
58977         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
58978         * config.make.in (have-as-vis3): New.
58979         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
58980         available use -Av9d instead of -Av9a.
58981         * sysdeps/sparc/sparc64/Makefile: Likewise.
58982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
58983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
58984         New file.
58985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
58986         file.
58987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
58988         New file.
58989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
58990         file.
58991         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
58992         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
58993         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
58994         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
58995         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
58997         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
58998         fzeros/fnegs to load 0x80000000 into a float register instead of
58999         using the stack.
59000         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
59002 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
59004         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59005         bits/syscall.h.
59006         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
59007         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
59008         ($(inst_includedir)/bits/syscall.h): Remove rule.
59009         ($(objpfx)bits/syscall.d): Include instead of
59010         $(objpfx)syscall-list.d.
59011         (generated): Change syscall-list.h and syscall-list.d to
59012         bits/syscall.h and bits/syscall.d.
59014 2012-03-14  Roland McGrath  <roland@hack.frob.com>
59016         [BZ #13846]
59017         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
59019 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
59021         [BZ #13841]
59022         * math/s_csqrt.c: Include <float.h>.
59023         (__csqrt): Scale large or subnormal inputs.
59024         * math/s_csqrtf.c: Likewise.
59025         * math/s_csqrtl.c: Likewise.
59026         * math/libm-test.inc (csqrt_test): Add more tests.
59027         * sysdeps/i386/fpu/libm-test-ulps: Update.
59028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59030         [BZ #13840]
59031         * math/libm-test.inc (hypot_test): Add more tests.
59033 2012-03-13  David S. Miller  <davem@davemloft.net>
59035         [BZ #13840]
59036         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
59037         double-precision for the calculation instead of scaling.
59039 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
59041         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
59042         manipulate bits before adding and subtracting TWO52[sx].
59043         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
59044         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
59045         Likewise.
59046         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
59048 2012-03-13  David S. Miller  <davem@davemloft.net>
59050         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
59051         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
59052         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
59053         rtld-global-offsets.h
59054         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
59056         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
59057         large parameters.
59059         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
59061         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
59062         'err' in the ifdef scope in which it is actually used.
59064         * nss/nss_db/db-init.c: Include string.h
59066 2012-03-12  David S. Miller  <davem@davemloft.net>
59068         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
59069         masking out of the most significant byte of random value used.
59070         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59071         Fix coding style in previous change.
59073         * sysdeps/unix/sysv/linux/kernel-features.h
59074         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
59075         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
59076         expression.
59077         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
59078         later.
59080 2012-03-11  David S. Miller  <davem@davemloft.net>
59082         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
59083         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
59084         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
59085         for 'resultvar' otherwise things get truncated on 64-bit.
59087         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59088         Fix masking out of the most significant byte of random value used.
59090         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59092 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
59094         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59096 2012-03-09  David S. Miller  <davem@davemloft.net>
59098         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
59099         variables with appropriate CPP guards.
59100         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
59101         from the frame pointer, not the stack pointer.  Correct layout
59102         comments.  Fix test on resulting framesize and the management of
59103         the outregs buffer for pltexit.  Preserve floating point return
59104         values across _dl_call_pltexit call.
59105         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
59106         framesize and the management of the outregs buffer for pltexit.
59107         Preserve floating point return values across _dl_call_pltexit
59108         call.
59109         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
59110         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
59111         (la_sparc64_gnu_pltexit): New functions.
59112         (print_exit): Fix format string for return register value.
59114 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
59116         * sunrpc/Makefile (others): Add rpcgen.
59117         ($(objpfx)rpcgen): Remove special build rule and dependency on
59118         libc.
59119         * sunrpc/rpcgen.c: New file.
59121 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
59123         [BZ #13673]
59124         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
59125         * stdio-common/bug-vfprintf-nargs.c: Likewise.
59126         * sysdeps/i386/crti.S: Likewise.
59127         * sysdeps/i386/crtn.S: Likewise.
59128         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
59129         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
59130         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
59131         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
59132         * sysdeps/sh/crti.S: Likewise.
59133         * sysdeps/sh/crtn.S: Likewise.
59134         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
59136         [BZ #13673]
59137         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
59138         with URL.
59139         * locale/programs/locfile-kw.gperf: Likewise.
59140         * locale/programs/charmap-kw.h: Regenerated.
59141         * locale/programs/locfile-kw.h: Likewise.
59143         [BZ #13673]
59144         * intl/plural.y: Replace FSF snail mail address with URL.
59145         * intl/plural.c: Regenerated.
59147 2012-03-09  Richard Henderson  <rth@twiddle.net>
59149         * include/math_private.h: Remove file.
59150         * math/math_private.h: Move file ...
59151         * sysdeps/generic/math_private.h: ... here.
59153         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
59154         * sysdeps/powerpc/fpu/math_private.h: Likewise.
59155         * sysdeps/x86_64/fpu/math_private.h: Likewise.
59157         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
59158         and <math_private.h>.
59159         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
59160         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
59161         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
59162         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
59163         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
59164         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
59165         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
59166         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59167         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
59168         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
59169         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59170         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
59171         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
59172         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59173         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
59174         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
59175         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
59176         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
59177         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
59178         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
59179         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59180         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
59181         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
59182         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59183         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
59184         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
59185         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
59186         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
59187         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59188         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
59189         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
59190         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59191         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
59192         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
59193         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
59194         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
59195         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
59196         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
59197         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
59198         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
59199         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
59200         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
59201         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
59202         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
59203         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
59204         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
59205         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
59206         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
59207         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
59208         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
59209         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
59210         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
59211         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
59212         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
59213         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
59214         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
59215         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
59216         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
59217         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
59218         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
59219         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
59220         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
59221         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59222         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
59223         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
59224         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
59225         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
59226         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
59227         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
59228         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
59229         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
59230         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
59231         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
59232         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
59233         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
59234         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
59235         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
59236         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
59237         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
59238         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
59239         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
59240         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
59241         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
59242         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
59243         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
59244         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
59245         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
59246         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
59247         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
59248         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
59249         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
59250         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
59251         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
59252         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
59253         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
59254         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
59255         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
59256         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
59257         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
59258         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
59259         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
59260         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
59261         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
59262         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
59263         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
59264         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
59265         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
59266         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
59267         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
59268         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
59269         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
59270         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
59271         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
59272         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
59273         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
59274         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
59275         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
59276         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
59277         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
59278         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
59279         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
59280         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
59281         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
59282         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
59283         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
59284         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
59285         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
59286         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
59287         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
59288         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
59289         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
59290         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
59291         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
59292         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
59293         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
59294         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
59295         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
59296         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
59297         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
59298         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
59299         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
59300         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
59301         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
59302         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
59303         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
59304         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
59305         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
59306         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
59307         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
59308         * sysdeps/ieee754/k_standard.c: Likewise.
59309         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
59310         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
59311         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
59312         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
59313         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
59314         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
59315         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
59316         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
59317         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
59318         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
59319         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
59320         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
59321         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
59322         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
59323         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
59324         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
59325         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
59326         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
59327         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
59328         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
59329         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
59330         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
59331         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
59332         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
59333         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
59334         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
59335         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
59336         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
59337         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
59338         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
59339         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
59340         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
59341         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
59342         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
59343         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
59344         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
59345         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
59346         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
59347         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
59348         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
59349         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
59350         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
59351         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
59352         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
59353         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
59354         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
59355         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
59356         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
59357         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
59358         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
59359         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
59360         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
59361         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
59362         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
59363         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
59364         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
59365         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
59366         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
59367         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
59368         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
59369         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
59370         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
59371         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
59372         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
59373         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
59374         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
59375         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
59376         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
59377         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
59378         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
59379         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
59380         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
59381         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
59382         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
59383         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
59384         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
59385         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
59386         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
59387         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
59388         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
59389         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
59390         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
59391         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
59392         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
59393         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
59394         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
59395         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
59396         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
59397         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
59398         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
59399         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
59400         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
59401         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
59402         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
59403         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
59404         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
59405         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
59406         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
59407         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
59408         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
59409         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
59410         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
59411         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
59412         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
59413         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
59414         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
59415         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
59416         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
59417         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
59418         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
59419         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
59420         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
59421         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
59422         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
59423         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
59424         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
59425         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
59426         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
59427         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
59428         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
59429         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
59430         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
59431         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
59432         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
59433         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
59434         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
59435         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
59436         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
59437         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
59438         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
59439         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
59440         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
59441         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
59442         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
59443         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
59444         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
59445         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
59446         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
59447         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
59448         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
59449         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
59450         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
59451         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
59452         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
59453         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
59454         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
59455         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
59456         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
59457         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
59458         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
59459         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
59460         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
59461         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
59462         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
59463         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
59464         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
59465         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
59466         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
59467         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
59468         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
59469         * sysdeps/ieee754/s_lib_version.c: Likewise.
59470         * sysdeps/ieee754/s_matherr.c: Likewise.
59471         * sysdeps/ieee754/s_signgam.c: Likewise.
59472         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
59473         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
59474         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
59475         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
59476         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
59477         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
59478         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
59479         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
59480         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
59481         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
59482         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
59483         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
59484         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
59485         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
59486         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
59487         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
59488         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
59489         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
59490         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
59491         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
59492         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
59494 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
59496         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
59497         * sunrpc/rpc_main.c: Likewise.
59498         * sunrpc/rpc_svcout.c: Likewise.
59500 2012-03-09  David S. Miller  <davem@davemloft.net>
59502         * include/math_private.h: New file.
59504 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
59506         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
59507         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
59508         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
59509         from <bits/socket_type.h>.
59510         (enum __socket_type): Don't define here.
59511         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
59512         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59513         bits/socket_type.h.
59515         [BZ #13566]
59516         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
59517         checking __USE_GNU.
59519         * Makerules ($(inst_includedir)/%.h): New rule.
59520         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
59521         (install-others): Remove variable setting.
59522         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
59524 2012-03-08  Richard Henderson  <rth@twiddle.net>
59526         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
59527         from macro to inline function; merge with the
59528         !__LIBC_INTERNAL_MATH_INLINES version.
59529         (__ieee754_sqrtf): Likewise.
59531         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
59532         to inline function.
59533         (__rintf, __floor, __floorf): Likewise.
59535         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
59536         macro to inline function.
59537         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
59539         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
59540         not <math/math_private.h>.
59542 2012-03-08  David S. Miller  <davem@davemloft.net>
59544         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
59545         copyright year.
59546         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
59548 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
59550         * resolv/gai_misc.c (handle_requests): Fix struct timespec
59551         normalization.
59552         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
59553         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
59555 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
59557         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
59558         be defined individually, they must be defined as a block.  Define
59559         S for printing a string instead of hidint the different by using a
59560         macro for adding the 'l'.
59561         * stdio-common/tst-fphex-wide.c: Adjust.
59563 2012-03-07  Marek Polacek  <polacek@redhat.com>
59565         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
59567 2012-03-08  Marek Polacek  <polacek@redhat.com>
59569         [BZ #13806]
59570         * stdio-common/Makefile (tests): Add tst-fphex-wide.
59571         * stdio-common/tst-fphex.c: Define a few macros to make the
59572         test reusable.  Use them.
59573         * stdio-common/tst-fphex-wide.c: New file.
59575 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
59577         [BZ #6911]
59578         * manual/macros.texi (gnusystems): New macro.
59579         (nongnusystems): Likewise.
59580         (gnulinuxhurdsystems): Likewise.
59581         (gnuhurdsystems): Likewise..
59582         (gnulinuxsystems): Likewise.
59583         * manual/charset.texi: Use new macros or @theglibc{} to refer to
59584         variants of the GNU system, not "GNU system".
59585         * manual/conf.texi: Likewise.
59586         * manual/errno.texi: Likewise.  Update example of errno macro
59587         expansion.
59588         * manual/filesys.texi: Likewise.
59589         (getumask): Document as specific to GNU/Hurd.
59590         * manual/install.texi: Likewise.  Reword some references to
59591         GNU/Linux.
59592         * manual/intro.texi: Likewise.
59593         * manual/io.texi: Likewise.
59594         (File Name Portability): Detail which constraints are inapplicable
59595         to all GNU systems and which are only inapplicable to GNU/Hurd.
59596         * manual/job.texi: Likewise.
59597         * manual/llio.texi: Likewise.
59598         (O_NOCTTY): Document as present on GNU/Linux.
59599         * manual/maint.texi: Likewise.
59600         * manual/memory.texi: Likewise.
59601         * manual/pattern.texi: Likewise.
59602         * manual/pipe.texi: Likewise.
59603         * manual/process.texi: Likewise.
59604         * manual/resource.texi: Likewise.
59605         (RUSAGE_CHILDREN): Remove statement about specifying a particular
59606         child on GNU/Hurd.
59607         * manual/setjmp.texi: Likewise.
59608         * manual/signal.texi: Likewise.
59609         * manual/startup.texi: Likewise.
59610         * manual/stdio.texi: Likewise.
59611         * manual/terminal.texi: Likewise.
59612         (ONLCR): Document as POSIX.
59613         (OXTABS): Document availability on GNU/Linux as XTABS.
59614         (ONOEOT): Document availability separately from other bits.
59615         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
59616         * manual/time.texi: Likewise.
59617         * manual/users.texi: Likewise.
59618         * INSTALL: Regenerated.
59619         * sysdeps/gnu/errlist.c: Regenerated.
59621         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
59622         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
59623         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
59624         puts.
59625         * configure: Regenerated.
59627 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
59629         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
59630         default includes instead of AC_HEADER_CHECK.
59631         * sysdeps/i386/configure: Regenerated.
59633         [BZ #10716]
59634         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
59635         * math/s_cacoshf.c (__cacoshf): Likewise.
59636         * math/s_cacoshl.c (__cacoshl): Likewise.
59637         * math/s_casinh.c (__casinh): Set signs of result from argument.
59638         * math/s_casinhf.c (__casinhf): Likewise.
59639         * math/s_casinhl.c (__casinhl): Likewise.
59640         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
59641         (casinh_test): Add more tests.
59642         * sysdeps/i386/fpu/libm-test-ulps: Update.
59643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59645 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
59647         * po/zh_TW.po: Update from translation team.
59649         * login/Makefile (distribute): Remove variable.
59650         * catgets/Makefile: Likewise.
59651         * mach/Makefile: Likewise.
59652         * malloc/Makefile: Likewise.
59653         * misc/Makefile: Likewise.
59654         * iconv/Makefile: Likewise.
59655         * nscd/Makefile: Likewise.
59656         * hurd/Makefile: Likewise.
59657         * manual/Makefile: Likewise.
59658         * locale/Makefile: Likewise.
59659         * intl/Makefile: Likewise.
59660         * conform/Makefile: Likewise.
59661         * nss/Makefile: Likewise.
59662         * time/Makefile: Likewise.
59663         * soft-fp/Makefile: Likewise.
59664         * dirent/Makefile: Likewise.
59665         * gmon/Makefile: Likewise.
59666         * po/Makefile: Likewise.
59667         * rt/Makefile: Likewise.
59668         * socket/Makefile: Likewise.
59669         * math/Makefile: Likewise.
59670         * signal/Makefile: Likewise.
59671         * debug/Makefile: Likewise.
59672         * elf/Makefile: Likewise.
59673         * timezone/Makefile: Likewise.
59674         * stdlib/Makefile: Likewise.
59675         * iconvdata/Makefile: Likewise.
59676         * sunrpc/Makefile: Likewise.
59677         * io/Makefile: Likewise.
59678         * argp/Makefile: Likewise.
59679         * inet/Makefile: Likewise.
59680         * hesiod/Makefile: Likewise.
59681         * grp/Makefile: Likewise.
59682         * csu/Makefile: Likewise.
59683         * wctype/Makefile: Likewise.
59684         * crypt/Makefile: Likewise.
59685         * libio/Makefile: Likewise.
59686         * string/Makefile: Likewise.
59687         * nis/Makefile: Likewise.
59688         * resolv/Makefile: Likewise.
59689         * stdio-common/Makefile: Likewise.
59690         * wcsmbs/Makefile: Likewise.
59691         * dlfcn/Makefile: Likewise.
59692         * posix/Makefile: Likewise.
59694         [BZ #6959]
59695         * timezone/Makefile: Don't install timezone files, just the programs
59696         and scripts.
59698 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
59700         * nss/databases.def: Add missing gshadow entry.
59702         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
59704 2012-03-06  Marek Polacek  <polacek@redhat.com>
59706         [BZ #13726]
59707         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
59708         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
59709         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
59710         * stdio-common/tst-long-dbl-fphex.c: New file.
59712 2012-03-06  David S. Miller  <davem@davemloft.net>
59714         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59715         (set_obp_int): New function.
59716         (get_obp_int): New function.
59717         (__get_clockfreq_via_dev_openprom): Likewise.
59718         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
59719         Avoid unused variable warnings on 'val' and use builtin_expect.
59720         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
59721         __builtin_expect.
59722         (INLINE_CLONE_SYSCALL): Likewise.
59724 2012-03-05  David S. Miller  <davem@davemloft.net>
59726         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59728 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
59730         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59732         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
59733         only for |x| >= 40.
59734         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
59736 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
59738         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
59739         Replace gettimeofday with __vdso_gettimeofday.
59741         * sysdeps/unix/sysv/linux/x86_64/init-first.c
59742         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
59743         __vdso_clock_gettime and __vdso_getcpu.
59745         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
59746         time with __vdso_time.
59748 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
59750         * manual/lang.texi (size_t): Note types to which size_t may be
59751         equivalent with the GNU C Library, but do not describe when
59752         differences between them are significant.
59754 2012-03-05  Andreas Jaeger  <aj@suse.de>
59756         * sysdeps/i386/fpu/libm-test-ulps: Update.
59758 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
59760         [BZ #3976]
59761         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
59762         (__ieee754_pow): Save and restore rounding mode and use
59763         round-to-nearest for main computations.
59764         * math/libm-test.inc (pow_test_tonearest): New function.
59765         (pow_test_towardzero): Likewise.
59766         (pow_test_downward): Likewise.
59767         (pow_test_upward): Likewise.
59768         (main): Call the new functions.
59769         * sysdeps/i386/fpu/libm-test-ulps: Update.
59770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59772         [BZ #3976]
59773         * math/libm-test.inc (cosh_test_tonearest): New function.
59774         (cosh_test_towardzero): Likewise.
59775         (cosh_test_downward): Likewise.
59776         (cosh_test_upward): Likewise.
59777         (sinh_test_tonearest): Likewise.
59778         (sinh_test_towardzero): Likewise.
59779         (sinh_test_downward): Likewise.
59780         (sinh_test_upward): Likewise.
59781         (main): Call the new functions.
59782         * sysdeps/i386/fpu/libm-test-ulps: Update.
59783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59785 2012-03-05  Tom de Vries  <tom@codesourcery.com>
59787         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
59788         default stack guard is set in last bytes.
59789         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
59791 2012-03-05  Kees Cook  <keescook@chromium.org>
59793         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
59795         [BZ #13656]
59796         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
59797         possibly allocate from heap instead of stack.
59798         * stdio-common/bug-vfprintf-nargs.c: New file.
59799         * stdio-common/Makefile (tests): Add nargs overflow test.
59801 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
59803         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59805 2012-03-03  Marek Polacek  <polacek@redhat.com>
59807         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
59808         * math/math_private.h: Likewise.
59809         * stdlib/tst-strtod.c: Likewise.
59810         * sysdeps/i386/i486/bits/atomic.h: Likewise.
59811         * sysdeps/x86_64/bits/atomic.h: Likewise.
59813 2012-03-02  David S. Miller  <davem@davemloft.net>
59815         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
59816         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
59817         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
59818         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
59819         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
59820         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
59821         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
59822         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
59824 2012-03-02  Roland McGrath  <roland@hack.frob.com>
59826         [BZ #13792]
59827         * manual/examples/README: New file, says the example source files
59828         can be used under GPL>=2.
59829         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
59830         line containing just "*/".
59831         * manual/examples/add.c: Add copyright header (GPL>=2).
59832         * manual/examples/argp-ex1.c: Likewise.
59833         * manual/examples/argp-ex2.c: Likewise.
59834         * manual/examples/argp-ex3.c: Likewise.
59835         * manual/examples/argp-ex4.c: Likewise.
59836         * manual/examples/atexit.c: Likewise.
59837         * manual/examples/db.c: Likewise.
59838         * manual/examples/dir.c: Likewise.
59839         * manual/examples/dir2.c: Likewise.
59840         * manual/examples/execinfo.c: Likewise.
59841         * manual/examples/filecli.c: Likewise.
59842         * manual/examples/filesrv.c: Likewise.
59843         * manual/examples/fmtmsgexpl.c: Likewise.
59844         * manual/examples/genpass.c: Likewise.
59845         * manual/examples/inetcli.c: Likewise.
59846         * manual/examples/inetsrv.c: Likewise.
59847         * manual/examples/isockad.c: Likewise.
59848         * manual/examples/longopt.c: Likewise.
59849         * manual/examples/memopen.c: Likewise.
59850         * manual/examples/memstrm.c: Likewise.
59851         * manual/examples/mkfsock.c: Likewise.
59852         * manual/examples/mkisock.c: Likewise.
59853         * manual/examples/mygetpass.c: Likewise.
59854         * manual/examples/pipe.c: Likewise.
59855         * manual/examples/popen.c: Likewise.
59856         * manual/examples/rprintf.c: Likewise.
59857         * manual/examples/search.c: Likewise.
59858         * manual/examples/select.c: Likewise.
59859         * manual/examples/setjmp.c: Likewise.
59860         * manual/examples/sigh1.c: Likewise.
59861         * manual/examples/sigusr.c: Likewise.
59862         * manual/examples/stpcpy.c: Likewise.
59863         * manual/examples/strdupa.c: Likewise.
59864         * manual/examples/strftim.c: Likewise.
59865         * manual/examples/strncat.c: Likewise.
59866         * manual/examples/subopt.c: Likewise.
59867         * manual/examples/swapcontext.c: Likewise.
59868         * manual/examples/termios.c: Likewise.
59869         * manual/examples/testopt.c: Likewise.
59870         * manual/examples/testpass.c: Likewise.
59871         * manual/examples/timeval_subtract.c: Likewise.
59873         [BZ #13792]
59874         * manual/time.texi (Elapsed Time): Move timeval_subtract example
59875         function to ...
59876         * manual/timeval_subtract.c.texi: ... here, new file.
59878 2012-03-02  David S. Miller  <davem@davemloft.net>
59880         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
59882 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
59884         [BZ #3976]
59885         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
59886         (__sin): Save and restore rounding mode and use round-to-nearest
59887         for all computations.
59888         (__cos): Save and restore rounding mode and use round-to-nearest
59889         for all computations.
59890         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
59891         <fenv.h>.
59892         (tan): Save and restore rounding mode and use round-to-nearest for
59893         all computations.
59894         * math/libm-test.inc (cos_test_tonearest): New function.
59895         (cos_test_towardzero): Likewise.
59896         (cos_test_downward): Likewise.
59897         (cos_test_upward): Likewise.
59898         (sin_test_tonearest): Likewise.
59899         (sin_test_towardzero): Likewise.
59900         (sin_test_downward): Likewise.
59901         (sin_test_upward): Likewise.
59902         (tan_test_tonearest): Likewise.
59903         (tan_test_towardzero): Likewise.
59904         (tan_test_downward): Likewise.
59905         (tan_test_upward): Likewise.
59906         (main): Call the new functions.
59907         * sysdeps/i386/fpu/libm-test-ulps: Update.
59908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59910         [BZ #10135]
59911         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
59912         small n, then large n, before computing and testing k+n.
59913         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
59914         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
59915         Likewise.
59916         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
59917         Likewise.
59918         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
59919         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
59920         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
59921         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
59922         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
59923         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
59924         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
59925         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
59926         * math/libm-test.inc (scalbn_test): Add more tests.
59927         (scalbln_test): Likewise.
59929         * manual/filesys.texi (mode_t): Describe constraints on size and
59930         signedness, not exact equivalence to a particular type.
59931         (ino_t): Likewise.
59932         (ino64_t): Likewise.
59933         (dev_t): Likewise.
59934         (nlink_t): Likewise.
59935         (blkcnt_t): Likewise.
59936         (blkcnt64_t): Likewise.
59937         * manual/llio.texi (off_t): Likewise.
59939         [BZ #3976]
59940         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
59941         (__ieee754_exp): Save and restore rounding mode and use
59942         round-to-nearest for all computations.
59943         * math/libm-test.inc (exp_test_tonearest): New function.
59944         (exp_test_towardzero): Likewise.
59945         (exp_test_downward): Likewise.
59946         (exp_test_upward): Likewise.
59947         (main): Call the new functions.
59948         * sysdeps/i386/fpu/libm-test-ulps: Update.
59949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59951 2012-03-01  Chris Demetriou  <cgd@google.com>
59953         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
59954         have predictable order.
59956 2012-03-01  David S. Miller  <davem@davemloft.net>
59958         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
59960         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
59961         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
59962         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
59963         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
59965         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
59966         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
59967         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
59968         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
59969         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
59970         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
59971         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
59972         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
59973         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
59975         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59977         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
59978         * sysdeps/sparc/fpu/libm-test-ulps: to here.
59979         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
59981         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
59982         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
59983         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
59984         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
59985         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
59986         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
59987         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
59988         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
59989         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
59990         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
59991         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
59992         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
59993         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
59994         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
59995         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
59996         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
59997         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
59998         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
59999         * sysdeps/sparc/elf/configure: Regenerated.
60001 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
60003         * configure.in (AS, LD): Require binutils 2.20 or later.
60004         * configure: Regenerated.
60005         * manual/install.texi (Tools for Compilation): Give binutils 2.20
60006         as required minimum version.
60007         * INSTALL: Regenerated.
60009         [BZ #2541]
60010         [BZ #4108]
60011         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
60012         before squaring exponent.
60013         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
60014         bottom long double and 27 bits of top long double before squaring
60015         exponent.
60016         * math/libm-test.inc (erfc_test): Add more tests.
60017         * sysdeps/i386/fpu/libm-test-ulps: Update.
60018         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
60019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60021 2012-03-01  Kai Tietz  <ktietz@redhat.com>
60023         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
60024         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
60025         containing bit-fields.
60026         * soft-fp/extended.h (_FP_UNION_E): Likewise.
60027         * soft-fp/single.h (_FP_UNION_S): Likewise.
60028         * soft-fp/double.h (_FP_UNION_D): Likewise.
60030 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
60032         [BZ #13786]
60033         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
60034         not include ../strcmp.S.
60035         [USE_AS_STRNCASECMP_L]: Likewise.
60036         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
60037         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
60038         * sysdeps/i386/i686/multiarch/strncase_l-c.c
60039         (__strncasecmp_l_ia32): Define as alias to
60040         __strncasecmp_l_nonascii.
60042         [BZ #5794]
60043         * math/libm-test.inc (expm1_test): Add test for bug 5794.
60044         * sysdeps/i386/fpu/libm-test-ulps: Update.
60045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60047         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
60048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60050 2012-02-29  Jeff Law  <law@redhat.com>
60052         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
60053         out of bounds read.
60055 2012-02-29  Marek Polacek  <polacek@redhat.com>
60057         [BZ #13706]
60058         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
60059         * elf/Makefile: Add rules to run tst-unused-dep.out.
60061 2012-02-28  David S. Miller  <davem@davemloft.net>
60063         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
60064         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
60065         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
60066         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
60067         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
60068         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
60070 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
60072         * math/libm-test.inc (llround_test): Move one test from
60073         lround_test.  Use TEST_f_L in moved test.
60074         (lround_test): Move misplaced test to llround_test.  Add testcase
60075         from bug 2561.
60077 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
60079         * sysdeps/x86_64/fpu/e_expf.S: New file.
60080         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
60082 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
60084         [BZ #13637]
60085         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
60086         of remain_len that may cause incomplete multi-byte character and
60087         false match.
60088         * posix/bug-regex33.c: New file.
60089         * posix/Makefile (tests): Add bug-regex33.
60091 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
60093         * manual/macros.texi: New file.
60094         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
60095         * manual/libc.texinfo: Include macros.texi.
60096         * manual/creatute.texi: Likewise.
60097         * manual/install.texi: Likewise.
60098         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
60099         @glibcadj{} in references to the GNU C Library.
60100         * manual/charset.texi: Likewise.
60101         * manual/conf.texi: Likewise.
60102         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
60103         when not using those macros.
60104         * manual/creature.texi: Likewise.
60105         * manual/crypt.texi: Likewise.
60106         * manual/errno.texi: Likewise.
60107         * manual/filesys.texi: Likewise.
60108         * manual/header.texi: Likewise.
60109         * manual/install.texi: Likewise.
60110         * manual/intro.texi: Likewise.
60111         * manual/io.texi: Likewise.
60112         * manual/job.texi: Likewise.
60113         * manual/lang.texi: Likewise.
60114         * manual/libc.texiinfo: Likewise.
60115         * manual/llio.texi: Likewise.
60116         * manual/locale.texi: Likewise.
60117         * manual/maint.texi: Likewise.
60118         * manual/math.texi: Likewise.
60119         * manual/memory.texi: Likewise.
60120         * manual/message.texi: Likewise.
60121         * manual/nss.texi: Likewise.
60122         * manual/pattern.texi: Likewise.
60123         * manual/process.texi: Likewise.
60124         * manual/resource.texi: Likewise.
60125         * manual/search.texi: Likewise.
60126         * manual/setjmp.texi: Likewise.
60127         * manual/signal.texi: Likewise.
60128         * manual/socket.texi: Likewise.
60129         * manual/startup.texi: Likewise.
60130         * manual/stdio.texi: Likewise.
60131         * manual/string.texi: Likewise.
60132         * manual/sysinfo.texi: Likewise.
60133         * manual/syslog.texi: Likewise.
60134         * manual/terminal.texi: Likewise.
60135         * manual/time.texi: Likewise.
60136         * manual/users.texi: Likewise.
60137         * INSTALL: Regenerated.
60138         * NOTES: Regenerated.
60139         * sysdeps/gnu/errlist.c: Regenerated.
60141 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
60143         * include/dirent.h: Include <dirstream.h> before
60144         <dirent/dirent.h>.
60146 2012-02-28  David S. Miller  <davem@davemloft.net>
60148         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
60149         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
60150         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
60151         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
60153 2012-02-27  David S. Miller  <davem@davemloft.net>
60155         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
60156         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
60157         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
60158         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
60160         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
60161         frame pointer instead of stack pointer relative arg slot.
60162         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
60163         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
60164         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
60166 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
60168         [BZ #3992]
60169         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
60171 2012-02-27  David S. Miller  <davem@davemloft.net>
60173         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
60174         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
60175         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
60176         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
60177         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
60178         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
60179         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
60180         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
60182 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
60184         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
60185         later.  Allow versions 5-9.
60186         * configure: Regenerated.
60187         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
60188         required minimum version and 4.6 as recommended version.  Do not
60189         mention bugs in GCC 2.7 and 2.8.
60190         * INSTALL: Regenerated.
60192 2012-02-27  David S. Miller  <davem@davemloft.net>
60194         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
60195         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
60196         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
60197         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
60198         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
60199         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
60200         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
60201         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
60203         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
60204         manipulate bits before adding and subtracting TWO112[sx].
60205         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
60207 2012-02-27  Roland McGrath  <roland@hack.frob.com>
60209         [BZ #13775]
60210         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
60211         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
60212         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
60213         being in POSIX, because they are in 1003.1-2008.
60215         * rt/tst-aio.c: Include <fcntl.h>.
60216         * rt/tst-aio7.c: Likewise.
60217         * rt/tst-aio64.c: Likewise.
60219         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
60221 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
60223         * manual/install.texi (--with-headers): Describe headers as
60224         interface headers, not private headers.
60225         (Specific advice for GNU/Linux systems): Describe use of headers
60226         from "make headers_install", not private headers from older
60227         kernels.
60228         * INSTALL: Regenerated.
60229         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
60230         Change to 2.6.19.
60231         * sysdeps/unix/sysv/linux/configure: Regenerated.
60233         * manual/llio.texi (fclean): Remove documentation.
60235         * manual/Makefile (libc-texi-generated): New variable.  Include
60236         version.texi.
60237         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
60238         $(libc-texi-generated), not duplicated list of files.
60239         (version.texi, stamp-version): New rules.
60240         (realclean): Remove $(libc-texi-generated), not individual files
60241         from that list.  Do not remove dir-add.texinfo.
60242         * manual/libc.texinfo: Comment out uses of edition numbers and
60243         references to printed manual.  Remove last-updated dates.
60244         (EDITION): Comment out.
60245         (ISBN): Likewise.
60246         (VERSION, UPDATED): Remove.
60247         (version.texi): Include.
60249 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
60251         * sysdeps/posix/spawni.c: Include <signal.h>.
60252         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
60253         * sysdeps/pthread/aio_fsync.c: Likewise.
60255 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
60257         * conform/Makefile (tests): Run only when not cross-compiling and
60258         when fast-check is not defined.
60260         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
60261         * conform/data/limits.h-data: Fixes for POSIX2008.
60262         * conform/run-conformtest.sh: Run all tests.
60263         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
60264         headers.
60265         * include/bits/dlfcn.h: Likewise.
60266         * include/langinfo.h: Likewise.
60267         * include/monetary.h: Likewise.
60268         * include/sys/poll.h: Likewise.
60270         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
60271         for __USE_GNU.
60272         * posix/spawn.h: Define __need_sigset_t.
60273         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
60274         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
60275         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
60276         to get sigevent_t only.
60277         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
60278         only for __USE_GNU.
60279         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60280         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
60281         process_vm_writev only for __USE_GNU.
60282         * termios/termios.h: Declare tcgetsid also for POSIX2008.
60284         * conform/Makefile: For now ignore errors from run-conformtest.
60285         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
60286         POSIX to avoid namespace pollution.  Don't prepend headers.
60287         * conform/data/aio.h-data: Fixes for POSIX testing.
60288         * conform/data/fcntl.h-data: Likewise.
60289         * conform/data/glob.h-data: Likewise.
60290         * conform/data/grp.h-data: Likewise.
60291         * conform/data/pthread.h-data: Likewise.
60292         * conform/data/pwd.h-data: Likewise.
60293         * conform/data/signal.h-data: Likewise.
60294         * conform/data/spawn.h-data: Likewise.
60295         * conform/data/stdio.h-data: Likewise.
60296         * conform/data/stdlib.h-data: Likewise.
60297         * conform/data/stropts.h-data: Likewise.
60298         * conform/data/sys/mman.h-data: Likewise.
60299         * conform/data/sys/stat.h-data: Likewise.
60300         * conform/data/sys/types.h-data: Likewise.
60301         * conform/data/sys/wait.h-data: Likewise.
60302         * conform/data/time.h-data: Likewise.
60303         * conform/data/unistd.h-data: Likewise.
60304         * conform/data/utime.h-data: Likewise.
60306         * io/sys/stat.h: fchmod was always in POSIX.
60307         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
60308         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
60309         * rt/aio.h: Define __need_timespec before including <time.h>.
60310         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
60311         struct.  Add forward declaration of pthread_attr_t and use it in
60312         sigevent.
60313         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
60314         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
60315         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
60316         always remove CLK_TCK definition.
60318 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
60320         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
60322 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
60324         * conform/run-conformtest.sh: New file.
60325         * conform/Makefile: Run run-conformtest for tests.
60326         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
60327         support.
60329         * conform/data/uchar.h-data: New file.
60330         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
60331         * conform/data/arpa/inet.h-data: Likewise.
60332         * conform/data/assert.h-data: Likewise.
60333         * conform/data/complex.h-data: Likewise.
60334         * conform/data/cpio.h-data: Likewise.
60335         * conform/data/ctype.h-data: Likewise.
60336         * conform/data/dirent.h-data: Likewise.
60337         * conform/data/dlfcn.h-data: Likewise.
60338         * conform/data/errno.h-data: Likewise.
60339         * conform/data/fcntl.h-data: Likewise.
60340         * conform/data/float.h-data: Likewise.
60341         * conform/data/fmtmsg.h-data: Likewise.
60342         * conform/data/fnmatch.h-data: Likewise.
60343         * conform/data/ftw.h-data: Likewise.
60344         * conform/data/glob.h-data: Likewise.
60345         * conform/data/grp.h-data: Likewise.
60346         * conform/data/iconv.h-data: Likewise.
60347         * conform/data/inttypes.h-data: Likewise.
60348         * conform/data/langinfo.h-data: Likewise.
60349         * conform/data/libgen.h-data: Likewise.
60350         * conform/data/limits.h-data: Likewise.
60351         * conform/data/locale.h-data: Likewise.
60352         * conform/data/math.h-data: Likewise.
60353         * conform/data/monetary.h-data: Likewise.
60354         * conform/data/mqueue.h-data: Likewise.
60355         * conform/data/ndbm.h-data: Likewise.
60356         * conform/data/net/if.h-data: Likewise.
60357         * conform/data/netdb.h-data: Likewise.
60358         * conform/data/netinet/in.h-data: Likewise.
60359         * conform/data/nl_types.h-data: Likewise.
60360         * conform/data/poll.h-data: Likewise.
60361         * conform/data/pthread.h-data: Likewise.
60362         * conform/data/pwd.h-data: Likewise.
60363         * conform/data/regex.h-data: Likewise.
60364         * conform/data/sched.h-data: Likewise.
60365         * conform/data/search.h-data: Likewise.
60366         * conform/data/semaphore.h-data: Likewise.
60367         * conform/data/setjmp.h-data: Likewise.
60368         * conform/data/signal.h-data: Likewise.
60369         * conform/data/spawn.h-data: Likewise.
60370         * conform/data/stdarg.h-data: Likewise.
60371         * conform/data/stdio.h-data: Likewise.
60372         * conform/data/stdlib.h-data: Likewise.
60373         * conform/data/string.h-data: Likewise.
60374         * conform/data/strings.h-data: Likewise.
60375         * conform/data/stropts.h-data: Likewise.
60376         * conform/data/sys/ipc.h-data: Likewise.
60377         * conform/data/sys/mman.h-data: Likewise.
60378         * conform/data/sys/msg.h-data: Likewise.
60379         * conform/data/sys/resource.h-data: Likewise.
60380         * conform/data/sys/select.h-data: Likewise.
60381         * conform/data/sys/sem.h-data: Likewise.
60382         * conform/data/sys/shm.h-data: Likewise.
60383         * conform/data/sys/socket.h-data: Likewise.
60384         * conform/data/sys/stat.h-data: Likewise.
60385         * conform/data/sys/statvfs.h-data: Likewise.
60386         * conform/data/sys/time.h-data: Likewise.
60387         * conform/data/sys/timeb.h-data: Likewise.
60388         * conform/data/sys/times.h-data: Likewise.
60389         * conform/data/sys/types.h-data: Likewise.
60390         * conform/data/sys/uio.h-data: Likewise.
60391         * conform/data/sys/un.h-data: Likewise.
60392         * conform/data/sys/utsname.h-data: Likewise.
60393         * conform/data/sys/wait.h-data: Likewise.
60394         * conform/data/syslog.h-data: Likewise.
60395         * conform/data/tar.h-data: Likewise.
60396         * conform/data/termios.h-data: Likewise.
60397         * conform/data/utime.h-data: Likewise.
60398         * conform/data/utmpx.h-data: Likewise.
60399         * conform/data/varargs.h-data: Likewise.
60400         * conform/data/wchar.h-data: Likewise.
60401         * conform/data/wctype.h-data: Likewise.
60402         * conform/data/wordexp.h-data: Likewise.
60404         * include/stropts.h: New file.
60405         * include/uchar.h: New file.
60406         * include/aio.h: Changes to allow conformtest.pl to use the headers.
60407         * include/assert.h: Likewise.
60408         * include/ctype.h: Likewise.
60409         * include/dirent.h: Likewise.
60410         * include/dlfcn.h: Likewise.
60411         * include/fcntl.h: Likewise.
60412         * include/fnmatch.h: Likewise.
60413         * include/glob.h: Likewise.
60414         * include/grp.h: Likewise.
60415         * include/libio.h: Likewise.
60416         * include/locale.h: Likewise.
60417         * include/math.h: Likewise.
60418         * include/net/if.h: Likewise.
60419         * include/netdb.h: Likewise.
60420         * include/netinet/in.h: Likewise.
60421         * include/pthread.h: Likewise.
60422         * include/pwd.h: Likewise.
60423         * include/regex.h: Likewise.
60424         * include/sched.h: Likewise.
60425         * include/search.h: Likewise.
60426         * include/setjmp.h: Likewise.
60427         * include/signal.h: Likewise.
60428         * include/stdio.h: Likewise.
60429         * include/stdlib.h: Likewise.
60430         * include/string.h: Likewise.
60431         * include/sys/cdefs.h: Likewise.
60432         * include/sys/mman.h: Likewise.
60433         * include/sys/msg.h: Likewise.
60434         * include/sys/resource.h: Likewise.
60435         * include/sys/select.h: Likewise.
60436         * include/sys/socket.h: Likewise.
60437         * include/sys/stat.h: Likewise.
60438         * include/sys/statvfs.h: Likewise.
60439         * include/sys/time.h: Likewise.
60440         * include/sys/times.h: Likewise.
60441         * include/sys/uio.h: Likewise.
60442         * include/sys/utsname.h: Likewise.
60443         * include/sys/wait.h: Likewise.
60444         * include/termios.h: Likewise.
60445         * include/time.h: Likewise.
60446         * include/ulimit.h: Likewise.
60447         * include/unistd.h: Likewise.
60448         * include/utime.h: Likewise.
60449         * include/wchar.h: Likewise.
60450         * include/wctype.h: Likewise.
60451         * include/wordexp.h: Likewise.
60453         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
60455         * time/time.h: TIME_UTC must be a macro.
60456         Make timespec_get available for ISO C11 only as well.
60458 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
60460         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
60461         Reported by Peng Haitao <penght@cn.fujitsu.com>.
60463 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
60465         * configure.in: Use -o not -a in test for unsupported multi-arch.
60467 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
60469         * manual/texinfo.tex: Update to version 2012-01-19.16.
60471 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
60473         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
60475 2012-02-24  Roland McGrath  <roland@hack.frob.com>
60477         [BZ #13738]
60478         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
60479         * manual/fdl-1.3.texi: New file.
60480         * manual/fdl-1.1.texi: File removed.
60482         [BZ #13738]
60483         * manual/libc.texinfo (FDL_VERSION): New @set.
60484         Use it for mention of FDL in cover text.
60485         (Documentation License): Use it in @include file name.
60487 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
60488             Roland McGrath  <roland@hack.frob.com>
60490         [BZ #5461]
60491         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
60492         (not LONG_LONG_MAX and LONG_LONG_MIN.
60493         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
60494         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
60495         name.
60496         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
60498 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
60500         [BZ #2547]
60501         [BZ #11365]
60502         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
60503         manipulate bits before adding and subtracting TWO23[sx].
60504         * math/libm-test.inc (nearbyint_test): Add more tests.
60506 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
60508         [BZ #2548]
60509         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
60510         bits before adding and subtracting TWO23[sx].
60511         * math/libm-test.inc (rint_test): Add more tests.
60512         (rint_test_tonearest): Likewise.
60513         (rint_test_towardzero): Likewise.
60514         (rint_test_downward): Likewise.
60515         (rint_test_upward: Likewise.
60517 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
60519         [BZ #10110]
60520         * include/stdc-predef.h: New file.  Extracted from features.h.
60521         * include/features.h: Include stdc-predef.h.
60522         * Makefile (headers): Add stdc-predef.h.
60523         * CONFORMANCE (Compiler limitations): Update.
60525 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
60527         * manual/libc.texinfo (VERSION, UPDATED): Revert.
60529 2012-02-21  David S. Miller  <davem@davemloft.net>
60531         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
60532         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
60534 2012-02-20  David S. Miller  <davem@davemloft.net>
60536         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
60537         using a normal save/restore sequence, rather than allocating a
60538         dummy stack frame just to store a frame pointer and restore.
60539         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
60541 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
60543         * manual/install.texi: Fix stray word in line-wrapped comment.
60545 2012-02-20  David S. Miller  <davem@davemloft.net>
60547         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
60548         both binutils and gcc support GOTDATA.
60550         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
60551         "rd %pc" in the PIC register setup sequences.
60553         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
60554         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
60555         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
60556         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
60557         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
60558         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
60559         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
60560         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
60561         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
60562         (SYSCALL_ERROR_HANDLER): Likewise.
60563         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
60564         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
60565         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
60566         (SYSCALL_ERROR_HANDLER): Likewise.
60568         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
60569         (HAVE_GCC_GOTDATA): New.
60570         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
60571         relocation support in both binutils and gcc.
60572         * sysdeps/sparc/elf/configure: Regenerate.
60574         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
60575         * sysdeps/sparc/sparc32/elf/configure: Delete.
60576         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
60577         * sysdeps/sparc/sparc64/elf/configure: Delete.
60578         * sysdeps/sparc/elf/configure.in: New file.
60579         * sysdeps/sparc/elf/configure: Generate.
60581         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
60582         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
60583         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
60584         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
60585         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
60587 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
60589         * manual/install.texi: Do not mention specific glibc version
60590         numbers.
60591         * manual/libc.texinfo (VERSION, UPDATED): Update.
60592         (@copying): Use @copyright{} and range of years.
60594 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
60596         [BZ #13695]
60597         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
60598         [crti.S not in sysdirs] (generated): Do not append.
60599         [crti.S not in sysdirs] (omit-deps): Likewise.
60600         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
60601         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
60602         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
60603         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
60604         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
60605         Likewise.
60606         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
60607         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
60608         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
60609         * csu/defs.awk: Remove file.
60610         * sysdeps/generic/initfini.c: Likewise.
60611         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
60612         variable.
60613         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
60614         Likewise.
60616 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
60618         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
60619         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
60620         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
60621         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
60622         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
60623         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
60624         <bits/epoll.h>.
60625         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
60626         (__EPOLL_PACKED): Define to empty if not defined by
60627         <bits/epoll.h>.
60628         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
60629         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60630         bits/epoll.h.
60632 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
60634         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
60635         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
60636         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
60637         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
60638         <bits/timerfd.h>.
60639         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
60640         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60641         bits/timerfd.h.
60643 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
60645         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
60646         in C locale.
60647         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
60648         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
60649         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
60650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60652 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
60654         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60655         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
60657 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
60659         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
60660         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
60661         defined.
60662         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
60663         Likewise.
60664         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
60665         entry for 2.16.
60667 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
60669         * math/w_acos.c: Use non-signaling floating-point comparisons.
60670         * math/w_acosf.c: Likewise.
60671         * math/w_acosh.c: Likewise.
60672         * math/w_acoshf.c: Likewise.
60673         * math/w_acoshl.c: Likewise.
60674         * math/w_acosl.c: Likewise.
60675         * math/w_asin.c: Likewise.
60676         * math/w_asinf.c: Likewise.
60677         * math/w_asinl.c: Likewise.
60678         * math/w_atanh.c: Likewise.
60679         * math/w_atanhf.c: Likewise.
60680         * math/w_atanhl.c: Likewise.
60681         * math/w_exp2.c: Likewise.
60682         * math/w_exp2f.c: Likewise.
60683         * math/w_exp2l.c: Likewise.
60684         * math/w_j0.c: Likewise.
60685         * math/w_j0f.c: Likewise.
60686         * math/w_j0l.c: Likewise.
60687         * math/w_j1.c: Likewise.
60688         * math/w_j1f.c: Likewise.
60689         * math/w_j1l.c: Likewise.
60690         * math/w_jn.c: Likewise.
60691         * math/w_jnf.c: Likewise.
60692         * math/w_log.c: Likewise.
60693         * math/w_log10.c: Likewise.
60694         * math/w_log10f.c: Likewise.
60695         * math/w_log10l.c: Likewise.
60696         * math/w_log2.c: Likewise.
60697         * math/w_log2f.c: Likewise.
60698         * math/w_log2l.c: Likewise.
60699         * math/w_logf.c: Likewise.
60700         * math/w_logl.c: Likewise.
60701         * math/w_sqrt.c: Likewise.
60702         * math/w_sqrtf.c: Likewise.
60703         * math/w_sqrtl.c: Likewise.
60704         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
60705         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
60706         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
60707         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
60708         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
60710 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
60712         [BZ #9739]
60713         * manual/string.texi (strnlen): Use correct parameter name in
60714         equivalent expression.
60716 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
60718         [BZ #11174]
60719         * manual/users.texi (seteuid): Consistently use neweuid for
60720         argument name.
60722 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
60724         [BZ #13704]
60725         * manual/nss.texi (Services in the NSS configuration): Correct
60726         list of services in example configuration file.
60728 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
60730         [BZ #11322]
60731         * manual/arith.texi: Remove statements about negative zero
60732         behaving identically to zero.
60734 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
60736         [BZ #5993]
60737         * manual/install.texi: Do not document upgrading from libc5.
60739 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
60741         [BZ #4596]
60742         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
60744 2012-02-18  David S. Miller  <davem@davemloft.net>
60746         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
60747         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
60748         %o7 across the call.
60749         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
60750         instead.
60751         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
60752         SETUP_PIC_REG_LEAF.
60753         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
60754         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
60755         * sysdeps/sparc/crtn.S: Likewise.
60757 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
60759         * aout/Makefile: Remove.
60761 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
60763         [BZ #13058]
60764         * manual/examples/argp-ex1.c (main): Format definition in GNU
60765         style.
60766         * manual/examples/argp-ex2.c (main): Likewise.
60767         * manual/examples/argp-ex3.c (main): Likewise.
60768         * manual/examples/argp-ex4.c (main): Likewise.
60769         * manual/examples/longopt.c (main): Use new-style prototype
60770         definition.
60771         * manual/examples/strncat.c (main): Specify return type and use
60772         (void) for arguments.
60773         * manual/examples/subopt.c (main): Use char **argv argument.
60775 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
60777         [BZ #5077]
60778         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
60779         rounding modes.
60781 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
60783         [BZ #6907]
60784         * manual/string.texi (strchr): Change when strchrnul is
60785         recommended.
60787 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
60789         [BZ #174]
60790         * manual/locale.texi (setlocale): Document LOCPATH.
60792 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
60794         [BZ #10210]
60795         * manual/process.texi (execle): Move @dots{} before last argument.
60797 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
60799         [BZ #12047]
60800         * manual/charset.texi (Generic Charset Conversion): Fix typo
60801         (LC_TYPE -> LC_CTYPE).
60803 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
60805         [BZ #5805]
60806         * manual/arith.texi (scalbn): Use @var{} on parameter names.
60807         (scalbnf): Likewise.
60808         (scalbnl): Likewise.
60809         (scalbln): Likewise.
60810         (scalblnf): Likewise.
60811         (scalblnl): Likewise.
60812         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
60813         (vwarnx): Likewise.
60814         (verr): Likewise.
60815         (verrx): Likewise.
60816         * manual/filesys.texi (telldir): Use braces around return type.
60817         * manual/llio.texi (mmap): Add space after comma.
60818         (mmap64): Likewise.
60819         * manual/math.texi (jn): Use @var{} on parameter names.
60820         (jnf): Likewise.
60821         (jnl): Likewise.
60822         (yn): Likewise.
60823         (ynf): Likewise.
60824         (ynl): Likewise.
60825         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
60826         line.
60827         * manual/resource.texi (ulimit): Use @dots{} instead of literal
60828         "...".
60829         (sched_get_priority_min): Remove semicolon on @deftypefun line.
60830         (sched_get_priority_max): Likewise.
60831         * manual/signal.texi (sigvec): Add space after comma.
60832         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
60833         names.
60834         (if_indextoname): Likewise.
60835         (if_freenameindex): Likewise.
60836         (sendto): Use ',' instead of '.' in prototype.
60837         * manual/startup.texi (syscall): Use @dots{} instead of literal
60838         "...".
60839         * manual/stdio.texi (__fpending): Separate initial words of
60840         paragraph from @deftypefun line.
60841         * manual/syslog.texi (syslog): Use @dots{} instead of literal
60842         "...".
60843         (vsyslog): Use @var{} on parameter names.
60844         * manual/terminal.texi (stty): Use @var{} on parameter names.
60845         * manual/users.texi (getutmp): Use @var{} on parameter names.
60846         (getutmpx): Likewise.
60848 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
60850         [BZ #6884]
60851         * manual/stdio.texi (fopen): Fix typos in description of
60852         ",ccs=STRING".
60854 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
60856         [BZ #4026]
60857         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
60858         get clock_id definition.
60860 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
60862         [BZ #4822]
60863         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
60864         (madvise): Cast every argument to void on its own.
60866 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
60868         [BZ #9902]
60869         * manual/startup.texi (Exit Status): Fix typo.
60871 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
60873         [BZ #10140]
60874         * manual/examples/argp-ex1.c: Include <stdlib.h>.
60875         * manual/examples/argp-ex2.c: Likewise.
60876         * manual/examples/argp-ex3.c: Likewise.
60878 2012-02-16  Richard Henderson  <rth@redhat.com>
60880         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
60881         * sysdeps/s390/s390-32/initfini.c: Remove.
60882         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
60883         * sysdeps/s390/s390-64/initfini.c: Remove.
60885 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60887         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
60888         compiler output for sysdeps/generic/initfini.c.
60889         * sysdeps/sh/elf/initfini.c: Remove file.
60891 2012-02-16  David S. Miller  <davem@davemloft.net>
60893         [BZ #11494]
60894         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
60896         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
60897         * sysdeps/sparc/crti.S: New file.
60898         * sysdeps/sparc/crtn.S: New file.
60899         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
60900         * sysdeps/sparc/sparc64/Makefile: Likewise.
60902 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
60904         [BZ #3335]
60905         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
60907 2012-02-15  Roland McGrath  <roland@hack.frob.com>
60909         [BZ #4822]
60910         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
60912         * mach/devstream.c (cookie_io_functions_t): Macro removed.
60913         (write, read, close): Likewise.
60914         Patch by Aurelien Jarno <aurelien@aurel32.net>.
60916 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
60918         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
60919         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
60920         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
60921         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
60922         <bits/signalfd.h>.
60923         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
60924         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60925         bits/signalfd.h.
60927 2012-02-14  Marek Polacek  <polacek@redhat.com>
60929         * sysdeps/x86_64/crti.S: New file.
60930         * sysdeps/x86_64/crtn.S: New file.
60931         * sysdeps/x86_64/elf/initfini.c: Remove file.
60933 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
60935         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
60936         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
60937         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
60938         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
60939         <bits/inotify.h>.
60940         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
60941         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60942         bits/inotify.h.
60944 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
60946         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
60947         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
60948         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
60949         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
60950         <bits/eventfd.h>.
60951         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
60952         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60953         bits/eventfd.h.
60955 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
60957         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
60958         __feraiseexcept instead of feraiseexcept.
60960         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
60961         nanosleep invocations.
60962         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
60963         strings, and add error checking for a nanosleep invocations.
60965 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
60967         Replace FSF snail mail address with URLs, as per GNU coding standards.
60968         Most of the snail mail addresses were wrong anyway, and omitting
60969         them makes the source code easier to maintain.  Almost all of the
60970         changes are to license notices and to locale LC_IDENTIFICATION
60971         addresses, except for this one:
60972         * manual/libc.texinfo: In "Published by", give the FSF's URL,
60973         not its snail mail address.
60975 2012-02-09  Richard Henderson  <rth@twiddle.net>
60977         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
60978         of kernel-features.h.
60980         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
60982 2012-02-08  Marek Polacek  <polacek@redhat.com>
60984         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
60985         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
60986         * sysdeps/gnu/_G_config.h: Likewise.
60987         * sysdeps/generic/_G_config.h: Likewise.
60989 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
60991         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
60992         tests.
60993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60995         * sysdeps/powerpc/powerpc32/crti.S: New file.
60996         * sysdeps/powerpc/powerpc32/crtn.S: New file.
60997         * sysdeps/powerpc/powerpc64/crti.S: New file.
60998         * sysdeps/powerpc/powerpc64/crtn.S: New file.
61000         * Makeconfig (have-initfini): Don't set.
61001         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
61002         * configure.in (nopic_initfini): Don't substitute.
61003         * config.h.in (HAVE_INITFINI): Don't #undef.
61004         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
61005         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
61007 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
61009         Support crti.S and crtn.S provided directly by architectures.
61010         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
61011         [crti.S in sysdirs] (omit-deps): Likewise.
61012         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
61013         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
61014         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
61015         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
61016         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
61017         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
61018         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
61019         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
61020         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
61021         compiler output for sysdeps/generic/initfini.c.
61022         * sysdeps/i386/elf/Makefile: Remove file.
61023         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
61025 2012-02-07  Marek Polacek  <polacek@redhat.com>
61027         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
61028         * sysdeps/gnu/_G_config.h: Likewise.
61029         * sysdeps/mach/hurd/_G_config.h: Likewise.
61031 2012-02-07  Marek Polacek  <polacek@redhat.com>
61033         * math/Makefile (tests): Add tst-CMPLX2.
61034         * math/tst-CMPLX2.c: New file.
61036 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
61038         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
61040         * math/libm-test.inc (jn_test): Add missing L suffix.
61042 2012-02-06  Marek Polacek  <polacek@redhat.com>
61044         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
61045         * sysdeps/i386/fpu/e_powf.S: Likewise.
61046         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
61047         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
61048         * sysdeps/i386/fpu/e_acosh.S: Likewise.
61049         * sysdeps/i386/fpu/e_pow.S: Likewise.
61050         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
61051         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
61052         * sysdeps/i386/fpu/s_expm1.S: Likewise.
61053         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
61054         * sysdeps/i386/fpu/e_log2.S: Likewise.
61055         * sysdeps/i386/fpu/e_log2l.S: Likewise.
61056         * sysdeps/i386/fpu/e_scalb.S: Likewise.
61057         * sysdeps/i386/fpu/e_powl.S: Likewise.
61058         * sysdeps/i386/fpu/s_log1p.S: Likewise.
61059         * sysdeps/i386/fpu/e_log10f.S: Likewise.
61060         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
61061         * sysdeps/i386/fpu/e_logl.S: Likewise.
61062         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
61063         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
61064         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
61065         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
61066         * sysdeps/i386/fpu/e_log2f.S: Likewise.
61067         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
61068         * sysdeps/i386/fpu/e_log.S: Likewise.
61069         * sysdeps/i386/fpu/s_cexp.S: Likewise.
61070         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
61071         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
61072         * sysdeps/i386/fpu/e_logf.S: Likewise.
61073         * sysdeps/i386/fpu/e_log10l.S: Likewise.
61074         * sysdeps/i386/fpu/e_atanh.S: Likewise.
61075         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
61076         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
61077         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
61078         * sysdeps/i386/fpu/e_log10.S: Likewise.
61079         * sysdeps/i386/fpu/s_frexp.S: Likewise.
61080         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
61081         * sysdeps/i386/fpu/s_asinh.S: Likewise.
61082         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
61083         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
61084         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
61085         * sysdeps/i386/asm-syntax.h: Likewise.
61086         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
61087         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
61088         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
61089         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
61090         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
61091         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
61092         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
61093         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
61094         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
61095         * sysdeps/powerpc/sysdep.h: Likewise.
61096         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
61097         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
61099 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
61101         [BZ #411]
61102         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
61104 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
61106         * sysdeps/i386/sysdep.h: Include <features.h>.
61107         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
61108         version.
61110 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
61112         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
61113         Define.
61114         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
61115         LOAD_PIC_REG_STR.
61117 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
61119         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
61120         (SETUP_PIC_REG): Use GET_PC_THUNK.
61121         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
61122         macro.
61124 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
61126         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
61127         for non-PIC compilation.
61128         (SETUP_PIC_REG): Add .p2align directive.
61129         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
61130         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
61131         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
61132         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
61133         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
61134         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
61135         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
61136         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
61137         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
61138         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
61139         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
61140         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
61141         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
61142         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
61143         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
61144         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
61145         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
61146         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
61147         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
61148         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
61149         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
61150         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
61151         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
61152         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
61153         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
61154         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
61155         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
61156         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
61157         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
61158         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
61159         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
61160         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
61161         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
61162         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
61163         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
61164         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
61165         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
61166         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
61167         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
61168         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
61169         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
61171 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
61173         * math/tst-CMPLX.c: Include <stdio.h>.
61175 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
61177         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
61178         float.
61179         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
61180         * sysdeps/sparc/bits/mathdef.h: Likewise.
61182 2012-01-31  Marek Polacek  <polacek@redhat.com>
61184         * libio/libio.h: Don't define _PARAMS.
61185         * locale/programs/config.h: Don't define PARAMS.
61186         * stdlib/strtol_l.c: Likewise.
61187         (__strtol_l): Remove PARAMS from the prototype.
61189 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
61191         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
61192         names.  Just use the correct names.  Remove unnecessary wrapper
61193         functions.
61194         * malloc/arena.c: Likewise.
61195         * malloc/hooks.c: Likewise.
61197         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
61198         ARENA_TEST says not to.  Simplify test for creation of a new arena.
61199         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
61201 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
61203         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
61204         into tail calls.
61205         (update_get_addr): New function.
61206         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
61207         GET_ADDR_MODULE parameter.
61209 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
61211         * crypt/cert.c: Remove __STDC__ conditionals.
61212         * crypt/crypt-entry.c: Likewise.
61213         * crypt/crypt_util.c: Likewise.
61214         * libio/filedoalloc.c: Likewise.
61215         * libio/fileops.c: Likewise.
61216         * libio/genops.c: Likewise.
61217         * libio/iofclose.c: Likewise.
61218         * libio/iofdopen.c: Likewise.
61219         * libio/iofopen.c: Likewise.
61220         * libio/iofopen64.c: Likewise.
61221         * libio/iogetdelim.c: Likewise.
61222         * libio/iopopen.c: Likewise.
61223         * libio/obprintf.c: Likewise.
61224         * libio/oldfileops.c: Likewise.
61225         * libio/oldiofclose.c: Likewise.
61226         * libio/oldiofdopen.c: Likewise.
61227         * libio/oldiofopen.c: Likewise.
61228         * libio/oldiopopen.c: Likewise.
61229         * libio/wfiledoalloc.c: Likewise.
61230         * libio/wgenops.c: Likewise.
61231         * locale/programs/xmalloc.c: Likewise.
61232         * misc/syslog.c: Likewise.
61233         * stdio-common/xbug.c: Likewise.
61234         * string/memchr.c: Likewise.
61235         * string/memcmp.c: Likewise.
61236         * string/memrchr.c: Likewise.
61237         * string/rawmemchr.c: Likewise.
61238         * sysdeps/posix/getcwd.c: Likewise.
61239         * time/strftime_l.c: Likewise.
61241 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
61243         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
61244         * config.make.in (config-cflags-sse2avx): Define.
61245         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
61246         Fix typo.
61248 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
61250         * scripts/config.guess: Update from upstream config git repository.
61251         * scripts/config.sub: Likewise.
61253 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
61255         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
61256         (EM_NUM): Update.
61257         (R_TILEPRO_*, R_TILEGX_*): New macros.
61259         * scripts/firstversions.awk: Fix bug in version range handling.
61261         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
61263         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
61265         * include/sys/epoll.h: New file.
61266         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
61267         libc_hidden_def.
61269 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
61271         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
61272         Avoid unnecessary __WORDSIZE == 64 test.
61273         (fmaxf): Use VEX format if possible.
61274         (fmax): Likewise.
61275         (fminf): Likewise.
61276         (fmin): Likewise.
61278         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
61279         * math/math_private.h: Remove libc_fegetround* and
61280         libc_fesetround*.
61281         * sysdeps/i386/configure.in: Check for -msse2avx.
61282         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
61283         also if SSE2AVX is defined.
61284         Remove libc_fegetround* and libc_fesetround*.
61285         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
61286         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
61287         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
61288         of HAS_YMM_USABLE.
61289         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
61290         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
61291         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
61292         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
61293         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
61295         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
61297 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61299         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
61300         size is not set.
61301         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
61303 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
61305         [BZ #13618]
61306         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
61307         relocation.
61308         * Makeconfig (libm): Define.
61309         * elf/Makefile: Add rules to build and run tst-relsort1.
61310         * elf/tst-relsort1.c: New file.
61311         * elf/tst-relsort1mod1.c: New file.
61312         * elf/tst-relsort1mod2.c: New file.
61314 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
61316         * math/s_ldexp.c: Remove __STDC__ conditionals.
61317         * math/s_ldexpf.c: Likewise.
61318         * math/s_ldexpl.c: Likewise.
61319         * math/s_nextafter.c: Likewise.
61320         * math/s_nexttowardf.c: Likewise.
61321         * math/s_significand.c: Likewise.
61322         * math/s_significandf.c: Likewise.
61323         * math/s_significandl.c: Likewise.
61324         * math/w_jnl.c: Likewise.
61325         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
61326         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
61327         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
61328         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
61329         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
61330         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
61331         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
61332         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
61333         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
61334         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
61335         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
61336         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
61337         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
61338         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
61339         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
61340         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
61341         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
61342         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
61343         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
61344         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
61345         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
61346         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
61347         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
61348         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
61349         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
61350         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
61351         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
61352         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
61353         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
61354         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
61355         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
61356         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
61357         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
61358         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
61359         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
61360         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
61361         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
61362         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
61363         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
61364         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
61365         * sysdeps/ieee754/k_standard.c: Likewise.
61366         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
61367         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
61368         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
61369         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
61370         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
61371         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
61372         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
61373         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
61374         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
61375         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
61376         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
61377         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
61378         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
61379         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
61380         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
61381         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
61382         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
61383         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
61384         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
61385         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
61386         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
61387         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
61388         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
61389         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
61390         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
61391         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
61392         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
61393         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
61394         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
61395         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
61396         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
61397         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
61398         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
61399         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
61400         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
61401         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
61402         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
61403         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
61404         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
61405         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
61406         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
61407         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
61408         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
61409         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
61410         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
61411         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
61412         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
61413         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
61414         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
61415         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
61416         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
61417         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
61418         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
61419         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
61420         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
61421         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
61422         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
61423         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
61424         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
61425         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
61426         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
61427         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
61428         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
61429         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
61430         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
61431         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
61432         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
61433         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
61434         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
61435         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
61436         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
61437         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
61438         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
61439         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
61440         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
61441         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
61442         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
61443         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
61444         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
61445         * sysdeps/ieee754/s_matherr.c: Likewise.
61446         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
61447         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
61448         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
61449         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
61451 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
61453         * crypt/md5.h: Remove __STDC__ conditionals.
61454         * libio/libioP.h: Likewise.
61455         * locale/programs/config.h: Likewise.
61456         * sysdeps/generic/sysdep.h: Likewise.
61457         * sysdeps/i386/asm-syntax.h: Likewise.
61458         * sysdeps/s390/asm-syntax.h: Likewise.
61459         * sysdeps/unix/sysdep.h: Likewise.
61460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
61461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
61463 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
61465         * libio/libio.h: Remove __STDC__ conditionals.
61466         * malloc/obstack.h: Likewise.
61467         * math/complex.h: Likewise.
61468         * math/math.h: Likewise.
61469         * sysdeps/generic/_G_config.h: Likewise.
61470         * sysdeps/gnu/_G_config.h: Likewise.
61471         * sysdeps/mach/hurd/_G_config.h: Likewise.
61472         * sysdeps/powerpc/bits/mathdef.h: Likewise.
61473         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
61474         * sysdeps/sparc/bits/mathdef.h: Likewise.
61476 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
61478         [BZ #13583]
61479         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
61480         Clean up HAS_* macros.
61481         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
61482         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
61483         possible.
61484         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
61485         HAS_AVX.
61486         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
61487         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
61488         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
61489         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
61490         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
61492 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
61494         * elf/tst-unique3.cc (gets): Remove declaration.
61495         * elf/tst-unique3lib.cc (gets): Likewise.
61496         * elf/tst-unique3lib2.cc (gets): Likewise.
61497         * elf/tst-unique4.cc (gets): Likewise.
61499 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
61501         * include/stdio.h: Add C++ protection.  Add gets declarations and
61502         definitions.
61503         * debug/tst-chk1.c: Don't declare gets here.
61504         * stdio-common/tst-gets.c: Likewise.
61506 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
61508         * posix/glob: Remove directory.
61510 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
61512         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
61514 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
61516         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
61517         of the non-standard EPFNOSUPPORT.
61519 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61521         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
61522         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
61523         ANYWHERE set to 1 only on KERN_NO_SPACE error.
61525 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
61527         * wcsmbs/uchar.h: Test __STDC_VERSION__.
61529 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
61531         * nscd/aicache.c (addhstaiX): Do not cache negative results of
61532         transient errors.
61533         * nscd/grpcache.c (cache_addgr): Likewise.
61534         * nscd/hstcache.c (cache_addhst): Likewise.
61535         * nscd/initgrcache.c (addinitgroupsX): Likewise.
61536         * nscd/pwdcache.c (cache_addpw): Likewise.
61537         * nscd/servicescache.c (cache_addserv): Likewise.
61539 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
61541         * malloc/malloc.c: Various cleanups.
61542         * malloc/hooks.c: Likewise.
61544         * stdlib/Makefile (tests): Add bug-fmtmsg1.
61545         * stdlib/bug-fmtmsg1.c: New file.
61547         * stdlib/fmtmsg.c (init): Add missing unlock.
61548         Patch by Peng Haitao <penght@cn.fujitsu.com>.
61550 2012-01-12  Marek Polacek  <polacek@redhat.com>
61552         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
61553         and _GNU_SOURCE.
61555 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
61557         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
61558         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
61559         macro to ensure uniqueness of label name.
61560         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
61561         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
61563 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
61565         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
61567         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
61568         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
61569         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
61570         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
61572 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
61574         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
61576         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
61577         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
61578         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
61580         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
61582         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
61583         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
61584         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
61585         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
61587         * math/bits/math-finite.h: Add ldexp support.
61589 2012-01-10  Marek Polacek  <polacek@redhat.com>
61591         * locale/programs/localedef.h (show_archive_content): Add noreturn
61592         attribute.
61594 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
61596         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
61598 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
61600         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
61602         * io/Makefile (headers): Add bits/poll2.h.
61604 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
61606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
61607         typo #include statement.
61609 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
61611         * include/sys/cdefs.h: Define __attribute_alloc_size.
61612         * catgets/gencat.c: Add alloc_size attribute and apply consistently
61613         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
61614         * elf/pldd.c: Likewise.
61615         * iconv/iconv_charmap.c: Likewise.
61616         * iconv/iconvconfig.c: Likewise.
61617         * iconv/strtab.c: Likewise.
61618         * locale/programs/locale.c: Likewise.
61619         * locale/programs/localedef.h: Likewise.
61620         * locale/programs/simple-hash.c: Likewise.
61621         * nscd/nscd.h: Likewise.
61622         * nss/makedb.c: Likewise.
61623         * sysdeps/generic/ldconfig.h: Likewise.
61624         * locale/programs/localedef.c: Remove xmalloc prototype.
61625         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
61627 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
61629         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
61630         appropriate.
61632 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
61634         * math/Makefile (tests): Add tst-CMPLX.
61635         * math/tst-CMPLX.c: New file.
61637         * math/complex.h (CMPLXL): Fix typo.
61639         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
61640         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
61641         GLIBC_2.16.
61642         * debug/tst-chk1.c: Add poll and ppoll tests.
61643         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
61644         * include/sys/poll.h: Add hidden proto for ppoll.
61645         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
61646         * sysdeps/mach/hurd/ppoll.c: Likewise.
61647         * io/ppoll.c: Likewise.
61648         * debug/poll_chk.c: New file.
61649         * debug/ppoll_chk.c: New file.
61650         * include/bits/poll2.h: New file.
61651         * io/bits/poll2.h: New file.
61653         [BZ #1350]
61654         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
61656         * configure.in: static is always set to yes.  Remove.
61657         * config.make.in: Don't set build-static.
61658         * Makeconfig: Remove use of build-static.
61659         * dlfcn/Makefile: Likewise.
61660         * elf/Makefile: Likewise.
61661         * math/Makefile: Likewise.
61662         * misc/Makefile: Likewise.
61663         * nptl/Makefile: Likewise.
61664         * sysdeps/mach/hurd/Makefile: Likewise.
61666         * configure.in: PWD_P is not used anymore.
61667         * config.make.in: Remove PWD_P entry.
61669         * configure.in: Remove last remnants of RANLIB.
61670         No need to check for signed size_t anymore.
61671         Don't set libc_commonpagesize and libc_relro_required here for Alpha
61672         and IA-64.
61673         Remove __builtin_expect test because we require at least gcc 3.4.
61674         * aclocal.m4: Likewise.
61676         * wcsmbs/mbrtoc16.c: Implement using towc function.
61677         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
61678         * wcsmbs/wcsmbsload.c: Likewise.
61679         * iconv/gconv_simple.c: Likewise.
61680         * iconv/gconv_int.h: Likewise.
61681         * iconv/gconv_builtin.h: Likewise.
61682         * iconv/iconv_prog.c: Remove CHAR16 handling.
61684         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
61686         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
61688         * configure.in: Remove --with-elf and --enable-bounded options.
61689         Dont set base_machine for ia64.  More non-ELF conditions removed.
61690         Remove testing and setting of leading underscore information.
61691         * config.make.in (build-bounded): Set to no.
61692         * config.h.in: Remove NO_UNDERSCORES entry.
61693         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
61694         them.
61695         * csu/start.c: Remove !NO_UNDERSCORE code.
61696         * locale/localeinfo.h: Likewise.
61697         * sysdeps/generic/machine-gmon.h: Likewise.
61698         * sysdeps/generic/sysdep.h: Likewise.
61699         * sysdeps/i386/sysdep.h: Likewise.
61700         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
61701         * sysdeps/mach/sysdep.h: Likewise.
61702         * sysdeps/s390/s390-32/sysdep.h: Likewise.
61703         * sysdeps/s390/s390-64/sysdep.h: Likewise.
61704         * sysdeps/sh/sysdep.h: Likewise.
61705         * sysdeps/sparc/sparc32/alloca.S: Likewise.
61706         * sysdeps/unix/i386/sysdep.S: Likewise.
61707         * sysdeps/unix/sparc/start.c: Likewise.
61708         * sysdeps/unix/sparc/sysdep.S: Likewise.
61709         * sysdeps/unix/sparc/sysdep.h: Likewise.
61710         * sysdeps/unix/start.c: Likewise.
61711         * sysdeps/unix/x86_64/sysdep.S: Likewise.
61712         * sysdeps/x86_64/sysdep.h: Likewise.
61714 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
61716         [BZ #13553]
61717         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
61718         for non-gcc.
61719         * argp/argp-fmtstream.h: Use const instead __const.
61720         * argp/argp.h: Likewise.
61721         * assert/assert.h: Likewise.
61722         * bits/fenv.h: Likewise.
61723         * bits/sched.h: Likewise.
61724         * bits/sigset.h: Likewise.
61725         * bits/sigthread.h: Likewise.
61726         * catgets/nl_types.h: Likewise.
61727         * conform/data/pthread.h-data: Likewise.
61728         * crypt/crypt-private.h: Likewise.
61729         * crypt/crypt.h: Likewise.
61730         * crypt/crypt_util.c: Likewise.
61731         * ctype/ctype.h: Likewise.
61732         * debug/execinfo.h: Likewise.
61733         * debug/mbsnrtowcs_chk.c: Likewise.
61734         * debug/mbsrtowcs_chk.c: Likewise.
61735         * debug/wcsnrtombs_chk.c: Likewise.
61736         * debug/wcsrtombs_chk.c: Likewise.
61737         * debug/wcstombs_chk.c: Likewise.
61738         * dirent/dirent.h: Likewise.
61739         * dlfcn/dlfcn.h: Likewise.
61740         * elf/neededtest4.c: Likewise.
61741         * grp/grp.h: Likewise.
61742         * gshadow/gshadow.h: Likewise.
61743         * iconv/gconv.h: Likewise.
61744         * iconv/gconv_int.h: Likewise.
61745         * iconv/gconv_simple.c: Likewise.
61746         * iconv/iconv.h: Likewise.
61747         * iconv/loop.c: Likewise.
61748         * iconv/skeleton.c: Likewise.
61749         * include/aio.h: Likewise.
61750         * include/aliases.h: Likewise.
61751         * include/argz.h: Likewise.
61752         * include/arpa/inet.h: Likewise.
61753         * include/assert.h: Likewise.
61754         * include/dirent.h: Likewise.
61755         * include/dlfcn.h: Likewise.
61756         * include/execinfo.h: Likewise.
61757         * include/fcntl.h: Likewise.
61758         * include/fenv.h: Likewise.
61759         * include/glob.h: Likewise.
61760         * include/grp.h: Likewise.
61761         * include/libintl.h: Likewise.
61762         * include/mntent.h: Likewise.
61763         * include/netdb.h: Likewise.
61764         * include/pwd.h: Likewise.
61765         * include/rpc/netdb.h: Likewise.
61766         * include/sched.h: Likewise.
61767         * include/search.h: Likewise.
61768         * include/shadow.h: Likewise.
61769         * include/signal.h: Likewise.
61770         * include/stdio.h: Likewise.
61771         * include/stdlib.h: Likewise.
61772         * include/string.h: Likewise.
61773         * include/sys/socket.h: Likewise.
61774         * include/sys/stat.h: Likewise.
61775         * include/sys/statfs.h: Likewise.
61776         * include/sys/statvfs.h: Likewise.
61777         * include/sys/syslog.h: Likewise.
61778         * include/sys/time.h: Likewise.
61779         * include/sys/uio.h: Likewise.
61780         * include/time.h: Likewise.
61781         * include/unistd.h: Likewise.
61782         * include/utmp.h: Likewise.
61783         * include/wchar.h: Likewise.
61784         * include/wctype.h: Likewise.
61785         * inet/aliases.h: Likewise.
61786         * inet/arpa/inet.h: Likewise.
61787         * inet/netinet/ether.h: Likewise.
61788         * inet/netinet/in.h: Likewise.
61789         * intl/libintl.h: Likewise.
61790         * io/bits/fcntl2.h: Likewise.
61791         * io/fcntl.h: Likewise.
61792         * io/ftw.h: Likewise.
61793         * io/sys/poll.h: Likewise.
61794         * io/sys/stat.h: Likewise.
61795         * io/sys/statfs.h: Likewise.
61796         * io/sys/statvfs.h: Likewise.
61797         * io/utime.h: Likewise.
61798         * libio/bits/stdio.h: Likewise.
61799         * libio/bits/stdio2.h: Likewise.
61800         * libio/libio.h: Likewise.
61801         * libio/libioP.h: Likewise.
61802         * libio/stdio.h: Likewise.
61803         * locale/lc-ctype.c: Likewise.
61804         * locale/locale.h: Likewise.
61805         * login/utmp.h: Likewise.
61806         * malloc/arena.c: Likewise.
61807         * malloc/malloc.c: Likewise.
61808         * malloc/malloc.h: Likewise.
61809         * malloc/mcheck.c: Likewise.
61810         * malloc/mtrace.c: Likewise.
61811         * math/bits/mathcalls.h: Likewise.
61812         * math/fenv.h: Likewise.
61813         * math/math_private.h: Likewise.
61814         * misc/bits/error.h: Likewise.
61815         * misc/bits/syslog.h: Likewise.
61816         * misc/err.h: Likewise.
61817         * misc/error.h: Likewise.
61818         * misc/fstab.h: Likewise.
61819         * misc/mntent.h: Likewise.
61820         * misc/regexp.h: Likewise.
61821         * misc/search.h: Likewise.
61822         * misc/sgtty.h: Likewise.
61823         * misc/sys/mman.h: Likewise.
61824         * misc/sys/syslog.h: Likewise.
61825         * misc/sys/uio.h: Likewise.
61826         * misc/sys/xattr.h: Likewise.
61827         * misc/ttyent.h: Likewise.
61828         * nis/rpcsvc/ypclnt.h: Likewise.
61829         * nss/nss.h: Likewise.
61830         * posix/bits/unistd.h: Likewise.
61831         * posix/fnmatch.h: Likewise.
61832         * posix/glob.h: Likewise.
61833         * posix/sched.h: Likewise.
61834         * posix/spawn.h: Likewise.
61835         * posix/sys/wait.h: Likewise.
61836         * posix/unistd.h: Likewise.
61837         * posix/wordexp.h: Likewise.
61838         * pwd/pwd.h: Likewise.
61839         * resolv/netdb.h: Likewise.
61840         * resource/sys/resource.h: Likewise.
61841         * rt/aio.h: Likewise.
61842         * rt/bits/mqueue2.h: Likewise.
61843         * rt/mqueue.h: Likewise.
61844         * shadow/shadow.h: Likewise.
61845         * signal/signal.h: Likewise.
61846         * socket/send.c: Likewise.
61847         * socket/sendto.c: Likewise.
61848         * socket/sys/socket.h: Likewise.
61849         * stdio-common/printf.h: Likewise.
61850         * stdlib/bits/stdlib.h: Likewise.
61851         * stdlib/fmtmsg.h: Likewise.
61852         * stdlib/monetary.h: Likewise.
61853         * stdlib/stdlib.h: Likewise.
61854         * stdlib/ucontext.h: Likewise.
61855         * streams/stropts.h: Likewise.
61856         * string/argz.h: Likewise.
61857         * string/bits/string2.h: Likewise.
61858         * string/string.h: Likewise.
61859         * string/strings.h: Likewise.
61860         * sunrpc/rpc/auth.h: Likewise.
61861         * sunrpc/rpc/auth_des.h: Likewise.
61862         * sunrpc/rpc/clnt.h: Likewise.
61863         * sunrpc/rpc/netdb.h: Likewise.
61864         * sunrpc/rpc/pmap_clnt.h: Likewise.
61865         * sunrpc/rpc/xdr.h: Likewise.
61866         * sysdeps/generic/inttypes.h: Likewise.
61867         * sysdeps/generic/net/if.h: Likewise.
61868         * sysdeps/generic/sys/swap.h: Likewise.
61869         * sysdeps/gnu/net/if.h: Likewise.
61870         * sysdeps/gnu/utmpx.h: Likewise.
61871         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
61872         * sysdeps/i386/i486/bits/string.h: Likewise.
61873         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
61874         * sysdeps/s390/bits/string.h: Likewise.
61875         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
61876         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
61877         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
61878         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
61879         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
61880         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
61881         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
61882         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
61883         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
61884         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
61885         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
61886         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
61887         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
61888         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
61889         * sysdeps/unix/sysv/linux/readv.c: Likewise.
61890         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
61891         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
61892         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
61893         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
61894         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
61895         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
61896         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
61897         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
61898         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
61899         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
61900         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
61901         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
61902         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
61903         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
61904         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
61905         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
61906         * sysvipc/sys/ipc.h: Likewise.
61907         * sysvipc/sys/msg.h: Likewise.
61908         * sysvipc/sys/sem.h: Likewise.
61909         * sysvipc/sys/shm.h: Likewise.
61910         * termios/termios.h: Likewise.
61911         * time/sys/time.h: Likewise.
61912         * time/time.h: Likewise.
61913         * wcsmbs/bits/wchar2.h: Likewise.
61914         * wcsmbs/uchar.h: Likewise.
61915         * wcsmbs/wchar.h: Likewise.
61916         * wctype/wctype.h: Likewise.
61918         [BZ #13551]
61919         * Makeconfig: Remove all but ELF support including AIX support.
61920         * Makerules: Likewise.
61921         * config.h.in: Likewise.
61922         * config.make.in: Likewise.
61923         * configure: Likewise.
61924         * configure.in: Likewise.
61925         * csu/Makefile: Likewise.
61926         * csu/version.c: Likewise.
61927         * debug/Makefile: Likewise.
61928         * dlfcn/Makefile: Likewise.
61929         * elf/Makefile: Likewise.
61930         * extra-lib.mk: Likewise.
61931         * iconv/Makefile: Likewise.
61932         * include/libc-symbols.h: Likewise.
61933         * include/shlib-compat.h: Likewise.
61934         * resolv/Makefile: Likewise.
61935         * resolv/res_libc.c: Likewise.
61936         * rt/Makefile: Likewise.
61937         * sysdeps/i386/asm-syntax.h: Likewise.
61938         * sysdeps/i386/sysdep.h: Likewise.
61939         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
61940         * sysdeps/mach/sysdep.h: Likewise.
61941         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
61942         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
61943         * sysdeps/s390/asm-syntax.h: Likewise.
61944         * sysdeps/s390/s390-32/sysdep.h: Likewise.
61945         * sysdeps/s390/s390-64/sysdep.h: Likewise.
61946         * sysdeps/sh/sysdep.h: Likewise.
61947         * sysdeps/unix/sparc/sysdep.h: Likewise.
61948         * sysdeps/wordsize-32/divdi3.c: Likewise.
61949         * sysdeps/x86_64/sysdep.h: Likewise.
61951         * argp/Versions: Remove _argp_unlock_xxx.
61953         [BZ #13559]
61954         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
61955         * abilist/libBrokenLocale.abilist: Likewise.
61956         * abilist/libanl.abilist: Likewise.
61957         * abilist/libc.abilist: Likewise.
61958         * abilist/libcrypt.abilist: Likewise.
61959         * abilist/libdl.abilist: Likewise.
61960         * abilist/libm.abilist: Likewise.
61961         * abilist/libnsl.abilist: Likewise.
61962         * abilist/libpthread.abilist: Likewise.
61963         * abilist/libresolv.abilist: Likewise.
61964         * abilist/librt.abilist: Likewise.
61965         * abilist/libthread_db.abilist: Likewise.
61966         * abilist/libutil.abilist: Likewise.
61967         * abilist/libnss_db.abilist: New file.
61969         * scripts/abilist.awk: Add support for indirect functions.
61971         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
61973         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
61975         * shlib-versions: Remove entries for ports architectures.
61977         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
61978         files in ports.
61979         * elf/stackguard-macros.h: Remove support for IA-64.
61980         * elf/tst-auditmod1.c: Likewise.
61981         * sysdeps/generic/ldsodefs.h: Likewise.
61983         * sysdeps/unix/sysv/linux/configure.in: Ports should define
61984         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
61985         configure files.
61987         [BZ #13552]
61988         * configure.in: Remove --enable-omitfp support.
61989         * FAQ.in: Adjust.
61990         * config.make.in: Likewise.
61991         * Makeconfig: Likewise.
61992         * manual/install.texi: Likewise.
61994         In case anyone cares, the IA-64 architecture could move to ports.
61995         * sysdeps/ia64/*: Removed.
61996         * sysdeps/unix/sysv/linux/ia64/*: Removed.
61997         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
61999         [BZ #13555]
62000         * configure.in: Remove entries for unsupported architectures.
62002         [BZ #13533]
62003         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
62004         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
62005         routines.
62006         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
62007         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
62008         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
62009         fall back to using wcrtomb.
62010         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
62011         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
62012         renaming.
62013         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
62014         * wcsmbs/tst-c16c32-1.c: New file.
62016         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
62017         local variable.
62019         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
62021         * elf/tst-unique3.cc: Add explicit declaration of gets.
62022         * elf/tst-unique3lib.cc: Likewise.
62023         * elf/tst-unique3lib2.cc: Likewise.
62024         * elf/tst-unique4.cc: Likewise.
62026         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
62028 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
62030         [BZ #13566]
62031         * assert/assert.h (static_assert): Don't define for C++.
62032         * libio/stdio.h (gets): Do declare for C++ <= C++11.
62033         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
62035 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
62037         * iconv/loop.c (single loop): Fix assertion in storing of
62038         remaining bytes.
62040         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
62042 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
62044         * posix/getconf.c: Update copyright year.
62045         * nss/getent.c: Likewise.
62046         * nss/makedb.c: Likewise.
62047         * iconv/iconvconfig.c: Likewise.
62048         * iconv/iconv_prog.c: Likewise.
62049         * elf/ldconfig.c: Likewise.
62050         * elf/pldd.c: Likewise.
62051         * elf/sotruss.ksh: Likewise.
62052         * catgets/gencat.c: Likewise.
62053         * csu/version.c: Likewise.
62054         * elf/ldd.bash.in: Likewise.
62055         * elf/sprof.c (print_version): Likewise.
62056         * locale/programs/locale.c: Likewise.
62057         * locale/programs/localedef.c: Likewise.
62058         * login/programs/pt_chown.c: Likewise.
62059         * nscd/nscd.c (print_version): Likewise.
62060         * debug/xtrace.sh: Likewise.
62061         * malloc/memusage.sh: Likewise.
62062         * malloc/mtrace.pl: Likewise.
62063         * debug/catchsegv.sh: Likewise.
62065 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
62067         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
62068         pure attribute.
62070 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
62072         [BZ #13533]
62073         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
62074         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
62075         transformations.
62076         * iconv/gconv_int.h: Likewise.
62077         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
62078         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
62079         from libc for GLIBC_2.16.
62080         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
62081         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
62082         * wcsmbs/uchar.h: Really define mbstate_t.
62083         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
62084         * wcsmbs/c16rtomb.c: New file.
62085         * wcsmbs/mbrtoc16.c: New file.
62086         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
62087         for C/POSIX locale.
62088         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
62089         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
62091         * wcsmbs/wchar.h: Add missing __restrict.
62093 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
62095         [BZ #13532]
62096         * time/Makefile (routines): Add timespec_get.
62097         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
62098         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
62099         timespec for ISO C11.
62100         * time/timespec_get.c: New file.
62101         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
62102         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
62104         [BZ #13531]
62105         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
62106         * stdlib/stdlib.h: Declare aligned_alloc.
62107         * Versions.def: Add GLIBC_2.16 for libc.
62108         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
62110         [BZ 13527]
62111         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
62112         ISO C11.
62114         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
62115         code.
62117         [BZ #13528]
62118         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
62120         [BZ #13529]
62121         * assert/assert.h (static_assert): Define.
62123         * version.h: Update for 2.16 development version.
62125         [BZ #13526]
62126         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
62127         _ISOC11_SOURCE.
62129         * version.h (RELEASE): Bump for 2.15 release.
62130         * include/features.h (__GLIBC_MINOR__): Bump to 15.
62132         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
62133         Patch by Marek Polacek <mpolacek@redhat.com>.
62135         * bits/byteswap.h: Protect long long constants with __extension__.
62136         * sysdeps/i386/bits/byteswap.h: Likewise.
62137         * sysdeps/ia64/bits/byteswap.h: Likewise.
62138         * sysdeps/s390/bits/byteswap.h: Likewise.
62139         * sysdeps/x86_64/bits/byteswap.h: Likewise.
62141 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62143         [BZ #13540]
62144         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
62145         destination buffer.
62146         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
62148 2011-12-23  Marek Polacek  <polacek@redhat.com>
62150         * elf/dl-addr.c (determine_info): Add inline keyword.
62151         * elf/tst-auditmod4b.c (check_avx): Likewise.
62152         * elf/tst-auditmod6b.c (check_avx): Likewise.
62153         * elf/tst-auditmod6c.c (check_avx): Likewise.
62154         * elf/tst-auditmod7b.c (check_avx): Likewise.
62156 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
62158         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
62159         !__SSE_MATH__.
62161 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62163         [BZ #13540]
62164         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
62165         processing for last bytes.
62167 2011-08-06  Bruno Haible  <bruno@clisp.org>
62169         [BZ #13061]
62170         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
62171         U+0385, not to U+1FEE.
62173         [BZ #13062]
62174         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
62175         entry for U+00A5 U+0301.
62177 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
62179         [BZ #13166]
62180         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
62181         buffer for the output is too small.
62183         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
62184         optimization.
62186         [BZ #13185]
62187         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
62188         SSE flags if possible.
62190 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62192         [BZ #13540]
62193         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
62194         processing for last bytes.
62196 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
62198         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
62199         (syscall-list-default-options, syscall-list-default-condition)
62200         (syscall-list-includes): Define.
62201         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
62202         list of ABIs and options and #if conditions for each ABI.  Do not
62203         handle common syscalls between ABIs specially.
62204         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
62205         Remove.
62206         (syscall-list-variants, syscall-list-32bit-options)
62207         (syscall-list-32bit-condition, syscall-list-64bit-options)
62208         (syscall-list-64bit-condition): Define.
62209         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
62210         (syscall-list-variants, syscall-list-32bit-options)
62211         (syscall-list-32bit-condition, syscall-list-64bit-options)
62212         (syscall-list-64bit-condition): Define.
62213         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
62214         Remove.
62215         (syscall-list-variants, syscall-list-32bit-options)
62216         (syscall-list-32bit-condition, syscall-list-64bit-options)
62217         (syscall-list-64bit-condition): Define.
62218         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
62219         Remove.
62220         (syscall-list-variants, syscall-list-32bit-options)
62221         (syscall-list-32bit-condition, syscall-list-64bit-options)
62222         (syscall-list-64bit-condition): Define.
62224 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
62226         * locale/iso-639.def: Add brx entry.
62228         [BZ #13328]
62229         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
62230         Proposed by Mariusz_Cukr <marcukr@op.pl>.
62232         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
62233         __feraiseexcept_renamed.
62235 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
62237         [BZ #13538]
62238         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
62239         EPOLLET with unsigned values.
62240         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
62241         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
62243         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
62244         to large cancellation.
62245         * math/s_cacoshf.c: Likewise.
62246         * math/s_cacoshl.c: Likewise.
62248 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
62250         [BZ #13305]
62251         [BZ #12786]
62252         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
62253         * math/s_cacoshf.c: Likewise.
62254         * math/s_cacoshl.c: Likewise.
62256 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
62258         [BZ #13439]
62259         * iconv/gconv.h: Define __GCONV_SWAP.
62260         * iconvdata/unicode.c: The swap bit must be stored in __flags.
62261         * iconvdata/utf-16.c: Likewise.
62262         * iconvdata/utf-32.c: Likewise.
62264 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
62266         [BZ #13524]
62267         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
62268         numerator after shifting it by one limb.
62270 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
62272         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
62273         under [__USE_EXTERN_INLINES].
62275 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
62277         [BZ #13446]
62278         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
62280 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62282         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
62283         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
62284         optimized code.
62285         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
62286         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
62287         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
62288         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
62289         for strncasecmp/strncasecmp_l compilation.
62290         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
62291         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
62293 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
62295         [BZ #13484]
62296         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
62297         of __asm__.
62299 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
62301         [BZ #13506]
62302         * time/tzfile.c (__tzfile_read): Check values from file header.
62304 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
62306         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
62307         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
62308         * powerpc/powerpc32/dl-start.S: Likewise.
62309         * powerpc/powerpc32/elf/start.S: Likewise.
62310         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
62311         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
62312         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
62313         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
62314         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
62315         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
62316         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
62317         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
62318         * powerpc/powerpc32/fpu/s_round.S: Likewise.
62319         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
62320         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
62321         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
62322         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
62323         * powerpc/powerpc32/memset.S: Likewise.
62324         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
62325         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
62326         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
62327         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
62328         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
62329         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
62330         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
62331         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
62332         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
62333         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
62334         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
62335         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
62336         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
62338 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62340         * math/libm-test.inc: Added more nearbyint tests.
62341         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
62342         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
62343         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
62344         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
62346 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
62348         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
62349         FD_CLOEXEC.
62351 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62353         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
62354         Add wcscpy-ssse3 wcscpy-c.
62355         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
62356         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
62357         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
62358         * sysdeps/x86_64/wcschr.S: New file.
62359         * sysdeps/x86_64/wcsrchr.S: New file.
62360         * string/test-strcmp.c: Remove checking of wcscmp function for
62361         wrong alignments.
62362         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
62363         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
62364         wcsrchr-sse2 wcsrchr-c.
62365         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
62366         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
62367         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
62368         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
62369         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
62370         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
62371         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
62372         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
62373         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
62374         * wcsmbc/wcschr.c (WCSCHR): New macro.
62376 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62378         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
62379         * wcsmbs/test-wcsrchr.c: New file.
62380         * string/test-strrchr.c: Add wcsrchr support.
62381         (WIDE): New macro.
62382         * wcsmbs/test-wcscpy.c: New file.
62383         * string/test-strcpy.c: Add wcscpy support.
62384         (WIDE): New macro.
62386 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
62388         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
62389         the inner loop.
62391 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
62393         [BZ #13472]
62394         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
62396 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
62398         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
62399         Minor optimizations.
62401         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
62402         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
62403         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
62405 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
62407         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
62408         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
62409         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
62410         for gcc to avoid warnings.
62411         * inet/Makefile (tests): Add tst-checks.
62412         * inet/tst-checks.c: New file.
62414         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
62415         warning.
62417         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
62418         __wmemcmp_sse2.
62420         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
62421         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
62423         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
62425 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
62427         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
62428         problem.
62430         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
62432 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
62434         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
62435         conditional on GCC version.
62436         (__arch_compare_and_exchange_val_8_acq)
62437         (__arch_compare_and_exchange_val_16_acq)
62438         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
62439         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
62440         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
62442 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
62444         * sysdeps/sh/backtrace.c: New file.
62446 2011-12-02  Andreas Schwab  <schwab@redhat.com>
62448         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
62449         parenthesis.
62451 2011-12-01  Andreas Schwab  <schwab@redhat.com>
62453         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
62454         falling back to utime.
62456 2011-11-30  Andreas Schwab  <schwab@redhat.com>
62458         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
62459         expectations for float.
62461 2011-11-29  Andreas Schwab  <schwab@redhat.com>
62463         * locale/weight.h (findidx): Add parameter len.
62464         * locale/weightwc.h (findidx): Likewise.
62465         * posix/fnmatch_loop.c (FCT): Adjust caller.
62466         * posix/regcomp.c (build_equiv_class): Likewise.
62467         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
62468         * posix/regexec.c (check_node_accept_bytes): Likewise.
62469         * string/strcoll_l.c (STRCOLL): Likewise.
62470         * string/strxfrm_l.c (STRXFRM): Likewise.
62472 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
62474         * Makefile.in: Remove CVSOPT handling.
62475         * configure.in: Remove use of AC_REVISION.
62476         * iconvdata/Makefile (distribute): No need to filter out CVS.
62477         * scripts/list-sources.sh: Remove CVS, subversion and monotone
62478         handling.
62480 2011-11-16  Andreas Schwab  <schwab@redhat.com>
62482         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
62483         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
62484         [USE_AS_STRNCASECMP_L]: Likewise.
62485         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
62486         NO_TLS_DIRECT_SEG_REFS.
62487         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
62488         Fix argument offsets for non-PIC.
62489         [USE_AS_STRNCASECMP_L]: Likewise.
62490         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
62491         NO_TLS_DIRECT_SEG_REFS.
62493 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
62495         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
62496         O_CLOEXEC.
62497         * locale/loadlocale.c (_nl_load_locale): Likewise.
62499 2011-11-15  Andreas Schwab  <schwab@redhat.com>
62501         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
62502         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
62503         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
62504         (SYSCALL_GETTIME): Set errno on error.
62506         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
62507         count references to noai6ai_cached.
62509 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
62511         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
62513         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
62514         FD_CLOEXEC for /proc/self/maps.
62516         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
62517         FD_CLOEXEC for /proc/meminfo.
62519         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
62520         gai.conf.
62522         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
62523         FD_CLOEXEC for given file.
62525         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
62527         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
62528         FD_CLOEXEC for /etc/hosts.
62529         (_gethtent): Likewise.
62531         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
62533         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
62534         cancellation and set FD_CLOEXEC for /etc/netgroup.
62536         * nss/nss_files/files-key.c (search): Don't allow cancellation when
62537         reading /etc/publickey.
62539         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
62540         allow cancellation when reading /etc/group.
62542         * nss/nss_files/files-alias.c (internal_setent): Don't allow
62543         cancellation.
62544         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
62546         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
62547         when using data file.
62549         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
62551         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
62552         (write_nis_obj): Use "c" and "e" in fopen.
62554         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
62556         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
62558         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
62560         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
62562         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
62563         locale.alias.
62565         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
62567         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
62569         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
62571         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
62572         file parsing and set FD_CLOEXEC.
62574 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
62576         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
62578 2011-11-14  Andreas Schwab  <schwab@redhat.com>
62580         * malloc/arena.c (arena_get2): Don't call reused_arena when
62581         _int_new_arena failed.
62583 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
62585         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
62586         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
62587         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
62588         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
62589         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
62590         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
62591         to compile strcasecmp and strncasecmp.
62592         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
62593         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
62595         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
62597 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
62599         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
62600         locale-defines.sym to gen-as-const-headers.
62601         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
62602         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
62603         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
62604         to compile strcasecmp and strncasecmp.
62605         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
62606         strcasecmp_l and strncasecmp_l.
62607         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
62608         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
62609         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
62610         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
62611         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
62612         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
62613         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
62614         * sysdeps/i386/i686/multiarch/strncase.S: New file.
62615         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
62616         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
62617         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
62619 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
62621         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
62622         result of SYSDEP_GETTIME_CPU to retval.
62623         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
62624         parameter list to macro.  Remove trailing semicolon.  Adjust users.
62626         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
62627         variable.
62629         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
62630         mantissa words.
62631         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
62633         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
62634         from unused variable.
62636         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
62637         DWARF definitions.
62638         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
62639         for assembling.
62641         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
62642         over namespaces.
62644         * sunrpc/rpc_prot.c (rejected): Fix case value.
62646         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
62647         unsigned long long int to avoid warnings in shift.
62649         * posix/regex_internal.c (re_string_reconstruct): Actually use result
62650         of use of trans.
62651         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
62652         variable tmp.
62654         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
62655         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
62656         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
62658         * nis/nis_table.c (nis_list): Use variable of correct type for
62659         result of __follow_path call.
62661 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62663         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
62664         of math functions ceil, trunc, floor, round, and sqrt, when
62665         avaliable on the platform.
62666         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
62667         name clash.
62668         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
62669         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
62670         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
62672 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
62674         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
62675         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
62677 2011-11-11  Roland McGrath  <roland@hack.frob.com>
62679         * include/unistd.h: Fix __readlink return type.
62680         Reported by Chris Metcalf <cmetcalf@tilera.com>.
62682 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
62684         * stdlib/ucontext.h: Undo last change for makecontext.
62686 2011-11-11  Andreas Schwab  <schwab@redhat.com>
62688         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
62690         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
62691         * setjmp/setjmp.h: Mark functions as non-leaf.
62692         * setjmp/bits/setjmp2.h: Likewise.
62693         * stdlib/ucontext.h: Likewise.
62695 2011-11-10  Andreas Schwab  <schwab@redhat.com>
62697         * malloc/arena.c (_int_new_arena): Don't increment narenas.
62698         (reused_arena): Don't check arena limit.
62699         (arena_get2): Atomically check arena limit.
62701 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
62703         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
62704         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
62706         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
62707         instructions.
62709 2011-11-07  Andreas Schwab  <schwab@redhat.com>
62711         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
62712         handler when locking.
62714         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
62715         Fix size of allocated buffer.
62717 2011-11-04  Andreas Schwab  <schwab@redhat.com>
62719         [BZ #10103]
62720         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
62721         declarations for long double functions.
62722         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
62724         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
62726 2011-11-03  Andreas Schwab  <schwab@redhat.com>
62728         * nscd/nscd.c (main): Don't start AVC thread until credentials are
62729         installed.
62731         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
62732         is disabled.
62734 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62736         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
62738 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
62740         * include/alloca.h (stackinfo_alloca_round): Define.
62741         (extend_alloca): Use it.
62742         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
62743         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
62744         here.
62746         * scripts/check-local-headers.sh: Ignore libaudit.h.
62748         * nscd/Makefile (extra-objs): Make recursively expanded.
62750 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
62752         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
62753         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
62755         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
62756         * posix/tst-rfc3484-2.c: Likewise.
62757         * posix/tst-rfc3484-3.c: Likewise.
62759         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
62760         process_vm_writev.
62761         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
62762         process_vm_writev.
62763         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
62764         process_vm_writev from libc using GLIBC_2.15 version.
62766         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
62768 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
62770         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
62771         stack usage.
62773 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
62775         [BZ #13367]
62776         * nss/getent.c (initgroups_keys): Show error message in case no group
62777         names are given.
62779         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
62780         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
62781         __bump_nl_timestamp.
62782         * nscd/connections (nscd_init): When host database is served open
62783         netlink socket and request notification about configuration changes.
62784         (main_loop_poll): Track netlink file descriptor and bump timestamp
62785         in case data becomes available.
62786         (main_loop_epoll): Likewise.
62787         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
62788         (database_pers_head): Add extra_data fileds.
62789         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
62790         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
62791         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
62792         Adjust caller.
62793         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
62794         in6ai data, call __free_in6ai.
62795         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
62796         Add -DHAVE_NETLINK.
62797         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
62798         interface information.  Reuse previous data if netlink timestamp
62799         is not changed.
62800         (__bump_nl_timestamp): New function.
62801         (__free_in6ai): New function.
62803 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
62805         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
62806         close_not_cancel_no_status here.
62807         (__check_pf): Reorganize code a bit to not call close twice if OOM.
62809 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
62811         [BZ #13276]
62812         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
62813         return value.
62815         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
62816         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
62817         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
62819 2011-07-03  Andreas Jaeger  <aj@suse.de>
62821         [BZ #10709]
62822         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
62823         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
62824         * math/libm-test.inc (sin_test): Add test case.
62826 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
62828         [BZ #13337]
62829         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
62830         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
62832         * elf/chroot_canon.c (chroot_canon): Cleanups.
62834         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
62836         [BZ #13335]
62837         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
62838         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
62840         * string/test-strchr.c: Make usable for strchrnul testing.
62841         * string/test-strchrnul.c: New file.
62842         * string/Makefile (strop-tests): Add strchrnul.
62844         * po/it.po: Update from translation team.
62845         * po/es.po: Likewise.
62847 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
62849         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
62850         the three constants needed as parameters.  Drop the others.
62851         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
62852         __m128i_strloadu_tolower.
62853         Create and initialize variable zero and use it in all the places
62854         where _mm_setzero_si128 was used.
62856         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
62857         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
62858         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
62859         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
62860         anymore.
62861         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
62862         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
62863         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
62864         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
62865         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
62866         __mpranred, __mptan.
62867         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
62868         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
62869         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
62870         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
62871         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
62872         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
62873         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
62874         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
62875         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
62877 2011-10-28  Andreas Schwab  <schwab@redhat.com>
62879         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
62880         redefine if SHARED.
62881         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
62883         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
62884         wide char related routines to wcsmbs subdir.
62886 2011-10-27  Andreas Schwab  <schwab@redhat.com>
62888         [BZ #13344]
62889         * misc/sys/cdefs.h (__THROWNL): Define.
62890         * posix/unistd.h: Use __THREADNL instead of __THREAD
62891         for memory synchronization functions.
62893 2011-10-26  Roland McGrath  <roland@hack.frob.com>
62895         [BZ #13349]
62896         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
62897         doesn't exist.
62898         * manual/stdio.texi (Obstack Streams): Node removed.
62900 2011-10-26  Andreas Schwab  <schwab@redhat.com>
62902         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
62903         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
62904         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
62906         * math/math_private.h (math_force_eval): Allow non-addressable
62907         arguments.
62908         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
62910 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
62912         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
62913         file is not needed.
62915         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
62916         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
62917         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
62918         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
62919         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
62920         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
62921         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
62922         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
62923         Add AVX variants.
62924         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
62925         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
62926         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
62927         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
62928         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
62929         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
62930         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
62931         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
62932         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
62933         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
62934         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
62935         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
62936         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
62937         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
62938         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
62939         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
62940         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
62941         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
62942         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
62944         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
62945         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
62947         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
62948         place.  Use VEX encoding when compiling for AVX.
62950 2011-10-25  Andreas Schwab  <schwab@redhat.com>
62952         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
62953         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
62955         * string/test-strchr.c (do_test): Don't generate NUL bytes.
62957 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
62959         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
62960         useless if() expression.
62961         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
62962         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
62963         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
62964         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
62965         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
62966         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
62967         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
62968         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
62969         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
62970         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
62971         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
62972         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
62973         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
62974         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
62975         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
62976         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
62977         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
62978         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
62979         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
62981         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
62983 2011-10-25  Andreas Schwab  <schwab@redhat.com>
62985         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
62986         condition.
62987         * elf/dl-fini.c (_dl_sort_fini): Likewise.
62989 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
62991         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
62992         .text section.  Avoid duplicate constants.
62993         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
62994         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
62995         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
62996         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
62997         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
62998         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
62999         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63000         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
63001         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
63002         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
63003         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
63004         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
63005         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
63006         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
63007         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
63008         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
63009         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
63010         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
63011         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
63012         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
63013         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
63014         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
63015         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
63016         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
63017         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
63018         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
63019         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
63020         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
63021         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
63022         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
63023         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
63024         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
63025         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
63026         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
63027         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
63028         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
63029         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
63030         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
63031         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
63032         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
63033         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
63034         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
63035         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
63036         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
63037         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
63039 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
63041         * sysdeps/x86_64/dla.h: Move to ...
63042         * sysdeps/x86_64/fpu/dla.h: ...here.
63043         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
63044         situations.  Use __builtin_fma only for gcc 4.6 and up.
63046         * config.make.in: Add have-mfma4 entry.
63047         * configure.in: Substitute libc_cv_cc_fma4.
63048         * math/Makefile (dbl-only-routines): Add sincostab.
63049         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
63050         Use __sincostab not sincos.
63051         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
63052         name is a macro.
63053         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
63054         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63055         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63056         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
63057         using __copysign.
63058         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
63059         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
63060         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
63061         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
63062         and __inv.
63063         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
63064         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
63065         __copysign.
63066         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
63067         define aliases when function name is a macro.
63068         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
63069         sysdeps/ieee754/dbl-64/sincos.tbl.
63070         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
63071         fma4-enabled routines.
63072         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
63073         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
63074         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
63075         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
63076         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
63077         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
63078         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
63079         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
63080         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
63081         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
63082         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
63083         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
63084         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
63085         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
63086         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
63087         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
63088         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
63089         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
63090         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
63091         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
63092         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
63093         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
63094         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
63095         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
63096         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
63097         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
63098         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
63099         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
63100         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
63101         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
63103         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
63104         rename.
63105         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
63106         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
63107         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
63108         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63109         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63110         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
63111         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
63112         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
63114 2011-10-24  Andreas Schwab  <schwab@redhat.com>
63116         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
63118 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
63120         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
63122         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
63123         prediction.
63124         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
63126         * string/strnlen.c: Don't define STRNLEN, reverse logic.
63127         Remove unused variable magic_bits.
63128         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
63130         * string/strnlen.c: Define and use STRNLEN macro.
63131         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
63132         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
63133         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
63134         * wcsmbs/wcslen.c: Define and use WCSLEN.
63135         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
63136         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
63137         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
63138         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
63139         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
63140         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
63141         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
63143 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63145         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63146         strnlen-sse2-no-bsf.
63147         Rename strlen-no-bsf to strlen-sse2-no-bsf.
63148         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
63149         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
63150         Add strnlen support.
63151         (USE_AS_STRNLEN): New macro.
63152         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
63153         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
63154         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
63155         * sysdeps/x86_64/wcslen.S: New file.
63157 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
63159         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
63160         XMM-moves are used for copying on small sizes.
63162 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63164         * wcsmbs/Makefile (strop-tests): Add wcschr.
63165         * wcsmbs/test-wcschr.c: New file.
63166         * string/test-strchr.c: Update.
63167         Add wcschr support.
63168         (WIDE): New macro.
63170 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63172         * wcsmbs/Makefile (strop-tests): Add wcslen.
63173         * wcsmbs/test-wcslen.c: New file.
63174         * string/test-strlen.c: Update.
63175         Add wcslen support.
63176         (WIDE): New macro.
63178 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
63180         * po/it.po: Update from translation team.
63182 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63184         * sysdeps/x86_64/wcscmp.S: Update.
63185         Fix wrong comparison semantics.
63186         wcscmp shall use signed comparison not unsigned.
63187         Don't use substraction to avoid overflow bug.
63188         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
63189         * wcsmbc/wcscmp.c: Likewise.
63190         * string/test-strcmp.c: Likewise.
63191         Add new tests to check cases with negative values.
63193 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
63195         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
63196         * sysdeps/x86_64/dla.h: ...here.  New file.
63197         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
63198         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
63199         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
63200         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63201         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63202         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
63203         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
63204         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
63205         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
63207 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
63209         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
63210         __ynl_finite aliases.
63212 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
63214         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63216         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
63217         define DLA_FMA.
63218         [DLA_FMA] (EMULV): Use DLA_FMA.
63219         [DLA_FMA] (MUL12): Use EMULV.
63220         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
63221         that are not needed.
63222         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
63223         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
63224         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63225         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63226         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
63227         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
63228         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
63230 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
63232         * math/s_nan.c: Undef __nan.
63233         * math/s_nanf.c: Undef __nanf.
63234         * math/s_nanl.c: Undef __nanl.
63235         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
63236         "math_private.h".
63238 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
63240         * math/s_catan.c: Add branch predictions.
63241         * math/s_catanf.c: Likewise.
63242         * math/s_catanh.c: Likewise.
63243         * math/s_catanhf.c: Likewise.
63244         * math/s_catanhl.c: Likewise.
63245         * math/s_catanl.c: Likewise.
63246         * math/s_cexp.c: Likewise.
63247         * math/s_cexpf.c: Likewise.
63248         * math/s_cexpl.c: Likewise.
63249         * math/s_clog.c: Likewise.
63250         * math/s_clog10.c: Likewise.
63251         * math/s_clog10f.c: Likewise.
63252         * math/s_clog10l.c: Likewise.
63253         * math/s_clogf.c: Likewise.
63254         * math/s_clogl.c: Likewise.
63255         * math/s_csqrt.c: Likewise.
63256         * math/s_csqrtf.c: Likewise.
63257         * math/s_csqrtl.c: Likewise.
63258         * math/s_ctanf.c: Likewise.
63259         * math/s_ctanh.c: Likewise.
63260         * math/s_ctanhf.c: Likewise.
63261         * math/s_ctanhl.c: Likewise.
63262         * math/s_ctanl.c: Likewise.
63264         * math/math_private.h: Define __nan, __nanf, __nanl.
63265         * math/s_cacosh.c: Include <math_private.h>.
63266         * math/s_cacoshl.c: Likewise.
63267         * math/s_casinh.c: Likewise.
63268         * math/s_casinhf.c: Likewise.
63269         * math/s_casinhl.c: Likewise.
63270         * math/s_ccos.c: Rely entire on ccosh.
63271         * math/s_ccosf.c: Rely entire on ccoshf.
63272         * math/s_ccosl.c: Rely entirely on ccoshl.
63273         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
63274         Remove tests for FE_INVALID.
63275         * math/s_ccoshf.c: Likewise.
63276         * math/s_ccoshl.c: Likewise.
63277         * math/s_csin.c: Likewise.
63278         * math/s_csinf.c: Likewise.
63279         * math/s_csinh.c Likewise.
63280         * math/s_csinhf.c: Likewise.
63281         * math/s_csinhl.c: Likewise.
63282         * math/s_csinl.c: Likewise.
63283         * math/s_ctan.c: Likewise.
63284         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
63285         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
63286         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
63288 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
63290         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
63291         compilation problems.
63293         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
63294         __builtin_expect.
63296 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
63298         * sysdeps/i386/configure.in: Test for -mfma4 option.
63299         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
63300         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
63301         COMMON_CPUID_INDEX_80000001.
63302         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
63303         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
63304         use it if FMA3 is not supported.
63305         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
63307         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
63308         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
63310 2011-10-20  Andreas Schwab  <schwab@redhat.com>
63312         [BZ #12892]
63313         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
63314         it would create a cycle with a link time dependency.
63316 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
63318         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
63319         instruction.
63320         * string/Makefile (strop-tests): Add rawmemchr.
63321         * string/test-rawmemchr.c: New file.
63323         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
63324         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
63325         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
63326         when compiling str{,n}casecmp and when AVX is available.  Hook up
63327         new optimized code in initializers.
63329 2011-10-19  Andreas Schwab  <schwab@redhat.com>
63331         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
63332         __feraiseexcept instead of feraiseexcept.
63334 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
63336         * math/math_private.h: Define defaults for libc_fetestexcept and
63337         libc_feupdateenv.
63338         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
63339         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
63340         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
63341         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
63342         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
63343         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
63344         libc_fetestexcept and libc_feupdateenv.
63346         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
63347         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
63348         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
63349         * sysdeps/x86_64/fpu/math_private.h: Define special version of
63350         libc_feholdexcept_setround.
63352         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
63353         Add s_nearbyint-c and s_nearbyintf-c.
63354         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
63355         nearbyintf inlines.
63356         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
63357         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
63358         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
63359         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
63361         * math/math_private.h: Define defaults for libc_fegetround,
63362         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
63363         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
63364         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
63365         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
63366         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
63367         standard functions.
63368         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
63369         Remove comments and hacks for old compiler versions.
63370         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
63371         libc_fegetround, libc_fesetround, libc_feholdexcept, and
63372         libc_feholdexceptl.
63374 2011-10-18  Andreas Schwab  <schwab@redhat.com>
63376         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
63377         (__feraiseexcept_renamed): Add __NTH.
63378         (feraiseexcept): Add __NTH.  Rename local variables to fix
63379         namespace violations.
63381 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
63383         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
63385         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
63387         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
63388         recently added interfaces.
63389         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
63391         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
63392         about macro parameter expansion.
63394         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
63395         __NO_MATH_INLINES is defined.  Cleanups.
63397         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
63398         and __floorf is target has SSE4.1.
63399         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
63400         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
63401         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
63402         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
63404         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
63405         name.
63406         (floorf): Likewise.
63408         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
63410 2011-10-17  Andreas Schwab  <schwab@redhat.com>
63412         * misc/sys/cdefs.h: Fix last change.
63414         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
63415         database lookup.
63417 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
63419         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
63421         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
63422         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
63423         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
63424         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
63425         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
63426         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
63427         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
63428         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
63429         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
63430         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
63431         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
63432         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
63433         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
63434         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
63435         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
63436         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
63437         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
63438         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
63439         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
63440         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
63441         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
63442         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
63444         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
63445         ceil, ceilf, floor, floorf.
63447         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
63448         Perform IRELATIVE relocations last.
63450         * elf/do-rel.h: Add another parameter nrelative, replacing the
63451         local variable with the same name.  Change name of the function
63452         to end in Rel or Rela (uppercase).
63453         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
63454         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
63455         elf_dynamic_do_##reloc function.
63457 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
63459         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
63460         is sufficient, at least on modern CPUs.
63462         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
63464         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
63465         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
63467         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
63468         __expl_finite.
63469         * math/bits/math-finite.h: Add entries for exp.
63470         * math/e_expl.c: Add __*_finite alias.
63471         * sysdeps/i386/fpu/e_exp.S: Likewise.
63472         * sysdeps/i386/fpu/e_expf.S: Likewise.
63473         * sysdeps/i386/fpu/e_expl.c: Likewise.
63474         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
63475         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
63476         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
63477         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
63478         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
63479         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
63480         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
63482         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
63483         is sufficient, at least on modern CPUs.
63485         * ctype/ctype-info.c (__ctype_init): Define.
63486         * include/ctype.h (__ctype_init): Declare.
63487         (__ctype_b_loc): The variable is always initialized.
63488         (__ctype_toupper_loc): Likewise.
63489         (__ctype_tolower_loc): Likewise.
63490         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
63491         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
63493 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
63495         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
63497         * configure.in: Also look in $cxxmachine/include for C++ system
63498         headers.
63500 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63502         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
63503         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
63504         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
63505         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
63506         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
63507         (USE_AS_WMEMCMP): New macro.
63508         Fixing indents.
63509         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
63510         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
63511         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
63512         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
63513         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63514         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
63515         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
63516         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
63517         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
63518         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
63519         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
63520         (USE_AS_WMEMCMP): New macro.
63521         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
63522         * sysdeps/string/test-memcmp.c: Update.
63523         Fix simple_wmemcmp.
63524         Add new tests.
63525         * wcsmbs/wmemcmp.c: Update.
63526         (WMEMCMP): New macro.
63527         Fix overflow bug.
63529 2011-10-12  Andreas Jaeger  <aj@suse.de>
63531         [BZ #13268]
63532         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
63534 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
63536         * libio/iofwide.c (do_length): Avoid warning.
63538         * ctype/ctype.h (__isctype_f): Add missing __THROW.
63540 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
63542         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
63544         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
63545         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
63546         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
63547         * sysdeps/i386/i686/fpu/e_log.S: New file.
63548         * sysdeps/i386/i686/fpu/e_logf.S: New file.
63549         * sysdeps/i386/i686/fpu/e_logl.S: New file.
63551         * ctype/ctype.h: Add support for inlined isXXX functions when
63552         compiling C++ code.
63554 2011-10-14  Andreas Schwab  <schwab@redhat.com>
63556         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
63558         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
63560 2011-10-13  Roland McGrath  <roland@hack.frob.com>
63562         [BZ #13291]
63563         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
63565 2011-10-13  Andreas Schwab  <schwab@redhat.com>
63567         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
63568         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
63569         feraiseexcept.
63571         * sysdeps/x86_64/memrchr.S: Check for zero size.
63573         * string/stratcliff.c: Add memrchr tests.
63575 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63577         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63578         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
63579         rawmemchr-sse2 rawmemchr-sse2-bsf.
63580         * sysdeps/i386/i686/multiarch/memchr.S: New file.
63581         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
63582         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
63583         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
63584         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
63585         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
63586         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
63587         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
63588         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
63589         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
63590         * string/memrchr.c (MEMRCHR): New macro.
63592 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
63594         Add integration with gcc's -ffinite-math-only and optimize wrapper
63595         functions in libm.
63596         * Versions.def: Define GLIBC_2.15 version for libm.
63597         * math/Makefile (headers): Add bits/math-finite.h.
63598         * math/bits/math-finite.h: New file.
63599         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
63600         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
63601         * math/e_acoshl.c: Add __*_finite alias.
63602         * math/e_acosl.c: Likewise.
63603         * math/e_asinl.c: Likewise.
63604         * math/e_atan2l.c: Likewise.
63605         * math/e_atanhl.c: Likewise.
63606         * math/e_coshl.c: Likewise.
63607         * math/e_exp10.c: Likewise.
63608         * math/e_exp10f.c: Likewise.
63609         * math/e_exp10l.c: Likewise.
63610         * math/e_exp2l.c: Likewise.
63611         * math/e_fmodl.c: Likewise.
63612         * math/e_gammal_r.c: Likewise.
63613         * math/e_hypotl.c: Likewise.
63614         * math/e_j0l.c: Likewise.
63615         * math/e_j1l.c: Likewise.
63616         * math/e_jnl.c: Likewise.
63617         * math/e_lgammal_r.c: Likewise.
63618         * math/e_log10l.c: Likewise.
63619         * math/e_log2l.c: Likewise.
63620         * math/e_logl.c: Likewise.
63621         * math/e_powl.c: Likewise.
63622         * math/e_sinhl.c: Likewise.
63623         * math/e_sqrtl.c: Likewise.
63624         * math/e_scalb.c: Completely rewritten and optimized.
63625         * math/e_scalbf.c: Likewise.
63626         * math/e_scalbl.c: Likewise.
63627         * math/w_acos.c: Likewise.
63628         * math/w_acosf.c: Likewise.
63629         * math/w_acosl.c: Likewise.
63630         * math/w_acosh.c: Likewise.
63631         * math/w_acoshf.c: Likewise.
63632         * math/w_acoshl.c: Likewise.
63633         * math/w_asin.c: Likewise.
63634         * math/w_asinf.c: Likewise.
63635         * math/w_asinl.c: Likewise.
63636         * math/w_atan2.c: Likewise.
63637         * math/w_atan2f.c: Likewise.
63638         * math/w_atan2l.c: Likewise.
63639         * math/w_atanh.c: Likewise.
63640         * math/w_atanhf.c: Likewise.
63641         * math/w_atanhl.c: Likewise.
63642         * math/w_exp10.c: Likewise.
63643         * math/w_exp10f.c: Likewise.
63644         * math/w_exp10l.c: Likewise.
63645         * math/w_fmod.c: Likewise.
63646         * math/w_fmodf.c: Likewise.
63647         * math/w_fmodl.c: Likewise.
63648         * math/w_j0.c: Likewise.
63649         * math/w_j0f.c: Likewise.
63650         * math/w_j0l.c: Likewise.
63651         * math/w_j1.c: Likewise.
63652         * math/w_j1f.c: Likewise.
63653         * math/w_j1l.c: Likewise.
63654         * math/w_jn.c: Likewise.
63655         * math/w_jnf.c: Likewise.
63656         * math/w_log.c: Likewise.
63657         * math/w_logf.c: Likewise.
63658         * math/w_logl.c: Likewise.
63659         * math/w_log10.c: Likewise.
63660         * math/w_log10f.c: Likewise.
63661         * math/w_log10l.c: Likewise.
63662         * math/w_log2.c: Likewise.
63663         * math/w_log2f.c: Likewise.
63664         * math/w_log2l.c: Likewise.
63665         * math/w_pow.c: Likewise.
63666         * math/w_powf.c: Likewise.
63667         * math/w_powl.c: Likewise.
63668         * math/w_remainder.c: Likewise.
63669         * math/w_remainderf.c: Likewise.
63670         * math/w_remainderl.c: Likewise.
63671         * math/w_scalb.c: Likewise.
63672         * math/w_scalbf.c: Likewise.
63673         * math/w_scalbl.c: Likewise.
63674         * math/w_sqrt.c: Likewise.
63675         * math/w_sqrtf.c: Likewise.
63676         * math/w_sqrtl.c: Likewise.
63677         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
63678         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
63679         used.
63680         * math/math_private.h: Declare __kernel_standard_f.
63681         * math/w_cosh.c: Remove cruft and optimize a bit.
63682         * math/w_coshf.c: Likewise.
63683         * math/w_coshl.c: Likewise.
63684         * math/w_exp2.c: Likewise.
63685         * math/w_exp2f.c: Likewise.
63686         * math/w_exp2l.c: Likewise.
63687         * math/w_hypot.c: Likewise.
63688         * math/w_hypotf.c: Likewise.
63689         * math/w_hypotl.c: Likewise.
63690         * math/w_lgamma.c: Likewise.
63691         * math/w_lgamma_r.c: Likewise.
63692         * math/w_lgammaf.c: Likewise.
63693         * math/w_lgammaf_r.c: Likewise.
63694         * math/w_lgammal.c: Likewise.
63695         * math/w_lgammal_r.c: Likewise.
63696         * math/w_sinh.c: Likewise.
63697         * math/w_sinhf.c: Likewise.
63698         * math/w_sinhl.c: Likewise.
63699         * math/w_tgamma.c: Likewise.
63700         * math/w_tgammaf.c: Likewise.
63701         * math/w_tgammal.c: Likewise.
63702         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
63703         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
63704         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
63705         Minor optimizations.  Pretty printing.  Remove cruft.
63706         * sysdeps/i386/fpu/e_acosf.S: Likewise.
63707         * sysdeps/i386/fpu/e_acosh.S: Likewise.
63708         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
63709         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
63710         * sysdeps/i386/fpu/e_acosl.c: Likewise.
63711         * sysdeps/i386/fpu/e_asin.S: Likewise.
63712         * sysdeps/i386/fpu/e_asinf.S: Likewise.
63713         * sysdeps/i386/fpu/e_atan2.S: Likewise.
63714         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
63715         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
63716         * sysdeps/i386/fpu/e_atanh.S: Likewise.
63717         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
63718         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
63719         * sysdeps/i386/fpu/e_exp10.S: Likewise.
63720         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
63721         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
63722         * sysdeps/i386/fpu/e_exp2.S: Likewise.
63723         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
63724         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
63725         * sysdeps/i386/fpu/e_fmod.S: Likewise.
63726         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
63727         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
63728         * sysdeps/i386/fpu/e_hypot.S: Likewise.
63729         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
63730         * sysdeps/i386/fpu/e_log.S: Likewise.
63731         * sysdeps/i386/fpu/e_log10.S: Likewise.
63732         * sysdeps/i386/fpu/e_log10f.S: Likewise.
63733         * sysdeps/i386/fpu/e_log10l.S: Likewise.
63734         * sysdeps/i386/fpu/e_log2.S: Likewise.
63735         * sysdeps/i386/fpu/e_log2f.S: Likewise.
63736         * sysdeps/i386/fpu/e_log2l.S: Likewise.
63737         * sysdeps/i386/fpu/e_logf.S: Likewise.
63738         * sysdeps/i386/fpu/e_logl.S: Likewise.
63739         * sysdeps/i386/fpu/e_pow.S: Likewise.
63740         * sysdeps/i386/fpu/e_powf.S: Likewise.
63741         * sysdeps/i386/fpu/e_powl.S: Likewise.
63742         * sysdeps/i386/fpu/e_remainder.S: Likewise.
63743         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
63744         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
63745         * sysdeps/i386/fpu/e_scalb.S: Likewise.
63746         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
63747         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
63748         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
63749         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
63750         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
63751         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
63752         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
63753         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
63754         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
63755         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
63756         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
63757         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
63758         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
63759         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
63760         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
63761         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
63762         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
63763         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63764         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
63765         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
63766         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63767         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
63768         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
63769         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
63770         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
63771         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
63772         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
63773         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
63774         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
63775         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
63776         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
63777         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
63778         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
63779         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
63780         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
63781         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
63782         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
63783         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
63784         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
63785         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
63786         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
63787         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
63788         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
63789         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
63790         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
63791         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
63792         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
63793         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
63794         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
63795         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
63796         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
63797         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
63798         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
63799         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
63800         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
63801         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
63802         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
63803         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
63804         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
63805         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
63806         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
63807         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
63808         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
63809         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
63810         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
63811         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
63812         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
63813         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
63814         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
63815         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
63816         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
63817         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
63818         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
63819         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
63820         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
63821         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
63822         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
63823         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
63824         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
63825         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
63826         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
63827         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
63828         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
63829         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
63830         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
63831         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
63832         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
63833         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
63834         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
63835         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
63836         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
63837         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
63838         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
63839         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
63840         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
63841         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
63842         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
63843         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
63844         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
63845         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
63846         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
63847         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
63848         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
63849         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
63850         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
63851         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
63852         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
63853         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
63854         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
63855         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
63856         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
63857         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
63858         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
63859         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
63860         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
63861         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
63862         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
63863         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
63864         (__isnanf): Likewise.
63865         (__isinf_ns): Likewise.
63866         (__isinf_nsf): Likewise.
63867         (__finite): Likewise.
63868         (__finitef): Likewise.
63869         (__ieee754_sqrt): Define as macro.
63870         (__ieee754_sqrtf): Define as macro.
63871         (__ieee754_sqrtl): Define as macro.
63872         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
63873         inlined copy.
63874         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
63875         __FINITE_MATH_ONLY__ consistent.
63876         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
63878 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
63880         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
63881         of rawmemchr.
63883         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
63885 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
63887         * po/ja.po: Update from translation team.
63889 2011-10-08  Roland McGrath  <roland@hack.frob.com>
63891         * locale/programs/locarchive.c (prepare_address_space): New function.
63892         (create_archive, enlarge_archive, open_archive): Use it.
63894         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
63895         inside [SHARED], where it is used.
63897         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
63899         * nss/getent.c (netgroup_keys): Remove unused variable.
63900         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
63902 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
63904         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
63905         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
63906         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
63907         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
63908         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
63909         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
63910         * math/Makefile (libm-calls): Add s_isinf_ns.
63911         * math/divtc3.c: Use __isinf_nsl instead of isinf.
63912         * math/multc3.c: Likewise.
63913         * math/s_casin.c: Likewise.
63914         * math/s_casinf.c: Likewise.
63915         * math/s_casinl.c: Likewise.
63916         * math/s_ccos.c: Likewise.
63917         * math/s_ccosf.c: Likewise.
63918         * math/s_ccosl.c: Likewise.
63919         * math/s_ctan.c: Likewise.
63920         * math/s_ctanf.c: Likewise.
63921         * math/s_ctanh.c: Likewise.
63922         * math/s_ctanhf.c: Likewise.
63923         * math/s_ctanhl.c: Likewise.
63924         * math/s_ctanl.c: Likewise.
63925         * math/w_fmod.c: Likewise.
63926         * math/w_fmodf.c: Likewise.
63927         * math/w_fmodl.c: Likewise.
63928         * math/w_remainder.c: Likewise.
63929         * math/w_remainderf.c: Likewise.
63930         * math/w_remainderl.c: Likewise.
63931         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
63932         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
63933         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
63934         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
63935         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
63936         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
63937         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
63938         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
63940         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
63941         of the number.
63942         * stdio-common/printf_fphex.c: Likewise.
63943         * stdio-common/printf_size.c: Likewise.
63945         * math/e_exp10.c: Include math_private.h using <...> not "...".
63946         * math/e_exp10f.c: Likewise.
63947         * math/e_exp10l.c: Likewise.
63948         * math/e_exp2l.c: Likewise.
63949         * math/e_j0l.c: Likewise.
63950         * math/e_j1l.c: Likewise.
63951         * math/e_jnl.c: Likewise.
63952         * math/e_lgammal_r.c: Likewise.
63953         * math/e_rem_pio2l.c: Likewise.
63954         * math/e_scalb.c: Likewise.
63955         * math/e_scalbf.c: Likewise.
63956         * math/e_scalbl.c: Likewise.
63957         * math/k_cosl.c: Likewise.
63958         * math/k_sinl.c: Likewise.
63959         * math/k_tanl.c: Likewise.
63960         * math/s_cacoshf.c: Likewise.
63961         * math/s_catan.c: Likewise.
63962         * math/s_catanf.c: Likewise.
63963         * math/s_catanh.c: Likewise.
63964         * math/s_catanhf.c: Likewise.
63965         * math/s_catanhl.c: Likewise.
63966         * math/s_catanl.c: Likewise.
63967         * math/s_ccosh.c: Likewise.
63968         * math/s_ccoshf.c: Likewise.
63969         * math/s_ccoshl.c: Likewise.
63970         * math/s_cexp.c: Likewise.
63971         * math/s_cexpf.c: Likewise.
63972         * math/s_cexpl.c: Likewise.
63973         * math/s_clog.c: Likewise.
63974         * math/s_clog10.c: Likewise.
63975         * math/s_clog10f.c: Likewise.
63976         * math/s_clog10l.c: Likewise.
63977         * math/s_clogf.c: Likewise.
63978         * math/s_clogl.c: Likewise.
63979         * math/s_csin.c: Likewise.
63980         * math/s_csinf.c: Likewise.
63981         * math/s_csinh.c: Likewise.
63982         * math/s_csinhf.c: Likewise.
63983         * math/s_csinhl.c: Likewise.
63984         * math/s_csinl.c: Likewise.
63985         * math/s_csqrt.c: Likewise.
63986         * math/s_csqrtf.c: Likewise.
63987         * math/s_csqrtl.c: Likewise.
63988         * math/s_ctan.c: Likewise.
63989         * math/s_ctanf.c: Likewise.
63990         * math/s_ctanh.c: Likewise.
63991         * math/s_ctanhf.c: Likewise.
63992         * math/s_ctanhl.c: Likewise.
63993         * math/s_ctanl.c: Likewise.
63994         * math/s_ldexp.c: Likewise.
63995         * math/s_ldexpf.c: Likewise.
63996         * math/s_ldexpl.c: Likewise.
63997         * math/s_significand.c: Likewise.
63998         * math/s_significandf.c: Likewise.
63999         * math/s_significandl.c: Likewise.
64000         * math/w_acos.c: Likewise.
64001         * math/w_acosf.c: Likewise.
64002         * math/w_acosh.c: Likewise.
64003         * math/w_acoshf.c: Likewise.
64004         * math/w_acoshl.c: Likewise.
64005         * math/w_acosl.c: Likewise.
64006         * math/w_asin.c: Likewise.
64007         * math/w_asinf.c: Likewise.
64008         * math/w_asinl.c: Likewise.
64009         * math/w_atan2.c: Likewise.
64010         * math/w_atan2f.c: Likewise.
64011         * math/w_atan2l.c: Likewise.
64012         * math/w_atanh.c: Likewise.
64013         * math/w_atanhf.c: Likewise.
64014         * math/w_atanhl.c: Likewise.
64015         * math/w_cosh.c: Likewise.
64016         * math/w_coshf.c: Likewise.
64017         * math/w_coshl.c: Likewise.
64018         * math/w_dremf.c: Likewise.
64019         * math/w_exp10.c: Likewise.
64020         * math/w_exp10f.c: Likewise.
64021         * math/w_exp10l.c: Likewise.
64022         * math/w_exp2.c: Likewise.
64023         * math/w_exp2f.c: Likewise.
64024         * math/w_fmod.c: Likewise.
64025         * math/w_fmodf.c: Likewise.
64026         * math/w_fmodl.c: Likewise.
64027         * math/w_hypot.c: Likewise.
64028         * math/w_hypotf.c: Likewise.
64029         * math/w_hypotl.c: Likewise.
64030         * math/w_j0.c: Likewise.
64031         * math/w_j0f.c: Likewise.
64032         * math/w_j0l.c: Likewise.
64033         * math/w_j1.c: Likewise.
64034         * math/w_j1f.c: Likewise.
64035         * math/w_j1l.c: Likewise.
64036         * math/w_jn.c: Likewise.
64037         * math/w_jnf.c: Likewise.
64038         * math/w_jnl.c: Likewise.
64039         * math/w_lgamma.c: Likewise.
64040         * math/w_lgamma_r.c: Likewise.
64041         * math/w_lgammaf.c: Likewise.
64042         * math/w_lgammaf_r.c: Likewise.
64043         * math/w_lgammal.c: Likewise.
64044         * math/w_lgammal_r.c: Likewise.
64045         * math/w_log.c: Likewise.
64046         * math/w_log10.c: Likewise.
64047         * math/w_log10f.c: Likewise.
64048         * math/w_log10l.c: Likewise.
64049         * math/w_log2.c: Likewise.
64050         * math/w_log2f.c: Likewise.
64051         * math/w_log2l.c: Likewise.
64052         * math/w_logf.c: Likewise.
64053         * math/w_logl.c: Likewise.
64054         * math/w_pow.c: Likewise.
64055         * math/w_powf.c: Likewise.
64056         * math/w_powl.c: Likewise.
64057         * math/w_remainder.c: Likewise.
64058         * math/w_remainderf.c: Likewise.
64059         * math/w_remainderl.c: Likewise.
64060         * math/w_scalb.c: Likewise.
64061         * math/w_scalbf.c: Likewise.
64062         * math/w_scalbl.c: Likewise.
64063         * math/w_sinh.c: Likewise.
64064         * math/w_sinhf.c: Likewise.
64065         * math/w_sinhl.c: Likewise.
64066         * math/w_sqrt.c: Likewise.
64067         * math/w_sqrtf.c: Likewise.
64068         * math/w_sqrtl.c: Likewise.
64069         * math/w_tgamma.c: Likewise.
64070         * math/w_tgammaf.c: Likewise.
64071         * math/w_tgammal.c: Likewise.
64073         * po/ja.po: Update from translation team.
64075 2011-09-29  Andreas Jaeger  <aj@suse.de>
64077         [BZ #13179]
64078         * sunrpc/netname.c (netname2host): Fix logic.
64080         [BZ #6779]
64081         [BZ #6783]
64082         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
64083         correctly.
64084         * math/w_remainder.c (__remainder): Likewise.
64085         * math/w_remainderf.c (__remainderf): Likewise.
64086         * math/libm-test.inc (remainder_test): Add test cases.
64088 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64090         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
64091         sdiv_qrnnd.
64093 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
64095         * string/test-memcmp.c: Avoid unncessary #defines.
64096         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
64098 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64100         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
64101         Use new sse2 version for core i3 - i7 as it's faster
64102         than sse42 version.
64103         (bit_Prefer_PMINUB_for_stringop): New.
64104         * sysdeps/x86_64/rawmemchr.S: Update.
64105         Replace with faster SSE2 version.
64106         * sysdeps/x86_64/memrchr.S: New file.
64107         * sysdeps/x86_64/memchr.S: Update.
64108         Replace with faster SSE2 version.
64110 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
64112         * elf/dl-load.c (lose): Add cast to avoid warning.
64114 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
64116         * po/ca.po: Update from translation team.
64118         * inet/getnetgrent_r.c: Hook up nscd.
64119         * nscd/Makefile (routines): Add nscd_netgroup.
64120         (nscd-modules): Add netgroupcache.
64121         (CFLAGS-netgroupcache.c): Define.
64122         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
64123         (cache_search): Add const to second parameter.
64124         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
64125         INNETGR.
64126         (dbs): Add netgrdb entry.
64127         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
64128         (verify_persistent_db): Handle netgrdb.
64129         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
64130         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
64131         GETFDNETGR.
64132         (netgroup_response_header): Define.
64133         (innetgroup_response_header): Define.
64134         (datahead): Add netgroup_response_header and innetgroup_response_header
64135         elements.
64136         * nscd/nscd.conf: Add entries for netgroup cache.
64137         * nscd/nscd.h (dbtype): Add netgrdb.
64138         (_PATH_NSCD_NETGROUP_DB): Define.
64139         (netgroup_iov_disabled): Declare.
64140         (xmalloc, xcalloc, xrealloc): Move declarations here.
64141         (cache_search): Adjust prototype.
64142         Add netgroup-related prototypes.
64143         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
64144         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
64145         (__nscd_innetgr): Declare.
64146         * nscd/selinux.c (perms): Use access_vector_t as element type and
64147         add netgroup-related initializers.
64148         * nscd/netgroupcache.c: New file.
64149         * nscd/nscd_netgroup.c: New file.
64150         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
64151         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
64152         For four parameters use innetgr.
64153         * nss/nss_files/files-init.c: Add definition and callback for netgr.
64154         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
64155         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
64156         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
64158         * nscd/connections.c (register_traced_file): Don't register file
64159         for disabled databases.
64161 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
64163         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
64165         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
64166         from tree and freeing node.
64168 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
64170         * nss/nsswitch.c (__nss_database_lookup): Handle
64171         nss_parse_service_list out of memory case.
64173 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
64175         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
64176         out of memory case.
64178 2011-10-04  Andreas Schwab  <schwab@redhat.com>
64180         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
64181         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
64182         pass it down.
64183         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
64184         elf_machine_rela, elf_machine_lazy_rel.
64185         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
64186         (ELF_DYNAMIC_DO_REL): Likewise.
64187         (ELF_DYNAMIC_DO_RELA): Likewise.
64188         (ELF_DYNAMIC_RELOCATE): Likewise.
64189         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
64190         to ELF_DYNAMIC_DO_REL.
64191         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
64192         (dl_main): In trace mode always set __RTLD_NOIFUNC.
64193         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
64194         elf_machine_rela.
64195         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
64196         skip_ifunc, don't call ifunc function if non-zero.
64197         (elf_machine_rela): Likewise.
64198         (elf_machine_lazy_rel): Likewise.
64199         (elf_machine_lazy_rela): Likewise.
64200         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
64201         (elf_machine_lazy_rel): Likewise.
64202         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
64203         Likewise.
64204         (elf_machine_lazy_rel): Likewise.
64205         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
64206         Likewise.
64207         (elf_machine_lazy_rel): Likewise.
64208         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
64209         (elf_machine_lazy_rel): Likewise.
64210         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
64211         (elf_machine_lazy_rel): Likewise.
64212         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
64213         (elf_machine_lazy_rel): Likewise.
64214         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
64215         (elf_machine_lazy_rel): Likewise.
64216         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
64217         (elf_machine_lazy_rel): Likewise.
64218         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
64219         (elf_machine_lazy_rel): Likewise.
64221 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
64223         * nss/nss_files/files-init.c (_nss_files_init): Use static
64224         initialization for all the *_traced_file variables.
64226 2011-09-28  Andreas Schwab  <schwab@redhat.com>
64228         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
64230 2011-09-27  Roland McGrath  <roland@hack.frob.com>
64232         [BZ #13226]
64233         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
64235 2011-09-27  Andreas Schwab  <schwab@redhat.com>
64237         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
64238         Reread the line before reparsing it.
64240 2011-09-26  Andreas Schwab  <schwab@redhat.com>
64242         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
64244 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
64245             Maxim Kuvyrkov  <maxim@codesourcery.com>
64246             Joseph Myers  <joseph@codesourcery.com>
64248         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
64249         if needed for __stack_chk_guard.
64251 2011-09-19  Roland McGrath  <roland@hack.frob.com>
64253         * sysdeps/posix/spawni.c (script_execute): Always define it.
64254         It will be optimized away if unused.
64255         (maybe_script_execute): New function.
64256         (__spawni): Call it.
64258         * Makerules: Don't include tls.make.
64259         (config-tls): Always set to thread.
64260         * tls.make.c: File removed.
64262 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
64264         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
64265         * config.make.in (CPPFLAGS-config): New substituted variable.
64267 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
64269         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
64271         [BZ #13192]
64272         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
64273         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
64275 2011-09-15  Roland McGrath  <roland@hack.frob.com>
64277         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
64278         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
64279         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
64280         (CALL_FAIL): Likewise.
64281         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
64282         (CALL_FAIL): Macro removed.
64283         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
64285 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
64287         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
64288         for __FINITE_MATH_ONLY__ == 1.
64290 2011-09-15  Andreas Schwab  <schwab@redhat.com>
64292         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
64293         __ieee754_sqrt instead of sqrt.
64294         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
64295         __ieee754_sqrtf instead of sqrtf.
64296         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
64297         __floorf instead of floorf.
64298         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
64299         __floorf, __truncf instead of floorf, truncf.
64301 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
64303         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
64305         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
64306         __extern_always_inline.
64307         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
64308         32-bit.
64310 2011-09-14  Andreas Schwab  <schwab@redhat.com>
64312         * elf/rtld.c (dl_main): Also relocate in dependency order when
64313         doing symbol dependency testing.
64315 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
64317         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
64318         Always define `refsym'.
64320 2011-09-13  Andreas Schwab  <schwab@redhat.com>
64322         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
64323         (__FD_ELT): Renamed from __FDELT.
64324         * misc/bits/select2.h (__FD_ELT): Likewise.
64325         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
64326         __FD_MASK instead of __FDELT, __FDMASK.
64327         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
64328         Likewise.
64329         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
64330         Likewise.
64332         * elf/Makefile (gen-ldd): Fix pattern.
64334         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
64335         (init_tls): Likewise.
64337 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
64339         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
64341 2011-09-12  Andreas Schwab  <schwab@redhat.com>
64343         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
64344         `struct cmsghdr *' instead of `void *'.
64345         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
64346         Likewise.
64348 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
64350         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
64351         if non-absolute.
64352         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
64353         ldd_rewrite_script.
64355 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
64357         * configure.in: Remove --with-tls option.
64358         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
64359         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
64360         out in case it is missing.
64361         * sysdeps/ia64/elf/configure.in: Likewise.
64362         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
64363         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
64364         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
64365         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
64366         * sysdeps/sh/elf/configure.in: Likewise.
64367         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
64368         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
64369         * sysdeps/x86_64/elf/configure.in: Likewise.
64370         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
64371         * sysdeps/mach/hurd/tls.h: Likewise.
64373         [BZ #13067]
64374         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
64376         [BZ #13090]
64377         * configure.in: Fix use of AC_INIT.
64379         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
64381 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
64383         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
64384         __set_errno.
64385         * malloc/hooks.c: Likewise.
64387         [BZ #11929]
64388         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
64389         variables statically.
64390         (narenas): Initialize.
64391         (list_lock): Initialize.
64392         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
64393         initializtion of main_arena and list_lock.  Small cleanups.
64394         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
64395         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
64396         Add initializers to main_arena and mp_.
64397         (malloc_state): Remove pagesize member.  Change all users to use
64398         GLRO(dl_pagesize).
64400         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
64401         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
64402         is always initialized.
64404         * malloc/malloc.c: Removed unused configurations and dead code.
64405         * malloc/arena.c: Likewise.
64406         * malloc/hooks.c: Likewise.
64407         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
64409         * include/tls.h: Removed.  USE___THREAD must always be defined.
64410         * bits/libc-tsd.h: Don't handle !USE___THREAD.
64411         * elf/dl-libc.c: Likewise.
64412         * elf/dl-tsd.c: Likewise.
64413         * include/errno.h: Likewise.
64414         * include/netdb.h: Likewise.
64415         * include/resolv.h: Likewise.
64416         * inet/herrno-loc.c: Likewise.
64417         * inet/herrno.c: Likewise.
64418         * malloc/arena.c: Likewise.
64419         * malloc/hooks.c: Likewise.
64420         * malloc/malloc.c: Likewise.
64421         * resolv/res-state.c: Likewise.
64422         * resolv/res_libc.c: Likewise.
64423         * sysdeps/i386/dl-machine.h: Likewise.
64424         * sysdeps/ia64/dl-machine.h: Likewise.
64425         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
64426         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
64427         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
64428         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
64429         * sysdeps/sh/dl-machine.h: Likewise.
64430         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
64431         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
64432         * sysdeps/unix/i386/sysdep.S: Likewise.
64433         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
64434         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
64435         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
64436         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
64437         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
64438         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
64439         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
64440         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
64441         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
64442         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
64443         * sysdeps/unix/x86_64/sysdep.S: Likewise.
64444         * sysdeps/x86_64/dl-machine.h: Likewise.
64445         * tls.make.c: Likewise.
64447         * configure.in: Remove --with-__thread option.  Make tests for
64448         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
64449         tls_model attribute fail if no support is available.  Remove
64450         USE_IN_LIBIO.
64451         * Makeconfig: Adjust for dropped configure option.  All features are
64452         now mandatory.
64453         * Makerules: Likewise.
64454         * Versions.def: Likewise.
64455         * argp/argp-fmtstream.c: Likewise.
64456         * argp/argp-fmtstream.h: Likewise.
64457         * argp/argp-help.c: Likewise.
64458         * assert/assert.c: Likewise.
64459         * config.h.in: Likewise.
64460         * config.make.in: Likewise.
64461         * configure: Likewise.
64462         * configure.in: Likewise.
64463         * csu/Versions: Likewise.
64464         * csu/init.c: Likewise.
64465         * elf/tst-audit2.c: Likewise.
64466         * elf/tst-tls10.c: Likewise.
64467         * elf/tst-tls10.h: Likewise.
64468         * elf/tst-tls11.c: Likewise.
64469         * elf/tst-tls12.c: Likewise.
64470         * elf/tst-tls14.c: Likewise.
64471         * elf/tst-tlsmod11.c: Likewise.
64472         * elf/tst-tlsmod12.c: Likewise.
64473         * elf/tst-tlsmod13.c: Likewise.
64474         * elf/tst-tlsmod13a.c: Likewise.
64475         * elf/tst-tlsmod14a.c: Likewise.
64476         * elf/tst-tlsmod15b.c: Likewise.
64477         * elf/tst-tlsmod16a.c: Likewise.
64478         * elf/tst-tlsmod16b.c: Likewise.
64479         * elf/tst-tlsmod7.c: Likewise.
64480         * elf/tst-tlsmod8.c: Likewise.
64481         * elf/tst-tlsmod9.c: Likewise.
64482         * gmon/gmon.c: Likewise.
64483         * grp/fgetgrent_r.c: Likewise.
64484         * grp/putgrent.c: Likewise.
64485         * hurd/fopenport.c: Likewise.
64486         * include/libc-symbols.h: Likewise.
64487         * include/tls.h: Likewise.
64488         * intl/gettextP.h: Likewise.
64489         * intl/loadinfo.h: Likewise.
64490         * locale/global-locale.c: Likewise.
64491         * locale/localeinfo.h: Likewise.
64492         * mach/devstream.c: Likewise.
64493         * malloc/arena.c: Likewise.
64494         * malloc/set-freeres.c: Likewise.
64495         * misc/err.c: Likewise.
64496         * misc/getttyent.c: Likewise.
64497         * misc/mntent_r.c: Likewise.
64498         * posix/getopt.c: Likewise.
64499         * posix/wordexp.c: Likewise.
64500         * pwd/fgetpwent_r.c: Likewise.
64501         * resolv/Versions: Likewise.
64502         * resolv/res_hconf.c: Likewise.
64503         * shadow/fgetspent_r.c: Likewise.
64504         * shadow/putspent.c: Likewise.
64505         * stdio-common/printf_fphex.c: Likewise.
64506         * stdio-common/tmpfile.c: Likewise.
64507         * stdlib/abort.c: Likewise.
64508         * stdlib/fmtmsg.c: Likewise.
64509         * sunrpc/auth_unix.c: Likewise.
64510         * sunrpc/clnt_perr.c: Likewise.
64511         * sunrpc/clnt_tcp.c: Likewise.
64512         * sunrpc/clnt_udp.c: Likewise.
64513         * sunrpc/clnt_unix.c: Likewise.
64514         * sunrpc/openchild.c: Likewise.
64515         * sunrpc/svc_simple.c: Likewise.
64516         * sunrpc/svc_tcp.c: Likewise.
64517         * sunrpc/svc_udp.c: Likewise.
64518         * sunrpc/svc_unix.c: Likewise.
64519         * sunrpc/xdr.c: Likewise.
64520         * sunrpc/xdr_array.c: Likewise.
64521         * sunrpc/xdr_rec.c: Likewise.
64522         * sunrpc/xdr_ref.c: Likewise.
64523         * sunrpc/xdr_stdio.c: Likewise.
64525 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
64527         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
64529 2011-07-03  Andreas Jaeger  <aj@suse.de>
64531         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
64532         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
64533         regenerate with gen-libm-tests.pl.
64535 2010-05-12  Petr Baudis  <pasky@suse.cz>
64537         [BZ #11589]
64538         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
64539         around j0() zero points by switching to j1().
64540         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
64541         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
64542         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
64543         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
64545 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
64547         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
64548         instead of 0.
64549         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
64550         instead of 0.
64551         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
64552         Patch in part by Pavel Roskin <proski@gnu.org>.
64554         [BZ #13138]
64555         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
64556         realloc.
64557         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
64558         Free memory block if necessary.
64560         [BZ #12847]
64561         * libio/genops.c (INTDEF): For string streams the _lock pointer can
64562         be NULL.  Don't lock in this case.
64564 2011-09-09  Roland McGrath  <roland@hack.frob.com>
64566         * elf/elf.h (ELFOSABI_GNU): New macro.
64567         (ELFOSABI_LINUX): Define to that.
64569 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
64571         * string/strncat.c (strncat): Undef the symbol in case it has been
64572         defined in bits/string.h.
64574 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
64576         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
64578         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
64579         link map.
64581 2011-08-17  Andreas Jaeger  <aj@suse.de>
64583         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
64585 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
64586             Ian Lance Taylor  <iant@google.com>
64588         * math/libm-test.inc (lround_test): New testcase.
64589         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
64591 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
64593         * Makefile: Remove support for automatic cvs check-ins.
64594         * Makerules: Likewise.
64595         * config.make.in: Likewise.
64596         * configure.in: Likewise.
64597         * intl/Makefile: Likewise.
64598         * locale/Makefile: Likewise.
64599         * po/Makefile: Likewise.
64600         * posix/Makefile: Likewise.
64601         * sysdeps/gnu/Makefile: Likewise.
64602         * sysdeps/mach/hurd/Makefile: Likewise.
64603         * sysdeps/sparc/sparc32/Makefile: Likewise.
64605         [BZ #13118]
64606         * posix/Makefile (bug-regex32-ENV): Define.
64607         Patch by John Stanley <jpsinthemix@verizon.net>.
64609         * misc/Makefile (headers): Add bits/select2.h.
64610         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
64611         * misc/bits/select2.h: New file.
64612         * include/bits/select2.h: New file.
64613         * debug/Makefile (routines): Add fdelt_chk.
64614         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
64615         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
64616         FD_ISSET.
64617         * debug/fdelt_chk.c: New file.
64619         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
64620         * wcsmbs/test-wmemcmp.c: Likewise.
64621         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
64622         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
64624 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64626         * string/Makefile (strop-tests): Add memcmp.
64627         * string/test-wmemcmp.c: New file.
64628         * string/test-memcmp.c: Add wmemcmp support.
64630 2011-09-08  Roland McGrath  <roland@hack.frob.com>
64632         [BZ #13153]
64633         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
64634         2011-07-19 change.
64636         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
64637         garbage value in a __mach_port_mod_refs call in the cases of the
64638         task-self and thread-self ports.
64640 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64642         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
64644 2011-09-08  Andreas Schwab  <schwab@redhat.com>
64646         * elf/dl-load.c (lose): Check for non-null L.
64648 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
64650         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
64652         * elf/dl-libc.c (dlerror_run): Pass back error code from
64653         dl_catch_error.
64655         [BZ #13123]
64656         * elf/dl-load.c (lose): Free l_origin if it is valid.
64658         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
64659         names.
64660         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
64661         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
64662         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
64663         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
64664         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
64665         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
64667 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64669         * sysdeps/powerpc/fpu/e_hypot.c: New file.
64670         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
64671         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
64672         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
64673         * sysdeps/powerpc/fpu/k_cosf.c: New file.
64674         * sysdeps/powerpc/fpu/k_sinf.c: New file.
64675         * sysdeps/powerpc/fpu/s_cosf.c: New file.
64676         * sysdeps/powerpc/fpu/s_sinf.c: New file.
64677         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
64678         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
64680 2011-08-15  Alan Modra  <amodra@gmail.com>
64682         [BZ #13092]
64683         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
64684         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
64685         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
64686         ppc_mcount to static-only-routines.
64687         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
64688         __mcount_internal.
64689         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
64690         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
64692 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
64694         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
64695         for finite and infinity parameters.
64697 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
64699         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
64700         and add nop instructions for throughput optimization.
64701         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
64703 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
64705         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
64706         aligned copy for power7 with vector-scalar instructions.
64707         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
64709 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
64711         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
64712         AVX check.
64714 2011-09-07  Andreas Schwab  <schwab@redhat.com>
64716         [BZ #13144]
64717         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
64718         last change.
64720 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
64722         * sysdeps/unix/sysv/linux/x86_64/init-first.c
64723         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
64724         syscall wrapper around clock_gettime in __vdso_clock_gettime.
64725         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
64726         clock_gettime.
64728 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
64730         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
64731         Forgot to demangle the pointer.
64733         * sysdeps/i386/sysdep.h: Define atom_text_section.
64734         * sysdeps/x86_64/sysdep.h: Likewise.
64735         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
64736         section with atom_text_section.
64737         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
64738         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
64739         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
64740         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
64741         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
64743         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
64744         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
64745         already be defined.  Change to take two parameters and don't assign
64746         result to variable.  Adjust all users.
64747         Define INTERNAL_GETTIME if not already defined.
64748         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
64749         call.
64750         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
64751         HAVE_CLOCK_GETTIME_VSYSCALL.
64752         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
64754         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
64755         gettimeofday vsyscall, just use time.
64757 2011-09-06  Andreas Schwab  <schwab@redhat.com>
64759         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
64760         <errno.h>.
64762 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
64764         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
64765         syscall on x86-64.
64766         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
64767         syscall.
64768         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
64769         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
64770         syscall if possible.
64772 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
64774         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
64775         e_ident.  Don't pass to find_mapsXX.
64776         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
64778 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
64780         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64781         strchr-sse2-no-bsf strrchr-sse2-no-bsf
64782         * sysdeps/x86_64/multiarch/strchr.S: Update.
64783         Check bit_slow_BSF bit.
64784         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
64785         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
64786         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
64788 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
64790         [BZ #13134]
64791         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
64792         before glibc 2.15.
64793         (tryshell): Define.
64794         (__spawni): Change last parameter to be flag.  Test
64795         SPAWN_XFLAGS_USE_PATH flag to use path or not.
64796         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
64797         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
64798         * posix/spawni.c: Likewise.
64799         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
64800         * posix/spawnp.c: Likewise.  Change normal version to use
64801         SPAWN_XFLAGS_USE_PATH.
64802         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
64803         SPAWN_XFLAGS_TRY_SHELL.
64805         [BZ #13150]
64806         * posix/glob.h: Remove gcc 1.x support.
64808         [BZ #13068]
64809         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
64811 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
64813         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
64814         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
64815         strrchr-sse2-bsf
64816         * sysdeps/i386/i686/multiarch/strchr.S: New file.
64817         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
64818         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
64819         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
64820         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
64821         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
64823 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64825         * sysdeps/x86_64/wcscmp.S: New file.
64827         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
64828         wcscmp-c wcscmp-sse2
64829         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
64830         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
64831         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
64832         * wcsmbs/wcscmp.c: Allow renaming.
64834 2011-09-05  David S. Miller  <davem@davemloft.net>
64836         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
64837         stack slot, rather than the struct return pointer slot.
64838         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
64839         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
64840         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
64841         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
64843 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
64845         * po/ja.po: Update from translation team.
64847         [BZ #13144]
64848         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
64849         kernel in 64-bit binaries.
64851 2011-09-01  David S. Miller  <davem@davemloft.net>
64853         * elf/elf.h (HWCAP_SPARC_*): Move to..
64854         * sysdeps/sparc/sysdep.h: this new file and add new values.
64855         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
64856         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
64857         _DL_HWCAP_COUNT to 24.
64858         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
64859         entries.
64860         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
64861         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
64862         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
64863         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
64864         instead of magic constants.
64865         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
64867 2011-08-31  David S. Miller  <davem@davemloft.net>
64869         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
64870         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
64871         Reimplement to do errno handling inline.
64872         (SYSCALL_ERROR_HANDLER): New macro.
64873         (__SYSCALL_STRING): Do not do errno handling in asm.
64874         (__CLONE_SYSCALL_STRING): Delete.
64875         (__INTERNAL_SYSCALL_STRING): Delete.
64876         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
64877         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
64878         (PSEUDO): Reimplement to do errno handling inline.
64879         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
64880         (SYSCALL_ERROR_HANDLER): New macro.
64881         (__SYSCALL_STRING): Do not do errno handling in asm.
64882         (__CLONE_SYSCALL_STRING): Delete.
64883         (__INTERNAL_SYSCALL_STRING): Delete.
64884         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
64885         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
64886         i386.
64887         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
64888         (inline_syscall*): Add 'err' argument.
64889         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
64890         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
64891         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
64892         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
64894         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
64895         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
64897 2011-08-30  Andreas Schwab  <schwab@redhat.com>
64899         * elf/rtld.c (dl_main): Relocate objects in dependency order.
64901 2011-08-29  Jiri Olsa <jolsa@redhat.com>
64903         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
64904         directive.
64906 2011-08-24  David S. Miller  <davem@davemloft.net>
64908         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
64910 2011-08-24  Andreas Schwab  <schwab@redhat.com>
64912         * elf/Makefile: Add rules to build and run unload8 test.
64913         * elf/unload8.c: New file.
64914         * elf/unload8mod1.c: New file.
64915         * elf/unload8mod1x.c: New file.
64916         * elf/unload8mod2.c: New file.
64917         * elf/unload8mod3.c: New file.
64919         * elf/dl-close.c (_dl_close_worker): Reset private search list if
64920         it wasn't used.
64922 2011-08-23  David S. Miller  <davem@davemloft.net>
64924         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
64925         subtract stack bias.
64926         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
64927         %sp not %fp in calculations.
64928         (_JMPBUF_UNWINDS_ADJ): Likewise.
64930         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
64931         (aio_suspend): Call it to force an exception region around the
64932         AIO_MISC_WAIT() invocation.
64934 2011-08-23  Andreas Schwab  <schwab@redhat.com>
64936         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
64937         backslash.
64939 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
64941         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
64942         protection macro.
64943         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
64944         and <dl-machine.h>.
64945         (Elf64_FuncDesc): Remove.
64947 2011-08-22  David S. Miller  <davem@davemloft.net>
64949         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
64950         sigaltstack check, add missing cfi directives.
64951         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
64952         missing cfi directives, and sigaltstack handling.
64954 2011-08-16  Andreas Schwab  <schwab@redhat.com>
64956         [BZ #11724]
64957         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
64958         object is seen twice.
64959         * elf/dl-fini.c (_dl_sort_fini): Likewise.
64961         * elf/Makefile (distribute): Add tst-initorder2.c.
64962         (tests): Add tst-initorder2.
64963         (modules-names): Add tst-initorder2a tst-initorder2b
64964         tst-initorder2c tst-initorder2d.  Add rules to build them.
64965         ($(objpfx)tst-initorder2.out): New rule.
64966         * elf/tst-initorder2.c: New file.
64967         * elf/tst-initorder2.exp: New file.
64969 2011-08-22  Andreas Schwab  <schwab@redhat.com>
64971         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
64973         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
64974         dependencies back to end of function.
64976         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
64977         $(elfobjdir)/ld.so.
64979 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
64981         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
64982         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
64983         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
64984         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
64985         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
64986         of __vdso_gettimeofday.
64987         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
64988         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
64989         attribute_hidden.
64990         (_libc_vdso_platform_setup): Remove initialization of
64991         __vdso_gettimeofday and __vdso_time.
64993 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
64995         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
64996         and fgetc_unlocked.
64997         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
64998         getc_unlocked.
65000         * elf/dl-open.c (add_to_global): Report additions to the global scope
65001         for LD_DEBUG=scopes.
65002         (dl_open_worker): Also print scope of newly loaded dependencies.
65003         (_dl_show_scope): Indicate if there is no scope.
65005         [BZ #13114]
65006         * stdio-common/Makefile (tests): Add bug24.
65007         * stdio-common/bug24.c: New file.
65009 2011-08-19  Andreas Jaeger  <aj@suse.de>
65011         [BZ #13114]
65012         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
65013         non-existant file when using close-on-exec mode.
65015 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
65017         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
65018         the very first instruction.
65020         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
65021         the CFI state in the end.
65022         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
65023         inclusion of dl-trampoline.h.
65024         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
65026 2011-08-19  Andreas Schwab  <schwab@redhat.com>
65028         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
65029         expectations for long double.
65031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
65032         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
65034 2011-08-14  David S. Miller  <davem@davemloft.net>
65036         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
65037         artificual limit depends upon the system page size.
65039 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
65041         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
65042         * resolv/Makefile: Define CFLAGS-libresolv.
65044 2011-08-17  Andreas Schwab  <schwab@redhat.com>
65046         * nss/makedb.c (compute_tables): Make variables used in nested
65047         function static.
65049 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
65051         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
65052         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
65053         if buffer was too small.
65055         * elf/pldd.c (main): Attach to all threads in the process.
65056         Rewrite /proc handling to use *at functions.
65058 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
65060         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
65061         specifies first scope to show.
65062         (dl_open_worker): Update callers.  Move printing scope of new
65063         object to before the relocation.
65064         * elf/rtld.c (dl_main): Update _dl_show_scope call.
65065         * sysdeps/generic/ldsodefs.h: Update declaration.
65067         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
65068         string for the scope number.
65070 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
65072         * nscd/servicescache.c (cache_addserv): Make sure written is always
65073         initialized.
65075 2011-08-14  Roland McGrath  <roland@hack.frob.com>
65077         * sysdeps/i386/i486/bits/atomic.h
65078         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
65079         statement expression, so as to suppress "set but not used" warning.
65080         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
65082         * string/strncat.c (STRNCAT): Use prototype definition.
65084         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
65085         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
65086         -Iprograms here.
65087         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
65088         (localedef-modules): Add localedef.
65089         (locale-modules): Add locale.
65091         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
65092         * elf/rtld.c (dl_main): Invert order of assignment in last change,
65093         to avoid a warning.
65095 2011-08-14  David S. Miller  <davem@davemloft.net>
65097         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
65098         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
65100 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
65102         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
65103         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
65104         * elf/rtld.c (dl_main): Set l_name of vDSO.
65105         Call _dl_show_scope when DL_DEBUG_SCOPES.
65106         (process_dl_debug): Recognize scopes flag and also set it for all.
65107         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
65108         Declare _dl_show_scope.
65110         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
65111         (do_dlopen): Pass caller_dlopen to dl_open.
65112         (__libc_dlopen_mode): Initialize caller_dlopen.
65114         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
65115         of libc.  Make tolower call locale-independent.  Optimize a bit by
65116         using isdigit instead of isalnum.
65117         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
65119 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
65121         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
65122         was a dependency or dynamically loaded.
65124 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
65126         * intl/l10nflist.c: Allow architecture-specific pop function.
65127         * sysdeps/x86_64/l10nflist.c: New file.
65129         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
65130         classification.
65132 2011-08-10  Andreas Schwab  <schwab@redhat.com>
65134         * include/dirent.h: Add libc_hidden_proto for scandirat and
65135         scandirat64.  Don't declare __scandirat64.
65136         * dirent/scandirat.c: Add libc_hidden_def.
65137         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
65138         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
65140 2011-08-10  David S. Miller  <davem@davemloft.net>
65142         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
65143         enum.
65144         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
65145         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
65146         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
65148 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
65150         * Versions.def [libc]: Add GLIBC_2.15.
65151         * dirent/Makefile (routines): Add scandirat and scandirat64.
65152         * dirent/Versions [libc]: Export scandirat and scandirat64 for
65153         GLIBC_2.15.
65154         * dirent/dirent.h: Declare scandirat and scandirat64.
65155         * dirent/scandirat.c: New file.
65156         * dirent/scandirat64.c: New file.
65157         * sysdeps/wordsize-64/scandirat.c: New file.
65158         * sysdeps/wordsize-64/scandirat64.c: New file.
65159         * dirent/opendir.c: Define opendirat.
65160         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
65161         using scandirat.
65162         * dirent/scandir64.c: Adjust for scandir.c change.
65163         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
65164         __scandirat64, and __scandir_cancel_handler.
65165         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
65166         additional parameter and use openat instead of open (outside of ld.so).
65167         Add new __opendir as wrapper around __opendirat.
65168         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
65169         here without requiring old scandirat implementation.
65171 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
65173         * dirent/scandir.c (cancel_handler): Renamed to
65174         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
65175         defined.  Adjust users.
65176         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
65177         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
65179 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
65181         * string/test-string.h (IMPL): Use __STRING to expand name and then
65182         stringify it.
65184         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
65185         of cleanups.
65187 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65189         * string/Makefile: Update.
65190         (strop-tests): Append strncat.
65191         * string/test-wcscmp.c: New file.
65192         New comprehensive test for wcscmp.
65193         * string/test-strcmp.c: Update.
65194         (WIDE): New define.
65196 2011-07-22  Andreas Schwab  <schwab@redhat.com>
65198         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
65199         line.
65201 2011-07-26  Andreas Schwab  <schwab@redhat.com>
65203         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
65204         encoding to ACE if AI_IDN.
65206 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
65208         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
65209         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
65211 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
65213         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
65214         Fix overflow bug in strncat.
65215         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
65217         * string/test-strncat.c: Update.
65218         Add new tests for checking overflow bugs.
65220 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
65222         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65223         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
65224         * sysdeps/i386/i686/multiarch/strcat.S: New file.
65225         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
65226         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
65227         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
65228         * sysdeps/i386/i686/multiarch/strncat.S: New file.
65229         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
65230         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
65232         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
65233         (USE_AS_STRCAT): Define.
65234         Add strcat and strncat support.
65235         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
65237 2011-07-25  Andreas Schwab  <schwab@redhat.com>
65239         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
65240         __n bigger than INT_MAX+1.
65241         (__strncmp_g): Likewise.
65243 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
65245         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
65246         * libio/stido.h: Likewise.
65248         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
65249         (AF_NFC): Define.
65250         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
65251         (AF_NFC): Define.
65253         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
65254         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
65255         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
65256         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
65257         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
65259         [BZ #13021]
65260         * scripts/test-installation.pl: Don't expect libnss_test1 to be
65261         installed.
65263         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
65264         typo.
65265         (_dl_x86_64_save_sse): Likewise.
65267 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
65269         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
65270         OSXSAVE.
65271         (_dl_x86_64_save_sse): Likewise.
65273         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
65275         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
65277 2011-07-21  Andreas Schwab  <schwab@redhat.com>
65279         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
65280         change.
65281         (_dl_x86_64_save_sse): Use correct AVX check.
65283 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65285         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
65286         bug in strncpy/strncat.
65287         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
65289 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
65291         * string/tester.c (test_strcat): Add tests for different alignments
65292         of source and destination.
65293         (test_strncat): Likewise.
65295 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
65297         [BZ #12852]
65298         * posix/glob.c (glob): Check passed in values before using them in
65299         expressions to avoid some overflows.
65300         (glob_in_dir): Likewise.
65302         [BZ #13007]
65303         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
65304         check for AVX enablement so that we don't crash with old kernels and
65305         new hardware.
65306         * elf/tst-audit4.c: Add same checks here.
65307         * elf/tst-audit6.c: Likewise.
65309         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
65311 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
65313         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
65315 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
65317         * po/cs.po: Update from translation team.
65318         * po/bg.po: Likewise.
65320 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
65322         * misc/sys/cdefs.h: Add support for const attribute.
65323         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
65324         to gnu_dev_{major,minor,makedev} functions.
65326 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
65328         * intl/dcigettext.c (get_output_charset): Add missing bracket.
65330 2011-07-20  Andreas Schwab  <schwab@redhat.com>
65332         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
65333         strlen results.
65335 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65337         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
65338         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
65339         register in order to avoid conflicts with the soft frame pointer
65340         being held in r11 when necessary.
65341         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
65342         (INTERNAL_VSYSCALL_NCS): Likewise.
65344 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
65346         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
65347         * elf/dl-fini.c (_dl_fini): Adjust caller.
65348         * elf/dl-close.c (_dl_close_worker): Likewise.
65349         * sysdeps/generic/ldsodefs.h: Adjust declaration.
65351 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
65353         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
65354         "aux_cache->nlibs < 0".
65356         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
65357         in the reload-count case.
65359 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
65361         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65362         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
65363         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
65364         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
65365         * sysdeps/x86_64/multiarch/strcat.S: New file.
65366         * sysdeps/x86_64/multiarch/strncat.S: New file.
65367         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
65368         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
65369         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
65370         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
65371         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
65372         (USE_AS_STRCAT): Define.
65373         Add strcat and strncat support.
65374         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
65375         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
65376         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
65377         * string/strncat.c: Update.
65378         (USE_AS_STRNCAT): Define.
65379         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65380         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
65381         and i7.
65382         * sysdeps/x86_64/multiarch/init-arch.h
65383         (bit_Prefer_PMINUB_for_stringop): New.
65384         (index_Prefer_PMINUB_for_stringop): Likewise.
65385         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
65386         bit_Prefer_PMINUB_for_stringop.
65388 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
65390         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
65391         buffer64.
65392         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
65393         of casting of buffer.
65394         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
65395         buffer32 and buffer64.
65396         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
65397         writes instead of casting of buffer.
65398         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
65399         buffer32.
65400         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
65401         casting of buffer.
65403 2011-07-19  Andreas Schwab  <schwab@redhat.com>
65405         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
65407 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
65409         * nscd/nscd.c (termination_handler): Don't do anything for a database
65410         if it has not yet been initialized.
65412 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
65414         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
65416 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
65418         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
65420 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
65422         * po/nl.po: Update from translation team.
65423         * po/sv.po: Likewise.
65425 2011-07-16  Roland McGrath  <roland@hack.frob.com>
65427         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
65428         now disallowed by GCC.
65430         * configure.in (use-default-link): Default to yes if a test -shared
65431         link meets our qualifications.
65432         * configure: Regenerated.
65434         * config.make.in (output-format): New variable.
65435         * configure.in: Check for ld --print-output-format support.
65436         * configure: Regenerated.
65437         * Makerules ($(common-objpfx)format.lds)
65438         [$(output-format) != unknown]: Just use $(output-format),
65439         instead of the linker-script munging.
65441 2011-07-14  Roland McGrath  <roland@hack.frob.com>
65443         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
65444         of $(common-objpfx)shlib.lds.
65445         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
65447         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
65448         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
65450         * configure.in (-z relro check): Adjust test code to add a large
65451         writable data section after it.
65452         * configure: Regenerated.
65454 2011-07-11  Roland McGrath  <roland@hack.frob.com>
65456         * configure.in (-z relro check): Fix test code to make the variable
65457         truly const.
65458         * configure: Regenerated.
65460 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
65462         * nscd/nscd.h (struct traced_file): Define.
65463         (struct database_dyn): Remove inotify_descr, reset_res, and filename
65464         elements.  Add traced_files.
65465         (inotify_fd): Declare.
65466         (register_traced_file): Declare.
65467         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
65468         (inotify_fd): Export.
65469         (resolv_conf_descr): Remove.
65470         (nscd_init): Move inotify descriptor creation to main.
65471         Don't register files for notification here.
65472         (register_traced_file): New function.
65473         (invalidate_cache): Don't use reset_res to determine whether to call
65474         res_init, go through the list of registered files.
65475         (main_loop_poll): The inotify descriptors are now stored in the
65476         structures for the traced files.
65477         (main_loop_epoll): Likewise
65478         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
65479         to __nss_disable_nscd.
65480         * nscd/cache.c (prune_cache): There is no single inotify descriptor
65481         for a database anymore.  Check the records for all the registered
65482         files instead.
65483         * nss/Makefile (libnss_files-routines): Add files-init.
65484         (libnss_db-routines): Add db-init.
65485         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
65486         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
65487         * nss/nss_db/db-init.c: New file.
65488         * nss/nss_files/files-init.c: New file.
65489         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
65490         __nss_lookup_function.
65491         (__nss_lookup_function): Call nss_load_library.
65492         (nss_load_all_libraries): New function.
65493         (__nss_disable_nscd): Take parameter with callback function for files
65494         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
65495         used for the cached services.
65496         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
65497         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
65498         options for features to all the files in nscd.
65500         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
65502 2011-07-10  Roland McGrath  <roland@hack.frob.com>
65504         * csu/elf-init.c (__libc_csu_init): Comment typo.
65506 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
65508         * po/pl.po: Update from translation team.
65509         * po/ja.po: Likewise.
65510         * po/ru.po: Likewise.
65511         * po/ko.po: Likewise.
65512         * po/fr.po: Likewise.
65514 2011-07-09  Roland McGrath  <roland@hack.frob.com>
65516         * configure.in (.ctors/.dtors header and trailer check):
65517         Use an empirical test on a built program.
65518         * configure: Regenerated.
65520         * configure.in (-z relro check): Use an empirical test on a built DSO.
65521         Detect, but do not require, on ia64.
65522         * configure: Regenerated.
65524         * configure.in (READELF): Find it with AC_CHECK_TOOL.
65525         Update tests that use readelf to use $READELF instead.
65526         * configure: Regenerated.
65528 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
65530         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
65531         if the result is not used.
65533 2011-07-05  Andreas Jaeger  <aj@suse.de>
65535         [BZ#9696]
65536         * stdlib/tst-strtod.c: Add testcase.
65538 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
65540         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
65541         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
65542         The latter has a higher limit.  Take additional parameter to pass to
65543         the new function.
65544         (__pathconf): Pass file to __statfs_link_max.
65545         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
65546         __statfs_link_max.
65547         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
65548         __statfs_link_max.
65550         [BZ #12868]
65551         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
65552         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
65553         Handle Lustre.
65554         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
65555         (__statfs_filesize_max): Likewise.
65556         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
65558 2011-07-05  Andreas Jaeger  <aj@suse.de>
65560         * resolv/res_comp.c (dn_skipname): Remove unused variable.
65562 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
65564         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
65565         `status' variable.
65566         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
65567         Likewise.
65569 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
65571         * Makefile (strop-tests): Add strncat.
65572         * string/test-strncat.c: New file.
65574 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
65576         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
65578 2011-06-21  Andreas Jaeger  <aj@suse.de>
65580         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
65581         Copy rule from iconvdata/Makefile.
65583 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
65585         [BZ #12922]
65586         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
65587         but no long options are defined, just return 'W'.
65589 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
65591         [BZ #9696]
65592         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
65594 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
65596         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
65597         netgroups to read.
65598         (innetgr): Likewise.
65600 2011-07-05  Roland McGrath  <roland@hack.frob.com>
65602         * config.make.in (install_root): Default to $(DESTDIR).
65604 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
65606         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
65608 2011-07-02  Roland McGrath  <roland@hack.frob.com>
65610         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
65612         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
65613         containing directory rather than embedding absolute directory names.
65615         * scripts/check-local-headers.sh: Rewritten using awk.
65616         Match by word, not by line.  Print error messages for matches.
65617         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
65619         * Makerules [shlib-lds-flags empty]:
65620         ($(common-objpfx)libc_pic.opts): New target.
65621         ($(common-objpfx)libc_pic.os.clean): New target.
65622         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
65624         * config.make.in (OBJCOPY): New variable.
65625         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
65626         * configure: Regenerated.
65628         * config.make.in (use-default-link): New variable.
65629         * configure.in (use_default_link): Grok --with-default-link to set it.
65630         * configure: Regenerated.
65631         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
65632         (shlib-lds, shlib-lds-flags): Define to empty.
65634         * Makerules (shlib-lds): New variable.
65635         (shlib-lds-flags): New variable.
65636         (build-shlib, build-moduile, build-module-asneeded): Use it.
65637         ($(common-objpfx)libc.so): Use $(shlib-lds).
65638         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
65639         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
65641         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
65642         DT_FLAGS/DT_FLAGS_1 with zero flags.
65644         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
65645         linker script munging.
65647 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
65649         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
65650         as 128-bit value.
65651         * crypt/sha512.c (sha512_process_block): Perform total addition using
65652         128-bit if possible.
65653         (__sha512_finish_ctx): Likewise.
65654         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
65655         as 64-bit value.
65656         * crypt/sha256.c (SWAP64): Define.
65657         (sha256_process_block): Perform total addition using 64-bit if
65658         possible.
65659         (__sha256_finish_ctx): Likewise.
65661 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
65663         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
65664         * nscd/initgrcache.c (addinitgroupsX): Likewise.
65665         * nscd/hstcache.c (cache_addhst): Likewise.
65666         * nscd/grpcache.c (cache_addgr): Likewise.
65667         * nscd/aicache.c (addhstaiX): Likewise
65668         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
65670 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
65672         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
65673         * nscd/initgrcache.c (addinitgroupsX): Likewise.
65674         * nscd/hstcache.c (cache_addhst): Likewise.
65675         * nscd/grpcache.c (cache_addgr): Likewise.
65676         * nscd/aicache.c (addhstaiX): Likewise
65678 2011-07-01  Andreas Schwab  <schwab@redhat.com>
65680         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
65681         domain only when needed.
65683 2011-06-30  Andreas Schwab  <schwab@redhat.com>
65685         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
65686         is always restored.
65688 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
65690         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
65691         are re-adding the entry.
65692         * nscd/servicescache.c (cache_addserv): Likewise.
65694 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
65696         * sysdeps/generic/dl-irel.h: fix protection against multiple
65697         inclusions.
65698         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
65700 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
65702         [BZ #12935]
65703         * malloc/memusage.sh: Fix quoting in message.
65704         * debug/xtrace.sh: Likewise.
65706         * configure.in: Remove support for --experimental-malloc option, make
65707         it the default.
65708         * config.make.in: Likewise.
65709         * malloc/Makefile: Likewise.
65711 2011-06-27  Andreas Schwab  <schwab@redhat.com>
65713         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
65714         two-byte characters.
65716 2011-06-27  Roland McGrath  <roland@hack.frob.com>
65718         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
65719         AC_CACHE_CHECK invocation.
65720         * configure: Regenerated.
65722         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
65724 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
65726         [BZ #12350]
65727         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
65728         bit from old_res_options.
65730         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
65732         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
65733         value type for setfct.
65735 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
65737         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
65738         __gettimeofday instead of gettimeofday.
65740 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
65742         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
65744 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
65746         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
65748         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
65749         info.
65751 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
65753         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65754         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
65755         strcpy-sse2-unaligned strncpy-sse2-unaligned
65756         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
65757         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
65758         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
65759         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
65760         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
65761         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
65762         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
65763         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
65764         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
65765         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
65766         (STRCPY): Support SSE2 and SSSE3 versions.
65768 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
65770         [BZ #12874]
65771         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
65772         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
65773         kernels which artificially limit size of requests.
65775 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
65777         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65778         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
65779         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
65780         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
65781         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
65782         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
65783         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
65784         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
65785         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
65786         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
65787         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
65788         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
65789         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
65790         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
65791         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
65792         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65793         Enable unaligned load optimization for Intel Core i3, i5 and i7
65794         processors.
65795         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
65796         Define.
65797         (index_Fast_Unaligned_Load): Define.
65798         (HAS_FAST_UNALIGNED_LOAD): Define.
65800 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
65802         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
65804 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
65806         [BZ #12907]
65807         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
65808         until it is clear that the information is realy needed.
65809         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
65811 2011-06-22  Andreas Schwab  <schwab@redhat.com>
65813         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
65815 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
65817         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
65818         /sys/devices/system/cpu/online if it is usable.
65820         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
65821         reading the information from the /proc filesystem to once a second.
65823 2011-06-21  Andreas Jaeger  <aj@suse.de>
65825         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
65826         NULL after inclusion of kernel headers.
65828 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
65830         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
65831         calls to internal_setent.
65833         [BZ #12885]
65834         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
65835         addresses using gethostbyname4_r ignore IPv4 addresses.
65837         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
65838         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
65840         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
65842 2011-06-20  David S. Miller  <davem@davemloft.net>
65844         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
65845         inclusions.
65846         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
65848         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
65849         (elf_irel): Use it.
65850         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
65851         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
65852         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
65853         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
65854         * sysdeps/x86_64/dl-irel.h: Likewise.
65856         * elf/dl-runtime.c: Use elf_ifunc_invoke.
65857         * elf/dl-sym.c: Likewise.
65859 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
65861         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
65862         need to dereference resplen2.
65864 2011-06-14  Andreas Schwab  <schwab@redhat.com>
65866         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
65868 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
65870         * Makeconfig: Define vardbdir and inst_vardbdir.
65871         * nss/Makefile: Add rules to install db-Makefile.
65873         * nss/nss_db/db-XXX.c: Cleanup.
65875         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
65876         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
65877         GLIBC_PRIVATE.
65878         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
65879         * nss/makedb.c: Implement -g option to specify that value strings
65880         are generated and should not be added to table iterated over for
65881         get*ent calls.
65882         * nss/nss_db/db-initgroups.c: New file.
65884         * nss/getent.c: Add support for initgroups lookups through getgrouplist
65885         interface.
65887         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
65888         (internal_getgrouplist): Adjust to name change.
65889         Update use_initgroups_entry if this is not the first call.
65890         * nss/databases.def: Add initgroups entry.
65892         * nss/makedb.c (compute_tables): Check result of multiple hash table
65893         sizes to minimize maximum chain length.
65895 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
65897         * Versions.def: Add entry for libnss_db.
65898         * shlib-versions: Likewise.
65899         * nss/Makefile: Add rules to build libnss_db.
65900         * nss/Versions: Add libnss_db information.  Organize libnss_files
65901         entries better.
65902         * nss/db-Makefile: Add gshadow support.  Change rules for the new
65903         makedb progra.  Some minor improvements to generate smaller files.
65904         * nss/nss_db/nss_db.h: Move NSS database header data structures to
65905         here from...
65906         * nss/makedb.c: ...here.
65907         Improve database format to be smaller and require less memory at
65908         runtime.
65909         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
65910         db anymore.
65911         * nss/nss_db/db-netgrp.c: Likewise.
65912         * nss/nss_db/db-open.c: Likewise.
65913         * nss/nss_files/flies-XXX.x: Adjust comments.
65914         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
65915         * nss/nss_files/files-grp.c: Likewise.
65916         * nss/nss_files/files-hosts.c: Likewise.
65917         * nss/nss_files/files-network.c: Likewise.
65918         * nss/nss_files/files-proto.c: Likewise.
65919         * nss/nss_files/files-pwd.c: Likewise.
65920         * nss/nss_files/files-rpc.c: Likewise.
65921         * nss/nss_files/files-service.c: Likewise.
65922         * nss/nss_files/files-sgrp.c: Likewise.
65923         * nss/nss_files/files-spwd.c: Likewise.
65924         * nss/nss_db/db-alias.c: Removed.
65925         * nss/nss_db/dummy-db.h: Removed.
65927 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
65929         * nss/makedb.c: Rewritten to not use database library.
65930         * nss/Makefile: Update to build new makedb program.
65932 2011-06-14  Andreas Jaeger  <aj@suse.de>
65934         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
65935         memset declaration.
65937 2011-06-10  Andreas Schwab  <schwab@redhat.com>
65939         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
65940         tmpbuf.
65942 2011-06-10  Roland McGrath  <roland@hack.frob.com>
65944         * Makerules (shlib.lds): Fail if the linker script comes out empty.
65945         * elf/Makefile ($(objpfx)ld.so): Likewise.
65947         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
65948         Don't list ld.so twice in dependencies.
65950         * posix/bug-regex31.c: Include <stdlib.h>.
65952         * nscd/hstcache.c (cache_addhst): Remove unused variable.
65954         * nis/nss_compat/compat-spwd.c
65955         (getspent_next_nss_netgr): Remove unused variable.
65956         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
65958         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
65959         nonmembers" output to use the right array.
65961         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
65963         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
65965         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
65966         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
65967         * catgets/gencat.c (read_input_file): Likewise.
65968         * locale/programs/locarchive.c (enlarge_archive): Likewise.
65970         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
65971         variable definition inside #if's controlling its use.
65973         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
65975         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
65977         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
65979         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
65980         unreachable code.
65982         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
65984         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
65985         * configure: Regenerated.
65987         * Makerules: Revert last change.
65988         * elf/Makefile: Likewise.
65990 2011-06-09  Roland McGrath  <roland@hack.frob.com>
65992         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
65993         * elf/Makefile ($(objpfx)librtld.os): Likewise.
65994         (reloc-link): Likewise.
65996 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
65998         * elf/Makefile: Add rules to build pldd.
65999         * elf/pldd.c: New file.
66000         * elf/pldd-xx.c: New file.
66002 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
66004         * version.h: Update for 2.15 development version.
66006 2011-06-07  David S. Miller  <davem@davemloft.net>
66008         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
66009         ifuncs.
66010         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
66011         elf_machine_lazy_rel): Likewise.
66012         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
66013         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
66014         elf_machine_lazy_rel): Likewise.
66015         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
66016         dl_hwcap via passed in argument.
66017         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
66018         Likewise.
66020 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66022         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
66024 2011-06-06  Roland McGrath  <roland@hack.frob.com>
66026         [BZ #12849]
66027         * manual/fdl-1.1.texi: New file, verbatim from:
66028         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
66029         * manual/lgpl-2.1.texi: New file, verbatim from:
66030         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
66031         * manual/Makefile (licenses): New variable, list those new file names.
66032         (texis): Use it.
66033         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
66035         * manual/fdl.texi: File removed.
66036         * manual/lesser.texi: File removed.
66037         * manual/libc.texinfo (Copying, Documentation License):
66038         Use new @include file names, put @appendix directive before @include.
66040 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
66042         [BZ #12841]
66043         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
66044         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
66045         (mq_open): Add __NTH.
66047 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
66049         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66050         Assume Intel Core i3/i5/i7 processor if AVX is available.
66052 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
66054         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
66055         typo.
66057 2011-05-31  Andreas Schwab  <schwab@redhat.com>
66059         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
66060         memory.  Use alloca_account.  Fix memory leak when retrying.
66062 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
66064         * version.h (RELEASE): Bump for 2.14 release.
66065         * include/features.h (__GLIBC_MINOR__): Bump to 14.
66067         * config.make.in (RANLIB): Remove entry.
66069 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
66071         * po/Makefile (po-sed-cmd): Add ksh to extensions.
66072         (libc.pot): Work around missing support for .ksh extension in xgettext.
66074         [BZ #12684]
66075         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
66076         if both request failed.
66077         (send_dg): In case of server errors clear resplen or *resplen2.
66079         [BZ #12454]
66080         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
66081         when there are multiple maps.
66082         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
66083         (_dl_fini): Remove test here.
66085         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
66087 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
66089         [BZ #12350]
66090         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
66091         bit from old_res_options.
66092         (gaih_inet): Likewise.
66094         [BZ #11099]
66095         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
66096         as signed.
66098         * resolv/res_init.c (res_setoptions): Make the code more compact.
66100         [BZ #11558]
66101         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
66102         set RES_USEVC.
66104         [BZ #11634]
66105         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
66107         * malloc/malloc.h: Mark malloc hook variables as deprecated.
66109         [BZ #11781]
66110         * malloc/malloc.h: Declare malloc hook variables as volatile.
66112         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
66113         in last patch.
66115         [BZ #11799]
66116         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
66117         raise in the comment.
66118         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
66119         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
66120         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
66122 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
66124         [BZ #12811]
66125         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
66126         grow the buffers more if it already has to be sufficient.
66127         (build_wcs_upper_buffer): Likewise.
66128         * posix/regexec.c (check_matching): Likewise.
66129         (clean_state_log_if_needed): Likewise.
66130         (extend_buffers): Don't enlarge buffers beyond size of the input
66131         buffer.
66132         Patches mostly by Emil Wojak <emil@wojak.eu>.
66133         * posix/bug-regex32.c: New file.
66134         * posix/Makefile (tests): Add bug-regex32.
66136         * locale/findlocale.c (_nl_find_locale): Return right away if
66137         _nl_explode_name failed.
66138         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
66140         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
66142         * debug/xtrace.sh: Unify messages.
66143         * malloc/memusage.sh: Likewise.
66145         [BZ #12813]
66146         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
66147         time symbol from vDSO.  Substitute with vsyscall if not available.
66148         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
66149         __vdso_time.
66151         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
66152         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
66153         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
66154         Add sendmmsg and internal_sendmmsg.
66155         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
66156         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
66157         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
66159         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
66160         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
66161         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
66163 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
66165         [BZ #12813]
66166         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
66167         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
66168         available.
66169         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
66170         __vdso_getcpu.
66172         [BZ #12814]
66173         * iconvdata/Makefile (tests): Add bug-iconv9.
66174         * iconvdata/bug-iconv9.c: New file.
66176 2011-05-27  Andreas Schwab  <schwab@redhat.com>
66178         [BZ #12814]
66179         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
66181 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
66183         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
66184         (struct user_regs_struct): Change intcs field back to cs.
66186 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
66188         * po/ja.po: Update from translation team.
66190 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
66192         [BZ #12795]
66193         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
66194         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
66196 2011-05-20  Andreas Schwab  <schwab@redhat.com>
66198         * stdlib/longlong.h: Update from GCC.
66200 2011-05-23  Andreas Schwab  <schwab@redhat.com>
66202         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
66203         parameter name.
66204         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
66205         Add parameter name.
66206         (__sysconf): Pass it down.
66208 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
66210         [BZ #12671]
66211         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
66212         some situations.
66213         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
66214         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
66215         add in in __libc_use_alloca calls.  Adjust callers.
66216         (glob): Use malloc in some situations.
66218         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
66219         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
66220         pltexit.
66222 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
66224         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
66225         and CLOCK_BOOTTIME_ALARM.
66227         [BZ #12782]
66228         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
66229         is returned.
66231         * string/_strerror.c (__strerror_r): Print negative errors as signed
66232         numbers.
66234         [BZ #12777]
66235         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
66236         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
66237         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
66239         * configure.in: Fix typo in redirection and correct removal of test
66240         files in two cases.
66242         [BZ #12788]
66243         * locale/setlocale.c (new_composite_name): Fix test to check for
66244         identical name of all categories.
66246         [BZ #12792]
66247         * libio/filedoalloc.c (local_isatty): New function.
66248         (_IO_file_doallocate): Use local_isatty.
66249         * stdio-common/perror.c (perror): In case a new stream is used
66250         forward the stream error.
66251         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
66252         error flag.
66254 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
66256         [BZ #11869]
66257         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
66258         alloca.
66259         * include/alloca.h (extend_alloca_account): Define.
66261         [BZ #11857]
66262         * posix/regex.h: Fix comments with documentation of user-accessible
66263         fields after compilation and describe correct free'ing of pattern
66264         after re_compile_pattern.
66265         Patch by Reuben Thomas <rrt@sc3d.org>.
66267 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
66269         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
66270         and -mno-altivec to prevent the compiler from using Altivec and/or
66271         VSX instructions when the corresponding registers are not available.
66273 2011-05-19  Andreas Schwab  <schwab@redhat.com>
66275         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
66277 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
66279         * libio/freopen.c (freopen): Use __dup2, not dup2.
66280         * libio/freopen64.c (freopen64): Likewise.
66282 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
66284         [BZ #12775]
66285         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
66286         * math/Makefile (tests): Add test-powl.
66287         (CFLAGS-test-powl.c): Define.
66288         * math/test-powl.c: New file.
66290 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66292         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
66294 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
66296         [BZ #11837]
66297         * iconvdata/gb18030.c: Update to GB18020-2005.
66299 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
66301         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
66302         RE_SYNTAX_POSIX_AWK): Update to match recent development.
66303         Patch by Aharon Robbins <arnold@skeeve.com>.
66305         [BZ #11892]
66306         * stdlib/putenv.c (putenv): Don't always create copy of the variable
66307         on the stack.
66309         [BZ #11895]
66310         * misc/pselect.c (__pselect): Handle timeout value errors hidden
66311         through underflows.
66313         [BZ #12766]
66314         * misc/error.c (error_at_line): Ensure file_name and old_file_name
66315         point to strings before performing equality test for error_one_per_line
66316         mode.
66318         [BZ #11697]
66319         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
66321         [BZ #11820]
66322         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
66323         (struct user_fpregs_struct): Avoid __uint*_t types.
66325         [BZ #6420]
66326         * malloc/mtrace.c (tr_where): Add additional parameter to point to
66327         symbol info.  Use it instead of calling _dl_addr locally.
66328         (lock_and_info): New function.
66329         (tr_freehook): Call lock_and_info and pass symbol info as additional
66330         parameter to tr_where.
66331         (tr_mallochook): Likewise.
66332         (tr_reallochook): Likewise.
66333         (tr_memalignhook): Likewise.
66335         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
66336         used and couldn't be at all thread-safe.
66338 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
66340         * libio/freopen.c (freopen): Don't close old file descriptor
66341         before the new one is opened.  Instead dup the new file descriptor
66342         to the old one after the new stream is created.
66343         * libio/freopen64.c (freopen64): Likewise.
66344         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
66345         * libio/fileops.c (_IO_new_file_close_it): Handle new
66346         _IO_FLAGS2_NOCLOSE flag.
66347         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
66348         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
66349         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
66350         _IO_FLAGS2_NOCLOSE flag.
66351         * include/unistd.h: Add hidden_proto for dup3.
66352         Define __have_dup3.
66353         * io/dup3.c: Define hidden symbol.
66354         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
66356         [BZ #7101]
66357         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
66358         when an incomplete long option is used.
66359         * posix/tst-getopt_long1.c: New file.
66360         * posix/Makefile (tests): Add tst-getopt_long1.
66362         [BZ #10138]
66363         * scripts/config.guess: Update from autoconf-2.68.
66364         * scripts/config.sub: Likewise.
66366         [BZ #10157]
66367         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
66368         tests into ...
66369         (has_cpuclock): ...this.  New function.
66370         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
66371         macro here based on has_cpuclock code.
66373         [BZ #10149]
66374         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
66375         First byte (not low byte) is now always NUL.
66376         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
66378         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
66379         Use non-cancelable interfaces.
66381         [BZ #9809]
66382         * locale/iso-639.def: Add entry for Sorani.
66384         [BZ #11901]
66385         * include/stdlib.h: Move include protection to the right place.
66386         Define abort_msg_s.  Declare __abort_msg with it.
66387         * stdlib/abort.c (__abort_msg): Adjust type.
66388         * assert/assert.c (__assert_fail_base): New function.  Majority
66389         of code from __assert_fail.  Allocate memory for __abort_msg with
66390         mmap.
66391         (__assert_fail): Now call __assert_fail_base.
66392         * assert/assert-perr.c: Remove bulk of implementation.  Use
66393         __assert_fail_base.
66394         * include/assert.hL Declare __assert_fail_base.
66395         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
66396         mmap.
66397         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
66399 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
66401         [BZ #11952]
66402         [BZ #12453]
66403         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
66404         until all modules are registered in the DTV.
66405         * elf/Makefile: Add rules to build and run tst-tls19.
66406         * elf/tst-tls19.c: New file.
66407         * elf/tst-tls19mod1.c: New file.
66408         * elf/tst-tls19mod2.c: New file.
66409         * elf/tst-tls19mod3.c: New file.
66410         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
66412         [BZ #12083]
66413         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
66414         correctly.
66416         [BZ #12601]
66417         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
66418         two-byte sequence errors.
66419         * iconvdata/Makefile (tests): Add bug-iconv8.
66420         * iconvdata/bug-iconv8.c: New file.
66422         [BZ #12626]
66423         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
66424         buf2 definition.
66426         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
66428         [BZ #12432]
66429         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
66430         (dummy_getcfa): New function.
66431         (init): Get _Unwind_GetCFA address, use dummy if not found.
66432         (backtrace_helper): In recursion check, also check whether CFA changes.
66433         (__backtrace): Completely initialize arg.
66435         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
66436         storing incomplete byte sequence in state object.  Avoid testing for
66437         guaranteed too small input if we know there is enough data available.
66439 2011-05-11  Andreas Schwab  <schwab@redhat.com>
66441         * Makeconfig (+link-pie): Indent.
66442         * Rules (binaries-pie): Define if $(have-fpie) and
66443         $(build-shared).
66444         (binaries-shared): Also filter out $(binaries-pie).
66445         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
66446         * nscd/Makefile (others-pie): Add nscd.
66447         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
66448         ($(objpfx)nscd): Remove command override.
66449         * login/Makefile (others-pie): Add pt_chown.
66450         ($(objpfx)pt_chown): Remove command override.
66451         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
66452         remove command overrides.
66454 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
66456         * libio/tst_putwc.c: Fix error messages.
66458         [BZ #12724]
66459         * libio/fileops.c (_IO_new_file_close_it): Always flush when
66460         currently writing and seek to current position when not.
66461         * libio/Makefile (tests): Add bug-fclose1.
66462         * libio/bug-fclose1.c: New file.
66464 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
66466         [BZ #12511]
66467         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
66468         don't set DF_1_NODELETE here.
66469         (do_lookup_x): When entering new entry test for copy relocation
66470         and if necessary set DF_1_NODELETE flag.
66471         * elf/tst-unique4.cc: New file.
66472         * elf/tst-unique4.h: New file.
66473         * elf/tst-unique4lib.cc: New file.
66474         * elf/Makefile: Add rules to build and run tst-unique4.
66475         Patch by Piotr Bury <pbury@goahead.com>.
66477 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
66479         [BZ #12052]
66480         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
66482         [BZ #12625]
66483         * misc/mntent_r.c (addmntent): Flush the stream after the output
66485         [BZ #12393]
66486         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
66487         (is_trusted_path_normalize): Skip initial colon.  Append slash
66488         to empty buffer.  Duplicate is_trusted_path code but allow
66489         constructed patch to be prefix.
66490         (is_dst): Allow $ORIGIN followed by /.
66491         (_dl_dst_substitute): Correct clearing of check_for_trusted.
66492         Correct testing of result of is_trusted_path_normalize
66493         (decompose_rpath): Fix warning.
66495 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
66497         [BZ #11257]
66498         * grp/initgroups.c (internal_getgrouplist): When we found the service
66499         list through the initgroups entry in nsswitch.conf do not always
66500         continue on a successful lookup.  Don't always use the
66501         __nss_group_database value if it is set.
66502         * nss/nsswitch.conf (initgroups): Change action for successful db
66503         lookup to continue for compatibility.
66505 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
66507         [BZ #11532]
66508         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
66509         and CP774 modules.
66510         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
66511         and CP774 modules.
66512         * iconvdata/tst-tables.sh: Likewise.
66513         * iconvdata/cp770.c: New file.
66514         * iconvdata/cp771.c: New file.
66515         * iconvdata/cp772.c: New file.
66516         * iconvdata/cp773.c: New file.
66517         * iconvdata/cp774.c: New file.
66518         * iconvdata/testdata/CP770: New file.
66519         * iconvdata/testdata/CP770..UTF8: New file.
66520         * iconvdata/testdata/CP771: New file.
66521         * iconvdata/testdata/CP771..UTF8: New file.
66522         * iconvdata/testdata/CP772: New file.
66523         * iconvdata/testdata/CP772..UTF8: New file.
66524         * iconvdata/testdata/CP773: New file.
66525         * iconvdata/testdata/CP773..UTF8: New file.
66526         * iconvdata/testdata/CP774: New file.
66527         * iconvdata/testdata/CP774..UTF8: New file.
66529         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
66530         END CHARMAP line.
66531         * iconvdata/gen-8bit-gap.sh: Likewise.
66532         * iconvdata/gen-8bit.sh: Likewise.
66534         * locale/iso-639.def: Add ary entry.
66536         [BZ #11258]
66537         * locale/C-translit.h.in: Add U20A1 transliteration.
66539         [BZ #12178]
66540         * locale/iso-639.def: Add wae entry.
66541         Patch by Kevin Bortis <bortis@translate-wae.ch>.
66543         [BZ #12545]
66544         * locale/programs/localedef.c (construct_output_path): Use ssize_t
66545         for n.
66547         [BZ #12711]
66548         * locale/C-translit.h.in: Add entry for U20B9.
66549         Patch by pravin.d.s@gmail.com.
66551 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
66553         [BZ #12713]
66554         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
66555         ENAMETOOLONG use generic getcwd.
66556         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
66557         in rtld.  Use *stat64.
66558         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
66559         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
66560         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
66561         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
66562         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
66563         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
66564         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
66565         __fstatat64 macros.
66566         * include/dirent.h: Add libc_hidden_proto for rewinddir.
66567         * dirent/rewinddir.c: Add libc_hidden_def.
66568         * sysdeps/mach/hurd/rewinddir.c: Likewise.
66569         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
66571         * include/dirent.h (__alloc_dir): Add flags parameter.
66572         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
66573         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
66574         __alloc_dir.
66575         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
66576         from fdopendir if O_CLOEXEC is already set.
66578 2011-03-15  Alan Modra  <amodra@gmail.com>
66580         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
66581         l_tls_firstbyte_offset non-zero.  Save padding offset in
66582         l_tls_firstbyte_offset for later use.
66583         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
66584         freeing static tls block.
66586 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
66588         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
66589         where #ifdef was intended.  The intent is to prevent ARG_MAX from
66590         being defined by the kernel headers.
66592 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
66594         [BZ #12734]
66595         * resolv/resolv.h: Define RES_NOTLDQUERY.
66596         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
66597         no-tld-query and set RES_NOTLDQUERY.
66598         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
66599         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
66600         modern BIND to search name as TLD unless forbidden.
66602 2011-05-07  Petr Baudis  <pasky@suse.cz>
66603             Ulrich Drepper  <drepper@gmail.com>
66605         [BZ #12393]
66606         * elf/dl-load.c (fillin_rpath): Move trusted path check...
66607         (is_trusted_path): ...to here.
66608         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
66609         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
66610         using is_trusted_path_normalize() in setuid scripts.
66612 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
66614         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
66615         __BEGIN/__END_DECLS.
66617 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
66619         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
66620         NSS_STATUS_NOTFOUND if no record was found.
66622 2011-05-05  Andreas Schwab  <schwab@redhat.com>
66624         * sunrpc/Makefile (headers): Add rpc/netdb.h.
66625         (headers-not-in-tirpc): Remove rpc/netdb.h
66626         * resolv/netdb.h: Revert last change.
66628 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
66630         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
66631         circular dependency between libgcc.a and libc.a.
66633 2011-05-05  Andreas Schwab  <schwab@redhat.com>
66635         * resolv/netdb.h: Don't include <rpc/netdb.h>.
66636         * nis/Makefile: Don't install rpcsvc/*.
66637         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
66638         instead of <rpc/types.h>.
66639         (MAXHOSTNAMELEN): Define.
66641 2011-05-03  Andreas Schwab  <schwab@redhat.com>
66643         * elf/ldconfig.c (add_dir): Don't crash on empty path.
66645 2011-04-28  Maciej Babinski  <mbabinski@google.com>
66647         [BZ #12714]
66648         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
66649         gethostbyname4_r when IPv6 results are possible.
66651 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
66653         [BZ #12723]
66654         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
66655         _PC_PIPE_BUF handling.
66657 2011-04-30  Bruno Haible  <bruno@clisp.org>
66659         [BZ #12717]
66660         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
66661         * resolv/netdb.h (getnameinfo): Change type of flags parameter
66662         to 'int'.
66663         * inet/getnameinfo.c (getnameinfo): Likewise.
66665 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
66667         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
66668         to groups setting in database lookup.
66669         * nss/nsswitch.conf: Add initgroups entry.
66671 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
66673         [BZ #12685]
66674         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
66675         mode string.
66676         Patch by Eric Blake <eblake@redhat.com>.
66678 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
66680         * sunrpc/Makefile (need-export-routines): Add svc_run.
66681         (routines): Remove svc_run.
66682         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
66683         * sunrpc/clnt_perr.c (clnt_perrno): Export.
66684         * sunrpc/svc_run.c (svc_run): Likewise.
66685         * sunrpc/svc_udp.c (svcudp_create): Likewise.
66687 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
66689         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
66690         problem in reallocation in last patch.
66692 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
66694         * sunrpc/Makefile: Move inclusion of Rules.
66696 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
66698         * nss/nss_files/files-initgroups.c: New file.
66699         * nss/Makefile (libnss_files-routines): Add files-initgroups.
66700         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
66701         _nss_files_initgroups_dyn.
66703 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
66705         * elf/elf.h (R_ARM_IRELATIVE): Define.
66707 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
66709         * po/ru.po: Update from translation team.
66711 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
66713         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
66714         dependencies.
66716 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
66718         [BZ #12653]
66719         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
66720         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
66721         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
66722         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
66723         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
66725 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
66727         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
66728         differing bytes.
66729         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
66730         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
66731         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
66733 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
66735         [BZ #12420]
66736         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
66737         storing it.
66738         * stdlib/bug-getcontext.c: New file.
66739         * stdlib/Makefile: Add rules to build and run bug-getcontext.
66741 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66743         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
66744         instructions into .machine "z9-109".
66745         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
66746         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
66748 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66750         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
66751         between environment variables and auxiliary vector.
66753 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
66755         * Makefile: Add rules to build linkobj/libc.so.
66756         * include/libc-symbols.h: Define libc_hidden_nolink.
66757         * include/rpc/auth.h: Mark functions which are to be hidden.
66758         * include/rpc/auth_des.h: Likewise.
66759         * include/rpc/auth_unix.h: Likewise.
66760         * include/rpc/clnt.h: Likewise.
66761         * include/rpc/des_crypt.h: Likewise.
66762         * include/rpc/key_prot.h: Likewise.
66763         * include/rpc/pmap_clnt.h: Likewise.
66764         * include/rpc/pmap_prot.h: Likewise.
66765         * include/rpc/pmap_rmt.h: Likewise.
66766         * include/rpc/rpc_msg.h: Likewise.
66767         * include/rpc/svc.h: Likewise.
66768         * include/rpc/svc_auth.h: Likewise.
66769         * include/rpc/xdr.h: Likewise.
66770         * nis/Makefile: Link all DSOs against linkobj/libc.so.
66771         * nss/Makefile: Likewise.
66772         * sunrpc/Makefile: Don't install headers.  Build library with normal
66773         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
66774         * sunrpc/auth_des.c: Hide exported symbols by default, export some
66775         for the compat linking library.  Remove use of INTDEF/INTUSE.
66776         * sunrpc/auth_none.c: Likewise.
66777         * sunrpc/auth_unix.c: Likewise.
66778         * sunrpc/authdes_prot.c: Likewise.
66779         * sunrpc/authuxprot.c: Likewise.
66780         * sunrpc/clnt_gen.c: Likewise.
66781         * sunrpc/clnt_perr.c: Likewise.
66782         * sunrpc/clnt_raw.c: Likewise.
66783         * sunrpc/clnt_simp.c: Likewise.
66784         * sunrpc/clnt_tcp.c: Likewise.
66785         * sunrpc/clnt_udp.c: Likewise.
66786         * sunrpc/clnt_unix.c: Likewise.
66787         * sunrpc/des_crypt.c: Likewise.
66788         * sunrpc/des_soft.c: Likewise.
66789         * sunrpc/get_myaddr.c: Likewise.
66790         * sunrpc/key_call.c: Likewise.
66791         * sunrpc/key_prot.c: Likewise.
66792         * sunrpc/netname.c: Likewise.
66793         * sunrpc/pm_getmaps.c: Likewise.
66794         * sunrpc/pm_getport.c: Likewise.
66795         * sunrpc/pmap_clnt.c: Likewise.
66796         * sunrpc/pmap_prot.c: Likewise.
66797         * sunrpc/pmap_prot2.c: Likewise.
66798         * sunrpc/pmap_rmt.c: Likewise.
66799         * sunrpc/publickey.c: Likewise.
66800         * sunrpc/rpc_cmsg.c: Likewise.
66801         * sunrpc/rpc_common.c: Likewise.
66802         * sunrpc/rpc_dtable.c: Likewise.
66803         * sunrpc/rpc_prot.c: Likewise.
66804         * sunrpc/rpc_thread.c: Likewise.
66805         * sunrpc/rtime.c: Likewise.
66806         * sunrpc/svc.c: Likewise.
66807         * sunrpc/svc_auth.c: Likewise.
66808         * sunrpc/svc_authux.c: Likewise.
66809         * sunrpc/svc_raw.c: Likewise.
66810         * sunrpc/svc_run.c: Likewise.
66811         * sunrpc/svc_simple.c: Likewise.
66812         * sunrpc/svc_tcp.c: Likewise.
66813         * sunrpc/svc_udp.c: Likewise.
66814         * sunrpc/svc_unix.c: Likewise.
66815         * sunrpc/svcauth_des.c: Likewise.
66816         * sunrpc/xcrypt.c: Likewise.
66817         * sunrpc/xdr.c: Likewise.
66818         * sunrpc/xdr_array.c: Likewise.
66819         * sunrpc/xdr_float.c: Likewise.
66820         * sunrpc/xdr_intXX_t.c: Likewise.
66821         * sunrpc/xdr_mem.c: Likewise.
66822         * sunrpc/xdr_rec.c: Likewise.
66823         * sunrpc/xdr_ref.c: Likewise.
66824         * sunrpc/xdr_sizeof.c: Likewise.
66825         * sunrpc/xdr_stdio.c: Likewise.
66827 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
66829         [BZ #12650]
66830         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
66831         * sysdeps/ia64/dl-tls.h: Likewise.
66832         * sysdeps/powerpc/dl-tls.h: Likewise.
66833         * sysdeps/s390/dl-tls.h: Likewise.
66834         * sysdeps/sh/dl-tls.h: Likewise.
66835         * sysdeps/sparc/dl-tls.h: Likewise.
66836         * sysdeps/x86_64/dl-tls.h: Likewise.
66837         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
66839 2011-03-14  Andreas Schwab  <schwab@redhat.com>
66841         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
66842         rpath element also skip the following colon.
66843         (expand_dynamic_string_token): Add is_path parameter and pass
66844         down to DL_DST_REQUIRED and _dl_dst_substitute.
66845         (decompose_rpath): Call expand_dynamic_string_token with
66846         non-zero is_path.  Ignore empty rpaths.
66847         (_dl_map_object_from_fd): Call expand_dynamic_string_token
66848         with zero is_path.
66850 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
66852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
66853         Make cancelable.
66855 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
66857         [BZ #12655]
66858         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
66859         Patch by Filipe David Manana <fdmanana@apache.org>.
66861 2011-04-07  Andreas Schwab  <schwab@redhat.com>
66863         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
66864         Maintain aligned stack.
66865         (CHECK_RSP): Remove unused macro.
66867 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
66869         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
66870         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
66872 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
66874         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
66876         * include/features.h: Mention __USE_XOPEN2K8 in comment.
66878 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
66880         [BZ #12518]
66881         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
66882         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
66883         * sysdeps/x86_64/memmove.c: New file.
66884         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
66885         (memcpy): Renamed to ...
66886         (__new_memcpy): This.
66887         (memcpy): Provide GLIBC_2_14 memcpy.
66888         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
66889         (memcpy): Provide GLIBC_2_2_5 memcpy.
66891 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
66893         [BZ #12631]
66894         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
66896 2011-03-30  Andreas Schwab  <schwab@redhat.com>
66898         * misc/syncfs.c: New file.
66899         * misc/Makefile (routines): Add syncfs.
66900         * posix/unistd.h: Declare syncfs.
66901         * sysdeps/unix/syscalls.list: Add syncfs.
66903 2011-04-01  Andreas Schwab  <schwab@redhat.com>
66905         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
66906         open_by_handle_at.
66907         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
66908         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
66909         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
66910         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
66911         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
66912         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
66913         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
66915 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
66917         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
66918         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
66919         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
66920         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
66921         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
66922         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
66923         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
66925         * io/Makefile: Compile fallocate.c, fallocate64.c, and
66926         sync_file_range.c with -fexceptions.
66927         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
66928         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
66929         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
66930         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
66931         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
66932         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
66933         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
66934         sync_file_range as cancellation point
66935         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
66936         now a wrapper around __call_sync_file_range with cancellation handling.
66937         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
66938         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
66939         function name to __call_sync_file_range.
66940         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
66941         Add call_sync_file_range.
66943 2011-04-01  Andreas Schwab  <schwab@redhat.com>
66945         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66946         bits/timex.h.
66948 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
66950         * iconv/iconv.h: Fix typo in comment.
66951         * io/fcntl.h: Likewise.
66952         * libio/stdio.h: Likewise.
66953         * posix/spawn.h: Likewise.
66954         * posix/unistd.h: Likewise.
66955         * stdlib/stdlib.h: Likewise.
66956         * time/time.h: Likewise.
66957         * wcsmbs/wchar.h: Likewise.
66959         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
66960         open_by_handle): Add.
66961         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
66962         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
66963         Augment a few comments.
66964         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
66965         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
66966         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
66967         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
66968         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
66969         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
66970         open_by_handle.
66972         * io/fcntl.h (AT_EMPTY_PATH): Define.
66974 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
66976         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
66977         * sysdeps/unix/sysv/linux/bits/time.h: New file.
66978         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
66979         to...
66980         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
66981         * Versions.def: Add GLIBC_2.14.
66982         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
66983         Export.
66985 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
66987         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
66988         round counter.
66989         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
66991 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
66993         [BZ #12597]
66994         * string/test-strncmp.c (do_page_test): New function.
66995         (check2): Likewise.
66996         (test_main): Call check2.
66997         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
66999 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
67001         [BZ #12587]
67002         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
67003         Handle cache information in CPU leaf 4.
67004         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
67006 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
67008         [BZ #12583]
67009         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
67010         character representation.
67011         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
67013 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
67015         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
67016         END(__isnan) to END(__isnanf) to match function entry point/label
67017         EALIGN(__isnanf,...).
67019 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
67021         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
67023 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
67025         [BZ #12510]
67026         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
67027         copy from the symbol referenced in the relocation to initialize the
67028         used variable.
67029         Patch by Piotr Bury <pbury@goahead.com>.
67030         * elf/Makefile: Add rules to build and tst-unique3.
67031         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
67032         * elf/tst-unique3.cc: New file.
67033         * elf/tst-unique3.h: New file.
67034         * elf/tst-unique3lib.cc: New file.
67035         * elf/tst-unique3lib2.cc: New file.
67037         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
67039 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
67041         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
67042         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
67043         to _start.
67045 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
67047         * elf/dl-load.c (_dl_map_object): If we are looking for the first
67048         to-be-loaded object along a path to loader is ld.so.
67050 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
67051             Ulrich Drepper  <drepper@gmail.com>
67053         * sysdeps/x86_64/memset.S: After aligning destination, code
67054         branches to different locations depending on the value of
67055         misalignment, when multiarch is enabled. Fix this.
67057 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
67059         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
67060         Set _x86_64_preferred_memory_instruction for AMD processsors.
67061         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67062         Set bit_Prefer_SSE_for_memop for AMD processors.
67064 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
67066         * libio/fmemopen.c (fmemopen): Optimize a bit.
67068 2011-03-03  Andreas Schwab  <schwab@redhat.com>
67070         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
67072 2011-03-03  Roland McGrath  <roland@redhat.com>
67074         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
67076 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
67078         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
67079         __bzero_ultra1 instead of __memset_ultra1.
67081 2011-02-23  Andreas Schwab  <schwab@redhat.com>
67082             Ulrich Drepper  <drepper@gmail.com>
67084         [BZ #12509]
67085         * include/link.h (struct link_map): Add l_orig_initfini.
67086         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
67087         returning unsuccessfully.
67088         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
67089         close of a file loaded at startup, restore the original l_initfini
67090         list.
67091         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
67092         list, store the pointer.
67093         * elf/Makefile ($(objpfx)noload-mem): New rule.
67094         (noload-ENV): Define.
67095         (tests): Add $(objpfx)noload-mem.
67096         * elf/noload.c: Include <memcheck.h>.
67097         (main): Call mtrace.  Close all opened handles.
67099 2011-02-17  Andreas Schwab  <schwab@redhat.com>
67101         [BZ #12454]
67102         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
67103         dependencies are missing.
67105 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67107         Fix __if_freereq crash: Unlike the generic version which uses free,
67108         Hurd needs munmap.
67109         * sysdeps/mach/hurd/ifreq.h: New file.
67111 2011-01-27  Petr Baudis  <pasky@suse.cz>
67112             Ulrich Drepper  <drepper@gmail.com>
67114         [BZ 12445]#
67115         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
67116         to extend_alloca().
67117         * stdio-common/bug23.c: New file.
67118         * stdio-common/Makefile (tests): Add bug23.
67120 2010-09-28  Andreas Schwab  <schwab@redhat.com>
67121             Ulrich Drepper  <drepper@gmail.com>
67123         [BZ #12489]
67124         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
67125         before performing relro protection.  At old place add assertion
67126         to make sure nothing changed.
67128 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
67129             Glauber de Oliveira Costa  <glommer@gmail.com>
67131         * elf/elf.h: Add new ARM TLS relocs.
67133 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
67135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
67136         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
67137         cast from r3.
67138         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
67139         'tests' variable.
67140         * sysdeps/wordsize-64/tst-writev.c: New file.
67142 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
67144         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
67145         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
67146         insns in _dl_start to prevent a TOC reference before relocs are
67147         resolved.
67149 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
67151         [BZ #12469]
67152         * Makeconfig: Remove RANLIB definition.
67153         * Makerules: Don't use RANLIB.
67154         * aclocal.m4: Remove ranlib test.
67155         * configure.in: No need to check for ranlib.
67156         * elf/rtld-Rules: Don't use RANLIB.
67158 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67160         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
67161         protection macro.
67162         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
67163         inclusion protection macro.
67165         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
67166         SIGRTMIN and SIGRTMAX and print information in that case only when
67167         SIGRTMIN is defined.
67169 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
67171         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
67172         arginfo fn returning -1.
67174         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
67175         and thousands string is zero terminated.
67177 2011-02-03  Andreas Schwab  <schwab@redhat.com>
67179         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
67180         sysdeps/unix/sysv/linux/bits/socket.h.
67182 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67184         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
67185         (__CPU_COUNT): Remove old macros.
67186         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
67187         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
67188         (__CPU_ALLOC, __CPU_FREE): Add macros.
67189         (__sched_cpualloc, __sched_cpufree): Add declarations.
67191 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
67193         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
67194         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
67195         * nscd/aicache.c (addhstaiX): Return timeout of added value.
67196         (readdhstai): Return value of addhstaiX call.
67197         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
67198         (addgrbyX): Return value returned by cache_addgr.
67199         (readdgrbyname): Return value returned by addgrbyX.
67200         (readdgrbygid): Likewise.
67201         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
67202         (addpwbyX): Return value returned by cache_addpw.
67203         (readdpwbyname): Return value returned by addhstbyX.
67204         (readdpwbyuid): Likewise.
67205         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
67206         (addservbyX): Return value returned by cache_addserv.
67207         (readdservbyname): Return value returned by addservbyX:
67208         (readdservbyport): Likewise.
67209         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
67210         (addhstbyX): Return value returned by cache_addhst.
67211         (readdhstbyname): Return value returned by addhstbyX.
67212         (readdhstbyaddr): Likewise.
67213         (readdhstbynamev6): Likewise.
67214         (readdhstbyaddrv6): Likewise.
67215         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
67216         (readdinitgroups): Return value returned by addinitgroupsX.
67217         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
67218         (prune_cache): Keep track of timeout value of re-added entries.
67219         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
67220         * nscd/nscd.h: Adjust prototypes of readd* functions.
67222 2011-02-04  Roland McGrath  <roland@redhat.com>
67224         * nis/nis_server.c (nis_servstate): Use the right name for 0.
67225         (nis_stats): Likewise.
67226         * nis/nis_modify.c (nis_modify): Likewise.
67227         * nis/nis_remove.c (nis_remove): Likewise.
67228         * nis/nis_add.c (nis_add): Likewise.
67230         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
67232         * posix/fnmatch_loop.c: Add some consts.
67234         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
67236 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
67238         [BZ #12460]
67239         * config.make.in (config-cflags-novzeroupper): Define.
67240         * configure.in: Substitute libc_cv_cc_novzeroupper.
67241         * elf/Makefile (AVX-CFLAGS): Define.
67242         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
67243         (CFLAGS-tst-auditmod4a.c): Likewise.
67244         (CFLAGS-tst-auditmod4b.c): Likewise.
67245         (CFLAGS-tst-auditmod6b.c): Likewise.
67246         (CFLAGS-tst-auditmod6c.c): Likewise.
67247         (CFLAGS-tst-auditmod7b.c): Likewise.
67248         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
67250 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
67252         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
67253         function to the callback.
67254         Patch partly by Jiri Olsa <jolsa@redhat.com>.
67256 2011-02-02  Andreas Schwab  <schwab@redhat.com>
67258         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
67259         of errno.
67261 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
67263         [BZ #11724]
67264         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
67265         of constructors.
67266         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
67267         of destructors.
67268         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
67270         [BZ #11724]
67271         * elf/Makefile: Add rules to build and run new test.
67272         * elf/tst-initorder.c: New file.
67273         * elf/tst-initorder.exp: New file.
67274         * elf/tst-initordera1.c: New file.
67275         * elf/tst-initordera2.c: New file.
67276         * elf/tst-initordera3.c: New file.
67277         * elf/tst-initordera4.c: New file.
67278         * elf/tst-initorderb1.c: New file.
67279         * elf/tst-initorderb2.c: New file.
67280         * elf/tst-order-a1.c: New file.
67281         * elf/tst-order-a2.c: New file.
67282         * elf/tst-order-a3.c: New file.
67283         * elf/tst-order-a4.c: New file.
67284         * elf/tst-order-b1.c: New file.
67285         * elf/tst-order-b2.c: New file.
67286         * elf/tst-order-main.c: New file.
67287         New test case by George Gensure <werkt0@gmail.com>.
67289 2010-10-01  Andreas Schwab  <schwab@redhat.com>
67291         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
67292         decoding ACE if AI_CANONIDN.
67294 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
67296         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
67298 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
67300         * version.h (RELEASE): Bump for 2.13 release.
67301         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
67303         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
67305         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
67306         MADV_NOHUGEPAGE.
67307         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
67308         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
67309         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
67310         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
67311         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
67312         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
67314         * posix/getconf.c: Update copyright year.
67315         * catgets/gencat.c: Likewise.
67316         * csu/version.c: Likewise.
67317         * debug/catchsegv.sh: Likewise.
67318         * debug/xtrace.sh: Likewise.
67319         * elf/ldconfig.c: Likewise.
67320         * elf/ldd.bash.in: Likewise.
67321         * elf/sprof.c (print_version): Likewise.
67322         * iconv/iconv_prog.c: Likewise.
67323         * iconv/iconvconfig.c: Likewise.
67324         * locale/programs/locale.c: Likewise.
67325         * locale/programs/localedef.c: Likewise.
67326         * malloc/memusage.sh: Likewise.
67327         * malloc/mtrace.pl: Likewise.
67328         * nscd/nscd.c (print_version): Likewise.
67329         * nss/getent.c: Likewise.
67331         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
67332         PF_CAIF, and PF_ALG.
67333         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
67335 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
67337         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
67338         (modules-names): Use them.
67339         (ifunc-test-modules, ifunc-pie-tests): Define.
67340         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
67341         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
67342         (test-extras): Likewise.
67343         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
67344         $(compile-command.c).
67345         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
67346         (all-built-dso): Define.
67347         (check-textrel.out, check-execstack.out): Depend on it.
67349         * configure.in: Don't override --enable-multi-arch.
67351 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
67353         [BZ #6812]
67354         * nscd/hstcache.c (tryagain): Define.
67355         (cache_addhst): Return tryagain not notfound for temporary errors.
67356         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
67357         failed.
67359 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
67361         [BZ #10563]
67362         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
67363         to make the syscall.
67364         * sysdeps/unix/sysv/linux/setgroups.c: New file.
67366         [BZ #12378]
67367         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
67368         and fall back to matching as normal character if the string ends before
67369         the matching ']' is found.  This is what POSIX requires.
67370         * posix/testfnm.c: Adjust test result.
67371         * posix/globtest.sh: Adjust test result.  Add new test.
67372         * posix/tst-fnmatch.input: Likewise.
67373         * posix/tst-fnmatch2.c: Add new test.
67375 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
67377         * elf/Makefile (check-execstack): Revert last change.  Depend on
67378         check-execstack.h.
67379         (check-execstack.h): New target.
67380         (generated): Add check-execstack.h.
67381         * elf/check-execstack.c: Include "check-execstack.h".
67382         (main): Revert last change.
67383         (handle_file): Return zero if GNU_STACK is absent and
67384         DEFAULT_STACK_PERMS doesn't include PF_X.
67386 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
67388         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
67389         in child fails because the descriptor is already closed.
67390         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
67391         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
67392         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
67394         [BZ #12397]
67395         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
67396         syscall.
67398         [BZ #10484]
67399         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
67400         temporary buffer used to handle multi lookups locally.
67401         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
67403 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
67405         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
67406         loader is ld.so.
67408 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
67410         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
67411         alignment for SSE2.
67413 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
67415         [BZ #12394]
67416         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
67417         characters.  When rounding increased number of integer digits recompute
67418         number of groups.
67419         * stdio-common/tst-grouping.c: New file.
67420         * stdio-common/Makefile: Add rules to build and run tst-grouping.
67422 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
67424         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
67425         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
67427         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
67428         void.
67429         * bits/select.h: Likewise.
67431 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
67433         * po/ja.po: Update from translation team.
67435 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
67437         [BZ #11155]
67438         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
67439         implementation just like for lxstat, fxstatat, et al.
67441 2010-12-27  Jim Meyering  <meyering@redhat.com>
67443         [BZ #12348]
67444         * posix/regexec.c (build_trtable): Return failure indication upon
67445         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
67447 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
67449         [BZ #12201]
67450         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
67451         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
67452         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
67453         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
67455         [BZ #12207]
67456         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
67458         [BZ #12204]
67459         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
67460         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
67462 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
67464         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
67465         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
67466         script has SORT_BY_INIT_PRIORITY.
67467         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
67468         NO_CTORS_DTORS_SECTIONS is defined.
67469         * elf/soinit.c: Likewise.
67470         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
67471         NO_CTORS_DTORS_SECTIONS is defined.
67472         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
67473         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
67474         * sysdeps/sh/init-first.c: Likewise.
67475         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
67477 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
67479         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
67480         always use the slow path.
67482 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
67484         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
67485         similar rule which adds the sysdep directories to the header search in
67486         order to pick up the correct platform stackinfo.h.
67487         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
67488         perform test if it is, otherwise return successfully without testing.
67489         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
67490         DEFAULT_STACK_PERMS define in stackinfo.h.
67491         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
67492         defined in stackinfo.h.
67493         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
67494         DEFAULT_STACK_PERMS defined in stackinfo.h.
67495         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
67496         * sysdeps/ia64/stackinfo.h: Likewise.
67497         * sysdeps/s390/stackinfo.h: Likewise.
67498         * sysdeps/sh/stackinfo.h: Likewise.
67499         * sysdeps/sparc/stackinfo.h: Likewise.
67500         * sysdeps/x86_64/stackinfo.h: Likewise.
67501         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
67502         PF_X for powerpc64.  Retain PF_X for powerpc32.
67504 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
67506         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
67507         accurately.
67508         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
67509         GETDENTS_64BIT_ALIGNED.
67511 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
67513         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
67515 2010-12-10  Andreas Schwab  <schwab@redhat.com>
67517         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
67518         _GNU_SOURCE.
67520         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
67521         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
67522         Remove __restrict.
67523         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
67524         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
67526 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
67528         [BZ #11655]
67529         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
67530         are initialized.
67532 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
67534         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
67536 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
67538         * po/it.po: Update from translation team.
67540 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
67542         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
67543         unused codes.
67545 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
67547         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
67549 2010-11-24  Andreas Schwab  <schwab@redhat.com>
67551         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
67552         specially.
67553         (gaih_getanswer_slice): Likewise.
67555 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
67557         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
67559 2010-05-31  Petr Baudis  <pasky@suse.cz>
67561         [BZ #11149]
67562         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
67563         silently even in the chroot mode.
67565 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
67567         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
67568         last patch a bit.  Pretty printing
67570 2010-05-31  Petr Baudis <pasky@suse.cz>
67572         [BZ #10085]
67573         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
67574         initialization of skip_initgroups_dyn.
67576 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
67578         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
67579         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
67581 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
67583         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
67585 2010-11-11  Andreas Schwab  <schwab@redhat.com>
67587         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
67588         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
67589         (tst-fnmatch-ENV): Set MALLOC_TRACE.
67590         ($(objpfx)tst-fnmatch-mem): New rule.
67591         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
67592         * posix/tst-fnmatch.c (main): Call mtrace.
67594 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
67596         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67597         Support Intel processor model 6 and model 0x2c.
67599 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
67601         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
67602           signed comparison.
67604 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
67606         [BZ #12205]
67607         * string/test-strncasecmp.c (check_result): New function.
67608         (do_one_test): Use it.
67609         (check1): New function.
67610         (test_main): Use it.
67611         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
67612         Support strcasecmp and strncasecmp.
67614 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
67616         [BZ #12194]
67617         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
67618         * sysdeps/x86_64/bits/byteswap.h: Likewise.
67620 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
67622         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
67623         IFUNC support.
67624         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67625         memset-x86-64.
67626         * sysdeps/x86_64/multiarch/bzero.S: New file.
67627         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
67628         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
67629         * sysdeps/x86_64/multiarch/memset.S: New file.
67630         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
67631         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67632         Set bit_Prefer_SSE_for_memop for Intel processors.
67633         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
67634         Define.
67635         (index_Prefer_SSE_for_memop): Define.
67636         (HAS_PREFER_SSE_FOR_MEMOP): Define.
67638 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
67640         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
67641         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
67643 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
67645         [BZ #12191]
67646         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
67647         (__x86_64_raw_data_cache_size_half): Likewise.
67648         (__x86_64_raw_shared_cache_size): Likewise.
67649         (__x86_64_raw_shared_cache_size_half): Likewise.
67651         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
67652         (__x86_64_raw_data_cache_size_half): Likewise.
67653         (__x86_64_raw_shared_cache_size): Likewise.
67654         (__x86_64_raw_shared_cache_size_half): Likewise.
67655         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
67656         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
67657         and __x86_64_raw_shared_cache_size_half.  Round
67658         __x86_64_data_cache_size_half, __x86_64_data_cache_size
67659         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
67660         to multiple of 256 bytes.
67662 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
67664         [BZ #12167]
67665         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
67666         of inacessible symlinks.  Verify result of symlink before returning it.
67667         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
67668         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
67670 2010-10-28  Erich Ritz  <erichritz@gmail.com>
67672         * math/math.h (isinf): Fix typo in comment.
67674 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
67676         * po/da.po: Update from translation team.
67678 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
67680         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
67681         is added to the list.
67683 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67684             Ulrich Drepper  <drepper@gmail.com>
67686         * elf/dl-object.c (_dl_new_object): Don't append the new object to
67687         the global list here.  Move code to...
67688         (_dl_add_to_namespace_list): ...here.  New function.
67689         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
67690         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
67691         * elf/dl-load.c (lose): Don't remove the element from the list.
67692         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
67693         (_dl_map_object): Likewise.
67695 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
67697         [BZ #12159]
67698         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
67699         into all bytes of SSE register.
67700         Patch by Richard Li <richardpku@gmail.com>.
67702 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
67704         [BZ #12140]
67705         * malloc/malloc.c (_int_free): Fill correct number of bytes when
67706         perturbing.
67708 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
67710         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
67711         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
67712         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
67713         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
67714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
67715         submachine.
67716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
67718 2010-10-22  Andreas Schwab  <schwab@redhat.com>
67720         * include/dlfcn.h (__RTLD_SECURE): Define.
67721         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
67722         mode & __RTLD_SECURE instead.
67723         (open_path): Rename preloaded parameter to secure.
67724         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
67725         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
67726         * elf/dl-deps.c (openaux): Likewise.
67727         * elf/rtld.c (struct map_args): Remove is_preloaded.
67728         (map_doit): Don't use it.
67729         (dl_main): Likewise.
67730         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
67731         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
67733 2010-09-09  Andreas Schwab  <schwab@redhat.com>
67735         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
67736         (sysd-rules-targets): Remove duplicates.
67737         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
67738         rtld-%.$o dependency.
67740 2010-10-18  Andreas Schwab  <schwab@redhat.com>
67742         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
67743         _dl_map_object do it.
67745 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
67747         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
67748         fast fma builtins, define the macros in the C99 standard.
67749         (FP_FAST_FMAF): Likewise.
67750         (FP_FAST_FMAL): Likewise.
67751         * sysdeps/x86_64/bits/mathdef.h: Likewise.
67753         * bits/mathdef.h: Update copyright year.
67754         * sysdeps/powerpc/bits/mathdef.h: Likewise.
67756 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
67758         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
67759         builtins, define the macros in the C99 standard.
67760         (FP_FAST_FMAF): Likewise.
67761         (FP_FAST_FMAL): Likewise.
67762         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
67763         multiply/add.
67764         (FP_FAST_FMAF): Likewise.
67766 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
67768         [BZ #3268]
67769         * math/libm-test.inc (fma_test): Some new testcases.
67770         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
67771         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
67772         y and infinite z.  Do multiplication by C already in long double.
67773         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
67774         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
67775         y and infinite z.  Do bitwise or of inexact bit into u.d.
67776         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
67777         * sysdeps/i386/fpu/s_fmaf.S: Removed.
67778         * sysdeps/i386/fpu/s_fma.S: Removed.
67779         * sysdeps/i386/fpu/s_fmal.S: Removed.
67781 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
67783         [BZ #3268]
67784         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
67785         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
67786         computation is not scheduled after fetestexcept.  Fix value
67787         of minimum denormal long double.
67789 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
67791         [BZ #3268]
67792         * math/libm-test.inc (fma_test): Add some more tests.
67793         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
67794         correctly.
67796 2010-10-15  Andreas Schwab  <schwab@redhat.com>
67798         * scripts/data/localplt-s390-linux-gnu.data: New file.
67799         * scripts/data/localplt-s390x-linux-gnu.data: New file.
67801 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
67803         [BZ #3268]
67804         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
67805         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
67806         instead of dbl-64.
67807         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
67808         inlines.
67809         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
67810         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
67811         if one of x and y is very large and the other is subnormal.
67812         * sysdeps/s390/fpu/s_fmaf.c: New file.
67813         * sysdeps/s390/fpu/s_fma.c: New file.
67814         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
67815         * sysdeps/powerpc/fpu/s_fma.S: New file.
67816         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
67817         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
67818         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
67820 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
67822         [BZ #3268]
67823         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
67824         fma tests.
67825         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
67826         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
67827         * sysdeps/i386/i686/multiarch/s_fma.c: Include
67828         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
67829         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
67830         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
67831         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
67833 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
67835         [BZ #12078]
67836         * posix/regcomp.c (parse_branch): One more memory leak plugged.
67837         * posix/bug-regex31.input: Add test case.
67839 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
67841         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
67842         * posix/bug-regex31.input: New file.
67844         [BZ #12078]
67845         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
67846         (parse_sub_exp): Fix last change, use postorder.
67848         * posix/bug-regex31.c: New file.
67849         * posix/Makefile: Add rules to build and run bug-regex31.
67851         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
67853         [BZ #12078]
67854         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
67856         [BZ #12108]
67857         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
67858         to have entries in sys_siglist.
67860         [BZ #12093]
67861         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
67862         be NULL.
67864 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
67866         [BZ #3268]
67867         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
67868         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
67869         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
67870         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
67871         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
67872         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
67873         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
67874         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
67875         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
67876         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
67877         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
67878         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
67879         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
67880         * math/ftestexcept.c (fetestexcept): Likewise.
67881         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
67882         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
67883         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
67884         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
67885         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
67886         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
67887         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
67889 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
67891         [BZ #12107]
67892         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
67893         newline.
67895 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
67897         * string/bug-strstr1.c: New file.
67898         * string/Makefile: Add rules to build and run bug-strstr1.
67900 2010-10-05  Eric Blake  <eblake@redhat.com>
67902         [BZ #12092]
67903         * string/str-two-way.h (two_way_long_needle): Always clear memory
67904         when skipping input due to the shift table.
67906 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
67908         [BZ #12005]
67909         * malloc/mcheck.c: Handle large requests.
67911         [BZ #12077]
67912         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
67913         for strncmp and strncasecmp.
67914         * string/stratcliff.c: Add tests for strcmp and strncmp.
67915         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
67917 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
67919         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
67920         __set_fpscr.
67922 2010-09-30  Andreas Jaeger  <aj@suse.de>
67924         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
67925         (CGROUP_SUPER_MAGIC): Define.
67926         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
67927         Handle btrfs and cgroup file systems.
67928         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
67929         Likewise.
67931 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
67933         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
67934         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
67936 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67938         [BZ #12067]
67939         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
67940         trying to locate the ELF header.
67942 2010-09-27  Andreas Schwab  <schwab@redhat.com>
67944         [BZ #11611]
67945         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
67946         Mask out sign-bit copies when constructing f_fsid.
67948 2010-09-24  Petr Baudis <pasky@suse.cz>
67950         * debug/stack_chk_fail_local.c: Add missing licence exception.
67951         * debug/warning-nop.c: Likewise.
67953 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
67955         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
67956         implementing getdents64 using getdents syscall, set d_type if
67957         __ASSUME_GETDENTS32_D_TYPE.
67959 2010-09-16  Andreas Schwab  <schwab@redhat.com>
67961         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
67962         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
67964 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
67966         [BZ #12037]
67967         * posix/unistd.h: Undo change of feature selection for ftruncate from
67968         2010-01-11.
67970 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
67972         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
67973         detection.
67975 2010-09-20  Andreas Schwab  <schwab@redhat.com>
67977         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
67978         fanotify_mark.
67979         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
67981 2010-09-14  Andreas Schwab  <schwab@redhat.com>
67983         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
67984         variables after CHECK_SP call.
67985         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
67987 2010-09-13  Andreas Schwab  <schwab@redhat.com>
67988             Ulrich Drepper  <drepper@redhat.com>
67990         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
67991         re-relocationg ld.so.
67992         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
67993         _dl_init_paths call.
67994         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
67995         here anymore.
67997 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
67999         * resolv/res_init.c (__res_vinit): Count the default server we added.
68001 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
68002             Ulrich Drepper  <drepper@redhat.com>
68004         [BZ #11968]
68005         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
68006         (____longjmp_chk): Use %ebx for saving value across system call.
68007         Add unwind info.
68009 2010-09-06  Andreas Schwab  <schwab@redhat.com>
68011         * manual/Makefile: Don't mix pattern rules with normal rules.
68013 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
68015         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
68016         operation.
68017         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
68018         * libio/iofopncook.c (_IO_cookie_init): Likewise.
68019         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
68020         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
68021         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
68022         Likewise.
68024 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
68026         [BZ #11979]
68027         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
68028         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
68030 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
68032         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
68033         * sysdeps/x86_64/addmul_1.S: Likewise.
68034         * sysdeps/x86_64/lshift.S: Likewise.
68035         * sysdeps/x86_64/mul_1.S: Likewise.
68036         * sysdeps/x86_64/rshift.S: Likewise.
68037         * sysdeps/x86_64/sub_n.S: Likewise.
68038         * sysdeps/x86_64/submul_1.S: Likewise.
68040 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68042         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
68043         Define __sched_param instead of SCHED_* and sched_param when
68044         <bits/sched.h> is included with __need_schedparam defined.
68045         * bits/sched.h [__need_schedparam]
68046         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
68047         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
68048         (__defined_schedparam): Define to 1.
68049         (__sched_param): New structure, identical to sched_param.
68050         (__need_schedparam): Undefine.
68052 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
68054         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
68055         (epoll_create1): Declare.
68057         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
68059 2010-08-31  Andreas Schwab  <schwab@redhat.com>
68061         [BZ #7066]
68062         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
68063         shifting retval into place.
68065 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
68067         * nis/rpcsvc/nis.h: Update copyright notice.
68068         * nis/rpcsvc/nis.x: Likewise.
68069         * nis/rpcsvc/nis_callback.h: Likewise.
68070         * nis/rpcsvc/nis_callback.x: Likewise.
68071         * nis/rpcsvc/nis_object.x: Likewise.
68072         * nis/rpcsvc/nis_tags.h: Likewise.
68073         * nis/rpcsvc/yp.h: Likewise.
68074         * nis/rpcsvc/yp.x: Likewise.
68075         * nis/rpcsvc/ypupd.h: Likewise.
68076         * nis/yp_xdr.c: Likewise.
68077         * nis/ypupdate_xdr.c: Likewise.
68079         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
68080         mainly the body of pmap_getport.  Add parameters to specify timeouts.
68081         (pmap_getport): Use __libc_rpc_getport.
68082         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
68083         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
68084         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
68086 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
68088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
68089         fanotify_mark.
68091 2010-08-27  Roland McGrath  <roland@redhat.com>
68093         * sysdeps/i386/i686/multiarch/Makefile
68094         (CFLAGS-varshift.c): New variable.
68096 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
68098         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
68099         * sysdeps/i386/i686/multiarch/varshift.c: New file.
68101         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
68103         * sysdeps/x86_64/strlen.S: Minimal code improvement.
68105 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
68107         * sysdeps/x86_64/strlen.S: Unroll the loop.
68108         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68109         strlen-sse2 strlen-sse2-bsf.
68110         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
68111         __strlen_no_bsf if bit_Slow_BSF is set.
68112         (__strlen_sse42): Removed.
68113         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
68114         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
68116 2010-08-25  Roland McGrath  <roland@redhat.com>
68118         * sysdeps/x86_64/multiarch/varshift.S: File removed.
68119         * sysdeps/x86_64/multiarch/varshift.c: New file.
68120         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
68121         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
68122         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
68123         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
68125 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
68127         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68128         strlen-sse2 strlen-sse2-bsf.
68129         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
68130         __strlen_sse2_bsf if bit_Slow_BSF is unset.
68131         (__strlen_sse2): Removed.
68132         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
68133         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
68134         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
68135         bit_Slow_BSF for Atom.
68136         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
68137         (index_Slow_BSF): Define.
68138         (HAS_SLOW_BSF): Define.
68140 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
68142         [BZ #10851]
68143         * resolv/res_init.c (__res_vinit): When no server address at all
68144         is given default to loopback.
68146 2010-08-24  Roland McGrath  <roland@redhat.com>
68148         * configure.in: Remove config-name.h generation.
68149         * configure: Regenerated.
68150         * config-name.in: File removed.
68151         * scripts/config-uname.sh: New file.
68152         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
68153         ($(objdir)config-name.h): New target.
68155         * sunrpc/rpc_parse.h: Avoid nested comment.
68157 2010-08-24  Richard Henderson  <rth@redhat.com>
68158             Ulrich Drepper  <drepper@redhat.com>
68159             H.J. Lu  <hongjiu.lu@intel.com>
68161         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
68162         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
68163         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
68164         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
68165         _mm_alignr_epi8 with _mm_loadu_si128.
68166         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
68167         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
68168         (__m128i_shift_right): Removed.
68169         * sysdeps/i386/i686/multiarch/varshift.h: New file.
68170         * sysdeps/i386/i686/multiarch/varshift.S: New file.
68171         * sysdeps/x86_64/multiarch/varshift.h: New file.
68172         * sysdeps/x86_64/multiarch/varshift.S: New file.
68174 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
68176         * configure.in: Move assembler checks to before sysdep dir checking.
68178 2010-08-20  Petr Baudis  <pasky@suse.cz>
68180         * LICENSES: Sync the sunrpc license.
68182 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
68184         * sunrpc/auth_des.c: Update copyright notice once again.
68185         * sunrpc/auth_none.c: Likewise.
68186         * sunrpc/auth_unix.c: Likewise.
68187         * sunrpc/authdes_prot.c: Likewise.
68188         * sunrpc/authuxprot.c: Likewise.
68189         * sunrpc/bindrsvprt.c: Likewise.
68190         * sunrpc/clnt_gen.c: Likewise.
68191         * sunrpc/clnt_perr.c: Likewise.
68192         * sunrpc/clnt_raw.c: Likewise.
68193         * sunrpc/clnt_simp.c: Likewise.
68194         * sunrpc/clnt_tcp.c: Likewise.
68195         * sunrpc/clnt_udp.c: Likewise.
68196         * sunrpc/clnt_unix.c: Likewise.
68197         * sunrpc/des_crypt.c: Likewise.
68198         * sunrpc/des_soft.c: Likewise.
68199         * sunrpc/get_myaddr.c: Likewise.
68200         * sunrpc/getrpcport.c: Likewise.
68201         * sunrpc/key_call.c: Likewise.
68202         * sunrpc/key_prot.c: Likewise.
68203         * sunrpc/openchild.c: Likewise.
68204         * sunrpc/pm_getmaps.c: Likewise.
68205         * sunrpc/pm_getport.c: Likewise.
68206         * sunrpc/pmap_clnt.c: Likewise.
68207         * sunrpc/pmap_prot.c: Likewise.
68208         * sunrpc/pmap_prot2.c: Likewise.
68209         * sunrpc/pmap_rmt.c: Likewise.
68210         * sunrpc/rpc/auth.h: Likewise.
68211         * sunrpc/rpc/auth_unix.h: Likewise.
68212         * sunrpc/rpc/clnt.h: Likewise.
68213         * sunrpc/rpc/des_crypt.h: Likewise.
68214         * sunrpc/rpc/key_prot.h: Likewise.
68215         * sunrpc/rpc/netdb.h: Likewise.
68216         * sunrpc/rpc/pmap_clnt.h: Likewise.
68217         * sunrpc/rpc/pmap_prot.h: Likewise.
68218         * sunrpc/rpc/pmap_rmt.h: Likewise.
68219         * sunrpc/rpc/rpc.h: Likewise.
68220         * sunrpc/rpc/rpc_des.h: Likewise.
68221         * sunrpc/rpc/rpc_msg.h: Likewise.
68222         * sunrpc/rpc/svc.h: Likewise.
68223         * sunrpc/rpc/svc_auth.h: Likewise.
68224         * sunrpc/rpc/types.h: Likewise.
68225         * sunrpc/rpc/xdr.h: Likewise.
68226         * sunrpc/rpc_clntout.c: Likewise.
68227         * sunrpc/rpc_cmsg.c: Likewise.
68228         * sunrpc/rpc_common.c: Likewise.
68229         * sunrpc/rpc_cout.c: Likewise.
68230         * sunrpc/rpc_dtable.c: Likewise.
68231         * sunrpc/rpc_hout.c: Likewise.
68232         * sunrpc/rpc_main.c: Likewise.
68233         * sunrpc/rpc_parse.c: Likewise.
68234         * sunrpc/rpc_parse.h: Likewise.
68235         * sunrpc/rpc_prot.c: Likewise.
68236         * sunrpc/rpc_sample.c: Likewise.
68237         * sunrpc/rpc_scan.c: Likewise.
68238         * sunrpc/rpc_scan.h: Likewise.
68239         * sunrpc/rpc_svcout.c: Likewise.
68240         * sunrpc/rpc_tblout.c: Likewise.
68241         * sunrpc/rpc_util.c: Likewise.
68242         * sunrpc/rpc_util.h: Likewise.
68243         * sunrpc/rpcinfo.c: Likewise.
68244         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
68245         * sunrpc/rpcsvc/key_prot.x: Likewise.
68246         * sunrpc/rpcsvc/klm_prot.x: Likewise.
68247         * sunrpc/rpcsvc/mount.x: Likewise.
68248         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
68249         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
68250         * sunrpc/rpcsvc/rex.x: Likewise.
68251         * sunrpc/rpcsvc/rstat.x: Likewise.
68252         * sunrpc/rpcsvc/rusers.x: Likewise.
68253         * sunrpc/rpcsvc/sm_inter.x: Likewise.
68254         * sunrpc/rpcsvc/spray.x: Likewise.
68255         * sunrpc/rpcsvc/yppasswd.x: Likewise.
68256         * sunrpc/rtime.c: Likewise.
68257         * sunrpc/svc.c: Likewise.
68258         * sunrpc/svc_auth.c: Likewise.
68259         * sunrpc/svc_authux.c: Likewise.
68260         * sunrpc/svc_raw.c: Likewise.
68261         * sunrpc/svc_run.c: Likewise.
68262         * sunrpc/svc_simple.c: Likewise.
68263         * sunrpc/svc_tcp.c: Likewise.
68264         * sunrpc/svc_udp.c: Likewise.
68265         * sunrpc/svc_unix.c: Likewise.
68266         * sunrpc/svcauth_des.c: Likewise.
68267         * sunrpc/xcrypt.c: Likewise.
68268         * sunrpc/xdr.c: Likewise.
68269         * sunrpc/xdr_array.c: Likewise.
68270         * sunrpc/xdr_float.c: Likewise.
68271         * sunrpc/xdr_mem.c: Likewise.
68272         * sunrpc/xdr_rec.c: Likewise.
68273         * sunrpc/xdr_ref.c: Likewise.
68274         * sunrpc/xdr_sizeof.c: Likewise.
68275         * sunrpc/xdr_stdio.c: Likewise.
68277         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
68278         handling.
68280 2010-08-19  Andreas Schwab  <schwab@redhat.com>
68282         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
68284 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
68286         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
68287         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
68288         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
68289         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
68290         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
68291         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
68292         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
68293         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
68294         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
68295         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
68296         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
68297         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
68298         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
68299         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
68301 2010-07-26  Anton Blanchard  <anton@samba.org>
68303         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
68304         * malloc/arena.c (heap_trim): Likewise.
68306 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
68308         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
68309         here.  Not...
68310         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
68311         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
68313 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
68315         * sysdeps/i386/elf/Makefile: New file.
68317 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
68319         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
68320         from fanotify_init.
68321         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
68322         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
68324 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
68326         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
68327         of strncasecmp_l.
68328         * sysdeps/multiarch/strcmp.S: Likewise.
68330 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
68332         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
68333         strncase_l-nonascii.
68334         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
68335         Add strncase_l-ssse3.
68336         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
68337         * sysdeps/x86_64/strcmp.S: Likewise.
68338         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
68339         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
68340         * sysdeps/x86_64/strncase.S: New file.
68341         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
68342         * sysdeps/x86_64/strncase_l.S: New file.
68343         * string/Makefile (strop-tests): Add strncasecmp.
68344         * string/test-strncasecmp.c: New file.
68346         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
68347         warning.
68349         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
68350         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
68352 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
68354         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
68356 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
68358         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
68359         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
68360         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
68362 2010-05-01  Alan Modra  <amodra@gmail.com>
68364         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
68365         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
68366         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
68367         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
68368         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
68369         tidying.  Don't tail-call __sigjmp_save for static lib.
68370         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
68371         save location.
68372         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
68373         (CALL_MCOUNT): Add eh info, and nop after bl.
68374         (TAIL_CALL_SYSCALL_ERROR): New macro.
68375         (PSEUDO_RET): Use it.
68376         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
68377         Correct save location of integer regs and cr.
68378         (_dl_profile_resolve): Correct cr save location.  Delete nops
68379         after bl when SHARED.  Reduce cfi size a little by better
68380         placement of cfi directives.
68381         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
68382         make a stack frame.  Instead use parm save area as a temp.
68383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
68384         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
68385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
68386         Don't make a stack frame for parent, use parm save area.
68387         Increase child stack frame to 112 bytes.  Don't save unused reg,
68388         and adjust reg usage.  Set up cfi on error recovery and
68389         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
68390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
68391         (__makecontext): Add dummy nop after jump to exit.
68392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
68393         Use correct parm save area and cr save, reduce stack frame.
68394         Correct cfi for possible PSEUDO_RET frame setup.
68395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
68396         Branch to local label emitted by PSEUDO_RET rather than
68397         __syscall_error.
68399 2010-08-12  Andreas Schwab  <schwab@redhat.com>
68401         [BZ #11904]
68402         * locale/programs/locale.c (print_assignment): New function.
68403         (show_locale_vars): Use it.
68405 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
68407         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
68408         field.
68409         (struct statfs64): Likewise.
68410         (_STATFS_F_FLAGS): Define.
68411         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
68412         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
68413         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
68414         (ST_VALID): Define locally.
68415         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
68416         __statvfs_getflags, use the provided value.
68417         * sysdeps/unix/sysv/linux/kernel-features.h: Define
68418         __ASSUME_STATFS_F_FLAGS.
68420         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
68422         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
68423         Add sys/fanotify.h.
68424         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
68425         fanotify_mask for GLIBC_2.13.
68426         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
68427         fanotify_init and fanotify_mark.
68428         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
68429         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
68431         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
68432         Add prlimit.
68433         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
68434         prlimit64 for GLIBC_2.13.
68435         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
68436         prlimit64.
68437         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
68438         syscall.
68439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
68440         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
68441         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
68442         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
68443         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
68444         add prlimit alias.
68445         * sysdeps/unix/sysv/linux/prlimit.c: New file.
68447         [BZ #11903]
68448         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
68449         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
68451         * nss/Makefile: Add rules to build and run tst-nss-test1.
68452         * shlib-versions: Add entry for libnss_test1.
68453         * nss/nss_test1.c: New file.
68454         * nss/tst-nss-test1.c: New file.
68456         * nss/nsswitch.c (__nss_database_custom): Define new variable.
68457         (__nss_configure_lookup): Set appropriate entry in
68458         __nss_configure_lookup to true.
68459         * nss/nsswitch.h: Define enum with indeces of databases in
68460         databases and __nss_database_custom arrays.  Declare
68461         __nss_database_custom.
68462         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
68463         to avoid using nscd when custom rules are installed.
68464         * nss/getXXbyYY_r.c: Likewise.
68465         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
68467         * nss/nss_files/files-parse.c: Whitespace fixes.
68469 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
68471         [BZ #11883]
68472         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
68473         * posix/fnmatch_loop.c: Likewise.
68475 2010-07-17  Andi Kleen  <ak@linux.intel.com>
68477         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
68478         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
68479         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
68480         * Versions.def [GLIBC_2.13]: Add.
68482 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
68484         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
68485         Also fail if tpwd after pwuid call is NULL.
68487 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68489         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
68490         when converting to ms.
68492 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68494         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
68495         EOPNOTSUPP errors with ENOTTY.
68496         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
68497         EOPNOTSUPP errors with ENOTTY.
68499 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
68501         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
68502         Add strcasecmp_l-ssse3.
68503         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
68504         strcasecmp.
68505         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
68506         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
68507         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
68509 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
68511         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
68513         * string/Makefile (strop-tests): Add strcasecmp.
68514         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
68515         strcasecmp_l-nonascii.
68516         (gen-as-const-headers): Add locale-defines.sym.
68517         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
68518         * sysdeps/x86_64/strcasecmp.S: New file.
68519         * sysdeps/x86_64/strcasecmp_l.S: New file.
68520         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
68521         * sysdeps/x86_64/locale-defines.sym: New file.
68522         * string/test-strcasecmp.c: New file.
68524         * string/test-strcasestr.c: Test both ends of the range of characters.
68525         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
68527 2010-07-29  Roland McGrath  <roland@redhat.com>
68529         [BZ #11856]
68530         * manual/locale.texi (Yes-or-No Questions): Fix example code.
68532 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
68534         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
68535         for ld.so.
68537 2010-07-27  Andreas Schwab  <schwab@redhat.com>
68539         * manual/memory.texi (Malloc Tunable Parameters): Document
68540         M_PERTURB.
68542 2010-07-26  Roland McGrath  <roland@redhat.com>
68544         [BZ #11840]
68545         * configure.in (-fgnu89-inline check): Set and substitute
68546         gnu89_inline, not libc_cv_gnu89_inline.
68547         * configure: Regenerated.
68548         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
68550 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
68552         * string/test-strnlen.c: New file.
68553         * string/Makefile (strop-tests): Add strnlen.
68554         * string/tester.c (test_strnlen): Add a few more test cases.
68555         * string/tst-strlen.c: Better error reporting.
68557         * sysdeps/x86_64/strnlen.S: New file.
68559 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
68561         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
68562         lower-latency instructions.
68564 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
68566         * string/test-strcasestr.c: New file.
68567         * string/test-strstr.c: New file.
68568         * string/Makefile (strop-tests): Add strstr and strcasestr.
68569         * string/str-two-way.h: Don't undefine MAX.
68570         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
68572 2010-07-21  Andreas Schwab  <schwab@redhat.com>
68574         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68575         strcasestr-nonascii.
68576         (CFLAGS-strcasestr-nonascii.c): Define.
68577         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
68578         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
68579         Remove unused attribute.
68581 2010-07-20  Roland McGrath  <roland@redhat.com>
68583         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
68584         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
68585         ld.so.cache was broken.  With it, there is no way to disable dsocaps
68586         like LD_HWCAP_MASK can disable hwcaps.
68588 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
68590         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
68592 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
68594         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
68595         call in strcasestr.
68596         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
68597         __strcasestr_sse42_nonascii.
68598         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
68599         strcasestr-nonascii.c.
68600         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
68602 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
68604         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
68605         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
68606         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
68607         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
68609 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
68611         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
68612         fcntl.
68614 2010-07-06  Andreas Schwab  <schwab@redhat.com>
68616         [BZ #11577]
68617         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
68618         dl_signal_cerror.
68620 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
68622         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
68623         _PC_PIPE_BUF using F_GETPIPE_SZ.
68625 2010-07-05  Roland McGrath  <roland@redhat.com>
68627         * manual/arith.texi (Rounding Functions): Fix rint description
68628         implicit in round description.
68630 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
68632         * elf/Makefile: Fix linking for a few tests to make recent linker
68633         happy.
68635 2010-06-30  Andreas Schwab  <schwab@redhat.com>
68637         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
68638         $(common-objpfx)libc_nonshared.a.
68640 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
68642         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
68643         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
68644         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
68645         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
68646         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
68647         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
68648         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
68649         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
68650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
68651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
68652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
68653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
68654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
68655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
68656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
68657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
68658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
68659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
68660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
68661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
68662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
68663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
68664         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
68665         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
68666         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
68667         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
68668         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
68669         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
68670         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
68671         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
68672         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
68673         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
68674         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
68675         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
68676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
68677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
68678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
68679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
68680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
68681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
68682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
68683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
68684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
68685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
68686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
68687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
68688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
68689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
68691 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
68693         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
68694         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
68695         * string/memmove.c (memmove): Renamed to ...
68696         (MEMMOVE): ...this.  Default to memmove.
68697         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
68698         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
68699         (END_CHK): Define.
68700         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68701         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
68702         mempcpy-ssse3-back memmove-ssse3-back.
68703         * sysdeps/x86_64/multiarch/bcopy.S: New file .
68704         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
68705         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
68706         * sysdeps/x86_64/multiarch/memcpy.S: New file.
68707         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
68708         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
68709         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
68710         * sysdeps/x86_64/multiarch/memmove.c: New file.
68711         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
68712         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
68713         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
68714         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
68715         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
68716         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
68717         Define.
68718         (index_Fast_Copy_Backward): Define.
68719         (HAS_ARCH_FEATURE): Define.
68720         (HAS_FAST_REP_STRING): Define.
68721         (HAS_FAST_COPY_BACKWARD): Define.
68723 2010-06-21  Andreas Schwab  <schwab@redhat.com>
68725         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
68726         Restore proper fallback handling.
68728 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
68730         [BZ #11701]
68731         * posix/group_member.c (__group_member): Correct checking loop.
68733         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
68734         OOM in getpwuid_r correctly.  Return error number when the caller
68735         should return, otherwise -1.
68736         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
68737         call returning > 0 value.
68738         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
68740 2010-06-07  Andreas Schwab  <schwab@redhat.com>
68742         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
68743         libc_nonshared.a from targets in modules-names.
68745 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
68747         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
68748         requires it.
68750 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
68752         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
68753         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
68754         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
68755         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
68757 2010-06-02  Andreas Schwab  <schwab@redhat.com>
68759         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
68761 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
68763         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
68764         and F_GETPIPE_SZ.
68765         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
68766         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
68767         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
68768         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
68769         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
68770         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
68772 2010-06-14  Roland McGrath  <roland@redhat.com>
68774         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
68776 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
68778         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
68779         __REDIRECT followed by __THROW.
68780         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
68781         * posix/getopt.h (getopt): Likewise.
68783 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
68785         * hurd/lookup-at.c (__file_name_lookup_at): Accept
68786         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
68787         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
68788         in AT_FLAGS.
68789         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
68790         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
68792 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
68794         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
68796 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
68798         [BZ #11640]
68799         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68800         Properly check family and model.
68802 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
68804         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
68806 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
68808         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
68810 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
68812         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
68813         symbol reference.
68815 2010-05-19  Andreas Schwab  <schwab@redhat.com>
68817         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
68818         symbol reference.
68820 2010-05-21  Andreas Schwab  <schwab@redhat.com>
68822         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
68823         and internal_recvmmsg.
68824         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
68825         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
68826         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
68827         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
68829         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
68830         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
68831         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
68833 2010-05-20  Andreas Schwab  <schwab@redhat.com>
68835         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
68837 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
68839         POWER7 optimizations.
68840         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
68841         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
68843 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
68845         * version.h: Update for 2.13 development version.
68847 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
68849         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
68850         exceptions.  Return 0.
68852 2010-05-07  Roland McGrath  <roland@redhat.com>
68854         * elf/ldconfig.c (main): Add a const.
68856 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
68858         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
68859         (args_options): Add no-idn option.
68860         (ahosts_keys_int): Add idn_flags to ai_flags.
68861         (parse_option): Handle 'i' option to clear idn_flags.
68863         * malloc/malloc.c (_int_free): Possible race in the most recently
68864         added check.  Only act on the data if no current modification
68865         happened.
68867 See ChangeLog.17 for earlier changes.